CN101374115B - Rapid discriminating multiport control method based on PROFIBUS packet - Google Patents

Rapid discriminating multiport control method based on PROFIBUS packet Download PDF

Info

Publication number
CN101374115B
CN101374115B CN2008102231999A CN200810223199A CN101374115B CN 101374115 B CN101374115 B CN 101374115B CN 2008102231999 A CN2008102231999 A CN 2008102231999A CN 200810223199 A CN200810223199 A CN 200810223199A CN 101374115 B CN101374115 B CN 101374115B
Authority
CN
China
Prior art keywords
message
port
profibus
control logic
signal
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.)
Expired - Fee Related
Application number
CN2008102231999A
Other languages
Chinese (zh)
Other versions
CN101374115A (en
Inventor
唐济扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING D&S FIELDBUS TECHNOLOGY Co Ltd
Original Assignee
BEIJING D&S FIELDBUS 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 BEIJING D&S FIELDBUS TECHNOLOGY Co Ltd filed Critical BEIJING D&S FIELDBUS TECHNOLOGY Co Ltd
Priority to CN2008102231999A priority Critical patent/CN101374115B/en
Publication of CN101374115A publication Critical patent/CN101374115A/en
Application granted granted Critical
Publication of CN101374115B publication Critical patent/CN101374115B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides a multi-port control method based on the rapid PROFIBUS message identification. The method comprises the following steps: (1) electrification setting; (2) detecting the port signal level by a detecting and isolating circuit detection; (3) detecting the port PROFIBUS signal level by the detecting and isolating circuit, wherein when the signal level is converted from a release state to a transmission state, whether the port receives a message starting signal can be determined; (4) allowing the other ports to be in a transmission state by a multi-path receiving/transmitting control logic circuit, converting the received message into a transmission message signal and outputting the signal to the other ports via a driving and isolating circuit; (5) transmitting a second wave trigger signal when the conversion of the signal level from the transmission state to the release state is detected by the detecting and isolating circuit detection; (6) determining the completion of the message transmission by determining the last time of the second wave trigger signal with the multi-path receiving/transmitting control logic circuit, and closing the other ports; and (7) returning to the step (2). By adopting the method, the message resolution and the baud rate test can be obviated, therefore, the method is a rapid and baud rate-self-adaptive message data flow judgment method.

Description

Multiport control method based on PROFIBUS message quick identification
Technical field
The present invention relates to a kind of PROFIBUS message data stream method for quickly identifying that does not need to resolve PROFIBUS message, baud rate self-adapting and based on the PROFIBUS Multi-ported Data flow control technology of this kind method.This method can be applied to the multiport PROFIBUS network equipment, as PROFIBUS repeater, hub, optical fiber translation interface and multiport PROFIBUS gateway, bridge Products Development; Also can be applied to the product development of multiport network equipment such as other repeater, hub based on the RS-485 network.
Background technology
In PROFIBUS network, need repeater to increase the network segment, to increase the PROFIBUS website, to prolong the PROFIBUS transmission range based on RS-485.Utilize the PROFIBUS multi bri device,, can change PROFIBUS bus-network topological structure, realize tree type or heterogeneous network structure as the PROFIBUS hub.No matter be repeater, hub, or other multiport network equipment, its control method all will relate to PROFIBUS message data flow path direction, message opens the differentiation that ends, to realize the Multi-ported Data current control.At first be to want to detect reception PROFIBUS message to open the beginning constantly.The method of prior art is to detect the trailing edge of received signal, determines to receive on the PROFIBUS bus message and opens the beginning signal.The shortcoming of the method is: can cause the delay that signal sends and produce the loss of PROFIBUS waveform under high bit rate transmission conditions.Then difficulty is bigger in quick differentiation constantly for ENMES, and the method that prior art adopts is the analytic message character, message length field in the intercepting message, and judges the end of message in conjunction with the method for identification message-ending character.This method hardware designs complexity, analytic message have time-delay, speed slow; Because analytic message relates to the upper network layer agreement, therefore this method is relevant with agreement, other RS-485 network of incompatibility.
Summary of the invention
For addressing the above problem, the purpose of this invention is to provide a kind of multiport control method based on PROFIBUS message quick identification, without the analytic message character, do not need baud rate successive trials test, do not need detection time, be a kind of fast, the message data stream method of discrimination of baud rate self-adapting.
For achieving the above object, the present invention is by the following technical solutions:
A kind of multiport control method based on PROFIBUS message quick identification may further comprise the steps: it is characterized in that:
Step is 1.: electrification reset: circuit powers on, reset circuit is received/is sent out control logic circuit to multichannel and sends out reset signal, each transmission of multichannel being received/send out control logic circuit allows end to be changed to 0, each reception of simultaneously multichannel being received/sending out control logic circuit allows end to be changed to 0, makes all passages be in accepting state;
Step is 2.: the holding wire level of the detection of each passage and isolation circuitry senses corresponding port, wait for that message occurring opens the beginning signal;
Step is 3.: open the beginning signal when the detection of a certain passage and isolation circuitry senses message occurs to this port, this detection and buffer circuit are received/are sent out a control logic circuit to multichannel immediately and send the first ripple triggering signal;
Step is 4.: after multichannel is received/sent out a control logic circuit and receives the first ripple triggering signal, transmission with rest channels immediately allows end to put 1, receive and allow end to put 1, make rest channels be in transmit status, simultaneously, multichannel is received/is sent out the message signals that control logic circuit receives receiving terminal and converts the transmission message signals to, sends to the driving and the buffer circuit of rest channels by transmitting terminal, and the driving of rest channels and buffer circuit will send message signals again and be transported to separately in the port;
Step is 5.: above-mentioned steps in 3. detection and buffer circuit after sending the first ripple triggering signal, continue to detect the message signals that this port receives, whenever detecting and isolation circuitry senses changes release condition to the level of the holding wire of port into by transmit status, control logic circuit all will be received/send out to detection and trigger end from buffer circuit to multichannel sends the second ripple triggering signal;
Step is 6.: receive/send out a control logic circuit when multichannel and receive the second ripple triggering signal and confirm that message has really sent end on this port signal line, multichannel is received/is sent out control logic circuit and allows end to put 0 the transmission of rest channels immediately, receive and allow end to put 0, close the driving and the buffer circuit of rest channels, make them get back to accepting state, at this moment, all passages are all got back to accepting state;
Step is 7.: return step 2..
Described step 3. in, detect and buffer circuit is to detect this port in the following way message to occur and open the beginning signal: detect and isolation circuitry senses port outer end PROFIBUS holding wire level, when the PROFIBUS of a certain port holding wire level forwards transmit status to by release condition, promptly this port of decidable receives the PROFIBUS message and opens the beginning signal.
Described step 6. in: control logic circuit is received/sent out to multichannel after receiving the second ripple triggering signal, all to determine whether message has really sent end by the duration of judging triggering signal, when duration of triggering signal during more than or equal to 0.17 microsecond and less than 0.92 microsecond, multichannel is received/is sent out control logic circuit and just determines that message has really sent end.
The present invention has following positive beneficial effect:
This method adopts detection port outer end PROFIBUS holding wire level to forward transmit status to by release condition, thereby judges that this port receives the PROFIBUS message and opens the beginning signal.Thereby under high bit rate transmission conditions, can cause the delay that signal sends and produce the loss of PROFIBUS waveform.
This method determines by the duration of judging triggering signal whether message has really sent end, thereby without the analytic message character, hardware spending is little, speed is fast; Do not need baud rate successive trials test, do not need detection time; Be a kind of fast, the message data stream method of discrimination of baud rate self-adapting, detect principle based on the pure physical layer of PROFIBUS, do not relate to upper-layer protocol, applicable to all PROFIBUS application layer protocols based on RS-485, comprise: PROFIBUS-DP/V0, V1, V2, and various application professional etiquettes, comprising: PROFIsafe (safety), Redundancy (redundancy).Or the like, also part is applicable to the fieldbus or the network of other RS-485 transmission technology, as MODBUS.
Description of drawings
Fig. 1 is the mixed type networking structure that adopts multiport PROFIBUS hub to realize.
Fig. 2 is a multiport PROFIBUS hub circuit hardware block diagram.
Fig. 3 is the circuit theory diagrams of Fig. 2.
Fig. 4 is the course of work state transition graph of multiport PROFIBUS hub.
Fig. 5 is the schematic diagram of PROFIBUS message character format.
Fig. 6 is the schematic diagram that the PROFIBUS bus begins to receive message signals.
Fig. 7 is the schematic diagram that the PROFIBUS bus sends the ENMES signal.
Embodiment
Please refer to Fig. 1: adopt the PROFIBUS hub conveniently to realize tree-like and hybrid architecture in the PROFIBUS networking.
The PROFIBUS hub can have a plurality of ports, be example with six ports below, the hardware that the PROFIBUS hub is described is formed, please refer to Fig. 2, Fig. 3, six port PROFIBUS hubs are by six bus runs, reset circuit, multichannel receipts/send out a control logic circuit to form, and six passages are respectively No. one, No. two, No. three, No. four, No. five, No. six bus runs.
The one number service road is made up of port D1, RS-485 drivings and buffer circuit U1, detection and the buffer circuit N1 of PROFIBUS.
No. two passages are driven by port D2, the RS-485 of PROFIBUS and buffer circuit U2, detection and buffer circuit N2 form.
No. three passages are driven by port D3, the RS-485 of PROFIBUS and buffer circuit U3, detection and buffer circuit N3 form.
No. four passages are driven by port D4, the RS-485 of PROFIBUS and buffer circuit U4, detection and buffer circuit N4 form.
No. five passages are driven by port D5, the RS-485 of PROFIBUS and buffer circuit U5, detection and buffer circuit N5 form.
No. six passages are driven by port D6, the RS-485 of PROFIBUS and buffer circuit U6, detection and buffer circuit N6 form.
Each detection and buffer circuit are made up of every chip comparator chip, amplifier chip, inverter chip, light.
Multichannel is received/is sent out a control logic circuit U7 and is made up of CPLD (CPLD), and what control logic circuit U7 was received/sent out to multichannel has six a groups of receipts/control end.Every group of receipts/send out a control end to be made up of five general purpose I/O port, each group are received/are sent out five general purpose I/O port in control end and all pass through programming and be defined as transmitting terminal, receiving terminal, transmission and allow end, receive and allow to hold and the triggering signal end.
RS-485 in six passages drives and transmitting terminal, receiving terminal, the transmission of buffer circuit allow end, receive and allow end, receives/sends out six groups of receipts among the control logic circuit U7/send out transmitting terminal, receiving terminal, transmission in the control end respectively with multichannel and allow end, receive and allow end corresponding one by one continuous.
For example, multichannel five general purpose I/O port of receiving/sending out first group of transmitting-receiving control end of control logic circuit U7 is defined as transmitting terminal TXD1, receiving terminal RXD1, sends and allow end RST1, receive and allow end REN1 and triggering signal end CMP1 through programming.RS in the one number service road-485 drives and transmitting terminal D, the receiving terminal R of buffer circuit U1, send and allow end DE, receive and allow end RE to receive/send out transmitting terminal TXD1, receiving terminal RXD1 in the control end of first group of receipts among the control logic circuit U7/send out respectively with multichannel, send and allow end RST1, receive and allow end REN1 corresponding one by one continuous.
Please refer to Fig. 3, Fig. 4, the Automatic Program that six port PROFIBUS hubs are received/sent out among the control logic circuit U7 (CPLD) by multichannel is finished a receipts/control.Receive/send out the whole flow process of control and comprise one of four states, i.e. electrification reset state T1, receives forwarding state S2, closes transmit status S3 accepting state S1.Wherein accepting state S1, receive forwarding state S2, close the cyclic process that transmit status S3 has constituted a closed loop.
The course of work of multiport PROFIBUS hub is described in detail in detail below:
1. electrification reset state T1: after reset circuit was received/sent out a control logic circuit U7 and reset multichannel, all passages entered accepting state S1;
2. accepting state S1: all passages are in accepting state, and whether the detection of each passage and buffer circuit detect the PROFIBUS communication line at any time has data-signal to transmit.In a single day arbitrary port detects the PROFIBUS signal and transmits, and enters immediately to receive forwarding state S2.
3. receive forwarding state S2: (D1-D6) is in case receive the PROFIBUS signal of communication when a certain port, a multichannel receipts/control logic circuit U7 controls all the other ports immediately and enters transmit status, and the PROFIBUS signal that this port is received sends by other all of the port.When the detection of this passage and isolation circuitry senses send to the PROFIBUS message finish after, enter immediately and close transmit status S3.
4. close transmit status S3: receive/send out control logic circuit U7 when multichannel and receive the detected PROFIBUS message transmission of this passage testing circuit end signal, other ports are switched to accepting state by transmit status, hub is got back to accepting state S1.
RS-485 drives and buffer circuit adopts single duplexing differential output (A, B), NRZ (non-return-to-zero) bits of encoded; Allow end DE control to send by sending, allow end RE control to receive by receiving.Work as RE=0, and during DE=0, RS-485 drives and buffer circuit is in accepting state, this moment, its single duplexing differential output (A, B) was high resistant, also claimed release condition.Work as RE=1, and during DE=1, RS-485 drives and buffer circuit is in transmit status.At this moment, RS-485 drives and buffer circuit becomes PROFIBUS/485 level and nrz encoding with the transmitting terminal conversion of signals, again by A, B output.
The PROFIBUS/485 network does not allow an above website and sends data simultaneously.For this reason, the PROFIBUS agreement is stipulated to adopt between master/slave communication mode, main website and the main website between main website and the slave station and is adopted Token Control, to guarantee the correctness of total line traffic control.Therefore, multiport PROFIBUS hub control require be exactly: when port arbitrarily receives message signals,, do not have time-delay ground message forwarded immediately by other ports.
No matter be repeater, hub, or other multiport network equipment, realize multiport PROFIBUS data flow con-trol, will solve following two key technologies:
Key technology 1: arbitrarily passage detects PROFIBUS and receives message and should open other passage immediately message is forwarded.
Key technology 2: detect the reception ENMES and also in time close other sendaisle constantly.
Elaborate respectively below:
Key technology 1: arbitrarily passage detects PROFIBUS and receives message and should open other passage immediately message is forwarded.
At first be to want to detect reception PROFIBUS message to open the beginning constantly.The method of prior art is to detect that RS-485 drives and the trailing edge of signal receiving end RXD1, the RXD2 of buffer circuit U1, U2, U3, U4, U5, U6, RXD3, RXD4, RXD5, RXD6, determines to receive message signals on the port PROFIBUS bus.The principle of this method foundation is: RS-485 driving and buffer circuit U1, U2, U3, U4, receiving terminal RXD1, the RXD2 of U5, U6, RXD3, RXD4, RXD5, RXD6 convert PROFIBUS signal (A1-B1, A2-B2, A3-B3, A4-B4, A5-B5, A6-B6) to the asynchronous serial communication interface signal.Please refer to Fig. 5, PROFIBUS message asynchronous serial communication data format is: 1 opens beginning position+8 data bit+even parity check+1 position of rest.RXD1-RXD6 is a level"1" during no message, opens the beginning position and is level "0".Illustrate that when any one has detected trailing edge (by " 1 " change " 0 ") among RXD1-RXD6 this port receives the PROFIBUS message and opens the beginning position.
The shortcoming of the method is: with port D1 is example, because RS-485 drives and buffer circuit U2-U6 opens to send time-delay is arranged, so RTS2, RTS3, RTS4, RTS5, RTS6 send and allow signal to send signal TXD2, TXD3, TXD4, TXD5, TXD6 by leading message.Therefore, open beginning position and be level "0" when RXD1 detects, signal is opened U2, U3, U4, U5, U6 and is sent and allow RTS2, RTS3, RTS4, RXD5, RXD6 late according to this again.Especially under high bit rate transmission conditions, can cause the delay that U2, U3, U4, U5, U6 send TXD2, TXD3, TXD4, TXD5, TXD6 signal and produce the loss of PROFIBUS waveform.
The present invention adopts method to be: please refer to Fig. 3, Fig. 6, detection port outer end PROFIBUS holding wire level (A1-B1, A2-B2, A3-B3, A4-B4, A5-B5, A6-B6), when a certain port (is example with port D1) PROFIBUS holding wire A1, B1 level forward transmit status to by release condition, judge that promptly port D1 receives the PROFIBUS message and opens the beginning signal, and the signal transmission of opening U2-U6 allows end RTS2-RTS6 according to this.Directly detect PROFIBUS holding wire level and can in time open other ports transmissions, this is very important to high bit rate (as 12M bit/s) transfer of data.
Key technology 2: detect the reception ENMES and also in time close other sendaisle constantly.
According to the PROFIBUS standard, when send on the PROFIBUS bus website send finish after, all websites will be got back to accepting state, this bus release condition the most only continue the 11bits time, this time is called Tsdr.Other website will send data to the PROFIBUS bus after the Tsdr.Concerning multi bri device (as the PROFIBUS hub), after a certain port (as port D1) receives last bit end of message, must be within the time at Tsdr with all of the port (D1 is just in accepting state, and D2-D6 is just in transmit status) full recovery to accepting state.
If the 12M baud rate, Tsdr (12M)=11 (bit)/12M (bit/s)=0.92 microsecond;
If the 9.6K baud rate, Tsdr (9.6K)=11 (bit)/9.6K (bit/s)=1145.83 microsecond;
Do you how detect and discern last bit of the message ending character that receives? the method that prior art adopts is the analytic message character, message length field in the intercepting message, and judges the end of message in conjunction with the method for identification message-ending character.The shortcoming of this method is:
The PROFIBUS receive path (a kind of High-speed Asynchronous Secial Communication interface) that needs the design baud rate self-adapting, high bit rate be up to 12Mbit/s, and hardware designs complexity, expense are big for this reason.
Analytic message relates to the network link layer protocol, and therefore this method is relevant with agreement, other RS-485 network of incompatibility.The PROFIBUS message is different in size, and end mark has with data in the message more and overlaps, and the message parsing method design is complicated, and time-delay is long.
The present invention adopts method to be: analytic message not, but determine the PROFIBUS ENMES by detecting PROFIBUS bus release condition.Principle is described below in detail: see also Fig. 7, the PROFIBUS standard code: the PROFIBUS bus level has three kinds of states: send one state, transmission " 0 " state, release condition (just all fronts/section website is in accepting state).One state and transmission " 0 " state that wherein sends is referred to as transmit status.Attention: the PROFIBUS bus adopts NRZ (non-return-to-zero) coding.The PROFIBUS standard code: website should be closed transmission after sending ENMES immediately, and PROFIBUS is in release condition completely.Therefore work as detection and isolation circuitry senses and be in the release condition level, may be to the PROFIBUS bus:
1. message sends and finishes, perhaps:
2. by sending " 1 " process release condition level in the transition that sends " 0 " transformation, perhaps:
3. by sending " 0 " process release condition level in the transition that sends " 1 " transformation.
Because transmission level conversion (" 0 "-" 1 ", " 1 "-" 0 ") is very steep, above-mentioned 2. 3. two kinds may states all be very of short duration.Therefore also continue long enough time T d when a certain passage detects release condition in the PROFIBUS message that receives, ENMES then is described, should close all transmitting terminals immediately, convert accepting state to.This duration T d should be greater than the 2Tbit time, and when the 12M baud rate, therefore Td (2bits)=0.17 microsecond gets Td 〉=0.17 microsecond.
Duration T d must have concerning different baud rates less than Tsdr: Td<11bits time; If accomplish baud rate self-adapting, should be according to minimum Td, promptly consider during maximum baud rate 12M: Td (11bits)=0.92 microsecond when the 12M baud rate, therefore get Td<0.92 microsecond.
The present invention is a kind of multiport control method based on PROFIBUS message quick identification, may further comprise the steps:
Step is 1.: electrification reset: circuit powers on, reset circuit is received/is sent out control logic circuit U7 to multichannel and sends out reset signal, each transmission of multichannel being received/send out control logic circuit U7 allows end RTS1, RTS2, RTS3, RTS4, RTS5, RTS6 to be changed to 0, each reception of simultaneously multichannel being received/sending out control logic circuit U7 allows end REN1, REN2, REN3, REN4, REN5, REN6 to be changed to 0, makes all passages be in accepting state;
Step is 2.: the detection of each passage and buffer circuit N1, N2, N3, N4, N5, N6 detect the PROFIBUS holding wire level of corresponding port D1, D2, D3, D4, D5, D6; Wait message occurs and opens the beginning signal.
Step is 3.: open the beginning signal when the detection of a certain passage and isolation circuitry senses message occurs to this port, this detection and buffer circuit are received/are sent out a control logic circuit U7 to multichannel immediately and send the first ripple triggering signal; Detect and buffer circuit is to detect this port in the following way message to occur and open the beginning signal: detect and isolation circuitry senses port outer end PROFIBUS holding wire level, when the PROFIBUS of a certain port holding wire level forwards transmit status to by release condition, promptly this port of decidable receives the PROFIBUS message and opens the beginning signal.For example the holding wire A1 of the port D1 in one number service road, B1 level transfer transmit status to by release condition, then the detection of this passage and buffer circuit N1 are that this port of decidable receives message and opens the beginning signal, and this detection and buffer circuit N1 send the first ripple triggering signal CMP1 to the trigger end that control logic circuit U7 was received/sent out to multichannel immediately;
Step is 4.: after multichannel is received/sent out a control logic circuit U7 and receives the first ripple triggering signal, transmission with rest channels immediately allows end to put 1, receive to allow to hold and put 1, be about to RTS2, RTS3, RTS4, RTS5, RTS6=1, REN2, REN3, REN4, REN5, REN6=1; Make rest channels be in transmit status; Simultaneously, the message signals that the multichannel receipts/a control logic circuit U7 receives signal receiving end RXD1 converts the transmission message signals to, send to the driving of rest channels and buffer circuit U2, U3, U4, U5, U6 by signal sending end TXD2, TXD3, TXD4, TXD5, TXD6, rest channels drives and buffer circuit U2, U3, U4, U5, U6 will send message signals (A2-B2, A3-B3, A4-B4, A5-B5, A6-B6) again and be transported to separately on port D2, D3, D4, D5, the D6;
Step is 5.: above-mentioned steps in 3. detection and buffer circuit N1 after sending the first ripple triggering signal, continue to detect the message signals that this port D1 receives, whenever the level that detects and buffer circuit N1 detects the holding wire of port D1 changes release condition into by transmit status, but detect and buffer circuit N1 will receive/send out trigger end CPM1 from control logic circuit U7 to multichannel send the second ripple triggering signal;
Step is 6.: control logic circuit U7 is received/sent out to multichannel after receiving one second ripple triggering signal, all whether really sent end with definite message by the duration of judging triggering signal, have only the duration T d that works as triggering signal more than or equal to 0.17 microsecond and less than 0.92 microsecond, a control logic circuit U7 is received/sent out to multichannel can determine that message has really sent end.
With port D1 is example, the trigger end CPM1 that control logic circuit U7 was received/sent out to multichannel receives the second ripple triggering signal, really finish with the last message transmission of the holding wire B1, the A1 that confirm port D1 through duration T d, the transmission that the multichannel receipts/a control logic circuit U7 immediately will be corresponding with all the other ports allows end to put 0, receive and allow end to put 0, be about to RTS2, RTS3, RTS4, RTS5, RTS6=0, REN2, REN3, REN4, REN5, REN6=0; Close rest channels, make them get back to accepting state; At this moment, all passages are all got back to accepting state;
Step is 7.: return step 2., wait for that a certain next time port message occurs and opens the beginning signal.

Claims (2)

1. multiport control method based on PROFIBUS message quick identification may further comprise the steps: it is characterized in that:
Step is 1.: electrification reset: circuit powers on, reset circuit is received/is sent out control logic circuit to multichannel and sends out reset signal, each transmission of multichannel being received/send out control logic circuit allows end to be changed to 0, each reception of simultaneously multichannel being received/sending out control logic circuit allows end to be changed to 0, makes all passages be in accepting state;
Step is 2.: the holding wire level of the detection of each passage and isolation circuitry senses corresponding port, wait for that message occurring opens the beginning signal;
Step is 3.: open the beginning signal when the detection of a certain passage and isolation circuitry senses message occurs to this port, this detection and buffer circuit are received/are sent out a control logic circuit to multichannel immediately and send the first ripple triggering signal; Detect and buffer circuit is to detect this port in the following way message to occur and open the beginning signal: detect and isolation circuitry senses port outer end PROFIBUS holding wire level, when the PROFIBUS of a certain port holding wire level forwards transmit status to by release condition, promptly this port of decidable receives the PROFIBUS message and opens the beginning signal;
Step is 4.: after multichannel is received/sent out a control logic circuit and receives the first ripple triggering signal, transmission with rest channels immediately allows end to put 1, receive and allow end to put 1, make rest channels be in transmit status, simultaneously, multichannel is received/is sent out the message signals that control logic circuit receives receiving terminal and converts the transmission message signals to, sends to the driving and the buffer circuit of rest channels by transmitting terminal, and the driving of rest channels and buffer circuit will send message signals again and be transported to separately in the port;
Step is 5.: above-mentioned steps in 3. detection and buffer circuit after sending the first ripple triggering signal, continue to detect the message signals that this port receives, whenever detecting and isolation circuitry senses changes release condition to the level of the holding wire of port into by transmit status, control logic circuit all will be received/send out to detection and trigger end from buffer circuit to multichannel sends the second ripple triggering signal;
Step is 6.: receive/send out a control logic circuit when multichannel and receive the second ripple triggering signal and confirm that message has really sent end on this port signal line, multichannel is received/is sent out control logic circuit and allows end to put 0 the transmission of rest channels immediately, receive and allow end to put 0, close the driving and the buffer circuit of rest channels, make them get back to accepting state, at this moment, all passages are all got back to accepting state;
Step is 7.: return step 2..
2. the multiport control method based on PROFIBUS message quick identification as claimed in claim 1, it is characterized in that: described step 6. in: control logic circuit is received/sent out to multichannel after receiving the second ripple triggering signal, all to determine whether message has really sent end by the duration of judging triggering signal, when duration of triggering signal during more than or equal to 0.17 microsecond and less than 0.92 microsecond, multichannel is received/is sent out control logic circuit and just determines that message has really sent end.
CN2008102231999A 2008-09-28 2008-09-28 Rapid discriminating multiport control method based on PROFIBUS packet Expired - Fee Related CN101374115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102231999A CN101374115B (en) 2008-09-28 2008-09-28 Rapid discriminating multiport control method based on PROFIBUS packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102231999A CN101374115B (en) 2008-09-28 2008-09-28 Rapid discriminating multiport control method based on PROFIBUS packet

Publications (2)

Publication Number Publication Date
CN101374115A CN101374115A (en) 2009-02-25
CN101374115B true CN101374115B (en) 2010-12-22

Family

ID=40448047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102231999A Expired - Fee Related CN101374115B (en) 2008-09-28 2008-09-28 Rapid discriminating multiport control method based on PROFIBUS packet

Country Status (1)

Country Link
CN (1) CN101374115B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841542B (en) * 2010-05-07 2012-11-07 北京鼎实创新科技有限公司 Method for realizing PROFIBUS master station communication protocol based on FPGA (Field Programmable Gate Array) technology
CN102571289B (en) * 2011-11-01 2014-10-22 大连捷成实业发展有限公司 Control method and system
CN103885357B (en) * 2013-12-26 2016-11-23 浙江工商大学 Multi-protocols oil machine communication hub and communication means
CN104378260B (en) * 2014-11-18 2018-11-27 中联重科股份有限公司 load rate testing method, device and system of CAN bus
CN105656600B (en) * 2015-12-29 2019-05-10 湖南先步信息股份有限公司 A kind of communication means of the adaptive two kinds of communication protocol of slave station
CN107566042B (en) * 2017-08-28 2019-12-13 北京卓越信通电子股份有限公司 implementation method of PROFIBUS redundant looped network optical fiber transceiver

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801020A (en) * 2005-12-28 2006-07-12 河北工业大学 Embedded field bus protocol interface device and implementation method
CN1852245A (en) * 2005-12-15 2006-10-25 华为技术有限公司 Method for detecting superlong signaling message based text code
CN1988543A (en) * 2006-12-07 2007-06-27 华为技术有限公司 Message type identifying method and device, message header compressing method and system
CN2932840Y (en) * 2006-07-24 2007-08-08 北方工业大学 A device for implementing connection between serial port equipment and Profibus-DP bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852245A (en) * 2005-12-15 2006-10-25 华为技术有限公司 Method for detecting superlong signaling message based text code
CN1801020A (en) * 2005-12-28 2006-07-12 河北工业大学 Embedded field bus protocol interface device and implementation method
CN2932840Y (en) * 2006-07-24 2007-08-08 北方工业大学 A device for implementing connection between serial port equipment and Profibus-DP bus
CN1988543A (en) * 2006-12-07 2007-06-27 华为技术有限公司 Message type identifying method and device, message header compressing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开200153812A 2001.02.23

Also Published As

Publication number Publication date
CN101374115A (en) 2009-02-25

Similar Documents

Publication Publication Date Title
CN101374115B (en) Rapid discriminating multiport control method based on PROFIBUS packet
CN102577254B (en) Methods and systems for fail-safe communication
US5631905A (en) Communications network control method
US4809361A (en) Optical composite transceiver
US5648984A (en) Multidirectional repeater for data transmission between electrically isolated and/or physically different signal transmission media
GB2332128A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
CN101841542A (en) Method for realizing PROFIBUS master station communication protocol based on FPGA (Field Programmable Gate Array) technology
JP5716133B2 (en) Industrial controller device capable of low error rate and ultra-high speed serial communication and driving method thereof
EP1597874B1 (en) System, method and device for autonegotiation
CN102082773B (en) Communication method based on inter-column security communication network protocol of reactor protection system
US20190190744A1 (en) Information transmission network and corresponding network node
CN101686169B (en) Scheme for avoiding deadlock in multi-ring interconnect, with additional application to congestion control
CN106411463B (en) A kind of high-speed data transmission apparatus and method based on asynchronous clock
CN101072064B (en) Ethernet relay device and method
CN101741849A (en) Method, system and device for transmitting serial port service data
CN103220199B (en) The line concentration method of CAN multichannel isolation
CN103812797A (en) Method for transmitting data packets, and communication module for receiving data packets
CN201274492Y (en) PROFIBUS hub with relay function
CN102868444B (en) Communication data extraction device and method of passive optical network
US4967409A (en) Network system of programmable controllers
CN101478448B (en) Control method and apparatus for Ethernet switching equipment
KR100713416B1 (en) Repeater for Supporting Multi Protocol and Control Method of Protocol Converting in It
US5659575A (en) Method and apparatus for improving data regeneration in asynchronous network communication
CN104572537A (en) Fault-tolerant master-slave synchronization serial communication system based on FPGA
CN110601941A (en) Vehicle-mounted signal transmission system and method based on EtherCAT bus

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101222

Termination date: 20170928