Intelligent Control System in Desert Areas Based on Photovoltaic Microgrid Power Supply

With the advent of the global energy crisis, the use of sustainable green energy has become more and more widespread and the utilization rate of photovoltaic industry in high-altitude desert areas is getting higher and higher. ,is article mainly studies the intelligent control system in desert area based on photovoltaic microgrid power supply. ,e system uses shielded twisted pair to transmit signals, and electrostatic interference and electromagnetic induction interference are effectively suppressed. After ensuring that the encoder feedback is correct and the motor movement direction is consistent with the command direction and the safety of the movement stroke, the PID parameters of the motor are tuned in PAMCturningpro. For the performance test of this system, the design and implementation of the test plan should be carried out according to the concurrent support target and response time target proposed in the performance analysis of the system. Concurrent users use the LoadRunner tool to create the customer test machine to simulate the concurrent access and operation of the system. In each iteration process, the test results are recorded in the same way as the benchmark test and finally the system can still achieve the expected performance when the actual concurrency reaches the limit of 5007. ,e results show that the intelligent control system in this paper has the advantages of low cost, convenient operation, perfect function, high precision, stable and reliable operation, etc. and has good practical value.


Introduction
e traditional photovoltaic power supply is an uncontrollable unit on the grid side, and the output disturbance directly affects the grid, so it is unable to maximize the use of solar energy. If you want to ensure a constant power output, you need to be equipped with a large capacity energy storage device, but its economy is unreasonable. However, the photovoltaic power supply system in the microgrid is controllable for the grid, which can realize the two-way flow of power and make the control more flexible.
Microgrid can not only be integrated into the large power grid but also be operated off the grid and can realize seamless switching between the two states. For the large power grid, the microgrid will be a variety of renewable energy distributed generation which is not easy to control to form a schedulable system; for users, the microgrid can meet its diverse and high reliability power demand. erefore, this paper studies the control strategy of photovoltaic power supply system in microgrid, which has practical significance to promote the use efficiency of renewable energy and solve the problem of nonrenewable energy shortage.
In recent years, with the continuous expansion of power system capacity, the continuous improvement of voltage levels, and the increasing requirements of users for power supply reliability, people's requirements for conditional maintenance of transformers are becoming more and more urgent. Kumar PM believes that vehicles on the vehicle Internet can communicate with each other to determine the status of roads and vehicles in real time. ese parameters are used to estimate the average speed and determine the best route to the destination. However, the government transportation department is unable to use these valuable traffic data, causing more traffic congestion and traffic accidents. To solve this problem, he proposed an effective traffic control system based on IoV technology. He applied the ant colony algorithm to each map to find the optimal path. In addition, he also proposed a traffic intensity calculation function based on fuzzy logic to model high-volume traffic. He compared the proposed IoV-based path selection algorithm with the existing Dijkstra algorithm, Kruskal algorithm, and Prim algorithm. Although his algorithm is more effective, it lacks specific research data [1]. Liu et al. believe that solar photovoltaic power generation is a promising alternative method of power supply for buildings, which dominates most urban areas. ey classified the research progress of photovoltaic integrated electric energy storage technology into mechanical, electrochemical, and electric energy storage types and analyzed it from the aspects of technology, economy, and environment. In addition, based on the adopted optimization criteria, they analyzed and discussed extensive research on hybrid photovoltaic energy storage systems to improve their application prospects in buildings. Although their research content provides clear guidance for further research in related fields, it lacks specific practical steps [2]. Roy Ghatak believes that, in the context of global warming, deregulation of the energy market, and substantial load growth, the distribution network needs a complete set of strategies to maintain the reliability and efficiency of power supply. He believes that combining solar photovoltaic power generation (PV) systems and battery energy storage (BS) with distributed static compensators (DSTATCOM) is an effective and practical method to alleviate power quality and reliability problems. He proposed a comprehensive strategic model to optimize the deployment of photovoltaics, base stations, and DSTATCOM to maximize the voltage profile, reliability, and economic and ecological benefits of the network. He proposed a new type of accurate voltage distribution improvement index and network voltage distribution improvement index. He proposed the use of benefit-cost ratio and environmental benefit index to quantify economic and environmental benefits. Although his research has certain reference value, it is not innovative enough [3].
is paper establishes a cost equation based on the overall demand. e simulation results in this paper provide a reliable theoretical basis for the subsequent parameter prediction and analysis. e maintenance strategy based on the results of the status evaluation can improve the rationality of the equipment maintenance cycle through a comprehensive analysis of the equipment operating status and overcome the blindness and rigidity of the previous regular maintenance.

Photovoltaic Microgrid Power Supply.
Photovoltaic panel is a kind of semiconductor device with silicon as the main material. When sunlight of appropriate intensity shines on the surface of the solar panel, the energy is absorbed by the solar panel to generate electricity. In the microgrid, the main power supply is the energy storage devices of small units with power electronic interface, such as microgas turbine, fuel cell, photovoltaic cell, small wind turbine, supercapacitor, flywheel, and battery. In this paper, the microgrid power supply is used as photovoltaic cells. It can not only reliably supply power to local load but also be integrated into large power grid. Generally, photovoltaic panels are connected through a certain series and parallel circuit to form a photovoltaic array combination [4]. e expression for manually adjusting the loss weight λ k is as follows: Here, δ k (·) represents the relative decline rate of the loss of task k, t is the training iteration algebra, and T represents the softness factor that controls the weight of the task [5].
At sampling time k, the output of the discrete PID controller can be expressed as follows: Here, u PID (k) is the output of the PID controller at time k and e(k) � y sp − y(k) is the error at time k [6].
Assume that the three parameters K p , K i , and K d , respectively, represent the proportional, integral, and derivative gains of the PID. e range of variation of K p and K D is [K P,min , K P,max ] and [K D,min , K D,max ], which can be determined by experience or experiment [7]. rough the following linear transformation, the normalization becomes the parameters K P ′ and K d ′ between 0 and 1: e integration time constant is determined by the differential time constant: e integral gain is calculated by the following formula: When the DMA output completion interrupt is generated, that is, the ADC has completed the data sampling of 1 signal cycle, it first extracts the discrete data of ten channels from the DMA storage area [8]. Here is a single-phase AC signal voltage signal and current signal as an example, 2 Mobile Information Systems assuming that the discrete voltage signal and discrete current signal are, respectively, U n [n] � u 0 , u 1 , u 2 , . . . , u n , First, subtract the quantized values u D and i D of the DC part of the signal and get the new signal as e valid values of ADC pin signal are U rms and I rms [9].
e physical object of the multifunction measurement and control box is shown in Figure 1. e signal acquisition circuit is mainly responsible for the acquisition of the voltage and current signals of the electrical circuit, so that the main control chip can perform analysis and calculation. e main function of the clock circuit module is to provide an accurate time for the system to facilitate accurate real-time monitoring and measurement. Because the multifunction measurement and control box continuously collect various electricity consumption circuits in a polling manner, the obtained data must be stored in a relatively large space. e main purpose of the electrical parameter display module is to display the electrical parameters collected and calculated by the multifunction measurement and control box to facilitate the observation of data [10,11]. e voltage sampling circuit is shown in Figure 2. If the voltage at the input end of the transformer is 220 V, because the resistance of the primary side is connected in series by a sliding rheostat and two 100k parallel resistors, when the potentiometer adjusts when the resistance value of the primary side becomes 55k, the current of the primary side of the voltage transformer can reach 4 mA [12]. e masterslave control strategy is mainly used in islanding operation of microgrid. When grid connected, the overall capacity of the microgrid is smaller than that of the grid, the grid can stabilize the frequency of the system, and the microgrid does not need to adjust the frequency and only needs to output the specified active power and reactive power; when the islanding mode is running, the master control unit of the master-slave control system adopts V/F control to maintain the constant voltage and frequency of the system.

Intelligent Control System for Testing Equipment in Desert
Areas. In the desert irrigation microgrid system, the hybrid energy storage device controlled by the energy management system can adjust the energy of the system according to the needs of the system at different times. When the load is in urgent need of power supplementation and the wind and photovoltaic power generation units cannot meet the power output, due to the high power density and fast response speed of the supercapacitor, the supercapacitor can be controlled to give priority to the load by adjusting the converter [13]. When the load in the microgrid changes, the main control source first automatically adjusts the output current according to the load change to make the output power increase or decrease; at the same time, it detects and calculates the change of its own power and adjusts the output value of other subordinate systems according to the available capacity of the existing generation unit to make their output power change; when the output power of other slave systems increases, the output of the master control source decreases accordingly, so that the master control source always has enough capacity to adjust the change of instantaneous power [14,15]. e physical structure of the system is shown in Figure 3. e physical topology of the system is designed according to the actual deployment situation. Based on the internal resource status of a power company, the B/S-based Web service distributed architecture is specifically adopted, including system end users such as power equipment users and maintenance personnel (collectively referred to as equipment operation monitoring personnel); data management personnel use the business communication network and the system Web server to establish communication to realize the status view of the power equipment, maintenance, and fault management operations. At the same time, the APP terminal in the system uses the mobile terminal interactive interface to realize data query. System server includes web server, data server, and monitoring database server, and all service resources are stored in Aliyun space [16]. e monitoring data of each power equipment is saved in the SCADA system database, and the data saved in the SCADA system database is structured data [17].
As the output power of photovoltaic power generation and wind power generation fluctuates with the changes of light intensity, temperature, wind speed, and other factors, it is impossible to control its maximum power output, so this kind of power supply is uncontrollable. It belongs to controllable power supply (such as flywheel), energy storage system, etc. Because the controllable power supply cannot use renewable energy, the output power of microgrid should Mobile Information Systems be reduced as much as possible to make full use of renewable energy on the premise of ensuring the qualified power quality of microgrid [18,19]. e staff here use the master control computer to complete various required operations and are equipped with a printer, which can print relevant reports at any time, and can display the data of each collection point in real time through the LCD. e concentrator summarizes the information uploaded by the various measurement and control points of the whole school and uploads it to the server through the local area network. At the same time, the various commands downloaded from the master control computer are transmitted to the metering control cabinet through Ethernet/GSM, and the master control computer and the acquisition control unit completed communication and data transmission [20].
Using transformer isolation on the one hand improves the security of the system and, on the other hand, ensures that the photovoltaic power generation system will not inject DC components into the grid, effectively preventing the saturation of distribution transformers in the grid. However, the power frequency transformer is bulky and heavy, accounting for about 50% of the total weight, which makes the overall size of the inverter larger. In addition, the power frequency transformer increases the system loss, noise, cost, and the difficulty of transportation and installation [21]. As the training progresses, some auxiliary tasks no longer have a positive impact on the main task after reaching the highest performance. In moment distance or low baud rate wave data transmission, terminal matching resistance is not required; that is, generally below 300 meters, 19200 bps does not need terminal matching resistance. e terminal matching resistor is installed at the two end points of the RS-485 transmission network and connected in parallel between the AB pins [22].

Development Platform.
e local gateway hardware development platform is equipped with Samsung S5PV210 processor, which uses ARMCortexTM-A8 architecture and ARMV7 instruction set. For software development based on the Android operating system, Linux device drivers should first be written as needed. e device driver completes the initialization of the hardware and other operations. After the device driver file is successfully compiled, it is suffixed with ko. After the writing is completed, the device driver file is loaded in the form of a kernel module. In the Linux kernel, and make device file in the Linux kernel [23,24].

Antijamming Design.
Using shielded twisted pair to transmit signals, electrostatic interference and electromagnetic induction interference are effectively suppressed. e signal wires between the power supply module and the monitoring unit are all twisted-pair shielded wires. In addition, a shielding net can be added between the power supply module and the monitoring module to reduce the radiation interference of the power supply module to the monitoring unit [25].

PMU Test.
At room temperature, use Datalog to connect five 2 kW low-power single-phase inverters, and use DC source Chroma6260 to simulate photovoltaic modules to provide DC input to the inverter, and the AC output of the inverter is directly connected to the laboratory grid [26].

Motor Trajectory Planning Experiment.
After ensuring that the encoder feedback is correct, the motor movement direction is consistent with the command direction and the safety of the movement stroke, the PID parameters of the motor are tuned in PAMCturningpro. Set the gain K p , the differential constant K d , the integral constant K i , the velocity feedforward K vff , and the acceleration feedforward K aff to zero. In the step response test, adjust the parameter values of K p , K d , and K i , so that the motor has a fast response to the step response and lower damping and steady-state error.

System
Debugging. When collecting the working voltage and current of the photovoltaic power station, due to the interference of the environment and system circuit noise, and because the Hall sensor for current collection is very sensitive, the monitored data and the actual data will have a certain degree of deviation. Photovoltaic inverter works in high-frequency mode, its high switching frequency will produce harmonic pollution to the power grid, and its output current will produce serious harmonic pollution to the power grid. In microgrid system, photovoltaic power interface inverter is an important connection module between microgrid and high voltage grid, which can convert DC power from photovoltaic power into AC power or provide energy for local load. In order to eliminate the interference noise on the monitoring signal, an RC low-pass filter is added to the appropriate part of the circuit to effectively suppress high-frequency differential mode. e signal interference is evenly distributed in the layout of the circuit and the components [27].

Performance Benchmarking.
For the performance test of this system, the design and implementation of the test plan should be carried out according to the concurrent support target and response time target proposed in the performance analysis of the system. Concurrent users use the LoadRunner tool to create in the customer test machine to simulate the concurrent access and operation of the system. At the same time, the performance monitoring points of the system performance test select 4 functions that can represent the actual performance of the system as specific test scenarios, which are the parameter setting and data collection processing in the monitoring data acquisition module of the system, and the Web operation monitoring terminal module which are the parameter setting and data collection and processing in the system monitoring data acquisition module, the Web operation monitoring terminal module, the monitoring data analysis and algorithm processing functions, and the APP management function module [28].

Performance Test
Results. In the test, the limit test is also tested based on the LoadRunner tool. e specific test method of the limit test is to select some representative functions from the functional system of the system, use the test case scripts of these functions, and use the LoadRunner tool as a concurrent simulation tool to continuously iteratively boost the server side of the system in the test environment. Check the actual performance of the system. e system limit test results are shown in Table 1. rough regression iteration, the performance test is performed on each different limit point. With the continuous increase of concurrency, the number of regression iterations also increases. In each iteration process, the test results are recorded in the same way as the benchmark test, and finally the system can still achieve the expected performance when the actual concurrency reaches the limit of 5007.
e changes of various data of photovoltaic modules in a day over time are shown in Figure 4. e output power of the photovoltaic module is proportional to the daily ambient temperature and the intensity of the light irradiated on the surface of the photovoltaic module; that is, when the temperature and light intensity are large, the output power of the photovoltaic module is also large; when the temperature and light intensity gradually change when it is small, the output power also decreases. e comparison of the data collected by the monitoring system and the actual value is shown in Table 2. e absolute value of the error between the voltage and current measured value and the actual value of the photovoltaic module collected by the monitoring system is less than 3%, and the absolute value of the error becomes smaller as the voltage and current value gradually increase. e comparison of the test results is shown in Table 3. rough the ledger record and real-time collection of each possible fault status of the transformer, with the ESN intelligent analysis method, the analysis result can be automatically given by the detection system, and the intelligent detection of the status of the transformer, the core power equipment of the substation, is realized. It can be seen from the detection results that the accuracy of the intelligent detection system in this paper can reach 100%, which is far higher than the accuracy of manual detection; the detection speed in this paper is 1.25 minutes, while the manual detection speed is 35.58 minutes. erefore, the intelligent detection system in this article has a very good application effect.

Intelligent Test Results.
e power generation of photovoltaic modules in a day under different weather conditions is shown in Figure 5. It can be seen from the curve that, under good sunshine conditions, the power generation increases rapidly, which is significantly better than that under insufficient sunshine conditions. Under insufficient sunshine weather, the cumulative power generation of photovoltaic modules increases slowly and the value is small [29].
Mobile Information Systems e voltage test result is shown in Figure 6. Because the accuracy of the voltage measurement is required to be within 0.5%, because the peak voltage is within the 0-500 V measurement range, the maximum absolute error is less than 2.5 V, and the Fluke5502 A calibrator used in this experiment outputs the effective value of the voltage, and the maximum absolute error should be less than 1.77 V. It can be observed from the figure that the maximum absolute error of current measurement is 1.5 V, and the relative error of each group of data is less than 0.5%.
In this system, the protocol to realize certain functions needs to be written according to the frame format of table.
When the upper computer issues commands, it is necessary to transfer information to its command receiver according to the defined protocol into a series of binary codes. When the other party receives the information, it first decodes it according to the protocol, then performs corresponding operation according to the content of the information, and transmits the corresponding response frame to the sender of the command in the same way, and then the requesting party of the command interprets the corresponding answer frame, thus completing the whole process. e voltage of DC bus without energy storage device and energy storage device in microgrid is shown in Figure 7. It can be seen from the figure analysis that when the microgrid system does not have energy storage device, the output fluctuates due to the weather conditions of the power generation unit, which leads to the change of DC bus voltage. With   presynchronization control, the frequency fluctuation of the microgrid can be stable within ±0.5 Hz, and the voltage amplitude fluctuation can be stable within ±5% of its rated voltage. All meet the requirements of stable operation of microgrid. erefore, the simulation results verify the correctness and effectiveness of the presynchronization switching control strategy. e working status of the converter on the day to be verified is shown in Table 4. It can be seen from the table that the AC and DC converters were switched on and off for 5 times on that day, and the total grid-connected time on the DC side was 5 hours and 26 minutes. Obviously, the traditional coordination strategy of the green energy building power supply system applied the traditional coordination strategy to the number of impacts on the AC measurement and even the AC power grid. Energy pollution takes a long time. At the same time, the energy storage system is in a constant current shutdown state within 5 hours and 26 minutes. Part of the electrical energy generated by photovoltaics is transmitted to the AC measurement and feedback to the AC grid, which causes a waste of photovoltaic output power during the day. Due to the active switching based on prediction, the charge of the battery can be adjusted in advance, so that the number of switching on and off during the day on the day to be verified is reduced from 5 times to once at 18:00, and the grid-connected time of the DC side is 0. It greatly increases the utilization of photovoltaic power on the DC side and at the same time greatly reduces the negative impact of green energy on the large AC grid, including the shock caused by 4 switching times and the power quality impact of more than 5 hours.

System Function Test Results.
e main interface response time of the Web service is shown in Table 5. Since the Web service and the distributed cluster are separated during the system design, it can get a faster response when requesting the Web service. e average response time is 460 ms in the case of 10 concurrencies, and the average response time is 1012 ms in the case of 100 concurrencies. e comparison between the predicted instability trajectory and the actual instability trajectory is shown in Figure 8. e prediction curve can better fit the actual curve.
rough statistics on the prediction results, it can be known that when the time window length is 200-300 ms, the normalized mean square error of the predicted stable trajectory can be controlled within 0.03, and the unstable trajectory can be predicted. e normalized mean square error can be controlled within 0.04. Under a single disturbance, MPPT tracking speed is very fast (about 7 ms) in the start-up stage, and the dynamic performance is very good. e PV current IPV, PV voltage VPV, and photovoltaic power PPV can also achieve stable state after about 7 ms. e system tracks the MPP at the maximum power point with high precision, and there is no oscillation near the maximum power point; that is, the steady-state performance is quite good. e environmental parameter test results are shown in Table 6. e test results show that the information-based intelligent power supply equipment can accurately measure the normal ambient air pressure value. In view of laboratory conditions, it cannot be measured in multiple air pressure ranges. According to the above table, the maximum error of     temperature measurement is 0.7°C, and the maximum error of humidity measurement is 3.3% RH. For humidity measurement performance indicators, therefore, it can be considered that the temperature and humidity measurement results of information-based intelligent power supply equipment basically meet the system performance indicators.

Conclusions
Based on PSCAD platform, the paper designs the AC photovoltaic microgrid with peer control and the optical storage combined AC microgrid with master-slave control. e improved control strategy realizes the stable output of DC voltage and power of photovoltaic inverter in microgrid under networking mode. e output power of photovoltaic inverter in islanding mode can change with the change of load in real time, providing sustainable and reliable power, and meeting the requirements of stable operation of microgrid. e function modules include monitoring data collection, web operation monitoring end, APP end, and data analysis and prediction. In the design of the system, the professional metering chip ATT7022 is used to complete the real-time monitoring of the power information. e control process of microgrid transition from grid connected to off grid is relatively simple. When grid is connected, PQ control is still adopted. rough the final proofreading, the actual measurement results of the system can reach 0.5 s. It can protect the normal use of reasonable electrical appliances and eliminate the potential safety hazard caused by the use of malignant load. According to the characteristics of power grid dispatching and software, the system can achieve the optimal utilization of system performance resources on the premise of ensuring the safe operation of power grid.

Data Availability
No data were used to support this study.

Conflicts of Interest
e authors declare no conflicts of interest.