Integrated industrial deviation correction sensor multi-protocol coexistence method
By using preset multi-protocol boards in industrial deviation correction sensors, integrating the target communication protocol interface, and monitoring the performance status in real time, the problems of high protocol modification costs and difficulty in multi-protocol support in the existing technology are solved, and high flexibility and Reliable multi-protocol communication.
Patent Information
- Application Number
- CN202411445539.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-10-16
AI Technical Summary
The protocol content of existing industrial deviation correction sensors needs to be greatly modified in embedded programs, resulting in high modification costs and inflexible changes, making it difficult to support multi-protocol communication.
By analyzing industrial application requirements, determining the target communication protocol, and integrating the target communication protocol interface on the preset multi-protocol board, connecting it with the deviation correction sensor, monitoring the performance status of the board in real time, ensuring the stable communication between the sensor and different devices.
Multi-protocol support for bias correction sensors is realized, improving communication flexibility and reliability with different devices, and reducing modification and maintenance costs.
Smart Images

Figure CN119449905A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a multi-protocol coexistence method for an integrated industrial deviation correction sensor. Background Art
[0002] The protocol contents of existing industrial correction sensors are all integrated into the program inside the sensor. If the protocol needs to be modified or new protocol content needs to be added, the program needs to be significantly modified. However, it is not easy to burn the embedded program in the actual factory environment. Technical personnel must go to the site to make modifications, which takes a long time and is costly. Therefore, how to achieve multi-protocol support for correction sensors to save costs has become one of the current research focuses.
[0003] Therefore, the present invention provides a multi-protocol coexistence method for an integrated industrial deviation correction sensor. Summary of the invention
[0004] The present invention provides a multi-protocol coexistence method for an integrated industrial correcting sensor, which is used for determining target communication protocols supported by different devices connected to the correcting sensor by analyzing the integrated industrial application requirements; integrating a target communication protocol interface on a preset multi-protocol board and connecting it to the correcting sensor; monitoring the performance status of the preset multi-protocol board to ensure stable communication between the correcting sensor and different devices, and ensuring multi-protocol support of the correcting sensor while improving communication flexibility and reliability with different devices.
[0005] The present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, comprising: Step 1: Determine the target communication protocol by analyzing the requirements of integrated industrial applications, and integrate the target communication protocol interface on a pre-set multi-protocol board and connect it to the correction sensor; Step 2: Using the preset multi-protocol board to realize the communication between the correction sensor and different devices; Step 3: Monitor the performance status of the preset multi-protocol board in real time to ensure stable communication between the correction sensor and different devices.
[0006] Preferably, the target communication protocol is determined by analyzing the integrated industrial application requirements, and the target communication protocol interface is integrated on a pre-set multi-protocol board and connected to the correction sensor, including: Obtain the industrial application scenarios of current integrated industrial correction sensors; Summarize and organize the communication protocols that need to be supported by different devices in the industrial application scenarios targeted by the integrated industrial correction sensor to obtain a target communication protocol; Acquire and select corresponding interface chip and circuit design based on key characteristic data of the target communication protocol, and then encapsulate the interface circuit of the current target communication protocol to obtain the target communication protocol interface module; Write corresponding drivers for each target communication protocol interface; Integrate each target communication protocol interface module into a pre-built multi-protocol board; The connection with the preset multi-protocol board is achieved by utilizing the reserved serial port in the current integrated industrial correction sensor.
[0007] Preferably, industrial application scenarios include automobile manufacturing, textiles, printing, etc.
[0008] Preferably, the preset multi-protocol board is used to realize the communication between the correction sensor and different devices, including: After the configuration of the integrated industrial correcting sensor and the corresponding access device is initialized, the interface standard of the access device is adapted, and the integrated industrial correcting sensor and the access device are physically connected; Compare and analyze the first communication protocol supported by the integrated industrial correction sensor and the device communication protocol supported by the access device; If the protocols are consistent, the data collected by the current integrated industrial correction sensor is regarded as target data for data processing, a first data packet is obtained and sent to the access device; The access device receives and parses the first data packet to obtain first restored data; Performing error analysis on the first restored data, when there is a data error, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing; If the protocols are inconsistent, the data collected by the current integrated industrial correction sensor is regarded as the target data and transmitted to the preset multi-protocol board; The preset multi-protocol board receives target data and collects network flow data and communication requirements in real time; Analyze the communication demand, obtain the protocol conversion priority of the current target data and adjust the preset protocol conversion rules; Combine the protocol conversion priority of the target data with the real-time collected network traffic data to determine the bandwidth resource allocation strategy for the pre-set multi-protocol board; Based on the adjusted preset protocol conversion rule and bandwidth resource allocation strategy, convert the target data protocol to obtain first converted data; Processing the first converted data to generate a target data packet and transmitting the target data packet to an access device; The access device receives and parses the target data packet to obtain target restored data; An error analysis is performed on the target restored data, and when a data error occurs, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing.
[0009] Preferably, analyzing the communication demand, obtaining the protocol conversion priority of the current target data and adjusting the preset protocol conversion rules include: The preset multi-protocol board identifies key data of the target data, and when there is only a single key data, the priority matching the currently identified key data is regarded as the output priority; When there are multiple key data, the one with the highest priority among all the matched priorities of the identified key data is selected as the output priority; Obtaining a priority evaluation coefficient corresponding to the output priority, combining it with the current communication demand, and calculating a target priority evaluation coefficient; The calculation formula of the target priority evaluation coefficient is as follows: ; In the formula, Expressed as the target priority evaluation coefficient; The corresponding priority evaluation coefficient is expressed as the output priority; Represented as the i-th communication demand data; It is represented as the influence weight of the ith communication demand on the priority evaluation of data protocol conversion; According to the target priority evaluation coefficient, the protocol conversion priority level of the target data is determined based on a preset protocol-priority evaluation table to adjust the preset protocol conversion rule.
[0010] Preferably, the protocol conversion priority of the target data is combined with the real-time collected network traffic data for analysis to determine the bandwidth resource allocation strategy for the preset multi-protocol board, including: Based on the network traffic data collected in real time, the traffic stage evaluation coefficient is calculated; Based on a preset flow stage-assessment threshold table, determining the flow stage at the current moment by means of the flow stage assessment coefficient; If the current traffic phase is a peak phase or a valley phase, the peak-set allocation strategy or the valley-set allocation strategy is called as the bandwidth resource allocation strategy of the currently preset multi-protocol board; If the current traffic phase is a flat phase, the historical network traffic data within the preset time period is extracted as training data, and the traffic prediction model is obtained by combining the time series prediction algorithm training model; Input the network traffic data at the current moment into the traffic prediction model, and output the traffic data prediction result at the next moment; According to the traffic data prediction result at the next moment, the traffic phase at the next moment is judged, and the bandwidth resource allocation strategy of the preset multi-protocol board at the next moment is determined according to the judgment result.
[0011] Preferably, the calculation formula of the flow stage evaluation coefficient is as follows: ; In the formula, Expressed as flow stage assessment coefficient; It is expressed as the evaluation weight of data transmission volume on the flow stage; It is expressed as the amount of data transmitted at the current time t; It is expressed as the average amount of historical data transmission within a preset time period a; It is expressed as the historical data transmission peak value; Indicated as front The amount of data transmitted at a given time, ; Indicated as front , 2 and Mean data transmission volume at time 3; It is expressed as the fluctuation rate of data transmission volume within a preset time period a; Expressed as the short-term volatility supplement coefficient; Indicates the balance factor of data transmission fluctuation; Expressed as the maximum theoretical data transfer speed; It is expressed as the data transmission speed at the current time t; It is expressed as the evaluation weight of data transmission speed on the traffic stage.
[0012] Preferably, the performance status of the preset multi-protocol board is monitored in real time to ensure stable communication between the correction sensor and different devices, including: Determine monitoring performance indicators for pre-installed multi-protocol boards; By using the preset monitoring tool to connect the preset multi-protocol board, monitoring performance index data and board physical parameters are collected in real time; Setting a preset performance threshold range and a preset parameter threshold range; When there is monitoring performance indicator data that does not fall within the corresponding preset performance threshold range, or the physical parameters of the board do not fall within the corresponding preset parameter threshold range, an alarm notification is triggered and sent to maintenance personnel for maintenance processing.
[0013] Compared with the prior art, the present invention has the following beneficial effects: Determine the target communication protocols supported by different devices connected to the correction sensor by analyzing the requirements of integrated industrial applications; integrate the target communication protocol interface on the preset multi-protocol board and connect it to the correction sensor; monitor the performance status of the preset multi-protocol board to ensure stable communication between the correction sensor and different devices, and ensure the multi-protocol support of the correction sensor while improving the communication flexibility and reliability with different devices.
[0014] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0015] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 The present invention is a flowchart of a multi-protocol coexistence method for an integrated industrial correction sensor in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0018] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, such as Figure 1 As shown, including: Step 1: Determine the target communication protocol by analyzing the requirements of integrated industrial applications, and integrate the target communication protocol interface on a pre-set multi-protocol board and connect it to the correction sensor; Step 2: Using the preset multi-protocol board to realize the communication between the correction sensor and different devices; Step 3: Monitor the performance status of the preset multi-protocol board in real time to ensure stable communication between the correction sensor and different devices.
[0019] In this embodiment, the integrated industrial application requirements refer to the requirements of industrial application scenarios where the correction sensors need to be applied, such as automobile manufacturing, textiles, printing, etc.; the target communication protocol is obtained by sorting out the communication protocols that need to be supported by different devices in the industrial application scenarios targeted by the correction sensors, where the communication protocol refers to the rules and conventions that must be followed by both entities to complete communication or services, and is used for data transmission, encapsulation and parsing, network routing, and secure communication, etc.
[0020] In this embodiment, the preset multi-protocol board is a predetermined hardware device for industrial communication, which can support multiple different communication protocols to meet the communication needs between different devices and systems; the integrated industrial correction sensor is a device widely used in the field of industrial automation, which is mainly used for real-time monitoring and correction of the deviation of objects during movement or production. It outputs electrical signals by sensing the change in displacement or speed of the object, and uses these signals for feedback control to achieve correction of the object's motion trajectory, including magnetoresistive correction sensors, photoelectric correction sensors, etc.
[0021] In this embodiment, the protocol conversion function means that when data is sent from a device of one protocol to a multi-protocol board, the board will immediately identify the protocol type of the data and convert it into the data format of the target protocol; the performance status refers to the performance indicator data and physical parameters of the preset multi-protocol board, where the performance indicator data includes data transmission rate, error rate, packet loss rate, etc.; the physical parameters of the board include temperature, power consumption, etc.
[0022] The beneficial effects of the above technical solution are: determining the target communication protocol supported by different devices connected to the correction sensor by analyzing the requirements of integrated industrial applications; integrating the target communication protocol interface on the preset multi-protocol board and connecting it to the correction sensor; monitoring the performance status of the preset multi-protocol board to ensure stable communication between the correction sensor and different devices, ensuring multi-protocol support of the correction sensor while improving the communication flexibility and reliability with different devices.
[0023] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, which determines a target communication protocol by analyzing the integrated industrial application requirements, and integrates the target communication protocol interface on a pre-set multi-protocol board and connects it to the correction sensor, including: Obtain the industrial application scenarios of current integrated industrial correction sensors; Summarize and organize the communication protocols that need to be supported by different devices in the industrial application scenarios targeted by the integrated industrial correction sensor to obtain a target communication protocol; Acquire and select corresponding interface chip and circuit design based on key characteristic data of the target communication protocol, and then encapsulate the interface circuit of the current target communication protocol to obtain the target communication protocol interface module; Write corresponding drivers for each target communication protocol interface; Integrate each target communication protocol interface module into a pre-built multi-protocol board; The connection with the preset multi-protocol board is achieved by utilizing the reserved serial port in the current integrated industrial correction sensor.
[0024] In this embodiment, the integrated industrial correction sensor is a device widely used in the field of industrial automation. It is mainly used to monitor and correct the deviation of objects in the movement or production process in real time. It outputs electrical signals by sensing the displacement or speed change of the object, and uses these signals for feedback control to realize the correction of the object's motion trajectory. It includes magnetoresistive correction sensors, photoelectric correction sensors, etc.; industrial application scenarios include automobile manufacturing, textiles, printing, etc.
[0025] In this embodiment, the target communication protocol is obtained by organizing the communication protocols that need to be supported by different devices in the industrial application scenarios targeted by the correction sensor, where the communication protocol refers to the rules and conventions that must be followed by both entities to complete communication or service, and is used for data transmission, encapsulation and parsing, network routing, and secure communication, etc. The purpose of writing a driver is to preset a multi-protocol board to be able to communicate correctly with the correction sensor.
[0026] In this embodiment, key characteristic data is used to provide a data basis for selecting corresponding interface chips and circuit designs, such as transmission rate; the preset multi-protocol board is a predetermined hardware device for industrial communication, which can support multiple different communication protocols to meet the communication requirements between different devices and systems.
[0027] The beneficial effects of the above technical solution are: by analyzing the industrial application requirements to determine the target communication protocol, and integrating the target communication protocol interface on the pre-set multi-protocol board and connecting it with the correction sensor, the correction sensor can realize multi-protocol support and effectively meet the data exchange requirements with different devices. The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, which uses the preset multi-protocol board to realize communication between the correction sensor and different devices, including: After the configuration of the integrated industrial correcting sensor and the corresponding access device is initialized, the interface standard of the access device is adapted, and the integrated industrial correcting sensor and the access device are physically connected; Compare and analyze the first communication protocol supported by the integrated industrial correction sensor and the device communication protocol supported by the access device; If the protocols are consistent, the data collected by the current integrated industrial correction sensor is regarded as target data for data processing, a first data packet is obtained and sent to the access device; The access device receives and parses the first data packet to obtain first restored data; Performing error analysis on the first restored data, when there is a data error, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing; If the protocols are inconsistent, the data collected by the current integrated industrial correction sensor is regarded as the target data and transmitted to the preset multi-protocol board; The preset multi-protocol board receives target data and collects network flow data and communication requirements in real time; Analyze the communication demand, obtain the protocol conversion priority of the current target data and adjust the preset protocol conversion rules; Combine the protocol conversion priority of the target data with the real-time collected network traffic data to determine the bandwidth resource allocation strategy for the pre-set multi-protocol board; Based on the adjusted preset protocol conversion rule and bandwidth resource allocation strategy, convert the target data protocol to obtain first converted data; Processing the first converted data to generate a target data packet and transmitting the target data packet to an access device; The access device receives and parses the target data packet to obtain target restored data; An error analysis is performed on the target restored data, and when a data error occurs, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing.
[0028] In this embodiment, the first communication protocol refers to the communication protocol supported by the current integrated industrial correction sensor; the device communication protocol refers to the communication protocol supported by the device currently connected to the correction sensor; the communication protocol refers to the rules and agreements that must be followed by both entities to complete communication or service, and is used for data transmission, encapsulation and parsing, network routing, and secure communication, etc.
[0029] In this embodiment, data processing refers to encryption, decryption, verification, filtering, compression and other processing of target data, wherein the target data refers to the data collected by the current integrated industrial correction sensor; the first data packet is obtained by data processing the target data; the first restored data is the data obtained by the access device parsing the received first data packet according to the corresponding communication protocol specification.
[0030] In this embodiment, data error conditions include data loss, verification failure, etc.; error information includes data error type, timestamp, error location, and data packet information, wherein the data packet information refers to the complete content or part of the key information of the data packet that caused the error, such as the protocol header, data body, and protocol tail.
[0031] In this embodiment, the preset multi-protocol board is a predetermined hardware device for industrial communication, which can support a variety of different communication protocols to meet the communication needs between different devices and systems, wherein the network traffic data includes data transmission volume, transmission speed, data transmission fluctuation rate, etc., and the communication needs include the urgency of data protocol conversion, data security and bandwidth requirements.
[0032] In this embodiment, the protocol conversion priority level is used to express the priority given to the current data protocol conversion, ensuring that critical or urgent data can be processed first in communication, thereby improving network performance and efficiency; the preset protocol conversion rules are conversion rules set in advance; the bandwidth resource allocation strategy is used to effectively manage and utilize network resources; the first conversion data is data obtained by converting the target data protocol based on the adjusted preset protocol conversion rules and bandwidth resource allocation strategy, wherein the target data is data collected by the current integrated industrial correction sensor; the target data packet is obtained after processing the first conversion data; the target restoration data is data obtained by the access device parsing the received target data packet according to the corresponding communication protocol specification.
[0033] The beneficial effect of the above technical solution is: by utilizing the protocol conversion and data processing functions of the multi-protocol board, the received sensor data is subjected to protocol conversion and data processing, thereby effectively improving the protocol compatibility of the correction sensor and the communication efficiency with different devices.
[0034] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, which analyzes the communication requirements, obtains the protocol conversion priority level of the current target data, and adjusts the preset protocol conversion rules, including: The preset multi-protocol board identifies key data of the target data, and when there is only a single key data, the priority matching the currently identified key data is regarded as the output priority; When there are multiple key data, the one with the highest priority among all the matched priorities of the identified key data is selected as the output priority; Obtaining a priority evaluation coefficient corresponding to the output priority, combining it with the current communication demand, and calculating a target priority evaluation coefficient; The calculation formula of the target priority evaluation coefficient is as follows: ; In the formula, Expressed as the target priority evaluation coefficient; The corresponding priority evaluation coefficient is expressed as the output priority; Represented as the i-th communication demand data; It is represented as the influence weight of the ith communication demand on the priority evaluation of data protocol conversion; According to the target priority evaluation coefficient, the protocol conversion priority level of the target data is determined based on a preset protocol-priority evaluation table to adjust the preset protocol conversion rule.
[0035] In this embodiment, target data refers to data collected by the integrated industrial correction sensor; key data refers to important data that is predetermined and should be converted with priority protocol; priority evaluation coefficient refers to the corresponding preset evaluation coefficient of priority; communication requirements refer to the urgency of data protocol conversion, data security and bandwidth requirements.
[0036] In this embodiment, the target priority evaluation coefficient is used to determine the priority of the current target data protocol conversion; the preset protocol-priority evaluation table is set in advance, and is composed of different priority evaluation index ranges and matching priority levels; the protocol conversion priority levels include high, medium and low levels, which are used to express the priority given to the current data protocol conversion, and can be used to ensure that critical or urgent data can be processed first in communication, thereby improving network performance and efficiency; the influence weight of communication demand on data protocol conversion priority evaluation is obtained by solving the matrix constructed after pairwise comparison and relative importance scoring using hierarchical analysis method.
[0037] The beneficial effect of the above technical solution is: by analyzing the communication needs of the target data, determining the protocol conversion priority and adjusting the preset protocol conversion rules, it can ensure that the data can be correctly parsed and processed during the transmission process, reduce data loss and delay during the conversion process, and thus improve communication efficiency.
[0038] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, which combines and analyzes the protocol conversion priority of target data with the real-time collected network traffic data to determine the bandwidth resource allocation strategy of the preset multi-protocol board, including: Based on the network traffic data collected in real time, the traffic stage evaluation coefficient is calculated; Based on a preset flow stage-assessment threshold table, determining the flow stage at the current moment by means of the flow stage assessment coefficient; If the current traffic phase is a peak phase or a valley phase, the peak-set allocation strategy or the valley-set allocation strategy is called as the bandwidth resource allocation strategy of the currently preset multi-protocol board; If the current traffic phase is a flat phase, the historical network traffic data within the preset time period is extracted as training data, and the traffic prediction model is obtained by combining the time series prediction algorithm training model; Input the network traffic data at the current moment into the traffic prediction model, and output the traffic data prediction result at the next moment; According to the traffic data prediction result at the next moment, the traffic phase at the next moment is judged, and the bandwidth resource allocation strategy of the preset multi-protocol board at the next moment is determined according to the judgment result.
[0039] In this embodiment, the network traffic data includes data transmission volume, transmission speed, data transmission fluctuation rate, etc.; the traffic stage evaluation coefficient is used to obtain the current traffic stage, where the traffic stage includes three stages: peak, trough and flat; the preset traffic stage-evaluation threshold table is pre-set, consisting of the traffic stage and the corresponding evaluation coefficient range.
[0040] In this embodiment, the peak-set allocation strategy refers to increasing the maximum bandwidth limit and minimum bandwidth guarantee for high-priority data protocol conversion during the peak traffic phase, preferentially allocating sufficient bandwidth resources for high-priority data protocol conversion, and then allocating the remaining bandwidth resources to the medium priority level and the low priority level respectively according to the preset bandwidth ratio, wherein the preset bandwidth ratio is predetermined and used to indicate the bandwidth resource allocation ratio of the corresponding data protocol conversion of the medium priority level and the low priority level; the valley-set allocation strategy refers to increasing the maximum bandwidth limit for medium and low priority data protocol conversion during the valley traffic phase, and then allocating bandwidth resources in combination with the priority level.
[0041] In this embodiment, the preset time period is set in advance; the traffic prediction model is used to predict network traffic data at future moments, and is a model obtained by using historical network traffic data as training data and combining it with a time series prediction algorithm for training; the traffic data prediction result at the next moment is the output result obtained by inputting the network traffic data at the current moment into the traffic prediction model.
[0042] The beneficial effect of the above technical solution is: by combining the protocol conversion priority of the target data with the real-time collected network traffic data, the bandwidth resource allocation strategy of the preset multi-protocol board in different traffic stages is determined, which can avoid the waste of bandwidth resources, enhance bandwidth utilization, and thus improve the performance of the multi-protocol board and ensure the high efficiency of data transmission.
[0043] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial deviation correction sensor, and the calculation formula of the flow stage evaluation coefficient is as follows: ; In the formula, Expressed as flow stage assessment coefficient; It is expressed as the evaluation weight of data transmission volume on the flow stage; It is expressed as the amount of data transmitted at the current time t; It is expressed as the average amount of historical data transmission within a preset time period a; Expressed as historical data transmission peak value; Indicated as front The amount of data transmitted at a given time, ; Indicated as front , 2 and Mean data transmission volume at time 3; It is expressed as the fluctuation rate of data transmission volume within a preset time period a; Expressed as the short-term volatility supplement coefficient; Indicates the balance factor of data transmission fluctuation; Expressed as the maximum theoretical data transfer speed; It is expressed as the data transmission speed at the current time t; It is expressed as the evaluation weight of data transmission speed on the traffic stage.
[0044] In this embodiment, the evaluation weights of the data transmission volume and the data transmission speed for the flow stage are obtained by solving a matrix constructed after pairwise comparison and relative importance scoring using the hierarchical analysis method.
[0045] The beneficial effects of the above technical solution are: by calculating the traffic stage evaluation coefficient based on the network traffic data, the current network traffic can be evaluated and the traffic stage can be determined; based on the traffic stage, the bandwidth allocation strategy can be accurately utilized, laying the foundation for improving the performance of multi-protocol boards.
[0046] The embodiment of the present invention provides a multi-protocol coexistence method for an integrated industrial correction sensor, which monitors the performance status of a preset multi-protocol board in real time to ensure stable communication between the correction sensor and different devices, including: Determine monitoring performance indicators for pre-installed multi-protocol boards; By using the preset monitoring tool to connect the preset multi-protocol board, monitoring performance index data and board physical parameters are collected in real time; Setting a preset performance threshold range and a preset parameter threshold range; When there is monitoring performance indicator data that does not fall within the corresponding preset performance threshold range, or the physical parameters of the board do not fall within the corresponding preset parameter threshold range, an alarm notification is triggered and sent to maintenance personnel for maintenance processing.
[0047] In this embodiment, monitoring performance indicators include data transmission rate, error rate, packet loss rate, etc.; preset monitoring tools are determined in advance, such as Ethr, OpManage, Perfmon, etc.; board physical parameters include temperature, power consumption, etc.; the preset performance threshold range and the preset parameter threshold range are pre-set, wherein the preset performance threshold range is composed of a preset performance upper limit and a preset performance lower limit, the preset performance upper limit refers to 95% of the average of the historical maximum performance and the historical performance average within the preset time period, and the preset performance lower limit refers to 15% of the average of the historical maximum performance and the historical performance average within the preset time period; the preset parameter threshold range is composed of a preset parameter upper limit and a preset parameter lower limit, the preset parameter upper limit refers to 85% of the average of the historical parameter maximum and the historical parameter average within the preset time period, and the preset parameter lower limit refers to 15% of the average of the historical parameter maximum and the historical parameter average within the preset time period.
[0048] In this embodiment, for example, there are currently monitoring performance indicator data f1, f2, f3 and board physical parameters h1, h2, h3, among which f1, f2 and f3 belong to the corresponding preset performance threshold range, h1 and h2 belong to the corresponding preset parameter threshold range, and h3 does not belong to the corresponding preset parameter threshold range. At this time, an alarm notification is triggered and transmitted to the maintenance personnel for maintenance processing.
[0049] The beneficial effect of the above technical solution is: by real-time monitoring of the performance status of the preset multi-protocol board, and triggering an alarm notification when an abnormality occurs and transmitting it to maintenance personnel for maintenance processing, the communication stability between the correction sensor and different devices can be effectively guaranteed.
[0050] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A multi-protocol coexistence method for an integrated industrial correction sensor, characterized in that: include: Step 1: Determine the target communication protocol by analyzing the requirements of integrated industrial applications, and integrate the target communication protocol interface on a pre-set multi-protocol board and connect it to the correction sensor; Step 2: Using the preset multi-protocol board to realize the communication between the correction sensor and different devices; Step 3: Monitor the performance status of the preset multi-protocol board in real time to ensure stable communication between the correction sensor and different devices.
2. According to claim 1, a multi-protocol coexistence method for an integrated industrial correction sensor is characterized in that: The target communication protocol is determined by analyzing the requirements of integrated industrial applications, and the target communication protocol interface is integrated on a preset multi-protocol board and connected to the correction sensor, including: Obtain the industrial application scenarios of current integrated industrial correction sensors; Summarize and organize the communication protocols that need to be supported by different devices in the industrial application scenarios targeted by the integrated industrial correction sensor to obtain a target communication protocol; Acquire and select corresponding interface chip and circuit design based on key characteristic data of the target communication protocol, and then encapsulate the interface circuit of the current target communication protocol to obtain the target communication protocol interface module; Write corresponding drivers for each target communication protocol interface; Integrate each target communication protocol interface module into a pre-built multi-protocol board; The connection with the preset multi-protocol board is achieved by utilizing the reserved serial port in the current integrated industrial correction sensor.
3. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 2 is characterized in that: Industrial application scenarios include automobile manufacturing, textiles, printing, etc.
4. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 1 is characterized in that: The preset multi-protocol board is used to realize the communication between the correction sensor and different devices, including: After the configuration of the integrated industrial correcting sensor and the corresponding access device is initialized, the interface standard of the access device is adapted, and the integrated industrial correcting sensor and the access device are physically connected; Compare and analyze the first communication protocol supported by the integrated industrial correction sensor and the device communication protocol supported by the access device; If the protocols are consistent, the data collected by the current integrated industrial correction sensor is regarded as target data for data processing, a first data packet is obtained and sent to the access device; The access device receives and parses the first data packet to obtain first restored data; Performing error analysis on the first restored data, when there is a data error, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing; If the protocols are inconsistent, the data collected by the current integrated industrial correction sensor is regarded as the target data and transmitted to the preset multi-protocol board; The preset multi-protocol board receives target data and collects network flow data and communication requirements in real time; Analyze the communication demand, obtain the protocol conversion priority of the current target data and adjust the preset protocol conversion rules; Combine the protocol conversion priority of the target data with the real-time collected network traffic data to determine the bandwidth resource allocation strategy for the pre-set multi-protocol board; Based on the adjusted preset protocol conversion rule and bandwidth resource allocation strategy, convert the target data protocol to obtain first converted data; Processing the first converted data to generate a target data packet and transmitting the target data packet to an access device; The access device receives and parses the target data packet to obtain target restored data; An error analysis is performed on the target restored data, and when a data error occurs, the access device generates an error message and sends it to a corresponding maintenance personnel for maintenance processing.
5. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 4 is characterized in that: Analyzing the communication demand, obtaining the protocol conversion priority of the current target data and adjusting the preset protocol conversion rules include: The preset multi-protocol board identifies key data of the target data, and when there is only a single key data, the priority matching the currently identified key data is regarded as the output priority; When there are multiple key data, the one with the highest priority among all the matched priorities of the identified key data is selected as the output priority; Obtaining a priority evaluation coefficient corresponding to the output priority, combining it with the current communication demand, and calculating a target priority evaluation coefficient; The calculation formula of the target priority evaluation coefficient is as follows: ; In the formula, Expressed as the target priority evaluation coefficient; The corresponding priority evaluation coefficient is expressed as the output priority; Represented as the i-th communication demand data; It is represented as the influence weight of the ith communication demand on the priority evaluation of data protocol conversion; According to the target priority evaluation coefficient, the protocol conversion priority level of the target data is determined based on a preset protocol-priority evaluation table to adjust the preset protocol conversion rule.
6. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 5 is characterized in that: The protocol conversion priority of the target data is combined with the real-time collected network traffic data for analysis to determine the bandwidth resource allocation strategy for the pre-set multi-protocol board, including: Based on the network traffic data collected in real time, the traffic stage evaluation coefficient is calculated; Based on a preset flow stage-assessment threshold table, determining the flow stage at the current moment by means of the flow stage assessment coefficient; If the current traffic phase is a peak phase or a valley phase, the peak-set allocation strategy or the valley-set allocation strategy is called as the bandwidth resource allocation strategy of the currently preset multi-protocol board; If the current traffic phase is a flat phase, the historical network traffic data within the preset time period is extracted as training data, and the traffic prediction model is obtained by combining the time series prediction algorithm training model; Input the network traffic data at the current moment into the traffic prediction model, and output the traffic data prediction result at the next moment; According to the traffic data prediction result at the next moment, the traffic phase at the next moment is judged, and the bandwidth resource allocation strategy of the preset multi-protocol board at the next moment is determined according to the judgment result.
7. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 6 is characterized in that: The calculation formula of the flow stage evaluation coefficient is as follows: ; In the formula, Expressed as flow stage assessment coefficient; It is expressed as the evaluation weight of data transmission volume on the flow stage; It is expressed as the amount of data transmitted at the current time t; It is expressed as the average amount of historical data transmission within a preset time period a; It is expressed as the historical data transmission peak value; Indicated as front The amount of data transmitted at a given time, ; Indicated as front , 2 and Mean data transmission volume at time 3; It is expressed as the fluctuation rate of data transmission volume within a preset time period a; Expressed as the short-term volatility supplement coefficient; Indicates the balance factor of data transmission fluctuation; Expressed as the maximum theoretical data transfer speed; It is expressed as the data transmission speed at the current time t; It is expressed as the evaluation weight of data transmission speed on the traffic stage.
8. The method for coexistence of multiple protocols of an integrated industrial correction sensor according to claim 1 is characterized in that: Real-time monitoring of the performance status of the pre-installed multi-protocol board ensures stable communication between the correction sensor and the monitoring equipment, including: Determine monitoring performance indicators for pre-installed multi-protocol boards; By using the preset monitoring tool to connect the preset multi-protocol board, monitoring performance index data and board physical parameters are collected in real time; Setting a preset performance threshold range and a preset parameter threshold range; When there is monitoring performance indicator data that does not fall within the corresponding preset performance threshold range, or the physical parameters of the board do not fall within the corresponding preset parameter threshold range, an alarm notification is triggered and sent to maintenance personnel for maintenance processing.
Citation Information
Patent Citations
Multi-channel signal acquisition system compatible with multiple protocols
CN105607570A
Multi-port multi-protocol communication method and board card
CN115297001A
EtherCAT and RS485, RS422, RS232, Modbus and PROFINET multi-interface and multi-protocol interactive communication method
CN117041382A
Vehicle-mounted module collection device, control method and electronic equipment
CN117872881A
Multi-sensor monitoring system and electronic equipment
CN117914905A