CN117155764A - UART multiplexing transmission system - Google Patents

UART multiplexing transmission system Download PDF

Info

Publication number
CN117155764A
CN117155764A CN202311106702.3A CN202311106702A CN117155764A CN 117155764 A CN117155764 A CN 117155764A CN 202311106702 A CN202311106702 A CN 202311106702A CN 117155764 A CN117155764 A CN 117155764A
Authority
CN
China
Prior art keywords
uart
computer
upper computer
lower computer
zero crossing
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
CN202311106702.3A
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.)
Hefei Weixin Cnc Technology Co ltd
Original Assignee
Hefei Weixin Cnc Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Weixin Cnc Technology Co ltd filed Critical Hefei Weixin Cnc Technology Co ltd
Priority to CN202311106702.3A priority Critical patent/CN117155764A/en
Publication of CN117155764A publication Critical patent/CN117155764A/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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The application relates to the technical field of material transportation of UART multiplexing transmission systems, in particular to a UART multiplexing transmission system, which comprises an upper computer, a lower computer and a silicon controlled rectifier, wherein the upper computer is connected with the lower computer through UART and I/O transmission communication; the upper computer triggers a frame of information first, the lower computer is informed to change the UART receiving mode into a i o input mode, then the upper UART sending port is changed into a i o output mode, real-time information like zero crossing is changed into rising edge and falling edge signals, the rising edge and the falling edge signals are transmitted through the UART transmission line, and the lower computer processes the real-time information according to the rising edge and the falling edge signals. The delay of the information transmission is about 10 microseconds, and the triggering of the silicon controlled rectifier near the zero crossing point can be realized. After the lower computer is processed, both sides recover UART mode transmission information, so that the lower computer controls the starting of the silicon controlled rectifier, and the silicon controlled rectifier can be ensured to be started or closed near zero crossing electricity.

Description

UART multiplexing transmission system
Technical Field
The application relates to the technical field of material transportation of UART multiplexing transmission systems, in particular to a UART multiplexing transmission system.
Background
UART communication is a very common serial communication protocol, which can only be used as point-to-point communication, generally in an asynchronous communication mode. In the white power industry, the distance between an upper computer and a lower computer is usually far, the external interference is large, the baud rate of UART communication is usually low, two gears of 2400 or 4800 are usually selected, the length of one frame of data is generally 15 bytes in average, the transmission time of one byte is 1000000/4800= 208.33us for the fastest 4800 example, the transmission time of one frame of data is 25ms, the simple transmission time is short, and the total time is more than 25ms considering the time of analyzing and responding the instruction by the upper computer and the lower computer. If the upper computer transmits an electric signal passing through zero-crossing of alternating current to the lower computer, the lower computer receives and processes the signal 25 milliseconds later, the frequency of the national power grid is 50hz, and one half-wave period is 10ms, which means that the upper computer transmits the signal passing through zero-crossing, and the waveform reaches a peak value when the lower computer processes the signal. If this zero crossing communication is to control the thyristor, because the thyristor needs to trigger at the zero crossing, such a delay may cause the thyristor to trigger away from the vicinity of the zero crossing.
In the prior art, the UART communication causes the time of the lower computer to receive signals to be prolonged to more than 5ms because of the analysis response time of the upper computer and the lower computer, so that the silicon controlled rectifier is triggered far from the vicinity of the zero crossing point. Because the lower computer does not have accurate zero crossing information, the lower computer is switched on and off to control the silicon controlled rectifier, and the silicon controlled rectifier can be randomly triggered within 5ms before and after the zero crossing. The application can restrict the trigger of the silicon controlled rectifier within 2ms before and after the zero crossing point or within 500 microseconds or even 10 microseconds due to the accurate zero crossing point information of the lower computer.
Disclosure of Invention
The application aims to provide a UART multiplexing transmission system, which solves the following technical problems:
(1) How to solve the zero crossing information transmission problem, so that a circuit board without zero crossing sampling can obtain accurate zero crossing information.
The aim of the application can be achieved by the following technical scheme:
the multiplexing transmission system of UART includes upper computer, lower computer and controllable silicon, the described upper computer and lower computer are connected by means of UART and I/O transmission communication, and the described multiplexing transmission system is operated by means of the following steps
S1, an upper computer sends a mode switching signal according to the running condition of a circuit to inform a lower computer to change a UART receiving mode into an I/O input mode;
s2, after the upper computer sends out a mode switching signal, the upper computer converts a UART sending port into an I/O output mode;
s3, detecting circuit information by the upper computer, converting zero crossing information into rising edge signals and falling edge signals, and transmitting the rising edge signals and the falling edge signals through a UART transmission line;
s4, the lower computer processes real-time information according to rising edge and falling edge signals sent by the upper computer, and controls the opening of the silicon controlled rectifier according to the processing result of the real-time information.
As a further scheme of the application: the upper computer is provided with a zero-crossing detection circuit.
As a further scheme of the application: and after the step S4 is finished, the upper computer and the lower computer restore UART communication, and meanwhile, the lower computer sends out a communication signal, and the processing result in the step S4 is sent to the upper computer.
The application has the beneficial effects that:
(1) The application firstly triggers a frame of information through the upper computer, informs the lower computer to change the UART receiving mode into the i o input mode, then the upper UART sending port is changed into the i o output mode, the real-time information like zero crossing is changed into the rising edge and the falling edge signals, the rising edge and the falling edge signals are transmitted through the UART transmission line, and the lower computer processes the real-time information according to the rising edge and the falling edge signals. The delay of such information transfer is approximately 10 microseconds. After the lower computer is processed, both sides recover UART mode transmission information, so that the lower computer controls the starting of the silicon controlled rectifier, and the silicon controlled rectifier can be ensured to be started or closed near zero crossing electricity; by the scheme, the silicon controlled rectifier can accurately obtain zero crossing information under the condition that a zero crossing sampling circuit board is not required to be installed.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly and completely described below in conjunction with the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
A UART multiplexing transmission system comprises an upper computer, a lower computer and a silicon controlled rectifier, wherein the upper computer is connected with the lower computer through UART and I/O transmission communication, and the multiplexing transmission system operates through the following steps of
S1, an upper computer sends a mode switching signal according to the running condition of a circuit to inform a lower computer to change a UART receiving mode into an I/O input mode;
s2, after the upper computer sends out a mode switching signal, the upper computer converts a UART sending port into an I/O output mode;
s3, detecting circuit information by the upper computer, converting zero crossing information into rising edge signals and falling edge signals, and transmitting the rising edge signals and the falling edge signals through a UART transmission line;
s4, the lower computer processes real-time information according to rising edge and falling edge signals sent by the upper computer, and controls the opening of the silicon controlled rectifier according to the processing result of the real-time information.
Specifically, the upper computer is provided with a zero-crossing detection circuit.
Specifically, after step S4 is completed, the upper computer and the lower computer resume UART communication, and the lower computer sends out a communication signal, and sends the processing result of step S4 to the upper computer.
Specifically, the baud rate adopted in the communication of the multiplexing transmission system can be 2400 or 4800 or the baud rate agreed by other upper computers and lower computers.
The working principle of the application is as follows: the application firstly triggers a frame of information through the upper computer, informs the lower computer to change the UART receiving mode into the i o input mode, then the upper UART sending port is changed into the i o output mode, the real-time information like zero crossing is changed into the rising edge and the falling edge signals, the rising edge and the falling edge signals are transmitted through the UART transmission line, and the lower computer processes the real-time information according to the rising edge and the falling edge signals. The delay of such information transfer is approximately 10 microseconds. After the lower computer is processed, both sides recover UART mode transmission information, so that the lower computer controls the starting of the silicon controlled rectifier, and the silicon controlled rectifier can be ensured to be started or closed near zero crossing electricity; the vicinity of the zero crossing point can be understood as 2 milliseconds before and after the zero crossing point. The zero crossing point is defined physically, the input two-phase alternating current power supply is a zero line and a fire wire respectively, and when the voltage of the fire wire is equal to the voltage of the zero line, the moment is the zero crossing point.
In the description of the present application, it should be understood that the terms "upper," "lower," "left," "right," and the like indicate an orientation or a positional relationship, and are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, as well as a specific orientation configuration and operation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
The foregoing describes one embodiment of the present application in detail, but the description is only a preferred embodiment of the present application and should not be construed as limiting the scope of the application. All equivalent changes and modifications within the scope of the present application are intended to be covered by the present application.

Claims (5)

1. The multiplexing transmission system of the UART is characterized by comprising an upper computer, a lower computer and a silicon controlled rectifier, wherein the upper computer is in communication connection with the lower computer through UART and I/O transmission, and the multiplexing transmission system operates through the following steps of
S1, an upper computer sends a mode switching signal according to the running condition of a circuit to inform a lower computer to change a UART receiving mode into an I/O input mode;
s2, after the upper computer sends out a mode switching signal, the upper computer converts a UART sending port into an I/O output mode;
s3, detecting circuit information by the upper computer, converting zero crossing information into rising edge or falling edge signals, and transmitting the rising edge or falling edge signals through a UART transmission line;
s4, the lower computer processes real-time information according to the rising edge or falling edge signals sent by the upper computer, and controls the opening of the silicon controlled rectifier according to the processing result of the real-time information; or the rising edge or the falling edge is taken as a time starting point, and the starting or the closing of the silicon controlled rectifier is controlled after a certain time delay is appointed.
2. The UART multiplexing transmission system according to claim 1, wherein the host computer is provided with a zero-crossing detection circuit.
3. The UART multiplexing transmission system according to claim 1, wherein after step S4 is completed, the upper computer and the lower computer resume UART communication, and the lower computer sends out a communication signal, and the processing result of step S4 is sent to the upper computer.
4. The UART multiplexing transmission system of claim 1, wherein the control board has no zero crossing signal and the thyristor trigger is within 2 milliseconds before and after the zero crossing.
5. The UART multiplexing transmission system according to claim 1, wherein the lower computer controls the thyristor to be turned on or off within 2ms before and after the zero crossing after the lower computer receives the zero crossing signal transmitted from the upper computer.
CN202311106702.3A 2023-08-30 2023-08-30 UART multiplexing transmission system Pending CN117155764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311106702.3A CN117155764A (en) 2023-08-30 2023-08-30 UART multiplexing transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311106702.3A CN117155764A (en) 2023-08-30 2023-08-30 UART multiplexing transmission system

Publications (1)

Publication Number Publication Date
CN117155764A true CN117155764A (en) 2023-12-01

Family

ID=88883747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311106702.3A Pending CN117155764A (en) 2023-08-30 2023-08-30 UART multiplexing transmission system

Country Status (1)

Country Link
CN (1) CN117155764A (en)

Similar Documents

Publication Publication Date Title
CN103001188B (en) The method of operation troubles current protection switch and this switch for frequency converter
CN107220199B (en) The host computer of refrigerator, the slave computer of refrigerator, the communication means of refrigerator and system
WO2024007646A1 (en) Direct-current power line carrier type communication circuit and method
CN201656491U (en) Intelligent electric power regulator
CN105790555B (en) A kind of synchronized communication method between the intelligent rectifier bridge of parallel connection and adjuster
CN117155764A (en) UART multiplexing transmission system
CN203839955U (en) Novel multifunctional code switch with communication module
CN102324341A (en) Time delay control method and system of alternating-current contactor
CN106451500A (en) Inter-phase load transfer terminal device based on transient waveform fitting
CN110058567A (en) A kind of servomotor energy-saving control system
WO2005115114A2 (en) Power line carrier modem
CN109888925A (en) A kind of intelligent power distribution cabinet control method
CN204480043U (en) The proving installation of pitch-variable system
EP2491322A2 (en) Data and commands communication system and method between variable capacity compressor and electronic thermostat for a cooling system
CN204068418U (en) A kind of power supply source switching device
CN103840551A (en) Intelligent circuit breaker controller
CN109426193B (en) Method for accurately controlling timing outlet based on inter-board communication
CN216013613U (en) Ground wire state information transmission device
CN108808849B (en) Interface configuration method and system
CN216904412U (en) Network port intelligent power utilization switch control device
CN110673520A (en) Single live wire intelligence switch system
CN204258609U (en) A kind of high-reliability high frequency converter
CN216526857U (en) Measurement control device suitable for water resistance load system
CN213813752U (en) Intelligent household power distribution system
US11804873B1 (en) Baseband reflection modulation on power lines

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