CN-121710962-B - Linear network and relay dynamic adjustment method thereof
Abstract
The invention provides a linear network and a relay dynamic adjustment method thereof, wherein the method is applied to a communication front-end processor of the linear network, the linear network further comprises a plurality of acquisition stations which are connected in sequence, at least 1 relay acquisition station is arranged in the plurality of acquisition stations, the communication front-end processor acquires signal quality margin of each relay acquisition station, wherein the signal quality margin is matched with peak-to-peak amplitude margin and signal-to-noise ratio margin of the relay acquisition station, and relay dynamic adjustment is carried out according to the signal quality margin and a preset safety threshold of the relay acquisition station. The change of the industrial environment is quantified by acquiring the signal quality margin of the relay acquisition station, so that the relay dynamic adjustment is adaptively carried out, the relay layout is optimized under the condition of guaranteeing the communication signal quality of the acquisition station in the linear network, the communication delay and the energy consumption are reduced as much as possible, and the data transmission efficiency is guaranteed.
Inventors
- HAN DAPENG
- LUO HAOYUE
- SUN YIHENG
- Rong Chuanlin
Assignees
- 安徽容知日新科技股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260224
Claims (11)
- 1. The method is characterized by being applied to a communication front-end processor of a linear network, wherein the linear network further comprises a plurality of acquisition stations which are connected in sequence, and at least 1 relay acquisition station is arranged in the plurality of acquisition stations; acquiring signal quality margins of all relay acquisition stations, wherein the signal quality margins of all relay acquisition stations are determined to be first-level signal quality margins when the peak-to-peak amplitude margins of the relay acquisition stations are larger than or equal to preset amplitude safety margins and the signal-to-noise ratio margins of the relay acquisition stations are larger than or equal to preset signal-to-noise ratio safety margins, and the first-level signal quality margins are larger than a backward safety threshold; and carrying out relay dynamic adjustment according to the signal quality margin of the relay acquisition station and a preset safety threshold, wherein the relay dynamic adjustment comprises the steps of transferring a relay backwards when the signal quality margin of the relay acquisition station is larger than a backward safety threshold, closing the relay function of the relay acquisition station, and starting the relay function of the next acquisition station to serve as a new relay acquisition station.
- 2. The method for dynamically adjusting a relay in a linear network according to claim 1, wherein the preset safety threshold includes a forward safety threshold, and the dynamically adjusting the relay according to the signal quality margin of the relay acquisition station and the preset safety threshold includes: And when the signal quality margin of the relay acquisition station is smaller than the forward safety threshold, forwarding the relay, closing the relay function of the relay acquisition station, and starting the relay function of the last acquisition station to serve as a new relay acquisition station.
- 3. The method of claim 1, wherein after performing relay dynamic adjustment according to the signal quality margin of the relay acquisition station and a preset safety threshold, the method further comprises: and according to the adjustment direction and the adjustment step length of the relay acquisition stations which are dynamically adjusted, synchronously adjusting the relay acquisition stations arranged behind the relay acquisition stations which are dynamically adjusted.
- 4. The method of dynamic adjustment of a linear network relay of claim 1, further comprising: counting the interaction behavior in the running process of the linear network to obtain the real-time communication response rate of each acquisition station; determining an unstable starting point according to the real-time communication response rate of each acquisition station; and starting the relay function of the last acquisition station of the unstable starting point to serve as a relay acquisition station.
- 5. The method of claim 4, wherein the real-time communication response rate of the last acquisition station of the unstable start point is not lower than a response threshold, and the real-time communication response rate of the acquisition stations following the unstable start point is lower than the response threshold.
- 6. The method of claim 4, wherein the unstable start point is a first acquisition station whose real-time communication response rate is lower than a response threshold, and wherein after the unstable start point is determined according to the real-time communication response rate of each acquisition station, the method further comprises: Determining whether a relay function has been initiated by a last acquisition station of the unstable origin; if the relay function is started, determining the unstable starting point as a fault acquisition station, ignoring the fault acquisition station, and redefining a new unstable starting point; And if the relay function is not started, starting the relay function of the last acquisition station with the unstable starting point to serve as a relay acquisition station.
- 7. The method for dynamic adjustment of a linear network relay according to claim 1, wherein when the relay initialization configuration is performed, the method further comprises: Sequentially issuing instructions to I acquisition stations, and acquiring response feedback of each acquisition station, wherein I represents the total number of the acquisition stations in the linear network; after the multi-round issuing instruction is completed, determining the initial communication response rate of each acquisition station in the relay initialization configuration stage according to response feedback of each acquisition station; Determining an unstable starting point according to the initial communication response rate of each acquisition station in a relay initialization configuration stage, wherein the real-time communication response rate of the last acquisition station of the unstable starting point is not lower than a response threshold value, and the real-time communication response rate of the acquisition stations after the unstable starting point is lower than the response threshold value; starting a relay function of a last acquisition station of the unstable starting point to serve as a relay acquisition station; And repeatedly and sequentially issuing instructions to the I acquisition stations, and acquiring response feedback of each acquisition station until an unstable starting point does not exist in the linear network.
- 8. The method for dynamic adjustment of a linear network relay according to claim 1, wherein when the relay initialization configuration is performed, the method further comprises: Issuing a plurality of instructions to an ith acquisition station, and acquiring response feedback of the ith acquisition station, wherein I is more than or equal to 2 and less than or equal to I, and I represents the total number of the acquisition stations in the linear network; According to response feedback of the ith acquisition station, determining initial communication response rate of the ith acquisition station in a relay initialization configuration stage; and if the initial communication response rate of the ith acquisition station is lower than the response threshold value, starting a relay function of the ith-1 acquisition station to serve as a relay acquisition station.
- 9. The linear network is characterized by comprising a communication front-end processor and a plurality of acquisition stations which are connected in sequence, wherein at least 1 relay acquisition station is arranged in the plurality of acquisition stations; the communication front-end processor is used for executing the dynamic adjustment method of the linear network relay in any one of claims 1-8.
- 10. The linear network of claim 9, wherein the acquisition station comprises a first transceiver unit, a communication processing unit, a second transceiver unit, a core processing unit, and a switching unit; The first communication end of the first transceiver unit is used as a first communication end of the acquisition station and is used for being connected with an upper node of the acquisition station, the second communication end of the first transceiver unit is connected with the first communication end of the communication processing unit, the second communication end of the communication processing unit is connected with the first communication end of the second transceiver unit, and the second communication end of the second transceiver unit is used as a second communication end of the acquisition station and is used for being connected with a lower node of the acquisition station; the switching unit is arranged between a first communication end of the first transceiving unit and a second communication end of the second transceiving unit, and the core processing unit is respectively connected with the communication processing unit and the switching unit; the core processing unit is used for controlling the switching unit to be disconnected when receiving a relay function starting instruction issued by the communication front-end processor and controlling the communication processing unit to start a forwarding function; The core processing unit is used for controlling the switching unit to be closed when receiving a relay function closing instruction issued by the communication front-end processor, and controlling the communication processing unit to close a forwarding function.
- 11. The linear network of claim 10, wherein the core processing unit is further configured to connect to an external sensor and feed back sensing data of the external sensor to the communication front-end processor.
Description
Linear network and relay dynamic adjustment method thereof Technical Field The invention relates to the field of communication, in particular to a linear network and a relay dynamic adjustment method thereof. Background In the existing relay technology of the linear bus, a fixed relay mode is generally adopted, namely, a relay node is inserted among fixed N nodes, or a middle node is manually arranged according to a field bus to strengthen signal excitation and improve communication distance. The current industrial bus scene electromagnetic environment is very bad, various high-low frequency radiation interferences exist, parasitic capacitance and inductance exist in the cable, and matching between equipment interface impedance and cable impedance as well as a signal source is difficult to control, so that the existing relay technology is difficult to adapt to an industrial site. Disclosure of Invention The present invention is directed to a linear network and a relay dynamic adjustment method thereof, so as to improve the above-mentioned problems. In order to achieve the above object, the technical scheme adopted by the embodiment of the invention is as follows: in a first aspect, an embodiment of the present invention provides a method for dynamically adjusting a relay in a linear network, which is applied to a communication front-end processor in the linear network, where the linear network further includes a plurality of acquisition stations connected in sequence, and at least 1 relay acquisition station is set in the plurality of acquisition stations; acquiring signal quality margin of each relay acquisition station, wherein the signal quality margin is matched with peak-to-peak amplitude margin and signal-to-noise ratio margin of the relay acquisition station; and carrying out relay dynamic adjustment according to the signal quality margin of the relay acquisition station and a preset safety threshold. Optionally, the preset safety threshold includes a backward safety threshold, and the dynamically adjusting the relay according to the signal quality margin of the relay acquisition station and the preset safety threshold includes: and when the signal quality margin of the relay acquisition station is larger than a backward safety threshold, transferring the relay backward, closing the relay function of the relay acquisition station, and starting the relay function of the next acquisition station to serve as a new relay acquisition station. Optionally, the preset safety threshold includes an advance safety threshold, and the dynamically adjusting the relay according to the signal quality margin of the relay acquisition station and the preset safety threshold includes: And when the signal quality margin of the relay acquisition station is smaller than the forward safety threshold, forwarding the relay, closing the relay function of the relay acquisition station, and starting the relay function of the last acquisition station to serve as a new relay acquisition station. Optionally, the acquiring the signal quality margin of each relay acquisition station includes: And when the peak-to-peak amplitude margin of the relay acquisition station is greater than or equal to a preset amplitude safety margin and the signal-to-noise ratio margin of the relay acquisition station is greater than or equal to a preset signal-to-noise ratio safety margin, determining that the signal quality margin of the relay acquisition station is a first-level signal quality margin, wherein the first-level signal quality margin is greater than the backward-moving safety threshold. Optionally, after performing relay dynamic adjustment according to the signal quality margin of the relay acquisition station and a preset safety threshold, the method further includes: and according to the adjustment direction and the adjustment step length of the relay acquisition stations which are dynamically adjusted, synchronously adjusting the relay acquisition stations arranged behind the relay acquisition stations which are dynamically adjusted. Optionally, the method further comprises the steps of counting interaction behaviors in the running process of the linear network to obtain real-time communication response rates of all the acquisition stations; determining an unstable starting point according to the real-time communication response rate of each acquisition station; and starting the relay function of the last acquisition station of the unstable starting point to serve as a relay acquisition station. Optionally, the real-time communication response rate of the acquisition station preceding the unstable start point is not lower than the response threshold, and the real-time communication response rate of the acquisition station following the unstable start point is lower than the response threshold. Optionally, the unstable start point is a first acquisition station whose real-time communication response rate is lower than a response threshold