Communication line sequence adjustment device, method, touch screen and communication control system

Through the communication line sequence adjustment device, the line sequence of the 485 communication line is automatically adjusted, which solves the communication abnormality caused by the reverse connection of the industrial touch screen communication line, and improves the reliability and convenience of wiring.

CN113885460BInactive Publication Date: 2025-08-26GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111235207.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2025-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When the existing industrial touch screen is connected to the 485 communication bus on the application side, the communication line is connected in reverse, causing communication abnormalities, which requires manual circuit modification, which is time-consuming and labor-intensive, and reduces the communication reliability of the engineering application side.

Method used

The communication line sequence adjustment device is adopted, including a processor, a transceiver, a commutation module and a signal detection device. The communication state is detected through the signal detection device. The processor controls the data communication end of the commutation module to switch the data communication state and automatically adjust the line sequence.

Benefits of technology

It improves the wiring reliability and convenience of the engineering application end, solves the problem of communication line sequence requirements, and reduces manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113885460B_ABST
    Figure CN113885460B_ABST
Patent Text Reader

Abstract

The present application relates to a communication line sequence adjustment device, method, touch screen and communication control system. The communication line sequence adjustment device includes a processor, a transceiver, a reversing module and a signal detection device. The processor is connected to the transceiver, the reversing module and the signal detection device respectively. The transceiver is connected to the reversing module. The reversing module includes a first data communication terminal and a second data communication terminal. The processor is used to control the data communication status of the first data communication terminal and the second data communication terminal of the reversing module according to the output result of the signal detection device. It can solve the problem that industrial communication lines have sequence requirements and manual switching is required when there is a problem with the line sequence, thereby improving the wiring reliability and convenience of the engineering application end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of industrial touch screens, and specifically relates to a communication line sequence adjustment device, method, touch screen, and communication control system. Background Art

[0002] Industrial touch screens use communication lines to remotely measure and control application-side devices. The most common communication line for industrial touch screens is the 485 communication bus. When connecting application-side devices to the 485 communication bus, it is important to pay attention to the wiring sequence of the receiving (RX) and transmitting (TX) communication lines. If the communication lines are connected incorrectly (connecting the receiving end to the transmitting line and vice versa), communication anomalies can occur, affecting the normal operation of the industrial touch screen. Currently, when application-side communication devices are connected to the 485 communication bus and the communication lines are connected incorrectly, manual wiring is often used. This is time-consuming and labor-intensive, and reduces the reliability of communication on the engineering application side. Summary of the Invention

[0003] In order to at least to some extent overcome the problem that during the communication process between the existing industrial touch screen and the application end device, when the communication line is connected to the 485 communication bus, the application end device is usually connected in reverse, and the line is usually manually changed, which is time-consuming and labor-intensive, and reduces the reliability of the communication at the engineering application end, the present application provides a communication line sequence adjustment device, method, touch screen and communication control system.

[0004] In a first aspect, the present application provides a communication line sequence adjustment device, comprising:

[0005] Processor, transceiver, commutation module and signal detection device;

[0006] The processor is connected to the transceiver, the reversing module and the signal detection device respectively;

[0007] The transceiver is connected to the reversing module;

[0008] The reversing module includes a first data communication terminal and a second data communication terminal;

[0009] The processor is used to control the data communication status of the first data communication terminal and the second data communication terminal of the reversing module according to the output result of the signal detection device.

[0010] Furthermore, the reversing module further includes:

[0011] Four switches are connected to the first data communication terminal and the second data communication terminal respectively.

[0012] Furthermore, a transmitting signal line and a receiving signal line are provided between the transceiver and the reversing module:

[0013] The sending signal line is connected to the first switch and the third switch respectively;

[0014] The receiving signal line is connected to the second switch and the fourth switch respectively;

[0015] The first switch and the third switch are respectively connected to the first data communication terminal;

[0016] The second switch and the fourth switch are respectively connected to the second data communication terminal;

[0017] The processor is further configured to control the on / off states of the first switch, the second switch, the third switch, and the fourth switch according to the output result of the signal detection device, wherein when the first switch and the second switch are on and the third switch and the fourth switch are off, the data communication state of the first data communication end is sending data; and the data communication state of the second data communication end is receiving data;

[0018] When the first switch and the second switch are disconnected and the third switch and the fourth switch are connected, the data communication state of the first data communication end is receiving data; and the data communication state of the second data communication end is sending data.

[0019] Furthermore, the output result of the signal detection device includes:

[0020] Normal communication and abnormal communication;

[0021] The processor is further configured to control the first data communication terminal and the second data communication terminal of the reversing module to switch data communication states when the communication anomaly reaches a set time threshold.

[0022] Furthermore, the set time threshold is 20s.

[0023] Furthermore, the transceiver is an RS-485 transceiver.

[0024] Furthermore, the signal detection device is an oscilloscope.

[0025] In a second aspect, the present application provides a method for adjusting the sequence of communication lines, comprising:

[0026] Detect the communication status of the communication line;

[0027] The data communication states of the first data communication terminal and the second data communication terminal of the reversing module connected to the transceiver are controlled according to the communication state signal of the communication line.

[0028] Furthermore, the data communication status of the first data communication terminal and the second data communication terminal of the reversing module connected to the transceiver according to the communication status signal of the communication line includes:

[0029] If the communication is normal, the data communication status of the first data communication terminal and the second data communication terminal of the control reversing module remains unchanged;

[0030] If the communication is abnormal, the first data communication terminal and the second data communication terminal of the reversing module are controlled to switch the data communication state.

[0031] Furthermore, the controlling the first data communication terminal and the second data communication terminal of the reversing module to switch the data communication state includes:

[0032] Switching the data communication state of the first data communication terminal by switching the first switch connected to the first data communication terminal and the on-off state of the first switch;

[0033] The data communication state of the second data communication terminal is switched by switching the on and off states of the second switch and the fourth switch connected to the second data communication terminal.

[0034] Furthermore, the detecting the communication status of the communication line includes:

[0035] Determine whether communication data is detected within the set time threshold;

[0036] If so, it is determined that the communication is normal;

[0037] Otherwise, it is determined that the communication is abnormal.

[0038] In a third aspect, the present application provides an industrial touch screen, comprising:

[0039] A communication line sequence adjustment device as described in the first aspect.

[0040] In a fourth aspect, the present application provides a communication control system, comprising:

[0041] The industrial touch screen and controlled device as described in the third aspect;

[0042] And a communication line connecting the communication line sequence adjustment device and the controlled device.

[0043] Furthermore, the communication line connecting the communication line sequence adjustment device and the controlled device is an RS-485 bus.

[0044] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:

[0045] The embodiments of the present invention provide a communication line sequence adjustment device, method, touch screen and communication control system. The communication line sequence adjustment device includes a processor, a transceiver, a reversing module and a signal detection device. The processor is connected to the transceiver, the reversing module and the signal detection device respectively. The transceiver is connected to the reversing module. The reversing module includes a first data communication terminal and a second data communication terminal. The processor is used to control the data communication status of the first data communication terminal and the second data communication terminal of the reversing module according to the output result of the signal detection device. It can solve the problem that industrial communication lines have sequence requirements and manual switching is required when there is a problem with the line sequence, thereby improving the wiring reliability and convenience of the engineering application end.

[0046] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0048] Figure 1 A functional structure diagram of a communication line sequence adjustment device provided in one embodiment of the present application.

[0049] Figure 2 This is a functional structure diagram of a communication line sequence adjustment device provided in another embodiment of the present application.

[0050] Figure 3 A flowchart of a communication line sequence adjustment method provided in one embodiment of the present application.

[0051] Figure 4 A functional structure diagram of a communication control system provided in one embodiment of the present application.

[0052] Figure 5 A flowchart of a method for implementing a communication control system provided in one embodiment of the present application. DETAILED DESCRIPTION

[0053] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be described in detail below. Obviously, the embodiments described are only some of the embodiments of this application, rather than all of them. Based on the embodiments in this application, all other implementation methods obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.

[0054] Figure 1 This is a functional structure diagram of a communication line sequence adjustment device provided in one embodiment of the present application, such as Figure 1As shown, the communication line sequence adjustment device includes:

[0055] Processor 1, transceiver 2, reversing module 3 and signal detection device 4;

[0056] The processor 1 is connected to the transceiver 2, the reversing module 3 and the signal detection device 4 respectively;

[0057] The transceiver 2 is connected to the reversing module 3;

[0058] The reversing module 3 includes a first data communication terminal 31 and a second data communication terminal 32;

[0059] The processor 1 is used to control the data communication status of the first data communication terminal 31 and the second data communication terminal 32 of the reversing module 3 according to the output result of the signal detection device.

[0060] The data communication status of the first data communication terminal 31 and the second data communication terminal 32 is sending data or receiving data.

[0061] In traditional industrial communication lines, when the application-side communication equipment is connected to the communication bus and the communication lines are connected incorrectly, manual line modification is usually used, which is time-consuming and labor-intensive, and reduces the reliability of communication on the engineering application side.

[0062] In this embodiment, the communication line sequence adjustment device includes a processor, a transceiver, a reversing module and a signal detection device. The processor is connected to the transceiver, the reversing module and the signal detection device respectively, and the transceiver is connected to the reversing module. The reversing module includes a first data communication terminal and a second data communication terminal. The processor is used to control the data communication status of the first data communication terminal and the second data communication terminal of the reversing module according to the output result of the signal detection device. It can solve the problem that industrial communication lines have sequence requirements and manual switching is required when there is a problem with the line sequence, thereby improving the wiring reliability and convenience of the engineering application end.

[0063] Figure 2 This is a functional structure diagram of a communication line sequence adjustment device provided in another embodiment of the present application, such as Figure 2 As shown, based on the previous embodiment, the reversing module in the communication line sequence adjustment device further includes:

[0064] Four switches are respectively connected to the first data communication terminal and the second data communication terminal.

[0065] A sending signal line 21 and a receiving signal line 22 are provided between the transceiver and the reversing module:

[0066] The transmission signal line 21 is connected to the first switch 33 and the third switch 35 respectively;

[0067] The receiving signal line 22 is connected to the second switch 34 and the fourth switch 36 respectively;

[0068] The first switch 33 and the third switch 35 are respectively connected to the first data communication terminal 31;

[0069] The second switch 34 and the fourth switch 36 are respectively connected to the second data communication terminal 32;

[0070] The processor 1 is further configured to control the on / off states of the first switch 33, the second switch 34, the third switch 35, and the fourth switch 36 according to the output result of the signal detection device 4. When the first switch 33 and the second switch 34 are on and the third switch 35 and the fourth switch 36 are off, the data communication state of the first data communication terminal 31 is sending data; and the data communication state of the second data communication terminal 32 is receiving data.

[0071] When the first switch 33 and the second switch 34 are turned off and the third switch 35 and the fourth switch 36 are turned on, the data communication state of the first data communication terminal 31 is receiving data; and the data communication state of the second data communication terminal 32 is sending data.

[0072] In this embodiment, the output result of the signal detection device 3 includes:

[0073] Normal communication and abnormal communication;

[0074] The processor 1 is further configured to control the first data communication terminal 31 and the second data communication terminal 32 of the reversing module 3 to switch the data communication state when the communication anomaly reaches a set time threshold.

[0075] In some embodiments, the time threshold is set to, for example, 20 seconds.

[0076] In some embodiments, the transceiver 2 is an RS-485 transceiver.

[0077] In some embodiments, the signal detection device 4 is, for example, an oscilloscope.

[0078] In the related art, whether there is a signal input is determined by collecting the input terminal voltage, but the success of communication also involves aspects such as signal level and signal timing. Therefore, only considering the signal voltage to detect the input signal is not accurate. In this application, an oscilloscope is used to directly view the level timing of the signal input and set the time threshold, which can minimize the commutation error rate.

[0079] In this embodiment, the data communication status of the two data communication terminals of the reversing module is controlled by four switches in the reversing module. When the bus communication is abnormal, the data communication status of the data communication terminal can be switched, thereby realizing line sequence adjustment between the transceiver and the application terminal, and improving the reliability and convenience of the wiring of the engineering application terminal.

[0080] Figure 3A flow chart of a communication line sequence adjustment method provided in one embodiment of the present application is shown as follows: Figure 3 As shown, the communication line sequence adjustment method includes:

[0081] S31: Detect the communication status of the communication line;

[0082] In some embodiments, detecting the communication status of the communication line includes:

[0083] Determine whether communication data is detected within the set time threshold;

[0084] For example, the input signal can be captured by an oscilloscope;

[0085] The time threshold is set to, for example, 20 seconds.

[0086] If so, it is determined that the communication is normal;

[0087] Otherwise, it is determined that the communication is abnormal.

[0088] S32: Controlling the data communication status of the first data communication terminal and the second data communication terminal of the switching module connected to the transceiver according to the communication status signal of the communication line.

[0089] In this embodiment, controlling the data communication status of the first data communication terminal and the second data communication terminal of the switching module connected to the transceiver according to the communication status signal of the communication line includes:

[0090] If the communication is normal, the data communication status of the first data communication terminal and the second data communication terminal of the control reversing module remains unchanged;

[0091] If the communication is abnormal, the first data communication terminal and the second data communication terminal of the reversing module are controlled to switch the data communication state.

[0092] Furthermore, controlling the first data communication terminal and the second data communication terminal of the reversing module to switch the data communication state includes:

[0093] Switching the data communication state of the first data communication terminal by switching the first switch connected to the first data communication terminal and the on-off state of the first switch;

[0094] The data communication state of the second data communication terminal is switched by switching the on and off states of the second switch and the fourth switch connected to the second data communication terminal.

[0095] In this embodiment, by detecting the communication status of the communication line and controlling the data communication status of the first data communication terminal and the second data communication terminal of the reversing module connected to the transceiver according to the communication status signal of the communication line, the problem of sequential requirements for industrial communication lines and the need for manual switching when problems occur in the line sequence can be solved, thereby improving the wiring reliability and convenience of the engineering application end.

[0096] An embodiment of the present invention provides an industrial touch screen, including:

[0097] A communication line sequence adjustment device as described in the above embodiment.

[0098] The embodiment of the present invention provides a communication control system, such as Figure 4 As shown in the functional structure diagram, the communication control system includes:

[0099] The industrial touch screen 41 and the controlled device 42 as described in the above embodiment;

[0100] and a communication line 43 connecting the communication line sequence adjustment device and the controlled device.

[0101] In some embodiments, the communication line 43 connecting the communication line sequence adjustment device 41 and the controlled device 42 is an RS-485 bus.

[0102] like Figure 5 As shown in the figure, the data communication implementation method of the communication control system is as follows:

[0103] The signal detection device detects whether the 485 bus communication is normal and sends the detection result to the processor;

[0104] The processor determines whether the 485 communication lines RX and TX are connected to the TX and RX on the 485 bus transceiver respectively through the detection results, and then controls the reversing module;

[0105] When the 485 bus communication is connected normally and the signal detection device detects a normal communication signal within 20 seconds, the processor controls the reversing module through the control signal line and stops it from operating, so that the RX and TX outputs of the 485 transceiver are output according to the original line sequence after passing through the reversing module, thus achieving an effective connection between the communication device and the 485 bus;

[0106] When the 485 communication connection is abnormal, that is, the signal detection device detects that there is no normal communication signal within 20 seconds, the processor controls the reversing module through the control signal line, so that the RX and TX output from the 485 transceiver are output in reverse order after passing through the reversing module, thereby realizing the effective connection between the controlled device and the 485 bus.

[0107] It should be noted that the present application does not limit the type of bus and any two-wire communication bus can achieve automatic line sequence adjustment according to the communication line line sequence adjustment device.

[0108] In this embodiment, the detection result output by the signal detection device is used to determine whether the 485 communication lines RX and TX are connected to the corresponding TX and RX on the 485 bus transceiver respectively, and then the reversing module is controlled. This can solve the problem that the two communication lines of industrial 485 communication have sequence requirements and manual connection is required when the wiring is reversed, thereby improving the reliability and convenience of the wiring at the engineering application end.

[0109] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0110] It should be noted that, in the description of this application, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0111] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.

[0112] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0113] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.

[0114] In addition, the functional units in the various embodiments of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into a module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0115] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0116] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0117] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

[0118] It should be noted that the present invention is not limited to the above-mentioned optimal embodiment. Those skilled in the art can derive other forms of products under the guidance of the present invention. However, no matter what changes are made in their shape or structure, all technical solutions that are the same or similar to those of the present application fall within the scope of protection of the present invention.

Claims

1. A communication line sequence adjustment device, characterized in that: include: Processor, transceiver, commutation module and signal detection device; The processor is connected to the transceiver, the reversing module and the signal detection device respectively; The transceiver is connected to the reversing module; The reversing module includes a first data communication terminal and a second data communication terminal; The processor is used to control the data communication status of the first data communication terminal and the second data communication terminal of the reversing module according to the output result of the signal detection device; The reversing module further includes: four switches, the four switches being connected to the first data communication terminal and the second data communication terminal respectively; A transmitting signal line and a receiving signal line are provided between the transceiver and the reversing module: The sending signal line is connected to the first switch and the third switch respectively; The receiving signal line is connected to the second switch and the fourth switch respectively; The first switch and the third switch are respectively connected to the first data communication terminal; The second switch and the fourth switch are respectively connected to the second data communication terminal; The processor is further configured to control the on / off states of the first switch, the second switch, the third switch, and the fourth switch according to the output result of the signal detection device, wherein when the first switch and the second switch are on and the third switch and the fourth switch are off, the data communication state of the first data communication end is sending data; and the data communication state of the second data communication end is receiving data; When the first switch and the second switch are disconnected and the third switch and the fourth switch are connected, the data communication state of the first data communication end is receiving data; and the data communication state of the second data communication end is sending data.

2. The communication line sequence adjustment device according to claim 1, characterized in that: The output result of the signal detection device includes: Normal communication and abnormal communication; The processor is further configured to control the first data communication terminal and the second data communication terminal of the reversing module to switch data communication states when the communication anomaly reaches a set time threshold.

3. The communication line sequence adjustment device according to claim 2, characterized in that: The set time threshold is 20s.

4. The communication line sequence adjustment device according to claim 1, characterized in that: The transceiver is an RS-485 transceiver.

5. The communication line sequence adjustment device according to claim 1, characterized in that: The signal detection device is an oscilloscope.

6. A communication line sequence adjustment method, applied to the communication line sequence adjustment device according to any one of claims 1 to 5, characterized in that: include: Detect the communication status of the communication line; The data communication states of the first data communication terminal and the second data communication terminal of the reversing module connected to the transceiver are controlled according to the communication state signal of the communication line.

7. The communication line sequence adjustment method according to claim 6, characterized in that: The data communication status of the first data communication terminal and the second data communication terminal of the reversing module connected to the transceiver according to the communication status control signal of the communication line includes: If the communication is normal, the data communication status of the first data communication terminal and the second data communication terminal of the control reversing module remains unchanged; If the communication is abnormal, the first data communication terminal and the second data communication terminal of the reversing module are controlled to switch the data communication state.

8. The communication line sequence adjustment method according to claim 7, characterized in that: The control of the first data communication terminal and the second data communication terminal of the reversing module to switch the data communication state includes: Switching the data communication state of the first data communication terminal by switching the first switch connected to the first data communication terminal and the on-off state of the first switch; The data communication state of the second data communication terminal is switched by switching the on and off states of the second switch and the fourth switch connected to the second data communication terminal.

9. The communication line sequence adjustment method according to claim 6, characterized in that: The detecting the communication status of the communication line includes: Determine whether communication data is detected within the set time threshold; If so, it is determined that the communication is normal; Otherwise, it is determined that the communication is abnormal.

10. An industrial touch screen, characterized in that: include: The communication line sequence adjustment device according to any one of claims 1 to 5.

11. A communication control system, characterized in that: include: The industrial touch screen and controlled device according to claim 10; And a communication line connecting the communication line sequence adjustment device and the controlled device.

12. The communication control system according to claim 11, characterized in that: The communication line connecting the communication line sequence adjustment device and the controlled device is an RS-485 bus.

Citation Information

Patent Citations

  • Passive optical splitter RS-485 optical fiber bus embedded terminal

    CN104579474A

  • Automatic reversing circuit with 485 communication interface

    CN201557126U