CN101707482B - Profibus device protocol input and output device with short circuit protection and self-diagnosis - Google Patents

Profibus device protocol input and output device with short circuit protection and self-diagnosis Download PDF

Info

Publication number
CN101707482B
CN101707482B CN2009100699231A CN200910069923A CN101707482B CN 101707482 B CN101707482 B CN 101707482B CN 2009100699231 A CN2009100699231 A CN 2009100699231A CN 200910069923 A CN200910069923 A CN 200910069923A CN 101707482 B CN101707482 B CN 101707482B
Authority
CN
China
Prior art keywords
output
circuit
short
input
interface
Prior art date
Application number
CN2009100699231A
Other languages
Chinese (zh)
Other versions
CN101707482A (en
Inventor
陈在平
贾超
朱文强
倪建云
冯亮
Original Assignee
天津理工大学
天津市森特奈电子有限公司
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 天津理工大学, 天津市森特奈电子有限公司 filed Critical 天津理工大学
Priority to CN2009100699231A priority Critical patent/CN101707482B/en
Publication of CN101707482A publication Critical patent/CN101707482A/en
Application granted granted Critical
Publication of CN101707482B publication Critical patent/CN101707482B/en

Links

Abstract

The invention discloses a Profibus-device protocol (DP) input and output (I/O) device with functions of short circuit protection and self-diagnosis. The device comprises an OEM2-SE interface unit and an I/O short circuit protection and self-diagnosis unit, wherein the OEM2-SE interface unit is used to perform data communication with the Profibus-DP, set the bus node number of the node, perform field data communication with the I/O short circuit protection and self-diagnosis unit and collect the input interface state and output interface state diagnosis data; the I/O short circuit protection and self-diagnosis unit is used to perform data communication with the peripheral equipment, and disconnect the power supply to provide short circuit protection and display the input interface state and/or output interface state when the short circuit of the input interface circuit and/or the output interface circuit happens. The Profibus-DP device of the invention has functions of short circuit protection and self-diagnosis, can disconnect the power supply to provide the self-diagnosis information when the short circuit of the interface circuit happens and can automatically return to work when the short circuit fault is eliminated.

Description

Process FieldbusROFIBUS device protocol input and output device with short-circuit protection diagnosis

Technical field

The present invention relates to the Computer Applied Technology field, particularly relate to a kind of Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function.

Background technology

At present, in order to carry out the communication between the equipment, traditional I/O I/O device need be connected the device external end points with the controller end points one to one by lead, this hard wired connected mode need expend a large amount of energy and carry out site installation and debugging, and along with the complexity of system can increase a large amount of hardwire costs.

In addition; above-mentioned traditional I/O I/O device does not possess any protection and diagnostic function; for example; the function that under the situation that the interface power supply is short-circuited, does not have timely deenergization; and any protection and diagnostic information can't be provided, so in case the I/O device breaks down, the attendant needs one by one each parts in the I/O device to be carried out fault detect; influence the efficient of attendant greatly, increased the difficulty of malfunction elimination malfunction elimination.

The Profibus-DP fieldbus is as a kind of communication bus cheaply, and it is connected to network with industrial equipment, thereby has eliminated expensive hardwire cost.The direct interconnection property improvement that the Profibus-DP fieldbus has the communication of equipment room, the Profibus-DP fieldbus provides considerable device level diagnostic function again simultaneously, and these functions are that the I/O interface of existing hardwire I/O I/O device is difficult to realize.

In addition, Profibus-DP is a kind of simple Networking Solutions ﹠ provisioned, and it has reduced the cost and the time of hardwire and mounting industrial automation equipment when providing multiple vendor with the interchangeability between base part.Profibus-DP is a kind of network standard of opening, and its standard and agreement all are open.Need not hardware, software when the supplier connects devices to system or authorize paying.Anyly can obtain the Profibus-DP standard from Profibus-DP supplier association (ODVA), and can add ODVA, participate in the technical work group that the Profibus-DP standard is augmented interested people of Profibus-DP or tissue.

But; a kind of input and output I/O device with short-circuit protection and self-diagnostic function Profibus-DP fieldbus that possesses apparatus of the present invention feature does not also appear at present; it has short-circuit protection and self-diagnostic function; can be under the situation that the interface power supply is short-circuited timely deenergization; avoid burning because of short circuit current; and provide self-diagnosis information, the personnel of maintaining easily to carry out the failure monitoring and the investigation of device.

Summary of the invention

In view of this; the purpose of this invention is to provide a kind of Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function; it has short-circuit protection and self-diagnostic function; can be under the situation that the interface power supply is short-circuited timely deenergization; avoid burning because of short circuit current; and provide self-diagnosis information; the personnel of maintaining easily carry out the failure monitoring and the investigation of device; device recovers operate as normal automatically after short trouble is got rid of, and the present invention has great practical significance.

For this reason, the invention provides a kind of Profibus-DP fieldbus input and output I/O device, comprising with short-circuit protection and self-diagnostic function:

Profibus-DP field bus communication module OEM2-SE interface unit, be used for and the Profibus-DP fieldbus between carry out data communication, the bus node MACID of this node is set, with carry out communicating by letter of field data between input and output short-circuit protection and the self-diagnosis unit switches, and gather input interface state and output interface condition diagnosing data from input and output short-circuit protection and self-diagnosis unit switches;

Input and output short-circuit protection and self-diagnosis unit switches; be used for and ancillary equipment between carry out data communication; when input interface circuit and/or output interface circuit are short-circuited; deenergization gives short-circuit protection; device recovers operate as normal automatically after short trouble is got rid of, and short-circuit condition is prompted to the user.

Preferably, described Profibus-DP interface unit includes:

Microprocessor, be used for to input and output short-circuit protection and self-diagnosis unit switches collection and issue field data, collection is from the input interface state and the output interface condition diagnosing data of input and output short-circuit protection and self-diagnosis unit switches, receive the bus node number of this set node of toggle switch circuit, initialization and and Profibus-DP field bus communication module OEM2-SE between carry out data communication;

The toggle switch circuit is connected with microprocessor is two-way, is used to be provided with the bus node number of this node;

Module/network condition indicating circuit is connected with OEM2-SE, is used for display module power supply status and network state;

Profibus-DP field bus communication module OEM2-SE, be connected with microprocessor is two-way, be used to receive from the message of Profibus-DP fieldbus and resolve, the data of resolving output are sent to microprocessor, and obtain the message that comprises field data and input interface state and output interface condition diagnosing data from microprocessor, after being packed according to the Profibus-DP protocol specification, this message sends to the Profibus-DP fieldbus.

Preferably, input and output short-circuit protection and self-diagnosis unit switches include:

Input interface circuit is connected with microprocessor is two-way, is used to the input interface that can connect the peripheral communications object to power, the field data that provides input interface to import to microprocessor, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;

Output interface circuit, be connected with microprocessor is two-way, be used to receive microprocessor and issue the field data of output to output interface, field data according to this output, for the output interface that can connect the peripheral communications object is powered, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;

Whether the input state diagnostic circuit is connected with microprocessor is two-way, be used to diagnose input interface circuit to be short-circuited, when input interface circuit is short-circuited, and output diagnosis short-circuit signal;

Whether the output state diagnostic circuit is connected with microprocessor is two-way, be used to diagnose output interface circuit to be short-circuited, when output interface circuit is short-circuited, and the output short-circuit diagnostic signal.

Preferably, described input interface circuit includes power switch chip TS4141, this power switch chip TS4141 one termination external power source, one termination input interface, described input interface can meet sb. at the airport tool switch or transducer, described input interface meets optocoupler PC817, the ternary bidirectional bus transceiver of the output termination of described optocoupler PC817 74LS245, the output termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245.

Preferably, described output interface circuit includes: ternary bidirectional bus transceiver 74LS245, the input termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245, the base stage of its output termination triode Q1, the grounded emitter of described triode Q1, the collector electrode of described triode Q1 meets optocoupler PC817, the output termination power switch chip TS4141 of described optocoupler PC817, this power switch chip TS4141 one termination external power source, one termination output interface, described output interface can connect the multiple actuator that comprises electromagnetically operated valve, relay.

Preferably, include in described input state diagnostic circuit and the output state diagnostic circuit: voltage comparator LM311, the negative signal termination input interface circuit of described voltage comparator LM311 or the power positive end of output interface circuit, its anode voltage constant, the output short circuit LED warning light of described voltage comparator LM311.

By above technical scheme provided by the invention as seen; compared with prior art; the invention provides a kind of Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function; it has short-circuit protection and self-diagnostic function; can be under the situation that the interface power supply is short-circuited timely deenergization; avoid burning because of short circuit current; and provide the short circuit diagnosis to point out; the personnel of maintaining easily carry out the failure monitoring and the investigation of device; device recovers operate as normal automatically after short trouble is got rid of, and has great practical significance.

Description of drawings

Fig. 1 is a kind of overall construction drawing with Profibus-DP fieldbus input and output I/O device of short-circuit protection and self-diagnostic function provided by the invention;

Fig. 2 is the interface circuit figure of microprocessor single-chip microcomputer and Profibus-DP field bus communication module OEM2-SE among Fig. 1;

Fig. 3 is the circuit diagram of toggle switch (node M AC ID is set);

Fig. 4 is the circuit diagram of module/network state indicator light;

The circuit diagram of Fig. 5 input interface circuit;

The circuit diagram of Fig. 6 output interface circuit;

The circuit diagram of Fig. 7 input state diagnostic circuit;

The circuit diagram of Fig. 8 output state diagnostic circuit.

Embodiment

In order to make those skilled in the art person understand the present invention program better, the present invention will be described below in conjunction with drawings and embodiments.

Fig. 1 is a kind of overall construction drawing with Profibus-DP fieldbus input and output I/O device of short-circuit protection and self-diagnostic function provided by the invention.

Referring to Fig. 1, the invention provides a kind of Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function, this device comprises OEM2-SE interface unit 101 and input and output short-circuit protection and self-diagnosis unit switches 102, wherein:

OEM2-SE interface unit 101, be used for and the Profibus-DP fieldbus between carry out data communication, the bus node number (MAC ID) (being the network address of this node) of apparatus of the present invention node is set, with carry out communicating by letter of field data between input and output short-circuit protection and the self-diagnosis unit switches 102, and gather input interface state and output interface condition diagnosing data from input and output short-circuit protection and self-diagnosis unit switches 102;

Input and output short-circuit protection and self-diagnosis unit switches 102; be connected with OEM2-SE interface unit 101; be used for and ancillary equipment between carry out data communication (being input and output); when input interface circuit and/or output interface circuit are short-circuited; deenergization gives short-circuit protection; device recovers operate as normal automatically after short trouble is got rid of, and short-circuit condition is prompted to the user.

On the specific implementation, input and output short-circuit protection and self-diagnosis unit switches 102 are prompted to the user with short-circuit condition (input interface state and/or output interface state) by short circuit prompting LED lamp.

In the present invention, described OEM2-SE interface unit 101 includes:

Microprocessor 1011; be used for gathering and issue field data to input and output short-circuit protection and self-diagnosis unit switches 102; collection is from the input interface state and the output interface condition diagnosing data of input and output short-circuit protection and self-diagnosis unit switches 102; receive the bus node number of the set apparatus of the present invention node of toggle switch circuit 1012, initialization and and Profibus-DP field bus communication module OEM2-SE1014 between carry out data communication (being the reception and the transmission of data).

On the specific implementation, the field data that described microprocessor 1011 is gathered input interface circuit in input and output short-circuit protections and the self-diagnosis unit switches 102 issues field data to wherein output interface circuit; In addition, also gather input interface state and output interface condition diagnosing data from input and output short-circuit protection and self-diagnosis unit switches 102;

Need to prove that microprocessor is after initially powering on, the state of all parameters all needs an initial value, could enter normal operating conditions under an initial condition like this.When microcontroller begins to carry out, need parameters such as relevant parameter such as node address, communication baud rate, the initial counter value of timer, communication data configuration are write microcontroller, only in this way just can bring into operation.Therefore need all default values are written in OEM2-SE 1014 registers by assignment statement, thereby finish initialization.

Toggle switch circuit 1012 with 1011 two-way connections of microprocessor, is used to be provided with the bus node number (being the meshed network address) of apparatus of the present invention node, referring to Fig. 3, is the circuit diagram of toggle switch circuit;

Module/network state indicator light 1013 with 1014 two-way connections of OEM2-SE, is used for reflecting in real time the power supply status and the communications status of apparatus of the present invention node, and referring to Fig. 4, Fig. 4 is module/network state indicator light circuit figure;

Profibus-DP field bus communication module OEM2-SE 1014, with 1011 two-way connections of microprocessor, be used to receive from the message of Profibus-DP fieldbus and resolve, the data of resolving output are sent to microprocessor 1011, and obtain the message that comprises field data and input interface state and output interface condition diagnosing data from microprocessor 1011, after being packed according to the Profibus-DP protocol specification, this message sends to the Profibus-DP fieldbus;

Promptly send the message that meets the Profibus-DP agreement to the Profibus-DP fieldbus; According to the Profibus-DP standard to judging from the message of Profibus-DP fieldbus and filter (promptly resolving), thereby improve the communication efficiency of I/O device of the present invention; Referring to Fig. 2, Fig. 2 is the interface circuit figure of microprocessor 1011 and Profibus-DP field bus communication module OEM2-SE 1014.

Need to prove, data communication between Profibus-DP field bus communication module OEM2-SE 1014 and the Profibus-DP fieldbus is specially: described OEM2-SE 1014 receives from the message of Profibus-DP fieldbus and resolves, and the message that will send to the Profibus-DP fieldbus packs, to meet the Profibus-DP protocol specification; OEM2-SE 1014 sends to microprocessor 1011 with the dateout of resolving, and obtains the input data from little processing 1011.

Need to prove, after toggle switch circuit 1012 is finished being provided with of bus node number, be notified to microprocessor 1011 by data/address bus, microprocessor 1011 is immediately to the initialize routine of OEM2-SE 1014,1014 connection status by initialized data and main website of OEM2-SE inform module/network state indicator light 1013, module/network state indicator light 1013 also will be connected to the power supply general supply of module, the power status of display module simultaneously.

In the present invention, input and output short-circuit protection and self-diagnosis unit switches 102 include:

Input interface circuit 1021 with 1011 two-way connections of microprocessor, is used to the input interface that can connect the peripheral communications object to power, the field data that provides input interface to import to microprocessor 1011, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;

Output interface circuit 1022, with 1011 two-way connections of microprocessor, be used to receive microprocessor 1011 and issue the field data of output to output interface, field data according to this output, for the output interface that can connect the peripheral communications object is powered, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;

Referring to Fig. 5, Fig. 6, the TS4141 in diagram input interface circuit 1021 and the output interface circuit 1022 is intelligent high-side power switch chip, and maximum can provide the 2A load current, and TS4141 self has functions such as short-circuit protection circuit, overcurrent protection, overvoltage protection.When the module interface short circuit, the automatic protection module circuit of testing circuit meeting that TS4141 is inner integrated, deenergization, and when short trouble was got rid of, TS4141 can restore electricity immediately, made interface energy operate as normal.

Input interface circuit as shown in Figure 5, described input interface circuit 1021 includes power switch chip TS4141, this power switch chip TS4141 one termination external power source, one termination input interface, described input interface can meet sb. at the airport tool switch or transducer, described input interface meets optocoupler PC817, the ternary bidirectional bus transceiver of the output termination of described optocoupler PC817 74LS245, the output termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245.

As shown in Figure 5, outside 24V power supply is given input interface (Header3) power supply by intelligent high-side power switch chip TS4141, the input interface peripheral communications objects such as tool switch or transducer of can meeting sb. at the airport, this input interface meets optocoupler PC817, when mechanical switch closure or transducer action, optocoupler PC817 conducting, the output output high level of optocoupler PC817, can realize carrying out with microprocessor P89V51 the transmitted in both directions of data by ternary bidirectional bus transceiver 74LS245,8 tunnel input data (switching value) of final peripheral communications object are gathered by gating 74LS245 by microprocessor.

Output interface circuit as shown in Figure 6, described output interface circuit 1022 includes: ternary bidirectional bus transceiver 74LS273, the input termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS273, the base stage of its output termination triode Q1, the grounded emitter of described triode Q1, the collector electrode of described triode Q1 meets optocoupler PC817, the output termination power switch chip TS4141 of described optocoupler PC817, this power switch chip TS4141 one termination external power source, one termination output interface, described output interface can connect and comprise electromagnetically operated valve, relay is at interior multiple actuator.

As shown in Figure 6, outside 24V power supply is powered to output interface by intelligent high-side power switch chip TS4141, and output interface can connect actuators (being the peripheral communications object) such as electromagnetically operated valve, relay.D type flip flop 74LS273 can realize latching of data.During the microprocessor dateout, microprocessor provides the jumping edge that rises only need for the clock end of 74LS273, and the dateout on the data/address bus both had been latched in the output of 74LS273.When output signal is high level, triode Q19013 conducting, thereby optocoupler PC817 conducting, the switching signal input of TS4141 is activated, and TS4141 opens, thereby is output interface (Header2) power supply, drives peripheral communications objects such as electromagnetically operated valve, relay.

Whether input state diagnostic circuit 1023 with 1011 two-way connections of microprocessor, is used to diagnose input interface circuit 1021 to be short-circuited, and when input interface circuit 1021 was short-circuited, the output short-circuit diagnostic signal was given microprocessor 1011;

Whether output state diagnostic circuit 1024 with 1011 two-way connections of microprocessor, is used to diagnose output interface circuit 1022 to be short-circuited, and when output interface circuit 1022 was short-circuited, the output short-circuit diagnostic signal was given microprocessor 1011;

Fig. 7, Fig. 8 are respectively input state circuit and output state diagnostic circuit, as shown in Figure 7 and Figure 8, LM311 is high-precision voltage comparator, when its positive signal terminal voltage during greater than the negative signal terminal voltage, its output output high level, when its negative signal terminal voltage during greater than the positive signal terminal voltage, its output output low level.Among Fig. 7, Fig. 8, the negative signal termination input interface circuit 1021 of described voltage comparator LM311 or the power positive end of output interface circuit 1022, its anode voltage constant, the output termination optocoupler PC817 of described voltage comparator LM311, the ternary bidirectional bus transceiver of the output termination of described optocoupler PC817 74LS245, the output termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245.

In the present invention, the power positive end of input interface circuit 1021 and output interface circuit 1022 connects the negative signal end of voltage comparator LM311, connects LM311 positive signal end behind 24V voltage process 10K, the 30K electric resistance partial pressure, and positive terminal voltage perseverance is 18V.Therefore, when input interface circuit 1021 was short-circuited, TS4141 was in guard mode, the power positive end ground connection of input interface circuit 1021, and power work indication LED lamp DS1 extinguishes.The negative signal end ground connection of voltage comparator LM311, because the reference voltage of the positive termination 18V of voltage comparator LM311, voltage comparator LM311 exports high level, the short circuit of short circuit prompting this moment LED lamp DS2 conducting indication passage.

When short trouble is got rid of, the TS4141 state of resuming work automatically, power work LED lamp DS1 conducting, voltage comparator LM311 since the negative signal terminal voltage greater than the positive signal terminal voltage, output low level, short circuit warning light DS2 extinguishes, and shows that input channel is normal.

In like manner, when output interface circuit 1022 was short-circuited, power work warning light DS4 extinguished, and voltage comparator LM311 exports high level, control short circuit prompting LED lamp DS3 conducting.When short trouble is got rid of, power work warning light DS4 conducting, voltage comparator LM311 output low level, short circuit warning light DS3 extinguishes, and shows that output channel is normal.

On the specific implementation, provided by the invention based on Profibus-DP fieldbus input and output I/O device, at first use microprocessor single-chip microcomputer 1011 and read peripheral toggle switch amount, carry out the MAC ID (node address number) of this device node by toggle switch circuit 1012, by the power supply status and the network state of module/network state indicator light 1013 display modules.

Then, microprocessor 1011 is gathered the input field data by input interface circuit 1021, and by the whether short circuit of input state diagnostic circuit 1023 diagnosable input interface circuits, the input interface condition diagnosing data that microprocessor 1011 is gathered about input interface circuit 1021 by input state diagnostic circuit 1023; Whether short circuit of the diagnosable output interface circuit of output state diagnostic circuit 1,024 1022, microprocessor 1011 is gathered output interface condition diagnosing data about this output interface circuit 1022 by the output state diagnostic circuit.Profibus-DP field bus communication module OEM2-SE 1014 can finish all Profibus-DP bus protocols automatically, the data based Profibus-DP protocol format that will send is encapsulated, and send to bus, and the data on the reception bus, and these data are resolved according to the Profibus-DP agreement, extract data and to issuing by output interface circuit 1021 field apparatus to the periphery.

The present invention is in said process, microprocessor 1011 at first reads peripheral toggle switch numerical value and carries out the setting of node M AC ID, subsequently initialization Profibus-DP object properties, initialization Profibus-DP messaging parameter, timer and OEM2-SE communication module are set, thereby finish the device initialize process.Carry out Profibus-DP configuration, configuration then, by after Profibus-DP bus configuration, the configuration, node has just connected the Profibus-DP bus again.Connected the Profibus-DP bus, module just enters unlimited datacycle swap status.

For the device that the invention described above provides, this device when being short-circuited, referring to Fig. 5, Fig. 6, can disconnect path at input or output interface circuit immediately, and other electronic components of protection module can not burn because of short circuit effectively.In conjunction with Fig. 7, circuit shown in Figure 8, when short circuit, can send alarm signal, the prompting staff can get rid of open circuit fault as early as possible.In addition, the state of can resuming work automatically immediately after short trouble is got rid of, short-circuit protection of the present invention adopt the electronic short circuit protection, and it is fast to have response speed, the little advantage of power consumption during short circuit, and circuit is simple, and with low cost.

For device provided by the invention, in the bus communication design, adopted the special module of Profibus-DP field bus communication module OEM2-SE as the behavior of this device of control bus, thereby the bus message processing and the task of single-chip data acquisition are separated, for later function expansion provides than large space, strengthened the portability of system simultaneously.In the short-circuit protection function design; input/output interface adopts optocoupler; amplifier; elements such as light-emitting diode are realized the short-circuit protection function of I/O interface, when interface is short-circuited, and timely open circuit; protection Block I/O module; prevent that it from damaging because of short circuit, the luminous warning of simultaneous faults lamp is implemented in fault simultaneously and gets rid of the back former normal operating conditions of recovery automatically.

The input and output condition diagnosing circuit that the invention described above device has; can be when input/output port be short-circuited fault; the user is sent alarm; thereby make under the relatively poor situation of condition of work at the scene; to often causing module input, output short circuit, load device short circuit etc. causes that the fault of serious power supply short circuit realizes effective diagnosis and protection.

In sum; compared with prior art; the invention provides a kind of Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function; it has short-circuit protection and self-diagnostic function; can be under the situation that the interface power supply is short-circuited timely deenergization; avoid burning because of short circuit current; and provide self-diagnosis information; the personnel of maintaining easily carry out the failure monitoring and the investigation of device; device recovers operate as normal automatically after short trouble is got rid of, and has great practical significance.

The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (6)

1. the Profibus-DP fieldbus input and output I/O device with short-circuit protection and self-diagnostic function is characterized in that, comprising:
Profibus-DP field bus communication module OEM2-SE interface unit, be used for and the Profibus-DP fieldbus between carry out data communication, the bus node MAC ID of OEM2-SE interface unit is set, with carry out communicating by letter of field data between input and output short-circuit protection and the self-diagnosis unit switches, and gather input interface state and output interface condition diagnosing data from input and output short-circuit protection and self-diagnosis unit switches;
Input and output short-circuit protection and self-diagnosis unit switches; be used for and ancillary equipment between carry out data communication; when input interface circuit and/or output interface circuit are short-circuited; deenergization gives short-circuit protection; device recovers operate as normal automatically after short trouble is got rid of, and short-circuit condition is prompted to the user.
2. device as claimed in claim 1 is characterized in that, described Profibus-DP field bus communication module OEM2-SE interface unit includes:
Microprocessor, be used to gather from the input data of input and output short-circuit protection and self-diagnosis unit switches and issue dateout, collection is from the input interface state and the output interface condition diagnosing data of input and output short-circuit protection and self-diagnosis unit switches 102, receive the bus node number of the set OEM2-SE interface unit of toggle switch circuit, initialization and and Profibus-DP field bus communication module OEM2-SE between carry out data communication;
The toggle switch circuit is connected with microprocessor is two-way, is used to be provided with the bus node number of OEM2-SE interface unit;
Module/network condition indicating circuit is connected with OEM2-SE, is used for display module power supply status and network state;
Profibus-DP field bus communication module OEM2-SE, be connected with microprocessor is two-way, be used to receive from the message of Profibus-DP fieldbus and resolve, the data of resolving output are sent to microprocessor, and obtain the message that comprises field data and input interface state and output interface condition diagnosing data from microprocessor, after being packed according to the Profibus-DP protocol specification, this message sends to the Profibus-DP fieldbus.
3. device as claimed in claim 2 is characterized in that, input and output short-circuit protection and self-diagnosis unit switches include:
Input interface circuit is connected with microprocessor is two-way, is used to the input interface that can connect the peripheral communications object to power, the field data that provides input interface to import to microprocessor, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;
Output interface circuit, be connected with microprocessor is two-way, be used to receive microprocessor and issue the field data of output to output interface, field data according to this output, for the output interface that can connect the peripheral communications object is powered, and when being short-circuited, disconnect power supply, and after short trouble is got rid of, restore electricity;
Whether the input state diagnostic circuit is used to diagnose input interface circuit to be short-circuited, and when input interface circuit was short-circuited, output diagnosis short-circuit signal was given microprocessor;
Whether the output state diagnostic circuit is connected with microprocessor is two-way, be used to diagnose output interface circuit to be short-circuited, and when output interface circuit was short-circuited, the output short-circuit diagnostic signal was given microprocessor.
4. device as claimed in claim 3, it is characterized in that, described input interface circuit includes power switch chip TS4141, this power switch chip TS4141 one termination external power source, one termination input interface, described input interface can meet sb. at the airport tool switch or transducer, described input interface meets optocoupler PC817, the ternary bidirectional bus transceiver of the output termination of described optocoupler PC817 74LS245, the output termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245.
5. device as claimed in claim 3, it is characterized in that, described output interface circuit includes: ternary bidirectional bus transceiver 74LS245, the input termination microprocessor P89V51 of described ternary bidirectional bus transceiver 74LS245, the base stage of its output termination triode Q1, the grounded emitter of described triode Q1, the collector electrode of described triode Q1 meets optocoupler PC817, the output termination power switch chip TS4141 of described optocoupler PC817, this power switch chip TS4141 one termination external power source, one termination output interface, described output interface can connect and comprise electromagnetically operated valve, relay is at interior multiple actuator.
6. device as claimed in claim 3, it is characterized in that, include in described input state diagnostic circuit and the output state diagnostic circuit: voltage comparator LM311, the negative signal termination input interface circuit of described voltage comparator LM311 or the power positive end of output interface circuit, its anode voltage constant, the output termination short circuit LED warning light of described voltage comparator LM311.
CN2009100699231A 2009-07-29 2009-07-29 Profibus device protocol input and output device with short circuit protection and self-diagnosis CN101707482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100699231A CN101707482B (en) 2009-07-29 2009-07-29 Profibus device protocol input and output device with short circuit protection and self-diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100699231A CN101707482B (en) 2009-07-29 2009-07-29 Profibus device protocol input and output device with short circuit protection and self-diagnosis

Publications (2)

Publication Number Publication Date
CN101707482A CN101707482A (en) 2010-05-12
CN101707482B true CN101707482B (en) 2011-12-28

Family

ID=42377680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100699231A CN101707482B (en) 2009-07-29 2009-07-29 Profibus device protocol input and output device with short circuit protection and self-diagnosis

Country Status (1)

Country Link
CN (1) CN101707482B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081401A (en) * 2010-10-18 2011-06-01 天津市天锻压力机有限公司 Field bus fault diagnostic method based on industrial computer
JP5573885B2 (en) * 2012-04-27 2014-08-20 横河電機株式会社 Self-diagnosis circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559966A (en) * 1992-11-06 1996-09-24 Intel Corporation Method and apparatus for interfacing a bus that operates at a plurality of operating potentials
CN1187073A (en) * 1996-12-30 1998-07-08 Lg半导体株式会社 Low power required input buffer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559966A (en) * 1992-11-06 1996-09-24 Intel Corporation Method and apparatus for interfacing a bus that operates at a plurality of operating potentials
CN1187073A (en) * 1996-12-30 1998-07-08 Lg半导体株式会社 Low power required input buffer

Also Published As

Publication number Publication date
CN101707482A (en) 2010-05-12

Similar Documents

Publication Publication Date Title
CN100351738C (en) Automatic power down rebooting device
EP2897023B1 (en) Device for controlling heat dissipation fan and electronic equipment
CN203444081U (en) Monitoring and control system for permanent magnetic mechanism breaker
CN203455433U (en) Air conditioner fault detection device and air conditioner fault detection system comprising same
CN104647389B (en) A kind of robot control system, robot device
CN1567816A (en) A remote power feeding equipment having remote control function
CN203376627U (en) Automatic power distribution on-line monitoring system
CN204596059U (en) A kind of electric leakage, fire supervising device based on RS485 bus
CN103178410A (en) Intelligent socket and intelligent socket control equipment
CN106154877B (en) A kind of control device and its progress control method
CN105527912A (en) Electricity machine room environment monitoring system
CN105739299A (en) Control device based on double 2-vote-2 safety redundancy system
CN105785958A (en) Smart factory-based multi-function data acquisition device, acquisition system and method
CN203799242U (en) Fieldbus technology-based 6kV high-voltage electrical equipment control system
CN101694945A (en) Uninterruptible power source monitoring device
CN102611589A (en) Automatic detection device of disconnection of router and working method thereof
CN101839790A (en) Intelligent on-line calibration system
CN102749890B (en) Redundancy method for DCS (distributed control system) control module
CN202721689U (en) Network assembly, display module and system
CN102354175A (en) Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
CN202835671U (en) Household air conditioner control system based on controller area network (CAN) bus
CN101403391B (en) Novel duplicate-power double-fan intelligent monitoring protection device
CN105182954A (en) Embedded indoor environment network monitor system and method based on 51 one-chip microcomputer
CN104143244B (en) Automatic fire alarm system communication modes and fire alarm automatic alarm system
CN104485748A (en) System and method for monitoring UPS of transformer substation

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
ASS Succession or assignment of patent right

Owner name: TIANJIN SENTINEL ELECTRONIC CO., LTD.

TA01 Transfer of patent application right

Effective date of registration: 20110428

Address after: 300191 No. 263 Hongqi South Road, Tianjin, Nankai District

Applicant after: Tianjin University of Technology

Co-applicant after: Tianjin Sentenai Electronics Co., Ltd.

Address before: 300191 No. 263 Hongqi South Road, Tianjin, Nankai District

Applicant before: Tianjin University of Technology

C41 Transfer of patent application or patent right or utility model
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111228

Termination date: 20120729