Research on the implementation method of loom monitoring

A loom monitoring system was designed and developed to realize monitoring loom in both industrial field and remote network environments and to meet the on-site workers’ convenient operation and centralized management of enterprises. This article uses the touch screen as the main carrier of the field system and cooperates with configuration technology and expert system to realize fault diagnosis. And this article uses the B/S architecture as the remote system cloud platform network architecture which builds the Redis database and Nginx server operating environment, and the front-end technology such as HTML5 is used to design a web client interface to meet the functional needs. This implementation method has three advantages: First, it breaks the traditional way of mechanical button matching with touch screens in the textile manufacturing industry; second, it can quickly find out the reason for loom failure; and third, it lifts the regional restrictions, thus improving the intelligence and information level of textile machinery and equipment. This monitoring system combines configuration technology with computer technology to realize monitoring in both industrial fields and remote environments. Industrial site workers quickly and directly operate the loom through the on-site touch screen. Enterprise management personnel centrally manage the loom through remote means. Therefore, the system is convenient for different types of users in the enterprise. The industrial field monitoring system has comprehensive functions and friendly interface operation, which realizes the comprehensive monitoring and operating parameter setting of each link of the loom production. It can also meet functional requirements such as fault alarm and debugging and maintenance. The use of the cloud platform and other technologies to achieve remote monitoring of the loom, breaking through the geographical restrictions. It is possible to log in to the remote system anytime and anywhere to monitor the running status and production information of the loom, which also provides convenience for later maintenance and upgrades. This monitoring system combines configuration technology with computer technology to realize monitoring in both industrial fields and remote environments. Industrial site workers quickly and directly operate the loom through the on-site touch screen. Enterprise management personnel centrally manage the loom through remote means. Therefore, the system is convenient for different types of users in the enterprise. The industrial field monitoring system has comprehensive functions and friendly interface operation, which realizes the comprehensive monitoring and operating parameter setting of each link of the loom production. It can also meet functional requirements such as fault alarm and debugging and maintenance. The use of the cloud platform and other technologies to achieve remote monitoring of the loom, breaking through the geographical restrictions. It is possible to log in to the remote system anytime and anywhere to monitor the running status and production information of the loom, which also provides convenience for later maintenance and upgrades.


Introduction
With the acceleration of structural adjustment and upgrading of China's textile industry, loom enterprises are developing in the direction of informatization, less labor, and intelligence. At present, the loom equipment in our country has realized automated production initially, with many controlled objects and complex mechanical structures. However, its monitoring method still adopts the traditional mechanical button and touch screen method, and the 2 The overall structure of the loom system From the function point of view, the whole system can be divided into two parts: loom monitoring system and control system. The control objects of the loom control system are select the weft and selvage, let-off and takeup, main motor, brake clutch, and so on. Because of its complex mechanical structure and decentralized process, a distributed modular design method with one main control center and several sub-controls is adopted. This design can not only meet the control requirements but also avoid the whole system damage caused by the failure of a single system. In this paper, the loom monitoring system is independent as a subsystem and performs data interaction with the main control board of the control system through the industrial bus. The management and operation of each module are concentrated in the loom monitoring system, and the control work is completed by other corresponding functional modules. The overall structure of the loom system is shown in Fig. 1.
This paper mainly studies the loom monitoring system. The control system will not be introduced in this article. The loom monitoring system is divided into the industrial field and remote network, mainly including embedded control system, wireless communication module, industrial bus module, industrial field man-machine interaction functional interface, cloud platform server, WEB client, etc. The overall structure is shown in Fig. 2.
(1) The chip of the main control module in the control system is STM32F407ZET6. The touch screen and the RS485 communication module of the main control system realize data interaction through Modbus RTU communication protocol. (2) The design of the main control window, equipment window, user window, real-time database, and strategy script is completed in MCGS Pro configuration software, so that the industrial field system can realize the functions of real-time monitoring, parameter setting, color editing, fault diagnosis and alarm, machine repair and debugging, etc. Fault diagnosis is a fault tree diagnosis method based on the theory of the expert system. (3) The main control module transmits the collected data to the wireless module through the serial port and then uses the TCP/IP communication protocol based on the Socket interface for data transmission to the cloud platform server. TCP has two working modes: Client and Server. In this system, the WIFI module is set as TCP Client, and the Socket Server is set as TCP Server. (4) The cloud platform is the core organization of the remote system, which mainly includes a Socket server, a data processing module, a database, and a Web server [2]. The data processing module saves the processed data files into the database as historical parameters and sends them to the Web server. The Web server mounts HTML pages and sends data files to the WEB client through Ajax. In this way, the client can quickly refresh device data [3].

The design of field monitoring system
The carrier of the field system adopts Kunlun touch screens, and the RS485 bus is adopted to communicate with the hardware of the main control system. The remote system can simultaneously satisfy enterprise users to monitor multiple looms and select WIFI as the wireless communication mode of the remote system. The wireless module ESP8266 is adopted to realize communication and interaction between on-site devices and the Internet. Figure 3 shows the PCB board of the main control module.

The design of the RS485 bus
With the rapid development of industrial buses, more and more industrial sensors, instruments, and equipment adopt industrial buses. RS485 industrial bus is one of them, which often combines with Modbus and other communication protocols for communication detection and control [4]. In this system, STM32F407ZET6 is used as the main    Figure 4 shows the schematic diagram of the circuit designed according to the RS485 chip manual.

The design of Touch screens in the industrial field
Before designing and developing the touch screen in the industrial field, it is necessary to clarify the detailed functional requirements and actual operation steps and then plan and design the entire interface structure of the industrial field system. This monitoring system uses MCGS Pro embedded configuration software to design all functional interfaces of the industrial field system. It needs to meet the requirements for real-time monitoring of the working status, parameters, and production data of the loom. This system adopts MCGS Pro embedded configuration software to design all functional interfaces of the industrial field system. It needs to meet the requirements of realtime monitoring of the working status, parameters, and production data of the loom and the recording of loom failure and tension fluctuation information. The staff can modify the operating parameters of the loom through the touch screen interface to realize the control of the loom equipment. The industrial field system should implement the following specific functional tasks: (1) Multi-level authority management.
This monitoring system mainly designs the device window, user interface, real-time database, script strategy, etc. Each part corresponds to different characteristics; especially in the interface design process, the rationality and friendliness of the user operation engineering should be fully considered [5]. The specific implementation steps are as follows: (1) Device window The main control module and the touch screen communicate with each other using a serial port. Therefore, in the device window, the "general serial port parent device" is added, and the touch screen communicates with the external device using the "Modbus RTU" communication method.
(2) User window The interface designed by the user window is the direct touch of the user to the industrial field system. Good interfaces need to meet the requirements of having clear operation logic. So that users can better operate the loom [6]. According to the design and planning of the industrial field system in the previ- The real-time database is the core hub of the monitoring system for data conversion. The data sent or retrieved between each part of the monitoring system through the real-time database finally realizes the monitoring of the loom. The device window connects the main control module to the system and reads or writes data from the main control module to the real-time database. After that, the data in the real-time database and the data objects designed by the personal computer interaction interface are correlated with each other, and the data is processed by the operation strategy.
(4) Strategy script The MCGS Pro configuration software supports a large number of script functions, which can achieve certain functions just like the built-in functions of a computer language. It mainly includes environment operation functions, data object operation functions, rights management operation functions, system operation functions [7]. These functions are the key methods to realize the mode selection, fault diagnosis, user login, color editing, and other functional tasks in the man-computer interaction interface.

Fault diagnosis of expert system based on fault tree diagnosis
The MCGS Pro configuration software has good logic scripting capabilities, but the hardware computing capabilities cannot support some fault diagnosis methods. Therefore, the fault tree diagnosis method with strong logic and a simple structure is adopted to realize the fault diagnosis function. The expert system fault diagnosis method based on fault tree diagnosis is combined with a real-time database to establish related fault logic and knowledge base. And this monitoring system uses MCGS Pro configuration software to design a logic script program to complete knowledge acquisition and fault interpretation expression and finally realize the fault diagnosis function of the industrial field system. The expert system usually consists of six parts: knowledge base, inference engine, interpreter, database, knowledge acquisition, and human-computer interaction interface [8]. Figure 5 shows the expert system model.
Expert system has been widely used. However, to better establish a clear and concise logical relationship between the various detection parameters of the loom and the related fault phenomena, the fault tree diagnosis method is also referred to [9]. The basic idea of the fault tree diagnosis method is shown in Fig. 6: Three failure events occurred, namely event 1, event 2, and event 4. According to the logical relationship, it is inferred that the final cause of the failure is event 6.
The fault diagnosis of the loom field system must have multiple fault trees, and the sub-events in these fault trees will overlap each other, which leads to repeated operations on multiple fault trees and makes the fault knowledge base redundant. Because the phenomenon of concurrent faults in the loom system rarely occurs, the fault tree can be simplified. Sub-events involving intersections are set as reference relationships, and different fault trees can refer to the same sub-event. As shown in Fig. 7, the complex fault tree is simplified according to the logical relationship between events.  Regarding the establishment of fault logic and knowledge base, we must first plan the events corresponding to all signals and divide the initial event set that caused the fault appearance and the bottom event set of the root cause of the fault. And determine the intermediate events contained therein, finally clarify the logical relationship between the events, and establish a fault tree about the fault. The knowledge storage method of the knowledge base in the fault diagnosis function of the monitoring system adopts the knowledge production rule representation of IF < condition > THEN < conclusion > . This method is a non-structured storage method, which has the characteristics of saving memory space and fast query speed and is particularly suitable for the hardware conditions of the Industrial field system.

The design of remote monitoring system
The design of the remote system mainly includes the design of the wireless transmission module, the selection and deployment of the cloud platform, the design of the cloud database, the development and design of the Web server and the WEB client. This system uses a three-tier B/S architecture, with WEB browser as the presentation layer, Web server as the application layer, and database server as the data layer. The B/S architecture uses a wide area network. The browser only handles a very small part of the business logic, and users can browse the Internet through the browser, without the need to install a client. The B/S architecture model is shown in Fig. 8.
In the development of the remote system data transmission channel, the driver program design of the wireless communication module needs to be completed first, and the wireless communication module is operated through the corresponding AT command. Subsequently, the Socket interface is used as the endpoint of data transmission. The Socket interface completes the network communication between computers through the combination of IP address and port. The Socket interface can be regarded as the endpoint on both sides of the data transmission bridge [10]. In the network transmission protocol, because the UDP protocol can only perform one-to-one communication, which cannot meet the system's requirements for multi-machine centralized connection and data correctness, the monitoring system adopts the TCP/IP communication protocol. The HTTP protocol is used for communication between the WEB browser and the Web server [11]. When the user clicks the link on the WEB browser, the WEB browser establishes a connection with the Web server, and then, the WEB client sends a request to the Web server. After receiving the request, the Web server gives the corresponding return information, and the WEB client receives the returned information and displays it through the WEB browser. Finally, the WEB client disconnects from the Web server [12]. However, the traditional HTTP protocol has a defect that it can only achieve web page refresh and cannot achieve web page content refresh. The data of the loom is a constantly changing process. The user needs to see the real-time changes of the data on the WEB browser, so the content of the web page should be refreshed under the premise of refreshing the page. Ajax technology can solve this problem well. Ajax technology interacts with a small amount of data through the WEB browser and the Web server to realize the asynchronous update of the WEB browser web page, which satisfies the complete update of the content in the web page under the condition of constantly refreshing the entire page [13].

The design of wireless transmission module
The current mainstream wireless communication technologies mainly include WIFI, Zigbee, and Bluetooth. The transmission rate of Zigbee technology is relatively low, which does not meet the needs of real-time monitoring of looms. Bluetooth technology generally has an effective range of about 10 m, and the communication distance is relatively short, which is not suitable for use in a loom factory. The WIFI transmission distance is 100-300 M, and the rate can reach 300Mbps, which can meet the needs of this system. Therefore, this paper chooses WIFI as the communication method of the remote system. In the loom monitoring system, the main control module is equipped with a wireless transmission module, which is connected to the industrial field router. This method connects to the Internet and realizes data interaction with the cloud platform server. The wireless transmission module used here is the ESP8266 wireless module, which can convert the serial port or TTL level signal into the network to meet the requirements of wireless network transmission. Table 1 shows the pins of the ESP8266 wireless module.
GPIO2 pin has built-in high level by default and therefore no external circuit is required; when the GPIO0 pin is at a high level, the wireless module works normally. When the wireless module needs to perform a firmware upgrade or download a configuration file, the GPIO0 pin is selected as low level. The GPIO16 pin, also known as the RST pin, is the reset pin. GPIO16 pin is connected to the reset button. When the reset button is pressed, it is low level for the reset work. UART_RXD pin and UART_TXD pin are, respectively, connected to the serial port sending pin and serial port receiving pin of the main control chip to realize data transmission from the serial port to the wireless module. When the CH_PD pin is at a high level, the module is powered on. When the CH_PD pin is at a low level, the module is powered off. According to the pin function description of the wireless transmission module, the peripheral circuit diagram is designed as shown in Fig. 9.
After the hardware design of the wireless transmission module is completed, the software driver of the wireless module is then developed. Before developing the software driver, first, determine the choice of AT firmware that can realize serial communication data. Send AT command to ESP8266 wireless module to set up wireless transmission module. The flow of the software driver between the main control chip and ESP8266 is shown in Fig. 10.
System initialization includes initialization of related pins and timer clock. The user configuration mainly includes the setting of the wireless transmission module working mode, the user name and password for connecting to the router, and the IP address and port number of the TCP server. The initialization of related pins mainly includes serial port pin configuration, wireless module chip selection CH_PD pin configuration, and reset RST (GPIO16) pin configuration. The timer setting is to ensure a stable connection with the cloud platform server. After establishing contact with the cloud platform server, check whether the connection with the cloud platform server and router is normal at regular intervals; if there is an abnormality, immediately re-establish the connection with the cloud platform server or router to ensure that data transmission continues. To realize real-time data transmission, the connection between the ESP8266 wireless communication module and the cloud platform server must always be maintained. If the ESP8266 wireless communication module loses contact with the cloud platform server, the wireless module repeatedly sends requests to the cloud platform server to reconnect.

The selection and configuration of cloud platform
The current mainstream cloud platforms are mainly Alibaba Cloud and Tencent Cloud. This system chooses Alibaba Cloud platform with higher security and reliability, and installs Linux system as the operating system of Alibaba Cloud platforms. Configure the server parameters according to the needs of the remote system, as shown in Table 2. Alibaba Cloud Server must implement the following functions in the loom remote monitoring and fault diagnosis system: (1) Accept and save all operating parameter information of the loom equipment;

The design of cloud database
In this system, the database should not only store the data sent from the loom control module but also record the operational data generated by the WEB client. Redis database can not only persist the data but also store the data in the cache. The cache reads quickly, which can greatly improve the operation efficiency. So Redis is chosen as the cloud database. After the Redis database is identified as a cloud database, the Redis database needs to be installed in the cloud server platform and build its operating environment. In the Linux system, the task of downloading and decompressing the installation package is completed through the wget command and the tar command, and then, the make command is used to complete the compilation and installation.
Redis database stores key-value data in the form of dict (dictionary), so the operations of adding, subtraction, updating, and value of data in the database are all based on the operation of the dictionary [14]. Redis database has two storage methods: memory storage and persistent  storage. The memory storage mode has a fast read speed and a write speed, but restarting will cause data loss. The persistent storage mode includes AOF and RDB. The AOF method will record the command after each execution of the command. The RDB method will regularly store the data in the memory in the hard disk according to the specified rules. The main information parameters that need to be stored in the remote system include equipment information, collected signal information, and fault information. In addition to the above-mentioned related information, the data transmission format, system operation, and automatic storage week settings must also be specified. The data format received by the cloud server platform is in the form of arrays, and the data is processed in the form of JSON files in the background. Therefore, service programs related to data storage, such as JSON file conversion functions, data storage functions, and data query functions, should also be designed and developed.
Through the establishment of the database operating environment and the design of related service function programs, not only a complete set of database transaction logic can be completed, but also functions such as user registration, equipment information management, information query, and operation command transmission can be supported. Meanwhile, the content information in the WEB client is also designed and developed based on the database.

The design of Web server
This monitoring system uses Nginx as the Web server. Therefore, first, enter the rpm command under the Linux system to determine whether the system has installed the support library of the Nginx server. After confirming that the support library is complete, download the Nginx server installation package through the wget command, then use the tar command to decompress the installation package, and finally use the make command to install and compile the Nginx server. After the installation and compilation are completed, the Nginx-T command can be used to check whether the Nginx server environment setup is correct. Figure 11 shows an effect diagram of using the Nginx-T command to verify that the environment is successfully built.
Finally, add relevant firewall configuration items in the configuration file to complete the Nginx firewall deployment. After all, configurations are completed, and the cloud platform server can mount web pages. The load balancing algorithm carried on the Nginx server is mainly divided into two types: built-in strategy and extended strategy [15]. Built-in strategies include weighted roundrobin and IP hash; Expansion strategies include fair, consistent hash, etc. This system adopts the weighted roundrobin strategy in the built-in strategy to deal with the problem of website access traffic load. Figure 12 shows the processing flowchart of the weighted polling strategy.
After the Nginx server receives the request from the Web client, it will send the request to each server node in turn according to the weight already set. In this process, the request is first assigned to a device with a higher authority level, and the authority level of the device decreases as the number of requests received increases. When the authority level of the device is lower than other devices, the next request from the Web client will also be assigned to the device with the highest relative authority among the remaining service devices according to the level. When the permission levels of all devices are cleared, the Nginx server will immediately refresh the permission levels of all devices to prevent all devices from being in a state where they cannot accept requests. This avoids the downtime of the Web server and the jamming of the client web page.

The design of Web client
All users can access the system server by entering the address through the browser. Since the information accessed belongs to the internal production management information of the enterprise, it is necessary to consider the identification and restriction of users. Therefore, it is necessary to divide the user authority first. Different users have different management authorities and access authorities. Unregistered strangers cannot browse the production data, to avoid the misoperation of the system by strangers and bring losses to the enterprise. According to the actual needs of the enterprise, it is mainly for the management personnel to use the remote system. The management personnel can browse the real-time operating parameter information, fault information, production management information, etc., and can also register and manage user information. Therefore, the interface of the Web client mainly includes five parts: login interface, user information, system profile interface, multi-machine management interface, and single-machine operation interface. Among them, the single-machine operation interface not only contains the detailed parameter information of a single loom but also includes the parameter setting interface and the fault information interface. Figure 13 shows the block diagram of the overall structure of the client web interface.
The login interface solves the problem of deciding whether to enter the remote system client according to the login information of the log-in person and determining the user's permission to use the log-in; the user information interface solves the problem of modifying the password, changing the authority and modifying the personal information of the currently logged-in user; the system introduction interface is mainly used to introduce the remote system of the loom and the related process parameter information of the loom; the multi-machine management interface solves the problem of monitoring all networked loom equipment information; the singlemachine operation interface solves the problem of status monitoring and process parameter setting of single loom equipment; and the fault information interface records the fault information of the loom and the explanation of the cause of the fault.
The operation flow diagram of the WEB client interface is shown in Fig. 14. After the user logs in successfully, the WEB client interface will enter the multi-machine management interface by default, and the user can briefly browse the overall operation of the loom equipment. Then, the user can choose to enter the single-machine operation  interface, user information interface, or system introduction interface and then complete the related operations.
To meet the client's needs for different browsers, HTML5 + CSS3 + JavaScript is used to develop the client interface. In the HTML5 infrastructure framework, CSS3 is used to realize the static style design of the interface, and JavaScript is used to realize the dynamic characteristics of the interface so that the client interface can be more beautiful based on meeting the most basic monitoring requirements [16].
At the same time, to make the development of the WEB client interface faster, the Bootstrap framework is used in the development of the WEB client. The most prominent advantage of the Bootstrap front-end framework is that it adopts a responsive layout so that the developed interface can obtain a better interface display effect no matter on the mobile terminal or the PC terminal.
The default interface for the user to enter the remote system WEB client through the WEB address is the login interface. During the login process, the back-end implementation of the program workflow for user name, password, and authority authentication is shown in Fig. 15.
In the process of designing and developing the Web client, to realize the dynamic display of some diagrams in the interface, the third-party plug-in Echarts is introduced into the HTML static structure. The plug-in Echarts can realize the drawing of dynamic charts and is completely open source and free of charge. The specific process is as follows: Insert the JS file of the plug-in Echarts in the HTML program, and specify the file path of the plug-in Echarts; then add a container for the dynamic chart; finally, the corresponding chart components are imported, and modules of various functional styles are added according to the different system functions.

Monitoring system test and experiment
The above has completed the analysis and system design of the loom monitoring system, as well as the development and construction of related software and hardware. This section will test and experiment on the monitoring system.

Wireless module communication test
To test whether the ESP8266 wireless module can complete the normal networking work, the main control module is connected to the wireless module to test the network connection. This module is used as a TCP client in the entire remote system.
The wireless module is first connected to the field router and then connected to the cloud platform TCP server through the Internet to complete the wireless transmission from the industrial field to the cloud platform. Therefore, you can check whether the wireless module is connected successfully through the management system of the field router. The STA (station) connection list is shown in Fig. 16. The unique MAC address of the wireless module in the list proves that the wireless module has completed the connection with the router.
The experiment above proves that the hardware circuit and software driver of the wireless module can communicate with the Internet. Due to the interference of many factors, the actual effective transmission distance of the wireless module can only be determined through actual experiments. In the factory, the effective transmission distance is determined by adjusting the position of the router. In the end, the actual effective transmission distance of the router is found to be about 185 m through the test. If the transmission distance of the wireless module exceeds 150 m, data packet loss will occur. Therefore, the actual effective transmission distance is about 150 m. This distance can fully meet the actual needs of textile factories.

Field touch screen test
To avoid the damage caused by the uncertainty of the experiment to the operation of the loom, it is necessary to establish a simple interface to test the read and write data of the control system. Add 4 test data in the driver: 1201, The number in the holding register 5 is successfully written. The test proves that the field system can realize data interaction with the control system. After ensuring the safe storage of data and being able to be queried by users, system testing of the touch screen can be carried out. The login interface displayed by default when the system is powered on is shown in Fig. 18. The user clicks "Please log in here" to automatically pop up the user login interface. The MCGS Pro configuration software divides the user authority into two groups: loom enterprise and operator. Loom enterprises have the highest authority to access all functional areas for operation.
When the user successfully logs in and enters the system, it will enter the condition monitoring interface by default as shown in Fig. 19. The condition monitoring interface design is divided into three parts. The upper part mainly displays the seven function buttons of set parameter, design color, signal, alarm, repair, statistical, and assist center. The middle part shows speed, weft density, angle position, loom condition, set tension, effective tension, driving time, current team. In addition, click the tension curve button to understand the amplitude of tension fluctuation and the law of change. It can be seen from Fig. 20 that the red curve represents the set tension, the black represents the real-time tension, and the blue represents the effective tension; the tension value set by this system is 110 kg, and the realtime tension value and effective tension value fluctuate around the set tension value, which can be used to monitor tension changes. The bottom part is the alarm scroll bar for fault alarm.  This subject divides the parameter setting into six parts according to different processes, which are the color selection dobby setting, the let-off and take-up setting, the start-stop setting, adjust tension parameter setting, and the weft seeking setting. Take the adjust tension parameter setting interface as an example to introduce the design of the parameter setting interface, as shown in Fig. 21. During the operation of the loom, the cloth surface tension fluctuates due to the movement of the mechanical structure of the equipment. Therefore, it is necessary to adjust the cloth surface tension through the two servo motors of let-off and take-up to maintain the stability of the cloth surface tension. Use the PID algorithm to realize the real-time adjustment of tension to keep the cloth surface tension stable. The adjust tension parameter setting interface is mainly for setting various parameters in the tension adjustment process. These parameters mainly include set tension, actual tension, effective tension, maximum tension, minimum tension, sampling advance angle, sampling lag angle, the related parameters of the PID algorithm. The effective tension value refers to the average value of the tension value sampled multiple times in the range of the tension sampling angle. In addition, to  facilitate debugging, control buttons such as unwinding, tightening, loosening, and tightening have been added to the page. Click the design color button to enter the design color interface as shown in Fig. 22. Usually, the design color is designed on the PC side with special design editing software. After the design is completed, the design color program is written into the control system through the U disk. However, in the actual operation of the industrial field, it is necessary to set the pattern with a shorter number of lines through the field interface. In the design color interface, you can set 20 dobby arms, 8 color selections, weft density, and stop warping. Each line in the interface represents the 32-bit data of one weft suit. Each square represents a character. The background color of the square represents 0 or 1, white represents a bit of data is 0, and the opposite is 1.
After finishing the color setting, use the equipment command function provided by the configuration software and other system functions to design the corresponding strategy script, and finally realize the writing of color data.
In the loom control system, it is necessary to monitor multiple controlled objects and multiple sensor signals. Figure 23 shows the signal monitoring interface. This interface covers 20 heald frames, 8 color selections, 4 signal indicators, and other signal information. Because each sensor of the loom needs to be verified during system debugging and maintenance, the corresponding sensor signal needs to be shielded during this process. Therefore, a signal shielding interface is also designed, as shown in Fig. 24.
Other interfaces are some system function interfaces, such as logout, alarm log, and production statistics. The logout function is realized by writing the script function of the MCGS Pro configuration software. After clicking the logout button, the system will automatically log out and restore to the login interface. Whenever the equipment fails, the filed system not only provides a fault alarm but also records the fault information in an alarm log. The fault information is recorded through the alarm browsing component of the MCGS Pro configuration software. The production statistics interface mainly includes the team switching, the production output statistics of each shift, the working hour statistics.

Remote server test
The cloud platform plays the role of storing, converting, and calculating the operating data transmitted by the on-site wireless module through the Internet. The debugging assistant sends a set of random data to the cloud platform, and the server can print this set of data, as shown in Fig. 25. This indicates that the data can be transferred and compiled into key-value keys, which are stored in the Redis database. Therefore, it is ensured that the data is stored safely and can be queried by the user.

Remote client test
The client of the remote monitoring system has similar functions with the filed MCGS configuration screen interface. Take the multi-machine management interface as an example to show the use effect. In this management interface, you can browse the important operating parameters of each loom, such as the current status of the loom, production information, and fault information. Figure 26 shows the operation of three looms in the workshop to help users understand the real-time operation status of each loom equipment. In addition to the above function interface, there are user information interface, system introduction interface, multi-machine management interface, and singlemachine management interface. When the user forgets the password or changes personal information, the user information interface can be used to view the personal information of the logged-in user, change the password, log out, and other functions. If the user does not use some functions of the system, the system introduction interface can view the system introduction to help users quickly understand the use of the system. When the user wants to set the process parameters of a loom, he can enter the single-machine operation interface. These interfaces are functionally similar to those of field systems and will not be described in detail here.

Conclusion
In order to solve the problems of the traditional system, such as lack of remote interaction mode, single function and limited access location, the loom monitoring system is improved in this paper. The traditional touch screen operation is transformed into a full-featured touch screen interface in the industrial field, and the remote interaction mode with cloud platform as the server is added. This not only simplifies the complexity of the operation but also meets the needs of staff in different positions.
Author contributions All authors contributed to the study conception and design. Project administration and supervision were performed by YX. Methodology, validation, writing-original draft, and supervision were performed by YT. Formal analysis and investigation were performed by KW. Resources were performed by WZ. Software was provided by NG. Review was performed by WL. All authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Data availability
The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.

Conflict of interest
On behalf of all authors, the corresponding author states that there is no conflict of interest. The authors have no relevant financial or non-financial interests to disclose.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/.