CN109408436B - Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device - Google Patents
Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device Download PDFInfo
- Publication number
- CN109408436B CN109408436B CN201811231840.3A CN201811231840A CN109408436B CN 109408436 B CN109408436 B CN 109408436B CN 201811231840 A CN201811231840 A CN 201811231840A CN 109408436 B CN109408436 B CN 109408436B
- Authority
- CN
- China
- Prior art keywords
- serial port
- circuit
- trigger
- output
- switching circuit
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Monitoring And Testing Of Exchanges (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a switching circuit and a method for dual-redundancy 422 serial ports of an overload starting device, wherein the switching circuit comprises two 422 serial port receiving and sending circuits for realizing 422 level conversion, an interlocking enabling circuit for ensuring that only one 422 serial port outputs, and a trigger switching circuit for providing a trigger switching signal; the input end of the interlocking enabling circuit is connected with the output end of the trigger switching circuit, the output end of the interlocking enabling circuit is connected with a DE pin of a first 422 serial port, and the output end of the trigger switching circuit is connected with a DE pin of a second 422 serial port; the first 422 serial port and the second 422 serial port receiving channel are connected in parallel, and the first 422 serial port and the second 422 serial port output channel are connected after passing through a resistor. The invention creatively uses the switching circuit and the method of the dual-redundancy 422 serial port in the overload starting device, and the system reliability is high.
Description
Technical Field
The invention relates to overload hardware starting technology, in particular to a switching circuit and a switching method for dual-redundancy 422 serial ports of an overload starting device.
Background
The overload starting method is divided into a hardware starting method and a software starting method, and the software starting method has a complex logic judgment flow and an error-proof check measure, so that the safety of starting a hard part is higher, and the method is widely used at present. The overload starting device adopts a method of combining hardware starting and software starting, and the reliability of the system can be improved by adopting redundant switching of hardware and software starting.
The hardware starting can adopt hardware or a gate circuit to realize dual-redundancy output, and the invention can realize the switching of the 422 serial port by performing the function control on the RS422 receiving transmitter through the interlocking enabling circuit.
Disclosure of Invention
The invention provides a switching circuit and a switching method for dual-redundancy 422 serial ports of an overload starting device, aiming at the defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a switching circuit for dual-redundancy 422 serial ports of an overload starting device comprises two 422 serial port receiving and sending circuits for realizing 422 level conversion, an interlocking enabling circuit for ensuring that only one 422 serial port is output, and a trigger switching circuit for providing a trigger switching signal;
the input end of the interlocking enabling circuit is connected with the output end of the trigger switching circuit, the output end of the interlocking enabling circuit is connected with a DE pin of a first 422 serial port, and the output end of the trigger switching circuit is connected with a DE pin of a second 422 serial port;
the first 422 serial port and the second 422 serial port receiving channel are connected in parallel, and the first 422 serial port and the second 422 serial port output channel are connected after passing through a resistor.
According to the scheme, the interlocking enabling circuit is an NPN type emitter grounding switch circuit.
According to the scheme, the trigger switching circuit for providing the trigger switching signal comprises an I/O signal, a PWM trigger circuit and an AND gate; the output of the I/O signal and the PWM trigger circuit is the input of an AND gate; the I/O signal and the output of the PWM trigger circuit are grounded through a resistor.
A switching method using the switching circuit for the dual-redundancy 422 serial port of the overload starting device comprises the following steps:
1) the trigger switching circuit outputs the signals after passing through I/O and PWM and logic respectively, and the output level of the AND gate is low under normal conditions;
2) the interlocking enabling circuit receives the low level output by the AND gate, and at the moment, the first 422 serial port sends serial port information to report;
3) if the first 422 serial port circuit fails, the superior system sends serial port failure, the controller receives the first serial port failure information, and meanwhile, the controller sets high I/O and triggers PWM, the PWM trigger circuit outputs high level, and after the PWM trigger circuit acts on the input end of the AND gate, the AND gate outputs high level, the interlocking enabling circuit receives the high level output by the AND gate, at the moment, the first 422 serial port is cut off to stop working, and meanwhile, the second 422 serial port sends serial port information to be reported.
The invention has the following beneficial effects: the switching circuit and the method of the dual-redundancy 422 serial port are creatively used in the overload starting device, the 422 serial port is interlocked through the hardware circuit through the interlocking enabling circuit, the switching of the 422 serial port is realized, and the simultaneous work of the 422 serial ports and the generation of data crosstalk can be effectively avoided; the trigger switching circuit adopts an AND logic design, so that the false switching caused by interference can be avoided; the switching circuit and the switching method improve the safety and the reliability of the system.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic structural diagram of an embodiment of the present invention;
fig. 2 is a circuit schematic of an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1 and fig. 2, a switching circuit for dual-redundancy 422 serial ports of an overload starting apparatus includes two 422 serial port receiving and transmitting circuits for implementing 422 level conversion, an interlock enabling circuit for ensuring that only one 422 serial port outputs, and a trigger switching circuit for providing a trigger switching signal;
the input end of the interlocking enabling circuit is connected with the output end of the trigger switching circuit, the output end of the interlocking enabling circuit is connected with a DE pin of a 422A serial port, and the output end of the trigger switching circuit is connected with a DE pin of a 422B serial port;
the serial port A is connected with the serial port B in parallel, and the serial port A is connected with the serial port B through a resistor.
The interlocking enabling circuit is an NPN type emitter grounding switch circuit.
The trigger switching circuit for providing a trigger switching signal comprises an I/O signal, a PWM trigger circuit and an AND gate; the output of the I/O signal and the PWM trigger circuit is the input of an AND gate; the I/O signal and the output of the PWM trigger circuit are grounded through a resistor.
A switching method using the switching circuit for the dual-redundancy 422 serial port of the overload starting device comprises the following steps:
1) the trigger switching circuit outputs the signals after passing through I/O and PWM and logic respectively, and the output level of the AND gate is low under normal conditions;
2) the interlocking enabling circuit receives the low level output by the AND gate, and at the moment, the serial port A sends serial port information to report;
3) if the A serial port circuit is in fault, the superior system sends serial port fault, the controller receives the A serial port fault information, meanwhile, the controller sets high I/O and triggers PWM, the PWM trigger circuit outputs high level, the AND gate outputs high level after the PWM trigger circuit acts on the input end of the AND gate, the interlocking enabling circuit receives the high level output by the AND gate, at the moment, the A serial port is cut off and stops working, and meanwhile, the B serial port sends serial port information to report.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.
Claims (2)
1. A switching method of a switching circuit for dual-redundancy 422 serial ports of an overload starting device is characterized in that,
the 422-level conversion circuit comprises two 422 serial port receiving and sending circuits for realizing 422 level conversion, an interlocking enabling circuit for ensuring that only one 422 serial port is output, and a trigger switching circuit for providing a trigger switching signal;
the input end of the interlocking enabling circuit is connected with the output end of the trigger switching circuit, the output end of the interlocking enabling circuit is connected with a DE pin of a first 422 serial port, and the output end of the trigger switching circuit is connected with a DE pin of a second 422 serial port;
the first 422 serial port and the second 422 serial port receiving channel are connected in parallel, and the first 422 serial port and the second 422 serial port output channel are connected through a resistor;
the trigger switching circuit for providing the trigger switching signal comprises an I/O signal, a PWM trigger circuit and an AND gate; the output of the I/O signal and the PWM trigger circuit is the input of an AND gate; the output of the I/O signal and the PWM trigger circuit is grounded after passing through a resistor;
the method comprises the following steps:
1) the trigger switching circuit outputs the signals after passing through I/O and PWM and logic respectively, and the output level of the AND gate is low under normal conditions;
2) the interlocking enabling circuit receives the low level output by the AND gate, and at the moment, the first 422 serial port sends serial port information to report;
3) if the first 422 serial port circuit fails, the superior system sends serial port failure, the controller receives the first serial port failure information, and meanwhile, the controller sets high I/O and triggers PWM, the PWM trigger circuit outputs high level, and after the PWM trigger circuit acts on the input end of the AND gate, the AND gate outputs high level, the interlocking enabling circuit receives the high level output by the AND gate, at the moment, the first 422 serial port is cut off to stop working, and meanwhile, the second 422 serial port sends serial port information to be reported.
2. The switching method of the switching circuit for the dual-redundancy 422 serial port of the overload starting apparatus according to claim 1, wherein the interlock enabling circuit is an NPN-type emitter-grounded switch circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231840.3A CN109408436B (en) | 2018-10-22 | 2018-10-22 | Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231840.3A CN109408436B (en) | 2018-10-22 | 2018-10-22 | Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109408436A CN109408436A (en) | 2019-03-01 |
CN109408436B true CN109408436B (en) | 2022-03-18 |
Family
ID=65468823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811231840.3A Active CN109408436B (en) | 2018-10-22 | 2018-10-22 | Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408436B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176939A (en) * | 2013-01-16 | 2013-06-26 | 安徽工程大学 | Redundant serial communication device with automatic replacing function |
CN106896750A (en) * | 2017-03-16 | 2017-06-27 | 上海鼎桩新能源科技有限公司 | The serial ports redundancy switching method and device of a kind of controller system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8861513B2 (en) * | 2012-06-26 | 2014-10-14 | International Business Machines Corporation | Fault tolerant parallel receiver interface with receiver redundancy |
TWI587145B (en) * | 2016-12-08 | 2017-06-11 | 群聯電子股份有限公司 | Channel switching device, memory storage device and channel switching method |
-
2018
- 2018-10-22 CN CN201811231840.3A patent/CN109408436B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176939A (en) * | 2013-01-16 | 2013-06-26 | 安徽工程大学 | Redundant serial communication device with automatic replacing function |
CN106896750A (en) * | 2017-03-16 | 2017-06-27 | 上海鼎桩新能源科技有限公司 | The serial ports redundancy switching method and device of a kind of controller system |
Also Published As
Publication number | Publication date |
---|---|
CN109408436A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103595225B (en) | A kind of IGBT drive circuit of converter for electric locomotive | |
CN102347603B (en) | Drive and protection circuit for IGBT (Insulated Gate Bipolar Transistor) | |
EP2464040B1 (en) | Protection device and protection method for optical network | |
CN105005545A (en) | Line card serial port switching device and line card serial port switching method | |
CN109408436B (en) | Switching method of switching circuit of dual-redundancy 422 serial port of overload starting device | |
CN108616292B (en) | Communication circuit, communication method thereof, controller and electric equipment | |
US20170012701A1 (en) | A Multifunctional Laser Diode Driving Circuit, A Module Comprising the Same, and a Method Using the Same | |
CN111263138A (en) | LVDS digital video fault automatic detection system and implementation method thereof | |
CN103472746B (en) | The redundancy control method of dual master control equipment and dual master control equipment | |
US20030058895A1 (en) | Methmethod for detecting connection polarity of network transmission lines and associated detection circuit | |
CN203606943U (en) | Remote control system for engineering machine | |
CN110597124A (en) | Communication architecture with redundant hardware | |
US11469919B2 (en) | Bidirectional communication circuit and a method for operating a bidirectional communication circuit | |
CN102148678B (en) | Dual-path automatic full-redundancy transparent light transmission system | |
CN103441791A (en) | Satellite-bone data transmission emitting device and selection method of input signals thereof | |
EP3694119B1 (en) | Optical module | |
JPH02149040A (en) | Data transmitting system | |
US20080301339A1 (en) | Control device for a usb interface and control method thereof | |
CN111625491A (en) | Multi-machine serial communication device and method | |
CN104410846A (en) | Optical workstation of digital television | |
CN213715352U (en) | Clamp for verifying influence of ground level span segmentation on high-speed serdes eye pattern | |
CN215267628U (en) | Overcurrent protection system based on inverter circuit | |
CN103810130B (en) | Data transmission selection circuit and method | |
CN213213461U (en) | Single-wire communication circuit capable of receiving and transmitting | |
JPS589445B2 (en) | Duplex bus circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |