CN110209617A - A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method - Google Patents

A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method Download PDF

Info

Publication number
CN110209617A
CN110209617A CN201910389519.6A CN201910389519A CN110209617A CN 110209617 A CN110209617 A CN 110209617A CN 201910389519 A CN201910389519 A CN 201910389519A CN 110209617 A CN110209617 A CN 110209617A
Authority
CN
China
Prior art keywords
message
ttl
communication
bidirectional
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910389519.6A
Other languages
Chinese (zh)
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.)
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd
Electric Power Research Institute of State Grid Zhejiang Electric Power 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 China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Anhui Electric Power Co Ltd, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN201910389519.6A priority Critical patent/CN110209617A/en
Publication of CN110209617A publication Critical patent/CN110209617A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Dc Digital Transmission (AREA)

Abstract

The invention discloses a kind of UART serial ports Transistor-Transistor Logic levels to communicate two-way physics monitoring system, the system comprises: module connection unit, bidirectional communication unit and monitoring unit, the module connection unit receives the communication message between the power information acquisition terminal and each functional module for connecting with the functional interface of power information acquisition terminal;The bidirectional communication unit includes TTL bidirectional monitoring circuit and signal conversion circuit;The TTL bidirectional monitoring circuit is used to automatically switch to send message and receives the transmission of message;The signal conversion circuit is used to the Transistor-Transistor Logic level signal of TTL bidirectional monitoring circuit being converted to RS232 level signal;The monitoring unit carries out monitoring analysis for communication message entrained by RS232 level signal, confirms snoop results;The system and method realizes the bidirectional monitoring to communicating pair through set of system in the case where not influencing both sides' normal communication by the transmission that TTL bidirectional monitoring circuit realizes automatic switchover transmission message and receives message.

Description

A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method
Technical field
The present invention relates to technical field of electric power, communicate two-way physics more particularly, to a kind of UART serial ports Transistor-Transistor Logic level and supervise Listen system and method.
Background technique
Power user power consumption information acquisition system is to realize its own function, it is desirable that acquisition terminal and control module, local The functional modules such as module, remote communication module are communicated by UART.It need to be by monitoring acquisition eventually when system function exception Failure is checked at end with the communication message of each functional module, for example needs when terminal logs in main website failure monitor terminal and long-range Message interaction between module, to confirm problem.And the monitoring for power information acquisition terminal communication message, traditional method Include:
1, acquisition terminal software function is extended, is beaten message by other channels when acquisition terminal receives message data Out.The method needs extended software function, and the difficulty of each terminal producer extended software function is different, implementation not yet Together, application method disunity is caused;It not can guarantee by the real-time and primitiveness of the method monitored data message of software, centainly Do not have objectivity in degree;Other channels need to be occupied, acquisition terminal normal function is influenced;
2, turn TTL using Du wiring USB, test process need to weld cable, cause hardware damage, inconvenient to module; The data of single direction can only be monitored as received or sending, if you need to monitor two-way communication, then need two sets of equipment, two sets of softwares, i.e., Just so there is also the bi-directional data message listened to is asynchronous, the problems such as transmitting-receiving process is inconvenient is checked.
Meanwhile when checking to data, the software platform that overwhelming majority power information acquisition terminal uses at present is not Support on-line debugging, even support on-line debugging, it is too late there is also responding to monitor message data using the method for debugging routine When, check inconvenience, the problems such as non-product developer can not check.
Summary of the invention
In order to solve the prior art existing for background technique for the audiomonitor of power information acquisition terminal communication message Complicated, real-time and accuracy not can guarantee, bidirectional monitoring realizes the problems such as difficult, and the present invention provides a kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method;The system and method by design TTL bidirectional monitoring circuit, with Power information acquisition terminal is attached, and in the case where not influencing to monitor both sides' normal communication, realizes that bidirectional monitoring and level turn It changes, real-time common user monitoring reception;A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system
Module connection unit, the module connection unit with the functional interface of power information acquisition terminal for connecting;Institute The input terminal for stating module connection unit is used to receive the communication message between the power information acquisition terminal and each functional module, institute The output end for stating module connection unit is connected with the input terminal of the bidirectional communication unit;The functional interface includes power information The TTL signal interface communicated between acquisition terminal and each functional module;The communication message is including sending message and receiving message;
Bidirectional communication unit, the bidirectional communication unit include TTL bidirectional monitoring circuit and signal conversion circuit;
The TTL bidirectional monitoring circuit is used to automatically switch to send message and receives the transmission of message;The TTL is two-way Monitoring circuit is including sending diode, reception diode and drawing high resistance;The negative pole end for sending diode and transmission are reported The input terminal of text is connected, and the negative pole end of the reception diode is connected with the input terminal for receiving message, the transmission diode Positive terminal is connected with the positive terminal of reception diode, and is connected with high-resistance one end is drawn;It is described that the high-resistance other end is drawn to set In high level;The positive terminal and reception diode of the output end of the TTL bidirectional monitoring circuit and the transmission diode Positive terminal is connected;
The signal conversion circuit is used to being converted to the Transistor-Transistor Logic level signal of TTL bidirectional monitoring circuit into RS232 level letter Number;
Monitoring unit, the monitoring unit carry out monitoring analysis for communication message entrained by RS232 level signal, really Recognize snoop results.
Further, the input terminal of the module connection unit includes multiple input adapters, the multiple input adapter root Fixed and arranged is corresponded to according to the position of TTL signal interface each on power information acquisition terminal, and is passed through with corresponding TTL signal interface Grafting is attached.
Further, the functional interface includes power interface, and the power interface is for providing power supply to described two-way Physics monitoring system is powered.
Further, the module connection unit includes left cartridge module connection subelement and right cartridge module connexon list Member;Multiple input adapters on the left cartridge module connection subelement and the TTL signal on the left box of power information acquisition terminal Interface position Corresponding matching is attached by grafting and the TTL signal interface on the left box;The right cartridge module connexon Multiple input adapters on unit and the TTL signal interface position Corresponding matching on the right box of power information acquisition terminal, pass through Grafting is attached with the TTL signal interface on the right box.
Further, the bidirectional communication unit includes transmitting-receiving identification module, and the transmitting-receiving identification module is used for basis UART data transmission format analyzes communication message, confirms that the communication message still receives message to send message;Institute The transmission message input terminal that the transmission message is input to TTL bidirectional monitoring circuit by transmitting-receiving identification module is stated, by the reception Message is input to the reception message input terminal of TTL bidirectional monitoring single channel.
Further, the monitoring unit is attached by RS232 communication interface and the signal conversion circuit, according to The default monitoring software for completing communication configuration carries out monitoring analysis to communication message.
A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitor method
It is connect with the functional interface of power information acquisition terminal, acquires the power information acquisition terminal and each functional module Between communication message;The functional interface includes the TTL signal interface communicated between power information acquisition terminal and each functional module; The communication message is including sending message and receiving message;
Automatically switch to send message by TTL bidirectional monitoring circuit and receive the transmission of message, by the communication message It is sent to signal conversion unit;
The Transistor-Transistor Logic level signal is converted into RS232 level signal by signal conversion unit;
Monitoring analysis is carried out to the communication message that the RS232 level signal carries, confirms snoop results.
Further, the transmission for automatically switching to send message and receive message by TTL bidirectional monitoring circuit, packet It includes:
Communication message is analyzed according to UART data transmission format, confirms the communication message to send message still Receive message;
The TTL bidirectional monitoring circuit is including sending diode, reception diode and drawing high resistance;Two poles of the transmission The negative pole end of pipe is connected with the input terminal for sending message, the negative pole end of the reception diode and the input terminal phase for receiving message Even, the positive terminal for sending diode is connected with the positive terminal of reception diode, and is connected with high-resistance one end is drawn;It is described The high-resistance other end is drawn to be placed in high level;The output end of the TTL bidirectional monitoring circuit and the anode for sending diode The positive terminal of end and reception diode is connected;
When the transmission message is input to the transmission message input terminal of TTL bidirectional monitoring circuit, message input terminal is received It is placed in high level, to shield the reception message input terminal, realizes the communication path for sending message input terminal to output end;
When the reception message is input to the reception message input terminal of TTL bidirectional monitoring circuit, message input terminal is sent It is placed in high level, to shield the transmission message input terminal, realizes the communication path for receiving message input terminal to output end.
Further, the functional interface with power information acquisition terminal is connect, comprising:
Multiple input adapters of module connection unit are according to the position pair of TTL signal interface each on power information acquisition terminal Fixed and arranged is answered, and is attached with corresponding TTL signal interface by grafting.
Further, using the more of the TTL signal interface position Corresponding matching on the left box with power information acquisition terminal A input adapter is attached by grafting and the TTL signal interface on the left box;
It is connect using multiple inputs of the TTL signal interface position Corresponding matching on the right box with power information acquisition terminal Head is attached by grafting and the TTL signal interface on the right box.
Further, the communication message carried to the RS232 level signal carries out monitoring analysis, comprising:
It is attached by RS232 communication interface and the signal conversion circuit;
Monitoring analysis is carried out to communication message according to the default monitoring software for completing communication configuration.
The invention has the benefit that technical solution of the present invention, it is two-way to give a kind of UART serial ports Transistor-Transistor Logic level communication Physics monitoring system and method, the system and method by design TTL bidirectional monitoring circuit, with power information acquisition terminal into Row connection realizes bidirectional monitoring and level conversion in the case where not influencing to monitor both sides' normal communication, and real-time common user is monitored It receives;Without extending the function of power information acquisition terminal software, its circuit is welded without modification, realizes plug and play;Institute It states system and method and is realized by TTL bidirectional monitoring circuit and automatically switch to send message and receive the transmission of message, pass through Set of system realizes the bidirectional monitoring to communicating pair in the case where not influencing both sides' normal communication.
Detailed description of the invention
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is that a kind of UART serial ports Transistor-Transistor Logic level of the specific embodiment of the invention communicates the knot of two-way physics monitoring system Composition;
Fig. 2 is the schematic diagram of the TTL bidirectional monitoring circuit of the specific embodiment of the invention;
Fig. 3 is that a kind of UART serial ports Transistor-Transistor Logic level of the specific embodiment of the invention communicates the stream of two-way physics monitor method Cheng Tu.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
Fig. 1 is that a kind of UART serial ports Transistor-Transistor Logic level of the specific embodiment of the invention communicates the knot of two-way physics monitoring system Composition;As shown in Figure 1, the system comprises:
Module connection unit, the module connection unit with the functional interface of power information acquisition terminal for connecting;Institute The input terminal for stating module connection unit is used to receive the communication message between the power information acquisition terminal and each functional module, institute The output end for stating module connection unit is connected with the input terminal of the bidirectional communication unit;The functional interface includes power information The TTL signal interface communicated between acquisition terminal and each functional module;The communication message is including sending message and receiving message;
In the present embodiment, the module connection unit is matched with the functional interface of the power information acquisition terminal , the input terminal of the module connection unit includes multiple input adapters, and the multiple input adapter is acquired according to power information The position of each TTL signal interface corresponds to fixed and arranged in terminal, and is attached with corresponding TTL signal interface by grafting.
Specifically, can be the multiple input adapters of setting on one sheet, pass through each TTL on power information acquisition terminal The position of signaling interface corresponds to fixed and arranged, and when use directly mutually inserts the functional interface of this plate and power information acquisition terminal It connects, so that it may realize matching connection.
The functional module of the power information acquisition terminal is by dividing into left box and right box;Left box and the right side are monitored in order to correspond to The communication of power information acquisition terminal and function section in box, the module connection unit include left cartridge module connection subelement with And right cartridge module connects subelement;Multiple input adapters and power information acquisition terminal on the left cartridge module connection subelement Left box on TTL signal interface position Corresponding matching, be attached by grafting and the TTL signal interface on the left box; Multiple input adapters on the right cartridge module connection subelement and the TTL signal interface on the right box of power information acquisition terminal Position Corresponding matching is attached by grafting and the TTL signal interface on the right box.
Further, the functional interface includes power interface, and the power interface is for providing power supply to described two-way Physics monitoring system is powered.In the present embodiment, the power supply of the offer is 3.3V, for road transport row of powering, and is provided steady Fixed high level.
Bidirectional communication unit, the bidirectional communication unit include transmitting-receiving identification module, TTL bidirectional monitoring circuit and signal Conversion circuit;
The transmitting-receiving identification module confirms described logical for being analyzed according to UART data transmission format communication message Letter message is to send message still to receive message;The transmission message is input to TTL bidirectional monitoring by the transmitting-receiving identification module The reception message is input to the reception message input terminal of TTL bidirectional monitoring single channel by the transmission message input terminal of circuit.
The data transmission format of the UART includes start bit, data bit, transmission direction position, check bit, stop position;Its In, for characterizing, transmitted message is up direction or down direction (is to send or connect for the transmission direction position By);
The TTL bidirectional monitoring circuit is used to automatically switch to send message and receives the transmission of message;The TTL is two-way The schematic diagram of monitoring circuit is as shown in Fig. 2, including sending diode D1, reception diode D2 and drawing high resistance R1;The hair Send the negative pole end of diode D1 and send message input terminal PLC_TXD be connected, the negative pole end of the reception diode D2 with connect The input terminal PLC_RXD of receiving text is connected, and the positive terminal for sending diode is connected with the positive terminal of reception diode, and with The one end for drawing high resistance R1 is connected;It is described that the high-resistance other end is drawn to be placed in high level;Such as Tula up to 3.3V;The TTL is bis- It is connected to the output end of monitoring circuit with the positive terminal of the positive terminal for sending diode and reception diode;
By the way that TTL bidirectional monitoring circuit as described above is arranged, when the transmission message is input to TTL bidirectional monitoring circuit Transmission message input terminal when, receive message input terminal and be placed in high level, to shield the receptions message input terminal, realize transmission Message input terminal to output end communication path;
When the reception message is input to the reception message input terminal of TTL bidirectional monitoring circuit, message input terminal is sent It is placed in high level, to shield the transmission message input terminal, realizes the communication path for receiving message input terminal to output end.
The signal conversion circuit is used to being converted to the Transistor-Transistor Logic level signal of TTL bidirectional monitoring circuit into RS232 level letter Number;
In the present embodiment, realize Transistor-Transistor Logic level signal to RS232 level signal as signal conversion chip using SP3232 Conversion.
Monitoring unit, the monitoring unit carry out monitoring analysis for communication message entrained by RS232 level signal, really Recognize snoop results.
The monitoring unit is attached by RS232 communication interface and the signal conversion circuit, according to default completion The monitoring software of communication configuration carries out monitoring analysis to communication message.
The monitoring software can be AccessPort, and the monitoring unit can be set on computer, pass through RS232 Data line obtains communication message;It can also be arranged in system, realize Intergration system design, can run and monitor software.
System design for integral type, also needs it with display module, user is supervised at the first time Listen result.
Fig. 3 is that a kind of UART serial ports Transistor-Transistor Logic level of the specific embodiment of the invention communicates the stream of two-way physics monitor method Cheng Tu.As shown in Figure 3, which comprises
Step 310, it is connect with the functional interface of power information acquisition terminal, acquires the power information acquisition terminal and each Communication message between functional module, the functional interface include the TTL communicated between power information acquisition terminal and each functional module Signaling interface;The communication message is including sending message and receiving message;
Further, the functional interface with power information acquisition terminal is connect, comprising:
Multiple input adapters of module connection unit are according to the position pair of TTL signal interface each on power information acquisition terminal Fixed and arranged is answered, and is attached with corresponding TTL signal interface by grafting.
Further, using the more of the TTL signal interface position Corresponding matching on the left box with power information acquisition terminal A input adapter is attached by grafting and the TTL signal interface on the left box;
It is connect using multiple inputs of the TTL signal interface position Corresponding matching on the right box with power information acquisition terminal Head is attached by grafting and the TTL signal interface on the right box.
Step 320, automatically switch to send message by TTL bidirectional monitoring circuit and receive the transmission of message, it will be described Communication message is sent to signal conversion unit;
Further, the transmission for automatically switching to send message and receive message by TTL bidirectional monitoring circuit, packet It includes:
Communication message is analyzed according to UART data transmission format, confirms the communication message to send message still Receive message;
The TTL bidirectional monitoring circuit is including sending diode, reception diode and drawing high resistance;Two poles of the transmission The negative pole end of pipe is connected with the input terminal for sending message, the negative pole end of the reception diode and the input terminal phase for receiving message Even, the positive terminal for sending diode is connected with the positive terminal of reception diode, and is connected with high-resistance one end is drawn;It is described The high-resistance other end is drawn to be placed in high level;The output end of the TTL bidirectional monitoring circuit and the anode for sending diode The positive terminal of end and reception diode is connected;
When the transmission message is input to the transmission message input terminal of TTL bidirectional monitoring circuit, message input terminal is received It is placed in high level, to shield the reception message input terminal, realizes the communication path for sending message input terminal to output end;
When the reception message is input to the reception message input terminal of TTL bidirectional monitoring circuit, message input terminal is sent It is placed in high level, to shield the transmission message input terminal, realizes the communication path for receiving message input terminal to output end.
Step 330, the Transistor-Transistor Logic level signal is converted to by RS232 level signal by signal conversion unit;Using SP3232 realizes the conversion of Transistor-Transistor Logic level signal to RS232 level signal as signal conversion chip
Step 340, the communication message carried to the RS232 level signal carries out monitoring analysis, confirms snoop results.Into One step, it is attached by RS232 communication interface and the signal conversion circuit;According to the default monitoring for completing communication configuration Software carries out monitoring analysis to communication message.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the disclosure Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.The step of being related in this specification, which numbers, is only used for distinguishing each step, and the time being not limited between each step Or the relationship of logic, restriction unless the context clearly, otherwise the relationship between each step includes the case where various possible.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means to be in the disclosure Within the scope of and form different embodiments.For example, embodiment claimed in detail in the claims is one of any Can in any combination mode come using.
The various component embodiments of the disclosure can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.The disclosure is also implemented as executing side as described herein The some or all equipment or system program (for example, computer program and computer program product) of method.It is such It realizes that the program of the disclosure can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.
The disclosure is limited it should be noted that above-described embodiment illustrates rather than the disclosure, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.Word "comprising" is not arranged Except there are element or steps not listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of more A such element.The disclosure can be by means of including the hardware of several different elements and by means of properly programmed calculating Machine is realized.If several in these systems can be by same in the unit claim for listing dry systems Hardware branch embodies.
The above is only the specific embodiment of the disclosure, it is noted that for the ordinary skill people of this field Member for, do not depart from the disclosure spirit under the premise of, can make several improvements, modify and deform, these improve, modification, It is regarded as falling within the scope of protection of this application with deformation.

Claims (11)

1. a kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system, the system comprises:
Module connection unit, the module connection unit with the functional interface of power information acquisition terminal for connecting;The mould The input terminal of block connection unit is used to receive the communication message between the power information acquisition terminal and each functional module, the mould The output end of block connection unit is connected with the input terminal of the bidirectional communication unit;The functional interface includes power information acquisition The TTL signal interface communicated between terminal and each functional module;The communication message is including sending message and receiving message;
Bidirectional communication unit, the bidirectional communication unit include TTL bidirectional monitoring circuit and signal conversion circuit;
The TTL bidirectional monitoring circuit is used to automatically switch to send message and receives the transmission of message;The TTL bidirectional monitoring Circuit is including sending diode, reception diode and drawing high resistance;The negative pole end for sending diode and transmission message Input terminal is connected, and the negative pole end of the reception diode is connected with the input terminal for receiving message, the anode for sending diode End is connected with the positive terminal of reception diode, and is connected with high-resistance one end is drawn;It is described that the high-resistance other end is drawn to be placed in height Level;The anode of the output end of the TTL bidirectional monitoring circuit and the positive terminal for sending diode and reception diode End is connected;
The signal conversion circuit is used to the Transistor-Transistor Logic level signal of TTL bidirectional monitoring circuit being converted to RS232 level signal;
Monitoring unit, the monitoring unit carry out monitoring analysis, confirmation prison for communication message entrained by RS232 level signal Listen result.
2. system according to claim 1, it is characterised in that: the input terminal of the module connection unit includes multiple inputs Connector, the multiple input adapter correspond to fixed and arranged according to the position of TTL signal interface each on power information acquisition terminal, and It is attached with corresponding TTL signal interface by grafting.
3. system according to claim 1, it is characterised in that: the functional interface includes power interface, and the power supply connects Mouth is powered for providing power supply to the two-way physics monitoring system.
4. system according to claim 2, it is characterised in that: the module connection unit includes left cartridge module connexon list First and right cartridge module connects subelement;Multiple input adapters and power information on the left cartridge module connection subelement acquire TTL signal interface position Corresponding matching on the left box of terminal, is connected by grafting and the TTL signal interface on the left box It connects;Multiple input adapters on the right cartridge module connection subelement and the TTL signal on the right box of power information acquisition terminal Interface position Corresponding matching is attached by grafting and the TTL signal interface on the right box.
5. system according to claim 1, it is characterised in that: the bidirectional communication unit includes transmitting-receiving identification module, institute Transmitting-receiving identification module is stated for analyzing according to UART data transmission format communication message, confirms the communication message for hair Text of delivering newspaper still receives message;The transmission message is input to the transmission of TTL bidirectional monitoring circuit by the transmitting-receiving identification module The reception message is input to the reception message input terminal of TTL bidirectional monitoring single channel by message input terminal.
6. system according to claim 1, it is characterised in that: the monitoring unit by RS232 communication interface with it is described Signal conversion circuit is attached, and carries out monitoring analysis to communication message according to the default monitoring software for completing communication configuration.
7. a kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitor method, which comprises
It connect, is acquired between the power information acquisition terminal and each functional module with the functional interface of power information acquisition terminal Communication message, the functional interface include the TTL signal interface communicated between power information acquisition terminal and each functional module;It is described Communication message is including sending message and receiving message;
Automatically switch to send message by TTL bidirectional monitoring circuit and receive the transmission of message, the communication message is sent To signal conversion unit;
The Transistor-Transistor Logic level signal is converted into RS232 level signal by signal conversion unit;
Monitoring analysis is carried out to the communication message that the RS232 level signal carries, confirms snoop results.
8. the method according to the description of claim 7 is characterized in that described automatically switch to send by TTL bidirectional monitoring circuit Message and the transmission for receiving message, comprising:
Communication message is analyzed according to UART data transmission format, confirms that the communication message still receives to send message Message;
The TTL bidirectional monitoring circuit is including sending diode, reception diode and drawing high resistance;The transmission diode Negative pole end is connected with the input terminal for sending message, and the negative pole end of the reception diode is connected with the input terminal for receiving message, institute The positive terminal for stating transmission diode is connected with the positive terminal of reception diode, and is connected with high-resistance one end is drawn;It is described to draw high The other end of resistance is placed in high level;The output end of the TTL bidirectional monitoring circuit and it is described send diode positive terminal with And the positive terminal of reception diode is connected;
When the transmission message is input to the transmission message input terminal of TTL bidirectional monitoring circuit, receives message input terminal and be placed in High level realizes the communication path for sending message input terminal to output end to shield the reception message input terminal;
When the reception message is input to the reception message input terminal of TTL bidirectional monitoring circuit, sends message input terminal and be placed in High level realizes the communication path for receiving message input terminal to output end to shield the transmission message input terminal.
9. the method according to the description of claim 7 is characterized in that the functional interface with power information acquisition terminal connects It connects, comprising:
Multiple input adapters of module connection unit are corresponding solid according to the position of TTL signal interface each on power information acquisition terminal Fixed arrangement, and be attached with corresponding TTL signal interface by grafting.
10. according to the method described in claim 9, it is characterized by:
Using multiple input adapters of the TTL signal interface position Corresponding matching on the left box with power information acquisition terminal, lead to Grafting is crossed to be attached with the TTL signal interface on the left box;
Using multiple input adapters of the TTL signal interface position Corresponding matching on the right box with power information acquisition terminal, lead to Grafting is crossed to be attached with the TTL signal interface on the right box.
11. the method according to the description of claim 7 is characterized in that the communication report carried to the RS232 level signal Text carries out monitoring analysis, comprising:
It is attached by RS232 communication interface and the signal conversion circuit;
Monitoring analysis is carried out to communication message according to the default monitoring software for completing communication configuration.
CN201910389519.6A 2019-05-10 2019-05-10 A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method Pending CN110209617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910389519.6A CN110209617A (en) 2019-05-10 2019-05-10 A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910389519.6A CN110209617A (en) 2019-05-10 2019-05-10 A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method

Publications (1)

Publication Number Publication Date
CN110209617A true CN110209617A (en) 2019-09-06

Family

ID=67785795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910389519.6A Pending CN110209617A (en) 2019-05-10 2019-05-10 A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method

Country Status (1)

Country Link
CN (1) CN110209617A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647490A (en) * 2019-10-22 2020-01-03 深圳市康冠智能科技有限公司 Data transmission method, device, equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814226A (en) * 2010-02-23 2010-08-25 南华大学 Ammeter wireless monitoring interface devices and wireless monitoring system
CN103490814A (en) * 2013-09-25 2014-01-01 上海理工大学 Serial communication device of USB interface LED visible light and system thereof
CN104868593A (en) * 2015-04-15 2015-08-26 积成电子股份有限公司 Power utilization information acquisition terminal communication message local real-time monitoring method
CN106484588A (en) * 2015-08-27 2017-03-08 南京亚士德科技有限公司 Serial communication monitoring system and method
US20180026679A1 (en) * 2016-07-21 2018-01-25 Ingenico Group Method for processing data by means of an electronic data-acquisition device, corresponding device and program
CN108614789A (en) * 2018-04-08 2018-10-02 深圳市未来天使机器人有限公司 A kind of communication system and method for the serial bus with handshake mechanism

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814226A (en) * 2010-02-23 2010-08-25 南华大学 Ammeter wireless monitoring interface devices and wireless monitoring system
CN103490814A (en) * 2013-09-25 2014-01-01 上海理工大学 Serial communication device of USB interface LED visible light and system thereof
CN104868593A (en) * 2015-04-15 2015-08-26 积成电子股份有限公司 Power utilization information acquisition terminal communication message local real-time monitoring method
CN106484588A (en) * 2015-08-27 2017-03-08 南京亚士德科技有限公司 Serial communication monitoring system and method
US20180026679A1 (en) * 2016-07-21 2018-01-25 Ingenico Group Method for processing data by means of an electronic data-acquisition device, corresponding device and program
CN108614789A (en) * 2018-04-08 2018-10-02 深圳市未来天使机器人有限公司 A kind of communication system and method for the serial bus with handshake mechanism

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647490A (en) * 2019-10-22 2020-01-03 深圳市康冠智能科技有限公司 Data transmission method, device, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN103412562B (en) Automotive universal Diagnostic Test Set
CN104656632A (en) Integrated interface test system and detection method for aircraft semi-physical simulation tests
CN102087334A (en) High-reliability digital quantity acquisition system
CN104820156B (en) A kind of Beam Detector and method
CN110912914A (en) Gas pipe network monitoring data acquisition terminal and multi-protocol matching method
CN113347273B (en) Vehicle-mounted Ethernet data conversion method, device, equipment and medium
CN108984354A (en) A kind of server chips debug circuit, adjustment method and server
CN110457744A (en) A kind of SD/SDIO device emulation model framework and its design method
CN110505200A (en) A kind of multi-protocols daisy chain interface conversion chip
CN108957164A (en) A kind of test device and test method of buckle
CN104750057B (en) Sample processing pipeline control system
CN101815018A (en) Moonlet multi-bus multi-passage communication monitoring device and monitoring method thereof
CN110209617A (en) A kind of UART serial ports Transistor-Transistor Logic level communicates two-way physics monitoring system and method
CN104977884B (en) A kind of EMU network control system simulated test platform
CN201751896U (en) ARINC429 bus testing device
CN109756400A (en) The flow rate test method and system of 10G POE interchanger
CN108132898A (en) Multiplex communication control method and communication box
CN107360005A (en) A kind of receiving end equipment and by method for electrically
CN105162653B (en) A kind of fault detection means of communication data
CN110850128A (en) On-site automatic test system bus for marine instrument
CN109541437A (en) Integrated circuit and system
CN103701660B (en) A kind of ethernet device attachment means and its test system and method for application
CN110287073A (en) A kind of test device and method for a variety of multiple asynchronous serial communication peripheral hardwares
CN105553859A (en) System and method for enabling SFP modules to be adaptive to interfaces
CN215375738U (en) Wire harness detection device and wire harness detection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190906