Traffic signal light system based on cadmium telluride power generation glass and its control method

By introducing cadmium telluride power generation glass, driving components and photon sensors into the signal lamp system, the angle of the power generation glass is automatically adjusted to receive optimal light, which solves the problems of unstable power supply and low energy efficiency of traditional signal lamps, and achieves efficient and stable energy supply and traffic management.

CN119360648BActive Publication Date: 2025-08-05TANGSHAN CHINA RAILWAY IND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411504672.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-26
Publication Date
2025-08-05
Estimated Expiration
2044-10-26

AI Technical Summary

Technical Problem

Traditional signal lights rely on power grids to generate electricity, and it is difficult to operate normally when the power grid fails. The photoelectric conversion rate of cadmium telluride power glass is limited by changes in the sun's ray angle, resulting in a decrease in the energy efficiency of signal lights.

Method used

Cadmium telluride power glass is used to combine inverter, horizontal and vertical driving components and photon sensors to detect the light angle through the photon sensor and generate driving instructions. The angle of the cadmium telluride power glass is automatically adjusted to maximize the sunlight, and combined with virtual models and historical data to optimize the adjustment strategy.

Benefits of technology

The photoelectric conversion rate of cadmium telluride power generation glass is improved, ensuring stable power supply of signal lamps in low-light environments, reducing manual intervention, improving system response speed and accuracy, reducing energy consumption and carbon emissions, and optimizing traffic flow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119360648B_ABST
    Figure CN119360648B_ABST
Patent Text Reader

Abstract

This application relates to a traffic signal light system based on cadmium telluride (CdTe) power-generating glass, belonging to the technical field of solar energy applications. The system comprises: a signal light and CdTe power-generating glass, wherein the CdTe power-generating glass is connected to an inverter and connected to the signal light via the inverter; a mounting bracket mounted on the signal light's light frame, on which the CdTe power-generating glass is mounted, wherein the light frame includes a lateral drive assembly and a vertical drive assembly; a photon sensor mounted on the front of the CdTe power-generating glass for detecting the angle of illumination; and electronic equipment connected to the photon sensor, the lateral drive assembly, and the vertical drive assembly, respectively. Based on the illumination angle transmitted by the photon sensor, the electronic equipment generates a lateral movement instruction and a vertical drive instruction, causing the lateral drive assembly to respond to the lateral drive instruction and the vertical drive assembly to respond to the vertical drive instruction, thereby allowing the front of the CdTe power-generating glass to receive sunlight. This application has the effect of improving the photoelectric conversion efficiency of the CdTe power-generating glass.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of solar energy applications, and in particular to a traffic signal light system based on cadmium telluride power generation glass and a control method thereof. Background Art

[0002] With the rapid development of technology, intelligent transportation has become an integral part of urban modernization. The stable and efficient performance of traffic lights is crucial for smooth and safe traffic. Traditional traffic lights rely on power grids, but grid failures can hinder their operation. Therefore, solar-powered traffic lights are becoming increasingly popular.

[0003] Cadmium telluride (CdTe) is a material with excellent optoelectronic properties. Its bandgap closely matches the terrestrial solar spectrum, and its solar absorption coefficient reaches 10⁵ / cm², 100 times that of silicon. Furthermore, CdTe has a low temperature coefficient and minimal hot spot effect, enabling it to maintain stable power generation performance even in high-temperature environments, making it an ideal material for the absorber layer of solar cells. Therefore, CdTe-based solar panels are high-quality solar panels. Their application in traffic lights can address energy supply limitations and improve their energy efficiency and environmental performance.

[0004] In actual use, the cadmium telluride power generation glass is fixed on the signal light frame. However, the angle of sunlight changes in real time, the photoelectric conversion rate of the cadmium telluride power generation glass is limited, and the energy efficiency of the signal light is reduced. Summary of the Invention

[0005] In order to improve the photoelectric conversion rate of cadmium telluride power generation glass, the present application provides a traffic signal light system based on cadmium telluride power generation glass and a control method thereof.

[0006] In a first aspect, the present application provides a signal light system based on cadmium telluride power generation glass, which adopts the following technical solution:

[0007] A signal lamp and a cadmium telluride power generation glass, wherein the cadmium telluride power generation glass is connected to an inverter and is connected to the signal lamp via the inverter;

[0008] A mounting bracket is mounted on a lamp frame of the signal lamp, and the cadmium telluride power generation glass is mounted on the lamp frame, wherein the lamp frame includes a horizontal drive assembly and a vertical drive assembly;

[0009] A photon sensor is installed on the front of the cadmium telluride power generation glass and is used to detect the angle of light;

[0010] The electronic device is respectively connected to the photon sensor, the lateral drive component and the vertical drive component, and generates a lateral movement instruction and a vertical drive instruction according to the illumination angle sent by the photon sensor, so that the lateral drive component responds to the lateral drive instruction and the vertical drive component responds to the vertical drive instruction, so that the front of the cadmium telluride power generation glass is exposed to sunlight.

[0011] By adopting the above technical solution, cadmium telluride power-generating glass uses cadmium telluride thin film as the photoelectric conversion layer, which can efficiently convert sunlight into electrical energy. Cadmium telluride power-generating glass can maintain a high power generation efficiency even in low-light environments, providing a more stable energy supply for signal lights. The photon sensor installed on the front of the cadmium telluride power-generating glass can monitor the light angle in real time. The electronic equipment generates lateral movement instructions and vertical drive instructions based on the light angle information sent by the photon sensor. The lateral drive component and the vertical drive component respond to these instructions and adjust the angle of the cadmium telluride power-generating glass to ensure that its front always receives sunlight to the maximum extent, thereby improving the photoelectric conversion efficiency, helping to improve energy utilization efficiency, reduce energy consumption and carbon emissions, and promote the development of green buildings and transportation.

[0012] In a second aspect, the present application provides a signal light system control method based on cadmium telluride power generation glass, comprising:

[0013] Get the lighting angle;

[0014] Establishing a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component, and a virtual cadmium telluride power generation glass;

[0015] generating rays in the virtual model that replace the illumination angles;

[0016] Adjusting the virtual lateral drive component and the virtual vertical drive component so that the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0017] Determining the lateral adjustment angle of the virtual lateral drive component and the vertical adjustment angle of the virtual vertical drive component when the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0018] A driving instruction is generated, wherein the driving instruction includes a lateral driving instruction for the lateral adjustment angle and a vertical driving instruction for the vertical adjustment angle.

[0019] By adopting the above technical solution, a virtual model of a signal light system based on cadmium telluride power generation glass is established, and rays representing the angle of illumination are generated in the model. This allows for accurate simulation and adjustment of the angular relationship between illumination and the power generation glass. The virtual lateral drive component and the virtual vertical drive component are adjusted to make the rays perpendicular to the virtual cadmium telluride power generation glass. The actual lateral drive component and the vertical drive component are then adjusted based on the simulation results, ensuring that sunlight strikes the power generation glass at the optimal angle, thereby maximizing its power generation efficiency and achieving automatic adjustment of the signal light system's posture. This not only reduces the need for manual intervention, but also improves the system's response speed and accuracy, enabling the system to quickly adjust to changing lighting conditions.

[0020] Furthermore, generating a ray in the virtual model to replace the illumination angle includes:

[0021] Establishing a coordinate system in the virtual model and presetting an initial orientation of the virtual model in the coordinate system;

[0022] Determining a preset starting point on the virtual cadmium telluride power generation glass;

[0023] A ray is generated starting from the starting point so that the ray is consistent with the illumination angle.

[0024] By adopting the above technical solution, by establishing a coordinate system and presetting the initial direction of the virtual model in the coordinate system, it is possible to ensure that the relative position relationship between the virtual model and the real world remains consistent, determine the preset starting point on the virtual cadmium telluride power generation glass, and generate rays based on this starting point, which can ensure that the rays can accurately reflect changes in the illumination angle.

[0025] Furthermore, the method further comprises:

[0026] Get current weather information and current light intensity;

[0027] Determining whether the current weather information belongs to a corresponding weather set that needs to be adjusted;

[0028] If it does not belong to, there is no need to adjust the direction of the CdTe power generation glass;

[0029] If yes, then determine whether the current light intensity reaches a preset value;

[0030] If the preset value is reached, the direction of the cadmium telluride power generation glass is adjusted based on the light angle;

[0031] If the preset value is not reached, the current date and time are obtained;

[0032] Obtaining historical dates that are close to the current date and whose corresponding weather information conforms to the weather set, as well as historical moments that are at the same time as the current moment, and obtaining historical driving instructions corresponding to the historical moments in each of the historical dates, the historical driving instructions including historical horizontal driving instructions and historical vertical driving instructions;

[0033] Determining the reference degree of each of the historical driving instructions according to the similarity between the historical date and the current date;

[0034] The current driving instruction is determined according to the historical driving instructions and the corresponding reference degrees.

[0035] By adopting the above technical solution, when weather conditions are favorable and light intensity reaches a preset value, the system can automatically make precise adjustments based on the light angle to ensure maximum power generation efficiency. The system can also use historical data to predict and determine the current driving instructions. This approach not only improves the system's response speed to changing light conditions, but also enhances its stability and reliability. The system can determine the reference degree of each historical driving instruction based on the similarity between the historical date and the current date, thereby comprehensively considering historical data and current conditions to develop a more personalized adjustment strategy. Through intelligent decision-making and the use of historical data, the system can reduce the number and magnitude of unnecessary adjustments, thereby reducing adjustment and maintenance costs. The intelligent adjustment strategy enables the system to automatically adjust according to user needs and light conditions without manual user intervention. This not only improves the system's usability but also enhances the user experience.

[0036] Furthermore, determining the reference degree of each of the historical driving instructions according to the similarity between the historical date and the current date includes:

[0037] Calculate the time difference between the historical date and the current date;

[0038] determining a first level corresponding to the historical date according to the time difference, wherein the smaller the time difference, the larger the corresponding first level;

[0039] If the illumination intensity of the historical date at the historical moment reaches a preset value, determining that the second level corresponding to the historical date is 1;

[0040] If the illumination intensity of the historical date at the historical moment does not reach the preset value, determining the second level corresponding to the historical date to be 0;

[0041] An average of the first level and the second level corresponding to each of the historical dates is calculated, and the average is determined as a reference degree of the historical driving instruction corresponding to the historical date.

[0042] By adopting the above technical solution, by calculating the time difference between the historical date and the current date and determining the first level of the historical date based on this, the degree of temporal proximity can be accurately reflected. The smaller the time difference, the more similar the environmental conditions of the historical date and the current date may be, and therefore the corresponding driving instructions have a higher reference value; whether the light intensity at the historical moment reaches the preset value is used as the basis for determining the second level, which directly links the reference value of the lighting conditions and the driving instructions. When the light intensity at the historical moment reaches the preset value, it means that the historical driving instruction was generated under good lighting conditions, and therefore its reference value is higher; by calculating the average of the first level and the second level corresponding to each historical date as the reference degree of the historical driving instructions, a comprehensive consideration of temporal proximity and lighting conditions is achieved; a reasonable evaluation of the reference degree of the historical driving instructions is achieved, and the accuracy of the adjustment strategy and the adaptability of the system are improved.

[0043] Furthermore, determining the current driving instruction based on the historical driving instructions and their corresponding reference degrees includes:

[0044] Arrange the historical driving instructions in descending order of reference degree to determine a first sequence;

[0045] Obtaining a control difference between two adjacent historical driving instructions in the first sequence;

[0046] If the difference between any of the control differences and the previous adjacent control difference is greater than a preset value, the historical driving instruction corresponding to the control difference and the subsequent historical driving instructions in the first sequence are deleted to obtain a plurality of filtered historical driving instructions;

[0047] determining a ratio between the reference degrees in the first sequence, and using the ratio as a weight value corresponding to the historical driving instruction;

[0048] The driving instruction at the current moment is calculated according to each of the historical driving instructions and the corresponding weight value.

[0049] By adopting the above technical solution, by arranging the historical driving instructions in descending order of reference degrees and calculating the control difference between two adjacent historical driving instructions, the historical driving instructions with abnormal control amplitudes can be effectively identified; when the difference between the control difference and the previous adjacent control difference is greater than the preset value, it indicates that these instructions may be abnormal or unreasonable, so the historical driving instructions after them are deleted, which can optimize the data quality and improve the accuracy of subsequent calculations; determining the ratio between each reference degree in the first sequence and using it as the weight value corresponding to the historical driving instruction not only takes into account the reference value of the historical driving instruction, but also reflects the relative importance between different instructions through the proportional relationship, making subsequent calculations more scientific and reasonable; calculating the driving instruction at the current moment based on each historical driving instruction and the corresponding weight value can make full use of the useful information in the historical data and improve the calculation accuracy.

[0050] Furthermore, the method further comprises:

[0051] Get the first traffic flow of the road section where the current traffic light is located and the adjacent road sections;

[0052] Calculating a first average vehicle flow rate of each of the first vehicle flows;

[0053] Comparing the first average traffic flow with a preset table to determine a first traffic index for the road section where the current traffic light is located;

[0054] Obtain the second traffic flow of the intersection where the current traffic light is located and the adjacent sections of the intersection;

[0055] Calculating a second average traffic flow rate of each of the second traffic flows;

[0056] Comparing the second average traffic flow with a preset table to determine a second traffic index of the intersection where the current traffic light is located;

[0057] Adjusting the times corresponding to the red and green lights of the current traffic light according to the ratio of the first traffic index to the second traffic index;

[0058] If the difference between the ratio of the first traffic index to the second traffic index and 1 is less than a preset value, and the first average traffic flow and the second average traffic flow are greater than a preset traffic flow, adjusting the total duration of the red light and the green light to a preset duration;

[0059] Obtain the light intensity at the current signal light location at multiple times, calculate the average of the multiple light intensities, and determine the brightness of the signal light based on the average light intensity.

[0060] By adopting the above technical solution, the system can monitor traffic flow changes in real time by obtaining the first-level traffic flow of the current traffic light section and adjacent sections, as well as the second-level traffic flow of the intersection section and adjacent sections, and calculating the average traffic flow. This helps the system intelligently adjust the traffic light timing based on the actual traffic flow, thereby optimizing traffic flow, reducing congestion, and improving road traffic efficiency. The traffic index can reflect the traffic conditions of the current section, providing a strong basis for the system to adjust the traffic light timing. The traffic light timing is dynamically adjusted based on the traffic index ratio. This dynamic adjustment method can flexibly respond to changes in traffic flow according to actual conditions and ensure smooth traffic flow. The system can also intelligently adjust the brightness of the traffic light according to lighting conditions. This not only improves the visibility of the traffic light and ensures driving safety, but also saves energy to a certain extent.

[0061] In a third aspect, the present application provides a signal light system control device based on cadmium telluride power generation glass, which adopts the following technical solution:

[0062] Lighting angle acquisition module, used to obtain lighting angle;

[0063] A model building module, configured to build a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component, and a virtual cadmium telluride power generation glass;

[0064] a ray generation module, configured to generate rays in the virtual model that replace the illumination angle;

[0065] A virtual adjustment module, configured to adjust the virtual lateral drive assembly and the virtual vertical drive assembly so that the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0066] an adjustment angle determination module, configured to determine a lateral adjustment angle of the virtual lateral drive assembly and a vertical adjustment angle of the virtual vertical drive assembly when the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0067] The instruction generation module is used to generate a driving instruction, wherein the driving instruction includes a lateral driving instruction for the lateral adjustment angle and a vertical driving instruction for the vertical adjustment angle.

[0068] By adopting the above technical solution, the model building module establishes a virtual model of the signal light system based on cadmium telluride power generation glass, and the ray generation module generates rays representing the angle of illumination in the model, which can accurately simulate and adjust the angular relationship between illumination and the power generation glass. The virtual adjustment module adjusts the virtual lateral drive component and the virtual vertical drive component to make the rays perpendicular to the virtual cadmium telluride power generation glass. The angle determination module and the instruction generation module are then adjusted to adjust the actual lateral drive component and the vertical drive component according to the simulation results. This can ensure that sunlight shines on the power generation glass at the optimal angle, thereby maximizing its power generation efficiency and realizing automatic adjustment of the signal light system's posture. This not only reduces the need for manual intervention, but also improves the system's response speed and accuracy, allowing the system to quickly adjust to changes in lighting conditions.

[0069] In a fourth aspect, the present application provides an electronic device, which adopts the following technical solution:

[0070] An electronic device, comprising:

[0071] at least one processor;

[0072] Memory;

[0073] At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: execute the method according to any one of the first aspects.

[0074] In a fifth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0075] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes the method according to any one of the first aspects.

[0076] In summary, this application includes at least one of the following beneficial technical effects:

[0077] 1. Cadmium telluride power generation glass uses cadmium telluride thin film as the photoelectric conversion layer, which can efficiently convert sunlight into electrical energy. Cadmium telluride power generation glass can maintain high power generation efficiency even in low-light environments, providing a more stable energy supply for signal lights;

[0078] 2. Based on the illumination angle information sent by the photon sensor, lateral movement instructions and vertical drive instructions are generated. The lateral drive assembly and vertical drive assembly respond to these instructions and adjust the angle of the cadmium telluride power generation glass to ensure that its front always receives the maximum amount of sunlight, thereby improving the photoelectric conversion efficiency, helping to improve energy efficiency, reduce energy consumption and carbon emissions, and promote the development of green buildings and transportation.

[0079] 3. When weather conditions are favorable and light intensity reaches a preset value, the system automatically adjusts the power supply based on the light angle to maximize power generation efficiency.

[0080] 4. The system can use historical data to predict and determine the current driving instructions, which not only improves the system's response speed to changes in lighting conditions, but also reduces the number and amplitude of unnecessary adjustments, thereby reducing adjustment costs and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 It is a schematic diagram of the overall structure of the signal light system based on cadmium telluride power generation glass in an embodiment of the present application.

[0082] Figure 2 This is a structural diagram of the connection between the cadmium telluride power generation glass and the signal light in the signal light system based on the cadmium telluride power generation glass in the embodiment of the present application.

[0083] Figure 3 It is a cross-sectional view of the mounting bracket in the embodiment of the present application.

[0084] Figure 4 This is a diagram of the electrical control structure of a signal light system based on cadmium telluride power generation glass in an embodiment of the present application.

[0085] Figure 5 It is a flow chart of a signal light system control method based on cadmium telluride power generation glass in an embodiment of the present application.

[0086] Figure 6 This is a structural block diagram of a signal light system control device based on cadmium telluride power generation glass in an embodiment of the present application.

[0087] Figure 7 It is a structural block diagram of the electronic device in the embodiment of the present application.

[0088] Explanation of the accompanying reference numerals: 1. Cadmium telluride power generation glass; 2. Mounting bracket; 21. Horizontal drive assembly; 211. Base; 212. First motor; 213. First driving wheel; 214. First driven wheel; 215. Cylindrical boss; 22. Vertical drive assembly; 221. Base; 222. Groove; 223. Second motor; 224. Second driving wheel; 225. Second driven wheel; 226. Strip groove; 3. Fixing rod; 4. Photon sensor; 5. Electronic device. DETAILED DESCRIPTION

[0089] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0090] In this document, the term "and / or" simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document, unless otherwise specified, generally indicates an "or" relationship between the related objects.

[0091] The present application embodiment discloses a signal light system based on cadmium telluride power generation glass, referring to Figure 1 and Figure 2 , including signal lamps and cadmium telluride power generation glass 1.

[0092] The cadmium telluride power generation glass 1 is installed on the lamp frame of the signal lamp through the mounting bracket 2. The cadmium telluride power generation glass 1 is connected to an inverter and is connected to the signal lamp through the inverter.

[0093] Reference Figure 3 and Figure 4 The mounting bracket 2 includes a horizontal drive component 21 and a vertical drive component 22.

[0094] The transverse drive assembly 21 includes a base 211 fixed to the lamp stand. A first motor 212 is fixed within the housing of the base 211. The output end of the first motor 212 is vertically arranged. A first driving wheel 213 is fixed to the output end of the first motor 212. A first driven wheel 214 is also rotatably connected within the housing of the base 211. The first driving wheel 213 meshes with the first driven wheel 214, and the radius of the first driving wheel 213 is smaller than the radius of the first driven wheel 214. Therefore, the first motor 212 drives the first driving wheel 213 to rotate, and the first driving wheel 213 and the first driven wheel 214 mesh and transmit power.

[0095] The vertical drive assembly 22 includes a base 221 mounted on the base 211. The base 211 can be cylindrical, with a cylindrical lower half and a hemispherical upper half. The lower half of the base 221 conforms to the outer shape of the base 211, and a protruding cylindrical boss 215 is provided on the upper surface of the base 211. A recessed groove 222 is provided on the bottom surface of the lower half of the base 221. The boss engages with the recess 222 and can rotate within the recess 222, ensuring a seamless connection between the base 221 and the base 211, reducing the possibility of rainwater penetrating the base 211 through the gap at the connection between the two.

[0096] A transmission shaft is fixed at the center of the first driven wheel 214 . The transmission shaft passes through the base 211 shell and the boss and is fixed to the base 221 shell. Therefore, the base 211 can drive the base 221 to rotate in the horizontal direction.

[0097] The vertical drive assembly 22 also includes a second motor 223 housed within the housing of the base 221. The output of the second motor 223 is horizontally mounted to a second driving wheel 224. A second driven wheel 225 is rotatably connected to the housing of the base 221. The second driving wheel 224 meshes with the second driven wheel 225, and the radius of the second driving wheel 224 is smaller than that of the second driven wheel 225. A fixed rod 3 is centrally secured to the second driven wheel 225. A strip-shaped slot 226 is provided in the upper portion of the base 221, through which the fixed rod 3 extends out of the housing of the base 221. The cadmium telluride power-generating glass 1 is secured to the fixed rod 3. Therefore, when the second motor 223 rotates, the second driving wheel 224 drives the second driven wheel 225, causing the cadmium telluride power-generating glass 1 to rotate in the vertical plane.

[0098] Therefore, when the base 221 can rotate in the horizontal plane, the cadmium telluride power generation glass 1 can rotate in both the horizontal and vertical planes, thereby adjusting the orientation of the cadmium telluride power generation glass 1 .

[0099] The cadmium telluride power generation glass 1 is connected to an inverter, and the inverter is connected to a signal light. Therefore, the cadmium telluride power generation glass 1 generates electricity and supplies it to the signal light.

[0100] Furthermore, to ensure efficient power generation for the CdTe power generation glass 1, a photon sensor 4 is installed on the surface of the CdTe power generation glass 1. The photon sensor 4 is a high-precision optical sensor that can accurately measure the direction and intensity of sunlight. The signal light system based on the CdTe power generation glass 1 also includes an electronic device 5, which is connected to the photon sensor 4, the first motor 212 in the lateral drive assembly 21, and the second motor 223 in the vertical drive assembly 22. The electronic device 5 receives the sunlight angle transmitted by the photon sensor 4, calculates the movement strategy of the lateral drive assembly 21 and the vertical drive assembly 22, and generates lateral movement instructions and vertical movement instructions. The first motor 212 and the second motor 223 are activated, so that the front of the CdTe power generation glass 1 faces sunlight.

[0101] The embodiment of the present application discloses a signal light system control method based on cadmium telluride power generation glass. Figure 5 , executed by an electronic device, which can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be, but is not limited to, a smartphone, tablet computer, desktop computer, etc., including (steps S101 to S106):

[0102] Step S101: Obtaining the illumination angle.

[0103] Specifically, the electronic device obtains the light angle through a photon sensor.

[0104] Step S102: establishing a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component and a virtual cadmium telluride power generation glass.

[0105] Specifically, the electronic device pre-sets a virtual model consistent with the signal light system based on cadmium telluride power generation glass, including a virtual lateral drive component, a virtual vertical drive component and a virtual cadmium telluride power generation glass, and the state of the virtual model is consistent with the actual state.

[0106] Step S103: Generate rays in the virtual model to replace the illumination angle.

[0107] Specifically, a coordinate system is established in the virtual model, and an initial direction of the virtual model in the coordinate system is preset, so that the electronic device can determine the actual direction of the illumination angle based on the initial direction as the starting direction.

[0108] The electronic device determines a preset starting point on the virtual CdTe glass and generates rays starting from the starting point, so that the rays are consistent with the angle of illumination. Therefore, the rays generated in the virtual model represent the angle of illumination.

[0109] Step S104: adjusting the virtual transverse driving component and the virtual vertical driving component so that the ray is perpendicular to the virtual cadmium telluride power generation glass.

[0110] Step S105: determining the lateral adjustment angle of the virtual lateral drive assembly and the vertical adjustment angle of the virtual vertical drive assembly when the ray is perpendicular to the virtual cadmium telluride power generation glass.

[0111] Specifically, the electronic device calculates the lateral adjustment angle of the virtual lateral drive component and the vertical adjustment angle of the virtual vertical drive component when the virtual cadmium telluride power generation glass is perpendicular to the ray according to the actual position of the virtual model and the ray angle.

[0112] Step S106: generating a driving instruction, wherein the driving instruction includes a lateral driving instruction for adjusting the lateral angle and a vertical driving instruction for adjusting the vertical angle.

[0113] Specifically, the electronic device applies the lateral and vertical drive instructions simulated in the virtual model to the actual lateral and vertical drive mechanisms. Based on the structures of the lateral and vertical drive mechanisms, the electronic device then calculates the rotation direction and number of revolutions of the first motor according to the lateral adjustment angle, and the rotation direction and number of revolutions of the second motor according to the vertical adjustment angle. After the first and second motors execute the drive instructions, the cadmium telluride solar-generating glass faces the sunlight.

[0114] Furthermore, the above method further includes (steps S11 to S19):

[0115] Step S11: Obtain current weather information and current light intensity.

[0116] Specifically, the photon sensor is connected to the electronic device and is used to send the detected light intensity to the electronic device.

[0117] The electronic device further obtains current weather information through the Internet.

[0118] Step S12: Determine whether the current weather information belongs to the corresponding weather set that needs to be adjusted.

[0119] Specifically, the electronic device presets a weather set corresponding to when adjustment is required, such as sunny, cloudy and other weather conditions with sunlight, and can then determine whether the current weather information exists in the weather set corresponding to when adjustment is required.

[0120] If not, step S13 is executed: there is no need to adjust the direction of the cadmium telluride power generation glass.

[0121] Specifically, if the current weather information is rainy, snowy or cloudy, the time when the CdTe power generation glass is exposed to sunlight is extremely short or there is no sunlight, and adjusting the direction of the CdTe power generation glass has no practical significance, so there is no need to adjust the direction of the CdTe power generation glass.

[0122] If yes, execute step S14: determine whether the current light intensity reaches a preset value.

[0123] If the preset value is reached, step S15 is executed: adjusting the direction of the cadmium telluride power generation glass based on the illumination angle;

[0124] Specifically, if the current weather information belongs to the weather set, there may be a period of time when the cadmium telluride power generation glass cannot be exposed to sunlight, such as when it is blocked by buildings or greenery, or when the sunlight is temporarily weakened in cloudy weather. If the light intensity reaches the preset value, the cadmium telluride power generation glass will be exposed to sunlight. If the light intensity does not reach the preset value, the cadmium telluride power generation glass will not be exposed to sunlight.

[0125] If the preset value is not reached, steps S16 to S19 are executed.

[0126] Step S16: Get the current date and time.

[0127] Specifically, the electronic device obtains the current date and time from the Internet, for example, 9:00 on May 10.

[0128] Step S17: Obtain historical dates that are close to the current date and whose corresponding weather information conforms to the weather set, as well as historical moments at the same time as the current moment, and obtain historical driving instructions corresponding to historical moments in each historical date. The historical driving instructions include historical horizontal driving instructions and historical vertical driving instructions.

[0129] Specifically, the electronic device searches the historical database for historical times that are close to the current date, match the weather conditions, and coincide with the current moment. For example, historical driving instructions from May 1st to 9th of the same year at 9:00 AM that also match the weather conditions are available. The electronic device then determines whether these historical driving instructions can be applied to the current moment, causing the CdTe solar glass to adjust its orientation in advance. This shortens the control time when sunlight re-irradiates the CdTe solar glass.

[0130] Step S18: Determine the reference degree of each historical driving instruction based on the similarity between the historical date and the current date.

[0131] Specifically, the higher the similarity between the historical date and the current date, the higher the reference degree of the corresponding historical driving instruction, including (steps S181 to S185):

[0132] Step S181: Calculate the time difference between the historical date and the current date.

[0133] Specifically, the electronic device calculates the time difference between each historical date and the current date. For example, the time difference between the historical date May 1 and the current date May 10 is 9 days.

[0134] Step S182: Determine the first level corresponding to the historical date according to the time difference. The smaller the time difference, the larger the corresponding first level.

[0135] Specifically, the smaller the time difference is, the closer the moment corresponding to the historical date is to the current moment, and the higher the reference value is. Therefore, the corresponding first level is larger.

[0136] The electronic device presets multiple first levels. First, the maximum value of the first level is determined according to the number of first levels. For example, if the number of first levels is 3, the first level for a time difference of 1 to 3 days is 3, the first level for a time difference of 4 to 6 days is 2, and the first level corresponding to a time difference greater than 7 is 1.

[0137] Step S183: If the light intensity of the historical date at the historical moment reaches the preset value, the second level corresponding to the historical date is determined to be 1.

[0138] Step S184: If the illumination intensity of the historical date at the historical moment does not reach the preset value, the second level corresponding to the historical date is determined to be 0.

[0139] Specifically, if the light intensity of the historical date at the historical moment reaches the preset value, the historical driving instruction of the historical date has a high reference value, and its second level is determined to be 1; conversely, if the light intensity of the historical date at the historical moment does not reach the preset value, the corresponding historical driving instruction is not obtained according to the light adjustment at that time, and the reference value is low, and the corresponding second level is determined to be 0.

[0140] Step S185: Calculate the average of the first level and the second level corresponding to each historical date, and determine the average as the reference degree of the historical driving instruction corresponding to the historical date.

[0141] Specifically, if both the first level and the second level are large, the corresponding mean is also large. Therefore, if the mean is used as a reference degree for the historical driving instructions corresponding to the historical date, the larger the mean, the larger the corresponding reference degree.

[0142] Step S19: Determine the current driving instruction based on the historical driving instructions and their corresponding reference degrees, including (steps S191 to S195):

[0143] Step S191: Arrange the historical driving instructions in descending order of reference degree to determine a first sequence.

[0144] Step S192: Obtain the control difference between two adjacent historical driving instructions in the first sequence.

[0145] Step S193: If the difference between any control difference and the previous adjacent control difference is greater than a preset value, the historical driving instruction corresponding to the control difference and the subsequent historical driving instructions in the first sequence are deleted to obtain a plurality of filtered historical driving instructions.

[0146] Specifically, in the first sequence, the control difference between two adjacent historical driving instructions is compared. If any control difference is greater than a preset value compared with the previous control difference, it means that the historical driving instruction corresponding to the control difference is significantly different from other adjacent historical driving instructions, which means that the historical driving instruction is significantly different from the current demand and has low reference value. It will be deleted, and the reference value of the historical driving instructions after the first sequence will also be deleted.

[0147] Step S194: determining the ratio between the reference degrees in the first sequence, and using the ratio as the weight value corresponding to the historical driving instruction.

[0148] Step S195: Calculate the current driving instruction based on each historical driving instruction and the corresponding weight value.

[0149] Specifically, the higher the reference degree, the higher the corresponding weight value. Historical drive instructions include historical lateral drive instructions and historical longitudinal drive instructions, each of which includes a rotation angle. Therefore, when calculating the current drive instruction, the angle corresponding to each historical lateral drive instruction is multiplied by the corresponding weight value and then added together to calculate the current lateral drive instruction. Similarly, the angle corresponding to each longitudinal drive instruction is multiplied by the corresponding weight value and then added together to calculate the current longitudinal drive instruction.

[0150] Furthermore, the above method further includes (steps S21 to S29):

[0151] Step S21: Obtain the first traffic flow of the road section where the current traffic light is located and the adjacent road sections.

[0152] Specifically, the electronic device communicates with the traffic network and obtains the first traffic flow of the current road section and adjacent road sections according to the current position of the traffic light. The adjacent road sections are two road sections connected to each other.

[0153] Step S22: Calculate the first average vehicle flow rate of each first vehicle flow rate.

[0154] Specifically, in order to change the duration of the traffic light at the current intersection, it is necessary to refer to the average traffic flow of the road section, so the average of the first traffic flow of the current road section and the adjacent road section is used to measure the average traffic flow.

[0155] Step S23: Compare the first average traffic flow with a preset table to determine a first traffic index of the road section where the current traffic light is located.

[0156] Specifically, the electronic device presets a table, which includes traffic flow of various levels and corresponding traffic indexes, wherein the greater the traffic flow, the greater the corresponding traffic index.

[0157] Step S24: Obtain the second traffic flow of the intersection where the current traffic light is located and the adjacent sections of the intersection.

[0158] Specifically, the green and red lights of the traffic lights on the current road section can be adjusted according to the road conditions. The green light passage time is set according to the traffic volume of the current road section, and the red light passage time is set according to the traffic volume of the intersection section.

[0159] Step S25: Calculate the second average traffic flow of each second traffic flow.

[0160] Step S26: Compare the second average traffic flow with a preset table to determine a second traffic index of the intersection where the current traffic light is located.

[0161] Step S27: adjusting the times corresponding to the red and green lights of the current traffic light according to the ratio of the first traffic index to the second traffic index.

[0162] Generally, the total duration of the red and green lights remains unchanged, and the ratio of the red and green lights can be adjusted. The first traffic index and the second traffic index represent the traffic volume of the corresponding road section. The greater the traffic volume, the longer the corresponding green light time.

[0163] Step S28: If the difference between the ratio of the first traffic index to the second traffic index and 1 is less than a preset value, and the first average traffic flow and the second average traffic flow are greater than the preset traffic flow, the total duration of the red light and the green light is adjusted to the preset duration.

[0164] Specifically, the electronic device is preset with a preset value. When the difference between the ratio of the first traffic index and the second traffic index and 1 is less than the preset value, it means that the traffic volume on the current section and the intersection section is similar; and the first average traffic volume and the second average traffic volume are both greater than the preset traffic volume, it means that the traffic volume on the current section and the intersection section is large, so the total duration of the red light and green light on the current section is increased, so that the passage time of the red light and the green light are both increased, so as to quickly clear the traffic flow.

[0165] Step S29: Obtain the light intensity at the current location of the traffic light at multiple times, calculate the average of the multiple light intensities, and determine the brightness of the traffic light according to the average.

[0166] Specifically, the electronic device obtains light intensity through a photon sensor. The light intensity may be affected by car lights or other light and fluctuate over a period of time. Therefore, the electronic device calculates the light average of multiple light intensities, which reflects the surrounding light intensity in the current time period.

[0167] Furthermore, when the electronic device obtains the light intensity at the current signal light location at multiple moments, in order to improve the accuracy of calculating the light average, the light intensity affected by the light or other light can be filtered out.

[0168] Electronic devices set up contrast models for each situation that affects light intensity. For example, the contrast model of car lights is that the light intensity suddenly increases and then decreases, or increases slowly and then decreases; the contrast model of street lights is that the light intensity suddenly increases and remains unchanged.

[0169] When the electronic device identifies that the current light intensity satisfies any comparison model, the light intensities that satisfy the comparison model are screened out and the remaining light intensities are used to calculate the mean.

[0170] The weaker the light intensity, the more the signal light brightness needs to be increased. To determine the signal light brightness based on the average light intensity, the electronic device collects and stores historical data on the signal light brightness under different light intensities. The electronic device then determines the signal light brightness based on the historical data.

[0171] In order to better implement the above method, the embodiment of the present application also provides a signal light system control device based on cadmium telluride power generation glass, referring to Figure 6 The signal light system control device 200 based on cadmium telluride power generation glass includes:

[0172] The illumination angle acquisition module 201 is used to obtain the illumination angle;

[0173] A model building module 202 is configured to build a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component, and a virtual cadmium telluride power generation glass;

[0174] A ray generation module 203 is used to generate rays in the virtual model to replace the illumination angle;

[0175] A virtual adjustment module 204 is used to adjust the virtual lateral drive component and the virtual vertical drive component so that the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0176] An adjustment angle determination module 205 is used to determine the lateral adjustment angle of the virtual lateral drive assembly and the vertical adjustment angle of the virtual vertical drive assembly when the ray is perpendicular to the virtual cadmium telluride power generation glass;

[0177] The instruction generation module 206 is used to generate driving instructions, where the driving instructions include a lateral driving instruction for adjusting the lateral angle and a vertical driving instruction for adjusting the vertical angle.

[0178] Furthermore, the ray generation module 203 is specifically configured to:

[0179] Establishing a coordinate system in the virtual model and presetting the initial direction of the virtual model in the coordinate system;

[0180] Determining a preset starting point on the virtual cadmium telluride power generation glass;

[0181] Generate rays from the starting point so that the rays are consistent with the angle of the light.

[0182] Furthermore, the signal light system control device 200 based on cadmium telluride power generation glass further includes:

[0183] Information acquisition module, used to obtain current weather information and current light intensity;

[0184] A judgment module is used to judge whether the current weather information belongs to the corresponding weather set that needs to be adjusted;

[0185] If the judgment module determines that it does not belong to the above, there is no need to adjust the direction of the cadmium telluride power generation glass;

[0186] If the judgment module determines that it belongs to, it determines whether the current light intensity reaches the preset value;

[0187] If the preset value is reached, the direction of the cadmium telluride power generation glass is adjusted based on the light angle;

[0188] If the preset value is not reached, the current date and time are obtained;

[0189] A historical information acquisition module is used to obtain historical dates that are close to the current date and whose corresponding weather information conforms to the weather set, as well as historical moments that are at the same time as the current moment, and to obtain historical driving instructions corresponding to historical moments in each historical date. The historical driving instructions include historical horizontal driving instructions and historical vertical driving instructions.

[0190] A reference degree determination module, for determining the reference degree of each historical driving instruction based on the similarity between the historical date and the current date;

[0191] The driving instruction determination module is used to determine the driving instruction at the current moment according to the historical driving instructions and their corresponding reference degrees.

[0192] Furthermore, the reference degree determination module is specifically configured to:

[0193] The time difference calculation module is used to calculate the time difference between the historical date and the current date;

[0194] The first level corresponding to the historical date is determined based on the time difference. The smaller the time difference, the larger the corresponding first level.

[0195] If the light intensity of a historical date at a historical moment reaches a preset value, the second level corresponding to the historical date is determined to be 1;

[0196] If the light intensity of the historical date at the historical moment does not reach the preset value, the second level corresponding to the historical date is determined to be 0;

[0197] The average of the first level and the second level corresponding to each historical date is calculated, and the average is determined as the reference degree of the historical driving instruction corresponding to the historical date.

[0198] Furthermore, the driving instruction determination module is specifically used to:

[0199] Arrange each historical driving instruction in descending order of reference degree to determine a first sequence;

[0200] Obtaining a control difference between two adjacent historical drive instructions in the first sequence;

[0201] If the difference between any control difference and the previous adjacent control difference is greater than a preset value, the historical driving instruction corresponding to the control difference and the subsequent historical driving instructions in the first sequence are deleted to obtain a plurality of filtered historical driving instructions;

[0202] Determine the ratio between each reference degree in the first sequence, and use the ratio as the weight value corresponding to the historical driving instruction;

[0203] The current driving instruction is calculated based on each historical driving instruction and the corresponding weight value.

[0204] Furthermore, the signal light system control device 200 based on cadmium telluride power generation glass further includes:

[0205] A first traffic flow acquisition module is used to acquire the first traffic flow of the road section where the current traffic light is located and the adjacent road sections;

[0206] A first average vehicle flow calculation module, configured to calculate a first average vehicle flow of each first vehicle flow;

[0207] A first traffic index determination module, configured to compare the first average traffic flow with a preset table to determine a first traffic index for the road section where the current traffic light is located;

[0208] A second traffic flow acquisition module is used to acquire the second traffic flow of the intersection where the current traffic light is located and the adjacent sections of the intersection;

[0209] A second average vehicle flow acquisition module, configured to calculate a second average vehicle flow of each second vehicle flow;

[0210] A second traffic index determination module is used to compare the second average traffic flow with a preset table to determine a second traffic index of the intersection where the current traffic light is located;

[0211] A traffic light time adjustment module, configured to adjust the times corresponding to the red and green lights of the current traffic light according to the ratio of the first traffic index to the second traffic index;

[0212] a duration adjustment module, configured to adjust the total duration of the red and green lights to a preset duration if the difference between the ratio of the first traffic index to the second traffic index and 1 is less than a preset value, and the first average traffic flow rate and the second average traffic flow rate are greater than a preset traffic flow rate;

[0213] The brightness adjustment module is used to obtain the light intensity at the current location of the traffic light at multiple times, calculate the light average of the multiple light intensities, and determine the brightness of the traffic light based on the light average.

[0214] The various variations and specific examples of the methods in the aforementioned embodiments are also applicable to the signal light system control device based on cadmium telluride power generation glass in this embodiment. Through the aforementioned detailed description of the signal light system control method based on cadmium telluride power generation glass, those skilled in the art can clearly understand the implementation method of the signal light system control device based on cadmium telluride power generation glass in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.

[0215] In order to better implement the above method, the embodiment of the present application provides an electronic device, referring to Figure 7 , electronic device 300 includes: a processor 301 and a memory 303. Memory 303 is connected to processor 301, for example, via bus 302. Optionally, electronic device 300 may further include a transceiver 304. It should be noted that in actual applications, there is not limited to one transceiver 304, and the structure of electronic device 300 does not constitute a limitation on the embodiments of this application.

[0216] Processor 301 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0217] Bus 302 may include a path for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. Bus 302 may be divided into an address bus, a data bus, a control bus, and other components.

[0218] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0219] The memory 303 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the above method embodiment.

[0220] Figure 7 The electronic device 300 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.

[0221] The present application also provides a computer-readable storage medium storing a computer program. When executed by a processor, the program implements the signal light system control method based on cadmium telluride power generation glass provided in the above embodiment. By establishing a virtual model of the signal light system based on cadmium telluride power generation glass and generating rays representing the illumination angle in the model, the angular relationship between illumination and the power generation glass can be accurately simulated and adjusted. The virtual lateral drive component and the virtual vertical drive component are adjusted so that the rays are perpendicular to the virtual cadmium telluride power generation glass. Then, the actual lateral drive component and the vertical drive component are adjusted according to the simulation results, ensuring that sunlight strikes the power generation glass at the optimal angle, thereby maximizing its power generation efficiency and achieving automatic adjustment of the signal light system posture. This not only reduces the need for manual intervention, but also improves the response speed and accuracy of the system, enabling the system to quickly make adjustments based on changes in lighting conditions.

[0222] In this embodiment, a computer-readable storage medium may be a tangible device that retains and stores instructions used by an instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination thereof. Specifically, the computer-readable storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, an optical disc, a magnetic disk, a mechanical encoding device, or any combination thereof.

[0223] The computer program in this embodiment includes program code for executing all of the aforementioned methods. The program code may include instructions corresponding to the steps of the methods provided in the aforementioned embodiments. The computer program can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The computer program can be executed entirely on a user's computer or as a standalone software package.

[0224] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.

[0225] In addition, it should be understood that relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

Claims

1. A signal light system control method based on cadmium telluride power generation glass, characterized in that: include: Get the lighting angle; Establishing a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component, and a virtual cadmium telluride power generation glass; generating rays in the virtual model that replace the illumination angles; Adjusting the virtual lateral drive component and the virtual vertical drive component so that the ray is perpendicular to the virtual cadmium telluride power generation glass; Determining the lateral adjustment angle of the virtual lateral drive component and the vertical adjustment angle of the virtual vertical drive component when the ray is perpendicular to the virtual cadmium telluride power generation glass; generating a driving instruction, wherein the driving instruction includes a lateral driving instruction for the lateral adjustment angle and a vertical driving instruction for the vertical adjustment angle; The method further comprises: Get current weather information and current light intensity; Determining whether the current weather information belongs to a corresponding weather set that needs to be adjusted; If it does not belong to, there is no need to adjust the direction of the CdTe power generation glass; If yes, then determine whether the current light intensity reaches a preset value; If the preset value is reached, the direction of the cadmium telluride power generation glass is adjusted based on the light angle; If the preset value is not reached, the current date and time are obtained; Obtaining historical dates close to the current date and corresponding weather information that conforms to the weather set, as well as historical moments that are the same as the current moment, and obtaining historical driving instructions corresponding to the historical moments in each of the historical dates, the historical driving instructions including historical horizontal driving instructions and historical vertical driving instructions; Determining the reference degree of each of the historical driving instructions according to the similarity between the historical date and the current date; Determining the current driving instruction based on the historical driving instructions and their corresponding reference degrees; Determining the reference degree of each of the historical driving instructions based on the similarity between the historical date and the current date includes: Calculate the time difference between the historical date and the current date; determining a first level corresponding to the historical date according to the time difference, wherein the smaller the time difference, the larger the corresponding first level; If the illumination intensity of the historical date at the historical moment reaches a preset value, determining that the second level corresponding to the historical date is 1; If the illumination intensity of the historical date at the historical moment does not reach the preset value, determining the second level corresponding to the historical date to be 0; Calculating an average of the first level and the second level corresponding to each of the historical dates, and determining the average as a reference degree of the historical driving instruction corresponding to the historical date; The determining of the current driving instruction according to the historical driving instruction and its corresponding reference degree includes: Arrange the historical driving instructions in descending order of reference degree to determine a first sequence; Obtaining a control difference between two adjacent historical driving instructions in the first sequence; If the difference between any of the control differences and the previous adjacent control difference is greater than a preset value, the historical driving instruction corresponding to the control difference and the subsequent historical driving instructions in the first sequence are deleted to obtain a plurality of filtered historical driving instructions; determining a ratio between the reference degrees in the first sequence, and using the ratio as a weight value corresponding to the historical driving instruction; The driving instruction at the current moment is calculated according to each of the historical driving instructions and the corresponding weight value.

2. The method according to claim 1, characterized in that Generating a ray replacing the illumination angle in the virtual model includes: Establishing a coordinate system in the virtual model and presetting an initial orientation of the virtual model in the coordinate system; Determining a preset starting point on the virtual cadmium telluride power generation glass; A ray is generated starting from the starting point so that the ray is consistent with the illumination angle.

3. The method according to claim 1, characterized in that The method further comprises: Get the first traffic flow of the road section where the current traffic light is located and the adjacent road sections; Calculating a first average vehicle flow rate of each of the first vehicle flows; Comparing the first average traffic flow with a preset table to determine a first traffic index for the road section where the current traffic light is located; Obtain the second traffic flow of the intersection where the current traffic light is located and the adjacent sections of the intersection; Calculating a second average traffic flow rate of each of the second traffic flows; Comparing the second average traffic flow with a preset table to determine a second traffic index of the intersection where the current traffic light is located; Adjusting the times corresponding to the red and green lights of the current traffic light according to the ratio of the first traffic index to the second traffic index; If the difference between the ratio of the first traffic index to the second traffic index and 1 is less than a preset value, and the first average traffic flow and the second average traffic flow are greater than a preset traffic flow, adjusting the total duration of the red light and the green light to a preset duration; Obtain the light intensity at the current signal light location at multiple times, calculate the average of the multiple light intensities, and determine the brightness of the signal light based on the average light intensity.

4. A signal light system control device based on cadmium telluride power generation glass, characterized in that: include: Lighting angle acquisition module, used to obtain lighting angle; A model building module, configured to build a corresponding virtual model according to the current posture of the signal light system based on the cadmium telluride power generation glass, wherein the virtual model includes a virtual lateral drive component, a virtual vertical drive component, and a virtual cadmium telluride power generation glass; a ray generation module, configured to generate rays in the virtual model that replace the illumination angle; A virtual adjustment module, configured to adjust the virtual lateral drive assembly and the virtual vertical drive assembly so that the ray is perpendicular to the virtual cadmium telluride power generation glass; an adjustment angle determination module, configured to determine a lateral adjustment angle of the virtual lateral drive assembly and a vertical adjustment angle of the virtual vertical drive assembly when the ray is perpendicular to the virtual cadmium telluride power generation glass; An instruction generation module is used to generate a driving instruction, wherein the driving instruction includes a lateral driving instruction for the lateral adjustment angle and a vertical driving instruction for the vertical adjustment angle; Also includes: Information acquisition module, used to obtain current weather information and current light intensity; A judgment module is used to judge whether the current weather information belongs to the corresponding weather set that needs to be adjusted; If the judgment module determines that it does not belong to the above, there is no need to adjust the direction of the cadmium telluride power generation glass; If the judgment module determines that it belongs to, it determines whether the current light intensity reaches the preset value; If the preset value is reached, the direction of the cadmium telluride power generation glass is adjusted based on the light angle; If the preset value is not reached, the current date and time are obtained; A historical information acquisition module is used to obtain historical dates that are close to the current date and whose corresponding weather information conforms to the weather set, as well as historical moments that are at the same time as the current moment, and to obtain historical driving instructions corresponding to historical moments in each historical date. The historical driving instructions include historical horizontal driving instructions and historical vertical driving instructions. A reference degree determination module, for determining the reference degree of each historical driving instruction based on the similarity between the historical date and the current date; A driving instruction determination module is used to determine the current driving instruction based on historical driving instructions and their corresponding reference degrees; The reference degree determination module is specifically configured to: The time difference calculation module is used to calculate the time difference between the historical date and the current date; The first level corresponding to the historical date is determined based on the time difference. The smaller the time difference, the larger the corresponding first level. If the light intensity of a historical date at a historical moment reaches a preset value, the second level corresponding to the historical date is determined to be 1; If the light intensity of the historical date at the historical moment does not reach the preset value, the second level corresponding to the historical date is determined to be 0; Calculate the average of the first level and the second level corresponding to each historical date, and determine the average as the reference degree of the historical driving instruction corresponding to the historical date; The driving instruction determination module is specifically used to: Arrange each historical driving instruction in descending order of reference degree to determine a first sequence; Obtaining a control difference between two adjacent historical drive instructions in the first sequence; If the difference between any control difference and the previous adjacent control difference is greater than a preset value, the historical driving instruction corresponding to the control difference and the subsequent historical driving instructions in the first sequence are deleted to obtain a plurality of filtered historical driving instructions; Determine the ratio between each reference degree in the first sequence, and use the ratio as the weight value corresponding to the historical driving instruction; The current driving instruction is calculated based on each historical driving instruction and the corresponding weight value.

5. An electronic device, characterized in that: include: at least one processor; Memory; At least one computer program, wherein the at least one computer program is stored in the memory and configured to be executed by the at least one processor, the at least one computer program being configured to: perform the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Solar photovoltaic power generation shed and control method thereof

    CN115864973A

  • Solar power supply algorithm early warning device based on Internet of Things communication transmission

    CN116566301A