Design of Multipoint Temperature and Humidity Silverware Forging for Engraving Process Measurement System Based on ZigBee Technology

is paper studies an embedded monitoring system centered on ZigBee technology to realize real-time temperature and humidity monitoring, and to ensure low power consumption, high reliability, low cost, and collection of environmental information. e communication is designed using the star topology, and the whole network structure is composed of a master node and three sensor receiving nodes to realize the unlimited transmission of network data. e main control point is to determine the coordination of the scope of the ZigBee network conguration system. e ZigBee network can communicate with the host through the data port to realize the acceptance of temperature and humidity data and the sending of commands. Based on this research, this paper determines the impact of non-target parameters on the actual measurement data of the multipoint temperature and humidity sensor, and at the same time determines the key inuencing factors. For HMP-45Dmultipoint temperature and humidity, an improved genetic algorithm (GA) combined with a support vector machine (SVM) is used to compensate humidity and temperature data, which is designed to aect the actual measurement error of the multipoint temperature and humidity sensor. is paper studies the silver forging process, compares the environmental factors of silver carving, further puts forward the control strategy of Hagoun product forging and carving environment control from the perspective of temperature and humidity, and designs the environmental temperature and humidity measurement and control system from the perspective of temperature and humidity control. e system design proposed in this paper is mainly to construct and apply the silverware forging and engraving environment temperature and humidity measurement and control system on the basis of integration and maintenance-free and verify the eectiveness and feasibility of the system in the protection of cultural relics.


Introduction
ZigBee technology is widely understood as an energy-ecient network operation and a large-scale wireless communication protocol. We can also use routing methods to establish a theoretically unlimited communication network. ZigBee network technology is more complex and powerful than infrared, Bluetooth, and other network structures. ZigBee is widely used in various production and life elds, such as industrial production, environmental monitoring, commercial automation management, and automotive automation production. e world's leading manufacturers generally pay attention to the development of ZigBee technology and have great con dence in the future of the ZigBee market. At the same time, the ZigBee Technology Alliance is also expanding, cooperating with a number of chip manufacturers and software developers to establish a standardized organization. ZigBee technology is expected to have broader development prospects worldwide.
In this article, we designed a multipoint temperature and humidity measurement terminal, which is the core unit, uses ZigBee technology to implement unlimited communication, and collects multi-channel sensor data from the base station wireless network. e wireless base station control center is equipped with an AT91SAM9263 microprocessor and combined with CC2530. is is a chip-based system that supports ZigBee applications and large SD card memory devices for multi-processor operation. e measurement result is controlled by the low power consumption of MSP430F2618. e core downloads the multifunctional humidity measurement dimension through the CC2530 wireless network module with field measurement, network connection, stability temperature sensor, and HHC2-S humidity sensor. is article introduces a network application program that supports multitasking with the Layer operating system, and the research and development of the ZigBee network based on the Z protocol stack of FA Enterprise.
Finally, through the detailed study of the silver forging process, this paper further expounds its processing technology and characteristics, analyzes the development status of the silver forging process and its application in modern metal technology, and applies ZigBee technology to silver forging and carving environment. e precise control and environmental humidity of the system are designed, and the hardware and software designs of the entire system are introduced in detail. It can be seen that +0.3°C means that the system temperature measurement accuracy can reach the level, and ±1.5% means the humidity measurement accuracy can reach the level. e humidity control accuracy can reach 3%. In addition, the maintenance-free automatic water replenishment function facilitates the temperature and humidity environment of silverware forging and engraving its own products. After experimental testing and field application, the system runs stably and reliably, and the measurement accuracy meets the design requirements.

Related Work
e literature introduces the traditional Gumgang handicrafts and modern hand-painted forgings applied to the craftsmanship and technology restoration and retains the craftsmanship and artistic characteristics of sculptures in some ethnic minority areas in southwest China. As a process of accumulation of cultural origin and experience of hand forging, it supports and promotes the development of hand forging technology. e literature introduces a wireless temperature and humidity monitoring system based on ZigBee technology, which allows temperature and humidity sensor modules to monitor temperature and humidity in real time within the network of the monitoring center; some literature describes the hardware design of the system [1,2]. First, this paper introduced the technical advantages of ZigBee wireless sensors in the network. Based on the advantages of ZigBee, we will explain in detail the overall design of the farm's wireless temperature and humidity monitoring system, including the basic hardware configuration, software flow, and hardware based on ZigBee radio temperature and humidity monitoring [3]. And we create software according to the hardware structure, apply it to the temperature and humidity monitoring of the breeding field, realize the temperature and humidity monitoring of the breeding field, and analyze the experimental results. e literature introduces the star topology network structure and creates a method to improve the accuracy and reliability of the equipment in the software and hardware [4]. Experiments show that the key indicators of the equipment have reached the level of domestic and foreign products [5]. e literature introduces the main design of the single-chip microcomputer, using multiple sensors to collect data of temperature and humidity parameters under the control of the single-chip microcomputer. e system is mainly composed of temperature measurement theory, analog circuit, digital circuit, digital filtering algorithm, and singlechip microcomputer [6].

Model Design of Multipoint Temperature
Based on ZigBee Technology 3.1. ZigBee Technology and Protocol. With the rapid development of semiconductor technology and communication technology in the world today, new short-range wireless communication devices have appeared one after another, and gradually replaced wired devices, occupying most of the market share [7]. In the 21st century, various nontechnologies have been quite mature. Mid-infrared technologies such as Bluetooth technology and radio frequency technology have been widely used in production and life. is technology is a new type of wireless touch network, which is becoming more and more common in low-speed wireless networks. It mainly utilizes the advantages of short distance, low data rate, low power consumption, and low cost, and is used for intelligent control and short distance wireless communication, and can be integrated into general equipment to develop a small and economical wireless sensor network [8]. e traditional ZigBee protocol structure is uniformly regulated by the ZigBee Technology Alliance. Figure 1 shows a block diagram of each layer structure. e functions of data transmission and management tasks in the higher layer of the ZigBee protocol are provided and supported by the lower layer. After years of innovation and years of user practice by the ZigBee Alliance, the topology of the ZigBee network changes every day. Today, the most widely used network topologies in the world include star, mesh, and tree structures.
(1) Type topology: e star topology is the core of the entire network and is generally located in the center of the network. It can establish and maintain the star network in real time. e RFD node is responsible for implementing specific development functions [9]. is device can not only receive the signals obtained from the sensors, but also directly communicate with the coordinator. It is the connection channel between the outside world and the central controller. Of course, the coordinator can also be used on the terminal device, and all data must pass through the coordinator. e star topology is structurally flexible and has poor portability. Each node must be connected to the coordinator, reducing the overall structure of the network [10]. Many endpoint devices are susceptible to network data expectations and other phenomena, leading to serious data loss. Due to structural commonality, if the ZigBee coordinator is abnormal, the entire network cannot continue to operate.
(2) Mesh topology: In contrast, the mesh topology is safer and more reliable. e entire network is usually coordinated by multiple coordinators to form the framework of the network. ey are the same as each other and can transmit data between each node and the coordinator within the range. Each RFD can be used to tune the entire system, but it can only be tuned once [11]. e ownership of the coordinator is regulated by the upper network. Once the coordinator is confirmed, it can manage the functions of the entire network and bind the connection of each device without simply sending other data. e mesh topology provides highly reliable performance and can be automatically created, organized, and self-repaired, so that it can quickly adapt in harsh environments. e path of data transmission is selectable in the network structure, rather than a single one, thus avoiding the possibility of network paralysis [12]. e variable coordinator will increase the time in the data transmission process, and at the same time will increase the network complexity and power consumption.
(3) Tree topology: A group of tree structures can be formed by connecting multiple groups of star combinations. Like the grid structure, the tree nodes are all composed of FFD, and the ownership of the coordinator is determined by the upper network. e end nodes of the network usually use RFD for operation and will also provide FFD under any circumstances [13].

Multipoint Temperature and Humidity Measurement
Technology. e HMP-45D Pt100 Platinum resistance temperature sensor is manufactured by photolithography technology. e metal has high purity, good stability, and good reproducibility, is very sensitive to changes in ambient temperature, and has accurate reproducibility. Its value is 10 −4 . Because of these characteristics, platinum resistors are often used to create laboratory standard equipment for instrument measurement and calibration [14]. e platinum resistance temperature measurement is based on the linear relationship between the platinum resistance conversion amount and the ambient temperature value. e relationship between resistance value and temperature value is reflected in formulas (1) and (2).
(2) e most important parameters of a moderately sensitive capacitive sensor are the capacitance value and quality factor. Among them, the production level is directly determined by the quality of the capacitor. e capacitance value C is obtained by measuring the circuit. In fact, the capacitance change is very small (usually less than 50pF), so the small capacitance value is converted to a voltage value between 0 V and 1 V by a high-frequency conversion circuit. e relationship between the last measured capacitance value and humidity value is corrected. e corresponding relationship between the capacitance value of the humidity-sensitive capacitor and the relative humidity is described in formula (3).
rough the analysis of formula (3), it can be known that the dielectric constant, the effective relative area of the electrode plate, and the film thickness directly determine the capacitance value of the humidity-sensitive capacitor. Similarly, according to the characteristics of the material, temperature changes have little effect on the effective mating area of the storage substrate but have a greater effect on the humidity-sensitive film thickness [15,16]. As the ambient temperature increases, heat will cause the humidity-sensitive film to expand and reduce its capacitance value, but there is a positive correlation between the effective area S and the capacitance value C [17]. In other words, the capacitors that are sensitive to humidity due to temperature changes have different effects, and the inevitable mathematical connection between the two cannot be expressed in the functional relationship [18,19].  Mobile Information Systems e humidity sensor is susceptible to interference from the ambient temperature when measuring relative humidity, and the actual humidity data observed will be displayed in a nonlinear manner. To correct the temperature nonlinear error interference in the observed data value of the humidity sensor, the mathematical model of the humidity sensor is: e inverse function of formula (5) is: Formula (5) shows that relative humidity and ambient temperature are used as model input data to finally eliminate the measurement error caused by temperature t.
Start with limited sample data to obtain the best generalization ability to find the best balance between the complexity of the SVM algorithm and the learning ability. Compared with the empirical risk minimization model, the support vector machine can effectively prevent the local extreme and the "over-learning" state from showing certain advantages [20][21][22].
At the same time, in order to improve the fault tolerance of the support vector machine regression algorithm model, the relaxation factor F i , ξ * i and the penalty factor C are introduced to perform the nonlinear conversion. Equation (6) provides an optimal solution to the problem: Use the Lagrange multiplier to transform it into a dual problem: Solving (7), we get: Finally, the discriminant function is obtained: It can be seen from the above that SVM processes the data in the original sample space and uses the kernel to map it to a higher-dimensional space. e establishment of the classification plane can effectively avoid the disaster of dimensionality. Use the RBF kernel function that obeys the Gaussian distribution, that is When establishing the SVM algorithm compensation model, it is necessary to accurately select the SVM algorithm parameters, but nowadays, the parameters are mainly selected through empirical methods, grid parameter optimization methods, etc. ese parameters cannot guarantee the performance of further optimization. e SVM algorithm compensation model requires in-depth research on the solution of selecting SVM parameters.
In the process of genetic algorithm, the genetic information of each parent tends to be the same, which slows down the speed of genetic evolution or even interrupts the evolution, so that the genetic evolution reaches the local optimal solution. erefore, it is necessary to select the best fitness function, optimize the genetic operator and parameter optimization, and improve the selection of genetic selection, crossover operator, adaptive crossover probability pc, and mutation probability pm. e specific improvements are as follows e fitness function explains the prediction accuracy of the SVM algorithm and determines the direction of the algorithm's development. e specific situation is shown in formula (11): e objective function is: e first is to optimize the genetic operator. At the same time, the operation of the operator is relatively simple, which can better ensure the diversity of population information, so it has been widely used. However, due to the random selection function, the algorithm has selection errors or unnecessary deterioration. erefore, this article introduces the elite storage system and the classified working set into the traditional roulette selection algorithm. First, calculate the physical fitness values of all individuals, classify them from small to large according to their sizes, and then select and save the best individuals with the largest physical fitness values from the previous generation of 5%×n population; perform for the remaining individual's Roulette selection, ensuring individual safety (95% × n − 1), crossover and mutation, to ensure the safety of all individuals in the next generation.
In addition to improving and optimizing genetic operators, it is also necessary to adjust the crossover probability and mutation probability according to the similarity of the parental genetic information. If the personal differences between parents are large, a larger probability of crossover and a smaller probability of change are needed to store good parental information. If the personalized information tends to be consistent, a smaller crossover probability and a higher mutation probability are required to maintain the diversity of demographic information and avoid falling into the regional optimal solution. Based on the individual similarity, crossover, and change probability, when r > r 0 is adjusted, as shown in formulas (13) and (14).

System Energy Consumption
Control. e wireless measurement terminal designed in this paper adopts a specific energy consumption control strategy, which can make the system reduce power consumption. In order to ensure the stable operation of the system, reducing the use of auxiliary power is the basic method to solve the problem of system energy consumption. From the perspective of theoretical analysis, this article discusses how the system effectively uses battery power, balances the overall energy consumption of the control network, and maximizes the system's stable running time.
Based on the modular design of the wireless measurement terminal, the main part of the additional energy consumption in the wireless measurement terminal is the microprocessor module as the wireless communication module and the user interface module. e current running statistics of each module is shown in Figure 2.
Modules with high energy consumption are the main goal of controlling energy consumption. For liquid crystal displays, the steps taken are relatively simple, and program control can save money and make the most of them. After the mechanical interface stops working, by turning off the LCD power supply, the energy consumption of personnel can be reduced. When an operation on the mechanical interface is triggered, a new man-machine interface will be displayed on the LCD display. In order to realize the network communication of the system, energy consumption must be controlled under the premise of ensuring the quality of network communication. We will study and analyze the power consumption of wireless ZigBee networks.
is article uses a simple model to illustrate the energy consumption of wireless communication processing.
Wireless communication includes wireless transmission and wireless reception. Transmission energy consumption includes transmitter energy consumption and drives circuit energy consumption. e transmission distance is the energy loss of the wireless communication module to transmit data between the next two nodes: Generally, the power consumption of the circuit is considered to be the same during transmission and reception. Because the energy consumption coefficients of the radio frequency amplifier are E friss − amp and E two−ray−amp respectively. en, the coefficients of the model are: Because the main source of consumption is the transmission and reception of data. erefore, active energy consumption control is performed during data transmission. rough wireless, reducing power and reducing energy consumption is the most direct and effective control method.
Assuming that the distance between nodes on the communication link of the router is the same as that of the coordinator, and k-bit data is sent to the coordinator at a fixed time interval, the node n farthest from the coordinator is forwarded to the node n − 1 e energy consumption is as follows: In addition to sending k-bit data from node n − 1 to node n − 2, it is also necessary to forward the k-bit data of node n. e energy consumption of node n − 1 is as follows: e energy consumption of the nth node and the mth node in the communication link can be estimated: By comparison, we can see that the energy consumption of the nth node is less than the energy consumption of the first node, and as the depth gradually increases, the difference is more obvious.

Mobile Information Systems
Based on the questions in the previous section, researchers have proposed various measures and methods to improve the life cycle of the network without supplementing energy. is section analyzes, compares, and proposes solutions to control the energy consumption of a single node and the difference in energy consumption between network nodes, and how to optimize energy consumption control strategies. e node residual energy model can be embodied in formula (20): Considering the application of the system, during the measurement process, the nodes will not move their positions after placement, and in most cases, each node will transmit data to the coordinator along a fixed routing path. Each node transmits data at a fixed sampling interval, then: Equation (20) is further changed to

Energy Consumption Simulation.
e simulation result is shown in Figure 3. In the left figure, we can see the simulation results that do not control the energy consumption, the nodes close to the coordination transfer a large amount of data, and the energy consumption is very fast, becoming the first dead node. e picture on the right uses a control strategy based on dynamic coordination. Due to node load distribution, most nodes will consume energy and leave the network until the first dead node appears in about 45,000 seconds. In a relatively short period of time, if the number of remaining nodes is the total number of nodes, the simulation time used by the two methods is similar. e last remaining node is the eccentric end node, because it does not need to transmit data from other nodes and consumes the least energy. e node residual energy analysis calculates the residual energy of all nodes when the network is disconnected. e simulation result is shown in Figure 4. e left picture does not use the energy balance method, so when the first node is displayed, the remaining nodes have more energy and the energy distribution range is larger. e right figure uses a dynamic coordinated control strategy. From the results in the figure, the dynamic adjustment strategy has achieved a better energy balance effect.
rough the above simulation analysis, we can see that the area around the coordinator node in the wireless ZigBee network is the area with the highest energy consumption in the entire network. Nodes in this area need to transmit data from remote nodes. erefore, it consumes the fastest energy. e main function of energy optimization control is to coordinate multipath from energy-intensive domain data to reduce the excessive energy consumption of certain nodes and balance the energy load of the entire network, thereby improving energy efficiency.
e simulation results show that the energy optimization control has a positive influence on the nodes in the energy-intensive area.

Practical Application of Multipoint
Temperature and Engraving Process

Overall Design of Multipoint Temperature and Humidity
Measurement System. e system is mainly used for temperature and humidity measurement and control research. e system uses Palm certified Codewarrior 5.0 development platform. Compared with assembly language, C language has readability, flexibility, efficiency, module design and development, and rich library functions. is system is suitable for project management and multiple management.
System software design mainly includes the following parts: design temperature and humidity acquisition program, design humidity control program, design system communication software, and design human-computer interaction.
e whole system of the system software is shown in Figure 5. Table 1 lists the communication protocol between the single-chip computer and the sensor module.

System Data Collection and Communication.
Serial communication is the basic method for the microprocessor to exchange data with the outside world. Few transmission lines are used for communication connection lines, and binary data sets are transmitted in bit order to share time in the software. MC9S12XS128 has two full- The microprocessor

Measurement circuit
The man-machine interface

Wireless transmitting
The wireless receiving Operating current (mA) Figure 2: Energy consumption of each module of the wireless measurement terminal.
duplex serial communication interfaces SCI. e design uses query mode to enable data transmission and interrupt mode to enable data reception. In order to ensure the integrity and reliability of the communication information, a more stringent communication protocol has been set up for data analysis communication. e specific content is shown in Table 2. e communication protocol format is shown in Table 3. In the second agreement, the sequence of data content is shown in Table 4.
In Article 4 of the agreement, the sequence of data content is shown in Table 5.
All numerical data are represented by high and low bytes.
In the 5th agreement, the data sequence of the temperature and humidity parameters to be set is shown in Table 6.

System Interface Design.
After powering on the system, the "Welcome" interface will be displayed. After about 1 second, it will enter the inspection interface of the system itself to display the operating status of the device, the humidity setting target value, and the upper and lower limits of humidity. After 2S, go to the main data display interface, which displays the latest temperature and humidity data and the current time.   Figure 5: Overall block diagram of system software.   Table 2: Communication protocol between temperature and humidity monitoring system and data analyzer.

Serial number
Character (data packet) Content Direction 1 A (0x41) + instrument address (0x01) + D (0x44) + instruction length (0x03) + data reserved byte (OxAA OxBB) + CRC (IB) 7 bytes in total Intelligent data analysis loads temperature and humidity sensors and device status data into temperature and humidity monitors Intelligent data analyzertemperature and humidity monitor 2 a (0x61) + instrument address (0x01) + d (0x64) + instruction length (OxOB) + data content (10B) + CRC (1B) total 15 bytes e temperature and humidity monitor sends temperature and humidity sensors and device status data to intelligent data analysis Temperature and humidity monitor an intelligent data analyzer 3 A (0x41) + instrument address (0x01) + G (0x47) + instruction length (0x03) + data reserved byte (OxCC OxDD) + CRC (IB) 7 bytes in total Intelligent data analysis can read the current temperature and humidity settings on the temperature and humidity monitor Intelligent data analyzertemperature and humidity monitor 4 a(0x61) + instrument address (0x01) + g (0x67) + instruction length (0x24) + data content (35B) + CRC (1B) 40 bytes in total e temperature and humidity monitor feeds back the current temperature and humidity settings to intelligent data analysis Temperature and humidity monitor-intelligent data analyzer 5 A (0x41) + instrument address (0x01) + S (0x53) + instruction length (OxOF) + temperature and humidity parameters to be set (14B) + CRC (IB) 19 bytes Intelligent data analysis sends the set temperature and humidity parameters to the intelligent temperature and humidity monitor Intelligent data analyzerintelligent temperature and humidity monitor 6 a (0x61) + instrument address (0x01) + s (0x73) + instruction length (0x03) + data content (2B) + CRC (1B) 7 bytes in total e intelligent temperature and humidity monitor can respond to the intelligent data analysis of the successfully set temperature and humidity parameters Intelligent temperature and humidity monitor intelligent data analyzer    When the setting key is pressed from the main LCD display interface, it enters the setting state, initializes the setting data, and then determines the value of the next key. When entering this interface for the first time, the cursor will highlight the first position of the configuration, otherwise the cursor will remain at the last position when exiting the configuration interface last time. e left and right keys are used to change the cursor position, the up and down keys are used to increase or decrease the number, the set key is used to decrease the position bar, and the enter key is used to set the current value. e OK key is used to save the current values, exit the status and position setting interface, and return to the main display interface. Button name and function description are shown in Table 7.

Status Quo of Silver Forging and Engraving Process.
China's Miao, Bai, Tibetan, and other ethnic minorities still use forging and carving techniques.
is minority still maintains traditional handicrafts such as hammering and engraving ,and maintains certain traditional lifestyles and customs of its national culture. Due to the difference in development, we mainly study the hammering and engraving techniques of the Bai and Tibetans.
In addition to preserving and retaining the hammering and engraving techniques of some ethnic minorities, modern folk literature and art are also used for the restoration of handmade jewelry artifacts. e restoration of cultural relics is a very important task of the Archaeological Museum. e metal restoration techniques in the restoration of cultural relics include gold restoration, bronze restoration, and tin restoration. e original production process of cultural relics is mainly used after restoration to ensure the unity and integrity of cultural relics. It is a targeted crafting technique. For traditional Gumgwaung restoration techniques, hammering and engraving techniques are used in museums and archaeological projects. e restoration of cultural relics is diverse, complex, and targeted. erefore, the restoration of cultural relics usually requires the comprehensive use of several technical tools. Cultural relic restoration workers inherit the traditional hammering and engraving techniques so that traditional techniques can reproduce the historical truth. e theme of the development of modern metal craftsmen is to discuss the inheritance of traditional handicrafts and reflect the spirit of the times under contemporary art concepts. Hand forging includes the tradition and history of forging and engraving technology. e origin and development of forging and engraving technology continue to absorb production experience and use manual methods to express the author's creative ideas in the context of the new era. With the development of productivity, technology is constantly updated and improved. It is based on the experience of the predecessors and continues to innovate on this basis. As a new kind of handicraft, hand forging by modern metal craftsmen has special aesthetic importance. Traditional metal crafts often emphasize the beauty of the material itself and the value of the material, especially the artificial products with the greatest function made of the material. As a new kind of artwork, handicrafts may be eliminated, abandon the concept of utilitarianism, focus on pure artistic expression, and have a clearer aesthetic tendency. In the process of constantly seeking modern design, we are committed to expanding the expressive power and charm of metal materials, transcending the functional scope of materials, and giving them more spiritual and cultural meanings.

Conclusion
Since the advent of ZigBee wireless communication technology, it has been receiving extensive attention for its unique features such as simple protocol, low cost, powerful functions, and strong interference capabilities. At the same time, we will gradually expand to other areas, such as automation control. e system uses ZigBee technology to monitor the temperature and humidity of the environment.
is article focuses on the hardware design for the collection and coordination of temperature and humidity data. en, we will use ZigBee technology to develop and implement a star structure topology network with functions such as automatic network, environmental information collection, wireless data transmission, real-time LCD display, and serial data upload. Finally, the demand for network technology is measured based on forging and engraving tests. In addition, based on the rapid development of integrated sensors and wireless sensor technology, a high-precision, networked, on-site, and intelligent wireless temperature, and humidity measurement program was designed. (1) On the monitoring interface, press this key to enter the function setting (2) It is used to jump to the next configuration item in the configuration interface of the function OK Return to the status display interface in the function configuration interface, and complete the confirmation for confirming certain selections LEFT (1) Function configuration interface 1 is used to adjust the position of the selected item (2) e function configuration interface 2 is used to move the position of the selected number to the left RIGNT (1) Function configuration interface 1 is used to adjust the position of the selected item (2) e function configuration interface 2 is used to move the position of the selected number to the right UP e function configuration is used to increase the value of a specific number in interface 2 DOWN e function configuration is used to increase the value of a specific number in interface 2

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.