A wireless signal transmission electric gate based on photovoltaic energy storage and its control method

Through photovoltaic energy storage and intelligent control, the problem of power supply and cleaning of electric gates is solved, wireless power supply and automatic cleaning functions are realized, the installation process is simplified, and the reliability and usage efficiency of the equipment are improved.

CN118547652BActive Publication Date: 2024-09-27JIANGSU TIANHE WATER EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411023075.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-09-27
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

Existing electric gates are troublesome to install outdoors, and foreign objects are easily attached to the gates in the water for a long time, which affects their use. There is a lack of effective cleaning and power supply methods.

Method used

An electric gate with wireless signal transmission based on photovoltaic energy storage is designed. It uses a photosensitive sensor to detect changes in the position of the sun, adjusts the angle of the solar panel through a motor, stores electrical energy and supplies power through wireless signals. At the same time, a cleaning mechanism is set up to use spray cleaning and scraper cleaning. Moss and other foreign matter on the surface of the gate are eliminated, and the installation process is simplified through the embedded mechanism.

Benefits of technology

It realizes wireless power supply, automatically cleans the gate surface, simplifies the installation and use of electric gates, and improves the reliability and efficiency of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118547652B
    Figure CN118547652B
Patent Text Reader

Abstract

The present invention discloses a wireless signal transmission electric gate based on photovoltaic energy storage and a control method thereof. The present invention relates to the technical field of electric gates, and comprises a mounting frame and a photovoltaic energy storage mechanism arranged on the upper left side thereof. Cleaning mechanisms are arranged on both the front and rear sides of the mounting frame, and pre-buried mechanisms are arranged on both the left and right sides of the mounting frame. The advantages of the present invention are that when the photovoltaic energy storage mechanism is arranged, the light intensity and angle changes caused by the change of the sun's position can be detected by a photosensitive sensor, and a signal is sent to a controller. The controller calculates the angle or direction that the solar panel needs to be adjusted according to the signal, and sends an instruction to the motor to rotate the corresponding angle, so that the active gear plate drives the driven gear frame to rotate the corresponding angle, so that the solar panel can better absorb solar energy, store it inside the battery, and provide power to the entire electric gate through the socket, which is convenient for outdoor use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric gates, and in particular to a wireless signal transmission electric gate based on photovoltaic energy storage and a control method thereof. Background Art

[0002] Electric gates are installed on the openings of overflow dams, bank spillways, sluice holes, hydraulic tunnels and sluice gates to regulate flow, control upstream and downstream water levels, discharge floods, remove silt or floating objects, etc. They are an important part of hydraulic structures.

[0003] In the prior art, electric gates are often installed outdoors. To obtain electricity, wires need to be pre-buried underground, and then the electric gates can be wired and powered on, which is rather troublesome. At the same time, the gate plates of the electric gates are located in the water for a long time, and a large amount of moss and other foreign matter are easily attached to their surface. If they are not cleaned in time, it will affect the use of the gates. For this reason, we propose an electric gate with wireless signal transmission based on photovoltaic energy storage and a control method thereof. Summary of the invention

[0004] The object of the present invention is to provide a wireless signal transmission electric gate based on photovoltaic energy storage and a control method thereof.

[0005] In order to solve the problems raised in the above background technology, the present invention provides the following technical solutions: a wireless signal transmission electric gate based on photovoltaic energy storage, comprising a mounting frame and a photovoltaic energy storage mechanism arranged on the upper left side thereof, cleaning mechanisms are arranged on both the front and back sides of the mounting frame, and embedded mechanisms are arranged on both the left and right sides of the mounting frame. The photovoltaic energy storage mechanism comprises a mounting platform and a controller, the mounting platform is movably connected to a driving gear plate through a motor, the mounting platform is also movably connected to a driven gear frame through a rotating groove, and a photosensitive light is fixedly installed at the upper end of the driven gear frame near the edge position. The sensor, the driven gear frame is fixedly connected to a junction box through a solar panel, the junction box is fixedly connected to a battery through an inverter, a socket is fixedly installed on the upper end of the battery, the cleaning mechanism includes a fixed frame, a spray frame, a scrubbing plate and a scraper are fixedly installed on the inner side of the fixed frame, the spray frame is movably connected to a weighted sealing plug through a liquid inlet pipe, the liquid inlet pipe is fixedly connected to a cleaning liquid tank through an opening, the embedded mechanism includes a mounting part, the mounting part is movably connected to a sliding plate through a slide groove, and the mounting part is movably connected to the embedded part through a docking rod and a docking groove.

[0006] As a further solution of the present invention: an electric actuator is fixedly installed at the middle position of the upper end of the mounting frame, a lead screw is fixedly installed at the output end of the electric actuator, a gate plate is slidably connected to the outer wall of the lead screw through a nut, a backup power supply is fixedly installed at the upper right end of the mounting frame, and a wireless signal receiving module is arranged in the electric actuator.

[0007] As a further solution of the present invention: the mounting platform is fixedly installed on the upper left side of the mounting frame, a transparent waterproof box is fixedly installed on the surface of the mounting platform near the edge, a mounting groove is opened on the surface of the mounting platform near the left side, the motor is fixedly installed inside the mounting groove, and the driving gear plate is fixedly installed on the output shaft of the motor.

[0008] As a further solution of the present invention: the rotating groove is fixedly installed on the upper surface of the mounting platform near the right side, the bottom of the driven gear frame is rotatably connected to the inside of the rotating groove, and the driven gear frame is meshed with the driving gear plate.

[0009] As a further solution of the present invention: the solar panel is fixedly mounted on the upper surface of the driven gear frame near the front position, the junction box is fixedly mounted on the right side of the solar panel, the battery is fixedly mounted on the surface of the driven gear frame near the back position, the inverter is fixedly mounted on the right end of the battery, the inverter is connected to the junction box through a connecting line, the controller is fixedly mounted on the upper surface of the mounting platform near the upper left position, and the photosensor, motor and controller are connected through PLC control.

[0010] As a further solution of the present invention: the fixing frame is fixedly mounted on the front and back sides of the mounting frame near the two sides, the spray frame is located above the scrubbing plate, and the scrubbing plate is located above the scraper.

[0011] As a further solution of the present invention: an opening is provided inside the spray rack, the liquid inlet pipe is fixedly installed at the middle position of the upper end of the spray rack, the bottom of the liquid inlet pipe is communicated with the opening, the weighted sealing plug is inserted into the inside of the liquid inlet pipe, a connecting piece is fixedly installed on the upper end of the weighted sealing plug, the end of the connecting piece away from the weighted sealing plug is fixedly installed on the nut on the upper end of the gate plate, the opening is provided on the side of the liquid inlet pipe, the liquid outlet pipe of the cleaning liquid tank is fixedly installed in the opening, and the bottom of the cleaning liquid tank is fixedly installed on the upper end of the spray rack.

[0012] As a further solution of the present invention: the slide groove is opened on one side of the mounting part, the sliding plate is slidably connected to the slide groove, the sliding plate is fixedly installed on the side of the mounting frame, the docking rod is fixedly installed on the other side of the mounting part, the docking groove is opened inside the embedded part, the docking rod is inserted into the inside of the docking groove, and reinforcing steel bars are fixedly installed on the outer wall of the embedded part.

[0013] In addition, the present invention also provides a control method for a wireless signal transmission electric gate based on photovoltaic energy storage, comprising the following steps:

[0014] Step 1: When the light sensor detects the change in light intensity and angle caused by the change in the sun's position, it sends a signal to the controller. The controller calculates the angle or direction that the solar panel needs to be adjusted based on the signal, and sends a command to the motor to rotate the corresponding angle, so that the active gear plate drives the driven gear rack to rotate the corresponding angle along the rotating groove. The solar panel absorbs solar energy and converts it into electrical energy, which is output through the junction box. After the inverter converts DC power into AC power, it charges the battery and then supplies power to the socket.

[0015] Step 2: When the gate moves upward along the mounting frame, the weighted sealing plug is pulled out from the inside of the liquid inlet pipe through the connecting piece, so that the cleaning liquid inside the cleaning liquid tank enters the inside of the spray rack from the opening, and then sprays out from the opening to the surface of the gate, and then is scrubbed by the scrubbing plate. Finally, the scrubbed dirt is scraped off by the scraper, and then falls into the water and floats away with the water flow;

[0016] Step 3. Before installing the electric gate, first fix the embedded parts in the foundation and reinforce them with reinforcing steel bars to prevent the embedded parts from moving. When installing the electric gate, first insert the docking rod into the docking groove, then slide the sliding plate of the mounting frame into the inside of the slide groove and seal it to complete the installation of the electric gate.

[0017] By adopting the above technical solution, compared with the prior art, the beneficial effects of the present invention are:

[0018] 1. The photovoltaic energy storage mechanism of the present invention can detect the light intensity and angle changes caused by the change of the sun's position through the photosensitive sensor, and send a signal to the controller. The controller calculates the angle or direction that the solar panel needs to be adjusted according to the signal, and sends a command to the motor to rotate the corresponding angle, so that the active gear plate drives the driven gear rack to rotate the corresponding angle, so that the solar panel can better absorb solar energy, store it in the battery, and provide power to the entire electric gate through the socket, which is convenient for outdoor use;

[0019] 2. The cleaning mechanism of the present invention drives the weighted sealing plug to be pulled out from the liquid inlet pipe when the gate plate rises, so that the cleaning liquid inside the cleaning liquid tank enters the spray frame from the opening, and then sprays out from the opening onto the gate plate. As the gate plate rises, the cleaning liquid sprays all over the gate plate, and then is scrubbed by the scrubbing plate and then scraped off by the scraper plate, so as to clean the surface of the gate plate, thereby preventing a large amount of foreign matter such as moss from being attached to its surface for a long time in the water, which may affect the use of the gate plate.

[0020] 3. The present invention installs the embedded parts in the installation foundation of the electric gate through the embedded mechanism, and stabilizes them through reinforcing steel bars. During the formal installation, the embedded parts are connected to the docking groove through the docking rod, and finally the sliding plate is slidably connected in the slide groove for fixing, which is convenient for the installation of the electric gate. At the same time, the three sides are closely attached to the foundation, and the anti-leakage effect is better;

[0021] 4. The present invention introduces an intelligent tracking algorithm based on reinforcement learning. The controller 613 learns the changes in the sun's trajectory and light intensity, optimizes the angle and direction adjustment of the solar panel 608, and enables the solar panel to obtain the best light energy absorption effect under different weather and lighting conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the overall three-dimensional structure in an embodiment of the present invention;

[0023] Figure 2 It is a schematic diagram of some structures in an embodiment of the present invention;

[0024] Figure 3 This is one of the partial structural schematic diagrams of the photovoltaic energy storage mechanism in an embodiment of the present invention;

[0025] Figure 4 This is a second partial structural diagram of the photovoltaic energy storage mechanism in an embodiment of the present invention;

[0026] Figure 5 An exploded view of a cleaning mechanism in an embodiment of the present invention;

[0027] Figure 6 An exploded view of a portion of the structure of the cleaning mechanism in an embodiment of the present invention;

[0028] Figure 7 An exploded view of the embedded mechanism in the embodiment of the present invention;

[0029] Figure 8 This is a flow chart of the intelligent tracking algorithm in an embodiment of the present invention.

[0030] In the figure: 1, mounting frame; 2, electric actuator; 3, lead screw; 4, gate; 5, backup power supply; 6, photovoltaic energy storage mechanism; 601, mounting platform; 602, mounting slot; 603, rotating slot; 604, motor; 605, driving gear plate; 606, driven gear rack; 607, photosensitive sensor; 608, solar panel; 609, junction box; 610, inverter; 611, battery; 612, socket; 613, controller; 614, transparent waterproof box; 7, cleaning mechanism; 701, fixing frame; 702, spray frame; 703, opening; 704, liquid inlet pipe; 705, opening; 706, weighted sealing plug; 707, connecting piece; 708, cleaning liquid tank; 709, scrubbing plate; 710, scraper; 8, embedded mechanism; 81, mounting piece; 82, slide groove; 83, sliding plate; 84, docking rod; 85, embedded part; 86, docking groove; 87, reinforcing steel bar. DETAILED DESCRIPTION

[0031] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0032] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0033] Please see attached Figure 1 -Attached Figure 7 The present invention provides a wireless signal transmission electric gate based on photovoltaic energy storage, including a mounting frame 1 and a photovoltaic energy storage mechanism 6 arranged on the upper left side thereof, a cleaning mechanism 7 is arranged on both the front and back sides of the mounting frame 1, and a pre-buried mechanism 8 is arranged on both the left and right sides of the mounting frame 1. The photovoltaic energy storage mechanism 6 includes a mounting platform 601 and a controller 613. The mounting platform 601 is movably connected to a driving gear plate 605 through a motor 604. The mounting platform 601 is also movably connected to a driven gear frame 606 through a rotating groove 603. A photosensitive sensor 607 is fixedly installed at the upper end of the driven gear frame 606 near the edge position. The driven gear frame 606 is fixedly connected to a receiving device through a solar panel 608. The wiring box 609 is fixedly connected to a battery 611 through an inverter 610, a socket 612 is fixedly installed on the upper end of the battery 611, the cleaning mechanism 7 includes a fixed frame 701, a spray frame 702, a scrubbing plate 709 and a scraper 710 are fixedly installed on the inner side of the fixed frame 701, the spray frame 702 is movably connected to a weighted sealing plug 706 through a liquid inlet pipe 704, and the liquid inlet pipe 704 is fixedly connected to a cleaning liquid tank 708 through an opening 705, and the embedded mechanism 8 includes a mounting member 81, the mounting member 81 is movably connected to a sliding plate 83 through a slide groove 82, and the mounting member 81 is movably connected to an embedded member 85 through a docking rod 84 and a docking groove 86.

[0034] In one embodiment of the present invention: an electric actuator 2 is fixedly installed at the middle position of the upper end of the mounting frame 1, a lead screw 3 is fixedly installed at the output end of the electric actuator 2, a gate plate 4 is slidably connected to the outer wall of the lead screw 3 through a nut, a backup power supply 5 is fixedly installed at the upper right end of the mounting frame 1, and a wireless signal receiving module is arranged in the electric actuator 2.

[0035] In one embodiment of the present invention: the mounting platform 601 is fixedly installed on the upper left side of the mounting frame 1, a transparent waterproof box 614 is fixedly installed on the surface of the mounting platform 601 near the edge, a mounting groove 602 is opened on the surface of the mounting platform 601 near the left side, the motor 604 is fixedly installed inside the mounting groove 602, and the driving gear plate 605 is fixedly installed on the output shaft of the motor 604.

[0036] In one embodiment of the present invention: the rotating groove 603 is fixedly installed on the upper surface of the mounting platform 601 near the right side, the bottom of the driven gear frame 606 is rotatably connected to the inside of the rotating groove 603, and the driven gear frame 606 is meshed with the driving gear plate 605.

[0037] In one embodiment of the present invention: the solar panel 608 is fixedly mounted on the upper surface of the driven gear frame 606 near the front position, the junction box 609 is fixedly mounted on the right side of the solar panel 608, the battery 611 is fixedly mounted on the surface of the driven gear frame 606 near the back position, the inverter 610 is fixedly mounted on the right end of the battery 611, the inverter 610 is connected to the junction box 609 through a connecting line, the controller 613 is fixedly mounted on the upper surface of the mounting platform 601 near the upper left position, and the photosensor 607, the motor 604 and the controller 613 are connected through PLC control.

[0038] In one embodiment of the present invention: the fixing frame 701 is fixedly mounted on the front and back sides of the mounting frame 1 near both sides, the spray frame 702 is located above the scrubbing plate 709 , and the scrubbing plate 709 is located above the scraper 710 .

[0039] In one embodiment of the present invention: an opening 703 is provided inside the spray frame 702, a liquid inlet pipe 704 is fixedly installed at the middle position of the upper end of the spray frame 702, the bottom of the liquid inlet pipe 704 is connected to the opening 703, a weighted sealing plug 706 is inserted into the inside of the liquid inlet pipe 704, a connecting piece 707 is fixedly installed on the upper end of the weighted sealing plug 706, and the end of the connecting piece 707 away from the weighted sealing plug 706 is fixedly installed on the nut at the upper end of the gate plate 4, an opening 705 is provided on the side of the liquid inlet pipe 704, a liquid outlet pipe of a cleaning liquid tank 708 is fixedly installed in the opening 705, and the bottom of the cleaning liquid tank 708 is fixedly installed on the upper end of the spray frame 702.

[0040] In one embodiment of the present invention: the slide groove 82 is opened on one side of the mounting part 81, the sliding plate 83 is slidably connected to the slide groove 82, the sliding plate 83 is fixedly installed on the side of the mounting frame 1, the docking rod 84 is fixedly installed on the other side of the mounting part 81, the docking groove 86 is opened inside the embedded part 85, the docking rod 84 is inserted into the inside of the docking groove 86, and the outer wall of the embedded part 85 is fixedly installed with a reinforcing steel bar 87.

[0041] Example 1, please refer to the attached Figure 1 -Attached Figure 4 The photosensitive sensor 607 is fixedly installed on the surface of the driven gear frame 606 near the front position, which is consistent with the direction of the solar panel 608. In this way, the light intensity and angle changes sensed by the photosensitive sensor 607 are consistent with those received by the solar panel 608, thereby improving the working efficiency of the solar panel 608.

[0042] Example 2, please refer to the attached Figure 1 -Attached Figure 6 One end of the connecting piece 707 is fixedly mounted on the nut of the gate plate 4, and the other end is fixedly mounted on the weighted sealing plug 706, so that the weighted sealing plug 706 can be plugged in and out without additional power, and can be completed only by lifting and lowering the gate plate 4.

[0043] The present invention also provides a control method for a wireless signal transmission electric gate based on photovoltaic energy storage, comprising the following steps:

[0044] Step 1: When the light sensor 607 detects the change in light intensity and angle caused by the change in the sun's position, it sends a signal to the controller 613. The controller 613 calculates the angle or direction that the solar panel 608 needs to be adjusted according to the signal, and sends a command to the motor 604 to rotate the corresponding angle, so that the driving gear plate 605 drives the driven gear frame 606 to rotate the corresponding angle along the rotating groove 603. The solar panel 608 absorbs solar energy and converts it into electrical energy, which is output through the junction box 609. After the inverter 610 converts the direct current into alternating current, it charges the battery 611 and then supplies power to the socket 612.

[0045] Step 2: When the gate plate 4 moves upward along the mounting frame 1, the weighted sealing plug 706 is pulled out from the inside of the liquid inlet pipe 704 through the connecting piece 707, so that the cleaning liquid in the cleaning liquid tank 708 enters the inside of the spray frame 702 from the opening 705, and then sprays out from the opening 703 to the surface of the gate plate 4, and then is scrubbed by the scrubbing plate 709. Finally, the scrubbed dirt is scraped off by the scraper 710, and then falls into the water and floats away with the water flow;

[0046] Step 3. Before installing the electric gate, first fix the embedded part 85 in the foundation and reinforce it with reinforcing steel bars 87 to prevent the embedded part 85 from moving. When installing the electric gate, first insert the docking rod 84 into the docking groove 86, then slide the sliding plate 83 of the mounting frame 1 into the slide groove 82 for sealing, and the installation of the electric gate is completed.

[0047] Embodiment 3: For step 1 mentioned in embodiment 2, an intelligent tracking algorithm based on reinforcement learning is introduced, and the controller 613 learns the changes in the sun's trajectory and light intensity, and optimizes the angle and direction adjustment of the solar panel 608, so that the solar panel can obtain the best light energy absorption effect under different weather and lighting conditions;

[0048] Step 1: The photosensitive sensor 607 installed on the solar panel collects data on the sun's position, light intensity and angle changes in real time; collects relevant environmental data (weather, temperature, humidity) and transmits data through the Internet of Things device;

[0049] 1.1 Sensor Data

[0050] 1.1.1 Photosensitive sensor 607

[0051] Installation location: The light sensor 607 is installed at the edge of the solar panel 608 to monitor the intensity and angle changes of light in real time;

[0052] Data type collected: The angle of the sun's position in the sky ; Light intensity , measured in lux; the angle at which light hits the solar panel ;

[0053] 1.1.2 Real-time data collection

[0054] The photosensitive sensor 607 collects data every minute and transmits the data to the controller 613 through the wireless module; the data transmission format is ,in is the timestamp;

[0055] 1.2 Environmental data

[0056] 1.2.1 Environmental data collection

[0057] Weather conditions, including sunny, cloudy, and rainy days, obtained through the weather API; ambient temperature , in degrees Celsius ( ) is taken as the unit, obtained through the temperature sensor; ambient humidity , in percentage (%), obtained through the humidity sensor;

[0058] 1.2.2 Data Transmission

[0059] The environmental data is transmitted to the controller 613 through the IoT device (including LoRa module, Wi-Fi module); the data transmission format is ,in is the timestamp;

[0060] Step 2: Remove outliers and noise, fill in missing values; standardize the data to improve the convergence speed and stability of the algorithm;

[0061] 2.1 Data Cleaning

[0062] Remove outliers and noise: Use statistical methods to detect outliers, based on the Z-Score method; the formula is

[0063] ;

[0064] in is the data value, is the mean of the data set, is the standard deviation of the data set; Standardized score ; indicates data points With the mean The distance between For units;

[0065] The specific steps are to calculate each data point ; Set a threshold, and data points exceeding the threshold are considered outliers;

[0066] Noise processing: Use the sliding window average method to smooth the data; the formula is

[0067] ;

[0068] in is the ith data point, is the i-th data point after smoothing;

[0069] Fill missing values: Use linear interpolation to fill missing values; the formula is:

[0070] ;

[0071] in is a missing value, is the valid data point before the missing value, is the valid data point after the missing value, and N is the position of the missing value;

[0072] 2.2 Data Standardization

[0073] use Standardization, the formula is

[0074] ;

[0075] in is the original data, is the mean of the data set, The standard deviation of the data set, is the standardized data;

[0076] Step 3: Choose a suitable reinforcement learning algorithm, such as Deep Q Learning (DQN) and Policy Gradient Algorithm ; Define the state space as a combination of parameters such as the sun's position, light intensity, angle, and weather; define the action space as the adjustment range of the solar panel's angle and direction; design a reward function with the goal of maximizing the amount of light energy absorbed by the solar panel;

[0077] 3.1 Algorithm selection and combination

[0078] Choosing Deep Q-Learning (DQN) and Policy Gradients The two algorithms are used together; DQN is used to make decisions and optimize the angle and direction of the solar panels, and the policy gradient algorithm is used to optimize the decision-making strategy to ensure the best light energy absorption effect under different environmental conditions;

[0079] 3.2 State Space Definition

[0080] The state space contains the following parameters: the angle of the sun's position in the sky ; Light intensity ; In lux; the angle at which light hits the solar panel ; Weather conditions , including sunny, cloudy and rainy days; ambient temperature ; in degrees Celsius ( ) as the unit; ambient humidity ; In percentage (%); then

[0081] ;

[0082] 3.3 Action Space Definition

[0083] Action Space The adjustment range of the solar panel angle and direction:

[0084] Solar panel angle adjustment Used to adjust the elevation angle of the solar panel;

[0085] Solar panel orientation adjustment Used to adjust the azimuth angle of the solar panel;

[0086] ;

[0087] 3.4 Reward Function Design

[0088] Reward Function The goal is to maximize the amount of light energy absorbed by the solar panel, taking into account the energy consumption of adjusting the angle and direction:

[0089] ;

[0090] in It is the light energy absorbed by the solar panel; the unit is watt-hour (Wh); The energy consumed to adjust the angle and direction of the solar panel; the unit is watt-hour (Wh);

[0091] 3.5 Detailed implementation process

[0092] 3.5.1 Deep Q-learning (DQN) algorithm implementation

[0093] Q value update formula:

[0094] ;

[0095] in is the Q value of the current state-action pair, and the parameter is the weight of the neural network ;

[0096] is the learning rate; is the discount factor; is the current reward value; For the next state;

[0097] is the maximum Q value of the next state-action pair, and the parameter is the weight of the target neural network ; Indicates the next state Next, select the action;

[0098] Specific implementation steps: Initialize the parameters of the Q network and the target Q network and ; Collect initial state ; At each time step , do the following:

[0099] Select Action ( - Greedy strategy); perform actions and observe rewards and the next state ; Storage experience ; Randomly sample a mini-batch from the experience pool ; Update Q network parameters ; Regularly update the target Q network parameters ; Where s represents the state stored in the experience pool; Represents the next state stored in the experience pool;

[0100] 3.5.2 Policy Gradient Algorithm Implementation

[0101] Policy gradient update formula:

[0102] ;

[0103] in is the expected return of the strategy; Represents the expected value, which represents the strategy expectations, is the policy function, given the state Select Action The probability of , the parameter is ; is the Q value of the state-action pair; is the gradient symbol;

[0104] Specific implementation steps: Initialize the parameters of the policy network ; Collect initial state ; At each time step t, do the following:

[0105] Select Action , (by strategy Decision); perform actions and observe rewards and the next state ; Storage experience ; Randomly sample a mini-batch from the experience pool ; Calculate policy gradients; Update policy network parameters ;

[0106] 3.6 Improved Deep Q Learning (DQN) Algorithm

[0107] In order to better combine the solar panel angle and direction optimization problem, the deep Q learning algorithm is improved and the following improvements are introduced: Double Q learning is used to solve the over-estimation problem in Q learning; Priority experience replay is used to increase the sampling probability of important experience; Dueling Network Architecture is used to separate the state value function and the advantage function to improve the estimation efficiency; The formula derivation process is as follows:

[0108] 3.6.1 Double Q-Learning

[0109] The purpose of dual Q-learning is to solve the overestimation problem in traditional Q-learning. Two Q-networks are introduced, namely the Q-network and the target Q-network.

[0110] Q value update formula:

[0111] ;

[0112] in are the parameters of the Q network; are the parameters of the target Q network; is the learning rate; is the discount factor; is the current reward value; For the next state; For the status Next, select the action that maximizes the Q value;

[0113] 3.6.2 Prioritize Experience Replay

[0114] Prioritized experience replay improves learning efficiency by increasing the sampling probability of important experiences;

[0115] Sampling probability:

[0116] ;

[0117] in is the sampling probability of sample i; is the priority of sample i; To adjust the parameters of sampling bias; and It represents a sample and samples The weighted priority of control;

[0118] Priority calculation:

[0119] ;

[0120] in is the TD error of sample i; To prevent the constant from being too low in priority;

[0121] 3.6.3Dueling Network Architecture

[0122] Dueling Network Architecture divides Q value into state value function and advantage function;

[0123] Q value decomposition formula:

[0124] ;

[0125] in is the state value function; is the advantage function; is the network parameter; is all possible actions in state s Advantage function The sum of is a normalization factor, where ∣ ∣ represents the number of all possible actions in state s;

[0126] 3.7 Improved Policy Gradient Algorithm

[0127] In combination with the solar panel angle and direction optimization problem in the patent content, the Policy Gradient algorithm is improved with the following improvements: Introducing the Advantage Function Baseline to reduce the variance of the policy gradient;

[0128] 3.7.1 Basic formula of policy gradient

[0129] The goal of the policy gradient is to maximize the expected return of the policy:

[0130] ;

[0131] in Indicates that the parameter is strategy; represents the expected return of the strategy, and the goal is to maximize this value; Represents the expected value, which represents the strategy expectations; represents the total return from time step 0 to time step T;

[0132] Policy gradient formula:

[0133] ;

[0134] in, is the cumulative return starting from time step t , the gradient of the policy , represents the expected return on the strategy parameters The gradient of Indicates the parameters Derivation; Indicates a given state Next select action The logarithmic probability of Represents the discount factor, between 0 and 1, used to measure the importance of future rewards; represents the immediate reward at time step k; Represents the discount factor Promoted to Power;

[0135] 3.7.2 Advantage Function Baseline

[0136] Introduce the advantage function baseline to reduce the variance of the policy gradient:

[0137] ;

[0138] in is the advantage function, representing the action Relative to the state How good or bad is it? is the state-action value function; is the state value function;

[0139] Policy gradient formula with baseline (the meaning of symbols is given above):

[0140] ;

[0141] Step 4: Deploy the trained model in the controller 613 and perform continuous learning and optimization through feedback data from actual operation;

[0142] 4.1 Model Deployment

[0143] Deploy the trained Q network and policy network in the controller 613;

[0144] Real-time sensor data collection: The light sensor 607 collects data on the sun's position, light intensity and angle changes in real time; the environmental sensor collects weather, temperature and humidity data in real time;

[0145] 4.2 Real-time control and feedback

[0146] Real-time sensor data is input into the model: the status of the sensor collected in real time Input into the Q network and policy network to get the optimal action ;

[0147] The controller 613 adjusts the angle and direction of the solar panel 608 in real time according to the actions output by the Q network and the strategy network;

[0148] 4.3 Continuous Learning and Optimization

[0149] Real-time feedback data storage: The controller 613 stores the data of the actual running state, action, reward and next state; continuously updates the experience pool;

[0150] Model update: periodically randomly sample a mini-batch from real-time feedback data , update the model; calculate the real-time TD error and policy gradient, update the parameters of the Q network and policy network; adjust the parameters of the target Q network in real time to ensure the stability and convergence of the model.

[0151] Example 4, please refer to the attached Figure 1 -Attached Figure 7 The reinforcing steel bars 87 are distributed in a circular shape on the outer wall of the embedded part 85, which can make the connection between the embedded part 85 and the foundation more stable and prevent it from detaching outward, ensuring that the mounting part 81 is always perpendicular to the ground, facilitating the installation of the electric gate and avoiding the problem of insufficient installation space caused by the displacement of the mounting part 81 due to the movement of the embedded part 85.

[0152] Specifically, when the light intensity and angle changes caused by the change in the sun's position are detected by the photosensitive sensor 607, a signal is sent to the controller 613. The controller 613 calculates the angle or direction that the solar panel 608 needs to be adjusted based on the signal, and sends a command to the motor 604 to rotate the corresponding angle, so that the active gear plate 605 drives the driven gear rack 606 to rotate the corresponding angle, so that the solar panel 608 can better absorb solar energy, store it inside the battery 611, and provide power to the entire electric gate through the socket 612, which is convenient for outdoor use.

[0153] Specifically, when the gate plate 4 rises, the weighted sealing plug 706 is pulled out from the liquid inlet pipe 704, so that the cleaning liquid inside the cleaning liquid tank 708 enters the spray rack 702 from the opening 705, and then is sprayed onto the gate plate 4 from the opening 703. As the gate plate 4 rises, the cleaning liquid is sprayed all over the gate plate 4, and then is scrubbed by the scrubbing plate 709 and then scraped off by the scraper 710, so as to clean the surface of the gate plate 4 and avoid a large amount of moss and other foreign matter adhering to its surface due to being in water for a long time, which may affect the use of the gate plate 4.

[0154] Specifically, the embedded part 85 is installed in the installation foundation of the electric gate and stabilized by reinforcing steel bars 87. During the formal installation, it is connected to the docking groove 86 through the docking rod 84, and finally the sliding plate 83 is slidably connected in the slide groove 82 for fixing. This facilitates the installation of the electric gate. At the same time, the three sides are in close fit with the foundation, and the leak-proof effect is better.

[0155] Working principle:

[0156] Before installing the electric gate, the embedded part 85 is first fixedly installed in the foundation and reinforced by reinforcing steel bars 87 to prevent the embedded part 85 from moving. When installing the electric gate, the docking rod 84 is first inserted into the docking groove 86, and then the sliding plate 83 of the mounting frame 1 is slidably connected to the inside of the slide groove 82 for sealing. The installation of the electric gate is completed. When the light sensor 607 detects the light intensity and angle changes caused by the change in the position of the sun, a signal is sent to the controller 613. The controller 613 calculates the angle or direction that the solar panel 608 needs to be adjusted according to the signal, and sends a command to the motor 604 to rotate the corresponding angle, so that the active gear plate 605 drives the driven gear frame 6 06 rotates along the rotating groove 603 to a corresponding angle, the solar panel 608 absorbs solar energy and converts it into electrical energy, which is output through the junction box 609, and is converted from direct current to alternating current by the inverter 610 to charge the battery 611, and then supplies power to the socket 612. When the gate plate 4 moves upward along the mounting frame 1, the weighted sealing plug 706 is pulled out from the inside of the liquid inlet pipe 704 through the connecting piece 707, so that the cleaning liquid inside the cleaning liquid tank 708 enters the inside of the spray frame 702 from the opening 705, and then is sprayed from the opening 703 to the surface of the gate plate 4, and then is scrubbed by the scrubbing plate 709. Finally, the scrubbed dirt is scraped off by the scraper 710, and then falls into the water and floats away with the water flow. At this point, the entire work process ends.

[0157] The above-mentioned front, back, left, right, top and bottom are all based on the figures in the specification. Figure 1 As a benchmark, according to the person's observation perspective, the side of the device facing the observer is defined as the front, the left side of the observer is defined as the left, and so on.

[0158] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the scope of protection of the present invention.

[0159] It should be noted that the device structure and the drawings of the present invention mainly describe the principle of the present invention. In terms of the technology of the design principle, the settings of the power mechanism, power supply system and control system of the device are not fully described. On the premise that the technical personnel in this field understand the principle of the above invention, the details of the power mechanism, power supply system and control system can be clearly known. The control method of the application document is automatic control through a controller, and the control circuit of the controller can be realized by simple programming by the technical personnel in this field.

[0160] The standard parts used therein can all be purchased from the market and can be customized according to the instructions and drawings. The specific connection methods of each part adopt conventional means such as mature bolts, rivets, welding, etc. in the prior art. The machinery, parts and equipment all adopt conventional models in the prior art, and the structures and principles of the components known to technical personnel in this field can be known by these technical personnel through technical manuals or through conventional experimental methods.

[0161] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the described embodiments. For those skilled in the art, various changes, modifications, substitutions and variations are made to these embodiments without departing from the principle and spirit of the present invention, and they still fall within the protection scope of the present invention.

Claims

1. A wireless signal transmission electric gate based on photovoltaic energy storage, comprising a mounting frame (1) and a photovoltaic energy storage mechanism (6) arranged on the upper left side thereof, Features: Cleaning mechanisms (7) are provided on both the front and back sides of the mounting frame (1), and pre-embedded mechanisms (8) are provided on both the left and right sides of the mounting frame (1); The photovoltaic energy storage mechanism (6) comprises a mounting platform (601) and a controller (613); the mounting platform (601) is movably connected to a driving gear plate (605) via a motor (604); the mounting platform (601) is also movably connected to a driven gear frame (606) via a rotating groove (603); a photosensitive sensor (607) is fixedly mounted on the upper end of the driven gear frame (606) near an edge position; the driven gear frame (606) is fixedly connected to a junction box (609) via a solar panel (608); the junction box (609) is fixedly connected to a storage battery (611) via an inverter (610); and a socket (612) is fixedly mounted on the upper end of the storage battery (611); The cleaning mechanism (7) comprises a fixed frame (701), a spray frame (702), a scrubbing plate (709) and a scraper (710) are fixedly mounted on the inner side of the fixed frame (701), the spray frame (702) is movably connected to a weighted sealing plug (706) via a liquid inlet pipe (704), and the liquid inlet pipe (704) is fixedly connected to a cleaning liquid tank (708) via an opening (705); The embedded mechanism (8) comprises a mounting member (81), the mounting member (81) being movably connected to a sliding plate (83) via a sliding groove (82), and the mounting member (81) being movably connected to an embedded member (85) via a docking rod (84) and a docking groove (86); An electric actuator (2) is fixedly mounted at the middle position of the upper end of the mounting frame (1); a lead screw (3) is fixedly mounted at the output end of the electric actuator (2); a gate plate (4) is slidably connected to the outer wall of the lead screw (3) via a nut; a backup power supply (5) is fixedly mounted at the upper right end of the mounting frame (1); and a wireless signal receiving module is arranged inside the electric actuator (2); The rotating groove (603) is fixedly mounted on the upper surface of the mounting platform (601) near the right side, the bottom of the driven gear frame (606) is rotatably connected to the inside of the rotating groove (603), and the driven gear frame (606) is meshed with the driving gear plate (605); The fixing frame (701) is fixedly mounted on the front and back sides of the mounting frame (1) near the two sides, the spray frame (702) is located above the scrubbing plate (709), and the scrubbing plate (709) is located above the scraper (710); The spray rack (702) is provided with an opening (703) inside, the liquid inlet pipe (704) is fixedly mounted at the middle position of the upper end of the spray rack (702), the bottom of the liquid inlet pipe (704) is connected to the opening (703), the weighted sealing plug (706) is inserted into the liquid inlet pipe (704), a connecting piece (707) is fixedly mounted on the upper end of the weighted sealing plug (706), and the end of the connecting piece (707) away from the weighted sealing plug (706) is fixedly mounted on a nut at the upper end of the gate plate (4), the opening (705) is provided on the side of the liquid inlet pipe (704), the liquid outlet pipe of the cleaning liquid tank (708) is fixedly mounted in the opening (705), and the bottom of the cleaning liquid tank (708) is fixedly mounted on the upper end of the spray rack (702).

2. According to claim 1, a wireless signal transmission electric gate based on photovoltaic energy storage, Features: The mounting platform (601) is fixedly mounted on the upper left side of the mounting frame (1); a transparent waterproof box (614) is fixedly mounted on the surface of the mounting platform (601) near the edge; a mounting groove (602) is provided on the surface of the mounting platform (601) near the left side; the motor (604) is fixedly mounted inside the mounting groove (602); and the driving gear plate (605) is fixedly mounted on the output shaft of the motor (604).

3. According to claim 1, a wireless signal transmission electric gate based on photovoltaic energy storage, Features: The solar panel (608) is fixedly mounted on the upper surface of the driven gear frame (606) near the front position, the junction box (609) is fixedly mounted on the right side of the solar panel (608), the storage battery (611) is fixedly mounted on the surface of the driven gear frame (606) near the back position, the inverter (610) is fixedly mounted on the right end of the storage battery (611), the inverter (610) and the junction box (609) are connected via a connecting line, the controller (613) is fixedly mounted on the upper surface of the mounting platform (601) near the upper left position, and the light sensor (607), the motor (604) and the controller (613) are connected via a PLC control.

4. According to claim 1, a wireless signal transmission electric gate based on photovoltaic energy storage, Features: The slide groove (82) is formed on one side of the mounting member (81); the sliding plate (83) is slidably connected to the slide groove (82); the sliding plate (83) is fixedly mounted on the side of the mounting frame (1); the docking rod (84) is fixedly mounted on the other side of the mounting member (81); the docking groove (86) is formed inside the embedded member (85); the docking rod (84) is inserted into the docking groove (86); and a reinforcing steel bar (87) is fixedly mounted on the outer wall of the embedded member (85).

5. A control method for a wireless signal transmission electric gate based on photovoltaic energy storage applicable to any one of claims 1 to 4, Features: The specific steps are as follows: Step 1: When the light sensor (607) detects changes in light intensity and angle caused by changes in the position of the sun, a signal is sent to the controller (613). The controller (613) calculates the angle or direction that the solar panel (608) needs to be adjusted based on the signal, and sends a command to the motor (604) to rotate the corresponding angle, so that the driving gear plate (605) drives the driven gear frame (606) to rotate the corresponding angle along the rotating groove (603). The solar panel (608) absorbs solar energy and converts it into electrical energy, which is output through the junction box (609). After the inverter (610) converts the direct current into alternating current, it charges the battery (611), and then supplies power to the socket (612); Step 2: When the gate plate (4) moves upward along the mounting frame (1), the weighted sealing plug (706) is pulled out from the inside of the liquid inlet pipe (704) through the connecting piece (707), so that the cleaning liquid in the cleaning liquid tank (708) enters the inside of the spray frame (702) from the opening (705), and then sprays out from the opening (703) onto the surface of the gate plate (4), and then is scrubbed by the scrubbing plate (709), and finally the scrubbed dirt is scraped off by the scraper (710), and then falls into the water and floats away with the water flow; Step 3: Before installing the electric gate, the embedded part (85) is first fixedly installed in the foundation and reinforced by reinforcing steel bars (87) to prevent the embedded part (85) from moving. When installing the electric gate, the docking rod (84) is first inserted into the docking groove (86), and then the sliding plate (83) of the mounting frame (1) is slidably connected to the inside of the slide groove (82) and sealed to complete the installation of the electric gate.

6. The control method of wireless signal transmission electric gate based on photovoltaic energy storage according to claim 5, Features: In step 1, the specific process of optimizing the angle or direction that the solar panel (608) needs to be adjusted by using an intelligent algorithm is as follows: Step 1, the adjustment range of the angle and direction of the solar panel Step 1 The photosensitive sensor (607) installed on the solar panel collects data on the position of the sun, light intensity and angle change in real time; the temperature and humidity sensor is used to collect relevant environmental data: temperature and humidity, and the data is transmitted through the Internet of Things device; 1.1 Sensor Data 1.1.1 Photosensitive sensor (607) Installation location: The light sensor (607) is installed on the edge of the solar panel (608) to monitor the intensity and angle changes of light in real time; Data type collected: The angle of the sun's position in the sky ; Light intensity , the angle at which the light hits the solar panel ; 1.1.2 Real-time data collection The light sensor (607) collects data every one minute and transmits the data to the controller (613) via a wireless module. The data transmission format is ,in is the timestamp; 1.2 Environmental data 1.2.1 Environmental data collection Weather conditions, including sunny, cloudy, and rainy days, obtained through the weather API; ambient temperature , obtained through temperature sensor; ambient humidity , in percentage, obtained through the humidity sensor; 1.2.2 Data Transmission The environmental data is transmitted to the controller (613) via the IoT device; the data transmission format is ,in is the timestamp; Step 2: Remove outliers and noise, fill in missing values, and standardize the data to improve the convergence speed and stability of the algorithm; 2.1 Data Cleaning Remove outliers and noise: Use statistical methods to detect outliers, based on the Z-Score method; the formula is ; Where X is the data value, μ is the mean of the data set, and σ is the standard deviation of the data set; Z is the standardized score Z-Score; it represents the distance between the data point X and the mean μ, in units of standard deviation σ; The specific steps are to calculate the Z-Score of each data point; set a threshold, and the data points exceeding the threshold are considered outliers; Noise processing: Use the sliding window average method to smooth the data; the formula is ; in is the ith data point, is the i-th data point after smoothing; Fill missing values: Use linear interpolation to fill missing values; the formula is: ; in is a missing value, is the valid data point before the missing value, is the valid data point after the missing value, and N is the position of the missing value; 2.2 Data Standardization Use Z-Score standardization, the formula is ; Where X is the original data, μ is the mean of the data set, σ is the standard deviation of the data set, is the standardized data; Step 3: Select appropriate reinforcement learning algorithms, such as deep Q learning DQN and policy gradient algorithm PG; define the state space as a combination of sun position, light intensity, angle, and weather parameters; define the action space as the adjustment range of the angle and direction of the solar panel; design a reward function with the goal of maximizing the light energy absorbed by the solar panel; 3.1 Algorithm selection and combination We select deep Q learning (DQN) and policy gradient algorithm for joint application; DQN is used to make decisions and optimize the angle and direction of solar panels, and policy gradient algorithm is used to optimize decision-making strategies to ensure the best light energy absorption effect under different environmental conditions; 3.2 State Space Definition The state space contains the following parameters: the angle of the sun's position in the sky ; Light intensity ; The angle at which light hits the solar panel ; Weather conditions Weather, including sunny, cloudy, rainy; ambient temperature ; Ambient humidity ;but ; 3.3 Action Space Definition Action Space The adjustment range of the solar panel angle and direction: Solar panel angle adjustment Used to adjust the elevation angle of the solar panel; Solar panel orientation adjustment Used to adjust the azimuth angle of the solar panel; ; 3.4 Reward Function Design Reward Function The goal is to maximize the amount of light energy absorbed by the solar panel, taking into account the energy consumption of adjusting the angle and direction: ; in The light energy absorbed by the solar panel; Energy consumed to adjust the angle and direction of solar panels; 3.5 Detailed implementation process 3.5.1 Deep Q Learning DQN Algorithm Implementation Q value update formula: ; in is the Q value of the current state-action pair, the parameter is the weight θ of the neural network; α is the learning rate; γ is the discount factor; is the current reward value; For the next state; is the maximum Q value of the next state-action pair, and the parameter is the weight θ′ of the target neural network; Indicates the next state Next, select the action; Specific implementation steps: Initialize the parameters θ and θ′ of the Q network and the target Q network; collect the initial state ; At each time step t, do the following: Select Action ( - Greedy strategy); perform actions and observe rewards and the next state ; Storage experience ; Randomly sample a mini-batch from the experience pool ; Update Q network parameters θ; Periodically update target Q network parameters θ′; where s represents the state stored in the experience pool; s′ represents the next state stored in the experience pool; 3.5.2 Policy Gradient Algorithm Implementation Policy gradient update formula: ; Where J(θ) is the expected return of the strategy; Represents the expected value, which represents the strategy expectations, is the policy function, given the state Select Action The probability of , the parameter is θ; is the Q value of the state-action pair; is the gradient symbol; Specific implementation steps: Initialize the parameters θ of the strategy network; collect the initial state ; At each time step t, do the following: Select Action , by strategy Decide; perform actions, observe rewards and the next state ; Storage experience ; Randomly sample a mini-batch from the experience pool ; Calculate policy gradient; Update policy network parameters θ; 3.6 Improved Deep Q Learning DQN Algorithm In order to better combine the solar panel angle and direction optimization problem, improve the deep Q learning algorithm, and introduce the following improvements: Double Q learning is used to solve the over-estimation problem in Q learning; Priority experience replay is used to increase the sampling probability of important experience; Dueling Network Architecture is used to separate the state value function and advantage function to improve the estimation efficiency; The formula derivation process is as follows: 3.6.1 Double Q-Learning The purpose of dual Q-learning is to solve the overestimation problem in traditional Q-learning. Two Q-networks are introduced, namely the Q-network and the target Q-network. Q value update formula: ; Where θ is the parameter of the Q network; θ′ is the parameter of the target Q network; α is the learning rate; γ is the discount factor; is the current reward value; For the next state; For the status Next, select the action that maximizes the Q value; 3.6.2 Prioritize Experience Replay Prioritized experience replay improves learning efficiency by increasing the sampling probability of important experiences; Sampling probability: ; in is the sampling probability of sample i; is the priority of sample i; β is the parameter for adjusting the sampling bias; and It represents a sample and samples The weighted priority of control; Priority calculation: ; in is the TD error of sample i; To prevent the constant from being too low in priority; 3.6.3 Dueling Network Architecture Dueling Network Architecture divides Q value into state value function and advantage function; Q value decomposition formula: ; in is the state value function; is the advantage function; θ, α, β are network parameters; is all possible actions in state s Advantage function The sum of is a normalization factor, where ∣ ∣ represents the number of all possible actions in state s; 3.7 Improved Policy Gradient Algorithm 3.7.1 Basic formula of policy gradient The goal of the policy gradient is to maximize the expected return of the policy: ; in represents a policy with parameter θ; represents the expected return of the strategy, and the goal is to maximize this value; Represents the expected value, which represents the strategy expectations; represents the total return from time step 0 to time step T; Policy gradient formula: ; in, is the cumulative return starting from time step t , the gradient of the policy , represents the gradient of expected return with respect to the policy parameter θ; represents the derivative of parameter θ; Indicates a given state Next select action The logarithmic probability of ; γ represents the discount factor, which is between 0 and 1 and is used to measure the importance of future rewards; represents the immediate reward at time step k; Represents the discount factor Promoted to Power; 3.7.2 Advantage Function Baseline Introduce the advantage function baseline to reduce the variance of the policy gradient: ; in is the advantage function, representing the action Relative to the state How good or bad is it? is the state-action value function; is the state value function; Policy gradient formula with baseline: ; Step 4: Deploy the trained model in the controller (613) and perform continuous learning and optimization through feedback data from actual operation; 4.1 Model Deployment Deploy the trained Q network and policy network in the controller (613); Real-time sensor data collection: the light sensor (607) collects data on the sun's position, light intensity and angle changes in real time; the environmental sensor collects weather, temperature and humidity data in real time; 4.2 Real-time control and feedback Real-time sensor data is input into the model: the status of the sensor collected in real time Input into the Q network and policy network to get the optimal action ; The controller (613) adjusts the angle and direction of the solar panel (608) in real time according to the actions output by the Q network and the strategy network; 4.3 Continuous Learning and Optimization Real-time feedback data storage: The controller (613) stores the data of the actual running state, action, reward and next state; and continuously updates the experience pool; Model update: periodically randomly sample a mini-batch from real-time feedback data , update the model; calculate the real-time TD error and policy gradient, update the parameters of the Q network and policy network; adjust the parameters of the target Q network in real time to ensure the stability and convergence of the model.