485 collector capable of reducing polling period

By adopting the master-slave mode and the fission communication mode in the RS-485 collector, the communication cycle can be shortened and device exceptions can be automatically processed in multi-device scenarios, solving the problems of long communication time and low efficiency of finding device exceptions in the existing technology. problems, improving communication efficiency and convenience of problem location.

CN221886639UInactive Publication Date: 2024-10-22姚金光
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420886613.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing RS-485 collectors cannot effectively reduce communication time during data polling, especially in multi-device scenarios. When equipment is abnormal, the host computer needs to manually find the problem, resulting in low communication efficiency.

Method used

Design a 485 collector that reduces the polling cycle. It adopts the master-slave mode and communicates in parallel through multiple slave collectors. Each slave collector is connected to multiple devices. It adopts the fission communication mode and the temporary shielding function of device abnormality to ensure timely communication. It can quickly set parameters through the host computer and has built-in buttons to facilitate problem finding.

Benefits of technology

The communication cycle is shortened in a multi-device scenario. When a device is abnormal, it is automatically temporarily blocked and retried to ensure communication efficiency. Data is read simultaneously through multiple channels, and the communication cycle is less than 1 second, which facilitates problem location and parameter setting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221886639U_ABST
    Figure CN221886639U_ABST
Patent Text Reader

Abstract

The utility model relates to a 485 collector capable of reducing a polling period, which belongs to the technical field of signal processing, and comprises an upper computer, a main collector and a plurality of slave collectors, the main collector is connected to the upper computer through a connecting wire A + A-, the main collector is connected with a plurality of devices, each slave collector is connected with a plurality of devices, and the plurality of devices are connected with the slave collectors through a connecting wire A + A-. According to the RS-485 collector, a fission communication mode is adopted, multi-channel simultaneous reading is realized, and the RS-485 collector has a temporary equipment abnormity shielding function, so that the timeliness of communication is ensured. Parameters are rapidly set through an upper computer, and the parameters can be conveniently set and modified through built-in keys. Addresses of different channel devices can be the same; when data problems occur, the problems can be conveniently found through the keys and the display screen, and the device can also be used as an upper computer to read the device data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of signal processing, in particular to a 485 collector capable of reducing polling cycles. Background Art

[0002] In RS-485 communication, the recommended line connection is end-to-end connection (hand-in-hand connection). Theoretically, one RS-485 host can connect 256 devices. When polling data, only one device can be communicated at a time. Normally, each device requires 100-200 milliseconds of communication time. If there are 20 devices, a polling cycle takes 2-4 seconds. If a device abnormality occurs, a polling cycle takes longer, which is unacceptable for some scenarios.

[0003] The existing RS-485 repeaters (collectors) on the market can only increase the communication distance and improve the communication quality, but cannot reduce the communication time. Multi-channel devices require unique addresses and collect data through polling. When there is a problem with the data, the problem can only be found through the host computer. Utility Model Content

[0004] The utility model provides a 485 collector with reduced polling cycle to solve the problem that when data problems occur in the prior art, the problem can only be found through a host computer.

[0005] In order to achieve the above-mentioned purpose, the utility model provides the following technical solutions: a 485 collector for reducing the polling cycle, comprising a host computer, a master collector and a slave collector, the master collector is connected to the host computer via wiring A+\A-, there are multiple slave collectors, the master collector is connected to multiple devices, and each slave collector is connected to multiple devices.

[0006] As a further technical solution of the utility model: when the master collector is not connected to the slave collector, the master collector has a total of 5 channels, namely, wiring B+\B-, C+\C-, D+\D-, E+\E-, and F+\F.

[0007] As a further technical solution of the utility model: in the master-slave mode, the master collector is connected to the slave collector, and multiple slave collectors are connected in sequence, and the connection B+\B- of the latter slave collector is connected to the connection A+\A- of the former slave collector.

[0008] As a further technical solution of the utility model: the number of the slave collectors is ≤30.

[0009] As a further technical solution of the utility model: the main collector has a total of 4 channels, namely C+\C-, D+\D-, E+\E-, and F+\F.

[0010] As a further technical solution of the utility model: each slave collector has 4 channels, 4 channels poll communication work simultaneously, each slave collector collects data from 16 devices, the last slave collector has 5 channels, 5 channels poll communication work simultaneously, and the last slave collector collects data from 20 devices.

[0011] In the above technical solution, the technical effects and advantages provided by the utility model are:

[0012] The utility model RS-485 collector adopts fission communication mode, multi-channel simultaneous reading, and has a temporary shielding function for equipment abnormalities to ensure the timeliness of communication. Parameters can be quickly set through the host computer, and the parameters can also be conveniently set and modified through the built-in buttons. The device addresses of different channels can be the same. When there is a problem with the data, the buttons and the built-in display can be used to easily find the problem. It can also be used as a host computer to read device data. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a data transmission schematic diagram of the utility model;

[0014] Figure 2 It is a side view of the collector of the utility model;

[0015] Figure 3 This is a schematic diagram of a master collector not connected to a slave collector;

[0016] Figure 4 This is a schematic diagram of the master-slave mode collector connection.

[0017] Figure 5 This is a schematic diagram of pressing the data key to cycle through the data of each target device.

[0018] Figure 2 Middle: 1-status indicator light, 2-display screen, 3-button, 4-wiring. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0020] The utility model provides Figure 1-Figure 5The circuit shown is specifically a 485 collector that reduces the polling cycle, including a host computer, a master collector and a slave collector. The master collector is connected to the host computer through wiring A+\A-, there are multiple slave collectors, the master collector is connected to multiple devices, and each slave collector is connected to multiple devices.

[0021] As the master collector, do not connect to the slave collector, and implement it as follows:

[0022] 1. The RS-485 collector of the present invention, as a master collector, is not connected to a slave collector.

[0023] 2. Wire A+\A- to the host computer.

[0024] 3. Wiring B+\B-, C+\C-, D+\D-, E+\E-, F+\F-, a total of 5 channels are available. (Each channel can connect up to 30 RS-485 devices).

[0025] For example, each channel of the RS-485 collector of the present invention is connected to 4 RS-485 devices, and each device communication takes 100-200ms, that is, a polling cycle of the channel takes 400-800 milliseconds. If there is an abnormal device, it will be automatically shielded temporarily in the next cycle, and communication will be tried again after the set cycle or manual reset, which will not affect the total polling cycle.

[0026] There are 5 channels available in the RS-485 collector master mode, each channel is connected to 4 devices, a total of 20 RS devices, and 5 channels can poll the communication work at the same time, that is, 20 devices require 400-800 milliseconds.

[0027] As a master-slave mode, the collector is implemented as follows:

[0028] 1) The RS-485 collector of the present invention is used as a master-slave module.

[0029] 2) Connect A+\A- to the host computer.

[0030] 3) Wiring B+\B-, connect to the wiring A+\A- of the previous collector (up to 30 slave modules can be connected)

[0031] 4) Main modules C+\C-, D+\D-, E+\E-, F+\F-, 4 channels available. (Each channel can connect up to 30 devices)

[0032] For example, in the master-slave mode of the RS-485 collector of the present invention, each device communication takes 100-200ms, that is, a polling cycle of the channel takes 400-800 milliseconds. If there is an abnormal device, it will be automatically shielded temporarily in the next cycle, and communication will be tried again after a set cycle or manual reset, which will not affect the total polling cycle.

[0033] In the master-slave mode of the RS-485 collector, each collector has 4 channels available (the last module has 5 channels available), and 4 (5) channels can poll the communication work at the same time, that is, each collector can collect data from 16 devices (the last slave collector can collect data from 20 devices). Each slave collector transmits data forward at the same time, and the master-slave communication cycle is less than 1 second when 30 modules work at the same time. That is, 30*16=480 devices, and the communication cycle is between 1.4-1.8 seconds.

[0034] The structure diagram of the utility model is as follows Figure 2 As shown, it includes a status indicator light 1, a display screen 2, a button 3, and a connection 3.

[0035] The RS-485 collector of this utility model adopts fission communication mode, multi-channel simultaneous reading, and has a temporary shielding function for device abnormalities to ensure the timeliness of communication. Parameters can be quickly set through the host computer, and the parameters can also be conveniently set and modified through the built-in buttons. The device addresses of different channels can be the same. When there is a problem with the data, the buttons and the built-in display can be used to easily find the problem. It can also be used as a host computer to read device data.

[0036] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.

[0037] In addition, it should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment have also been appropriately combined to form other implementation modes that are easy for those skilled in the art to understand.

Claims

1. A 485 collector with reduced polling cycle, characterized in that: It includes a host computer, a master collector and a slave collector. The master collector is connected to the host computer through wiring A+\A-. There are multiple slave collectors. The master collector is connected to multiple devices, and each slave collector is connected to multiple devices.

2. A 485 collector for reducing polling cycles according to claim 1, characterized in that: When the master collector is not connected to the slave collector, the master collector has a total of 5 channels, namely, wiring B+\B-, C+\C-, D+\D-, E+\E-, and F+\F.

3. A 485 collector for reducing polling cycles according to claim 1, characterized in that: In the master-slave mode, the master collector is connected to the slave collector, and multiple slave collectors are connected in sequence, with the B+\B- connection of the next slave collector connected to the A+\A- connection of the previous slave collector.

4. A 485 collector for reducing polling cycles according to claim 3, characterized in that: The number of the slave collectors is ≤30.

5. A 485 collector for reducing polling cycles according to claim 3, characterized in that: The main collector has a total of 4 channels: C+\C-, D+\D-, E+\E-, and F+\F.

6. A 485 collector with reduced polling cycle according to claim 3, characterized in that: Each slave collector has 4 channels, and 4 channels poll the communication work at the same time. Each slave collector collects data from 16 devices. The last slave collector has 5 channels, and 5 channels poll the communication work at the same time. The last slave collector collects data from 20 devices.