Method and system for automatically controlling color change of EC glass
Through the gateway equipment that collects and analyzes light and temperature data in real time, it automatically controls the light transmittance of EC glass, solving the problems of single control method and complex installation and maintenance of the existing EC glass color change control system, and achieving automatic adjustment and energy-saving and environmentally friendly effects.
Patent Information
- Application Number
- CN202411987357.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-28
AI Technical Summary
The existing EC glass color change control system is relatively single in control mode, and cannot be automatically adjusted according to ambient light and temperature changes, and is complex in installation and maintenance, which increases costs and inconvenience.
By obtaining real-time data of outdoor light sensors and temperature sensors, it is transmitted to the gateway equipment indoors for analysis. The gateway equipment issues commands to the EC glass controller. The controller outputs a voltage color change signal to change the light transmittance of the EC glass, thereby achieving automatic color change.
Automatic adjustment of EC glass is realized, and the light transmittance is adjusted in real time according to light and temperature, reducing dependence on air conditioning and lighting equipment, reducing energy consumption, and improving energy-saving and environmentally friendly effects.
Smart Images

Figure CN119717352A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of EC glass color control, and in particular to an EC glass automatic color change control method and system. Background Art
[0002] EC electrochromic glass reversibly changes the optical properties of the material by applying voltage to the EC glass. This change can adjust the light transmittance of the glass, thereby achieving dynamic control of light and solar radiation heat. This technology has broad application potential in the field of green buildings, because it not only improves the level of product intelligence, but also promotes the development of energy conservation and environmental protection. EC electrochromic glass has made an important contribution to energy conservation and emission reduction in green buildings.
[0003] With the widespread application of EC glass, the EC electrochromic glass control system has become more perfect and richer, and more humane. With the rise of intelligent buildings and the popularization of the concept of sustainable development, the application prospects of EC glass in the field of construction will be broader. This kind of glass can not only automatically adjust the light transmittance according to the changes in ambient light, but also can be remotely controlled through an intelligent control system, making the light and temperature inside the building more comfortable and energy-saving. In addition, EC glass can also be integrated with other intelligent building systems to achieve more intelligent building environment management. As an innovative building material, EC electrochromic glass not only has unique advantages in technology, but also shows great potential in environmental protection and energy saving. With the continuous advancement of technology and the continuous expansion of the market, EC electrochromic glass will play a more important role in future green buildings.
[0004] At present, the EC (electrochromic) control system is relatively simple in control mode, and in most cases still requires manual intervention and control. This system cannot automatically adjust and control according to changes in external factors such as ambient light. In addition, the EC glass control system also needs to rely on the power supply system in the building to provide it with power support. In addition, the existing EC glass control system requires a lot of wiring work and deployment of intermediate transmission equipment during the installation process, which not only increases the construction cost, but also brings many inconveniences to the subsequent system maintenance. The existence of these problems has limited the practical application of the EC glass control system. Summary of the invention
[0005] Therefore, the technical problem to be solved by the present invention is to overcome the problem that the color change control method of EC glass in the prior art is relatively single.
[0006] In order to solve the above technical problems, the present invention provides an EC glass automatic control color change method, comprising:
[0007] Step S1: Acquire data collected in real time by outdoor light sensors and temperature sensors;
[0008] Step S2: Transmitting the data collected by the light sensor and the temperature sensor in real time to the indoor gateway device;
[0009] Step S3: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs a corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0010] In one embodiment of the present invention, the method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor, specifically:
[0011] When the light intensity collected by the light sensor is X1≤Alx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0012] When the light intensity collected by the light sensor is A≤X1≤Blx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0013] When the light intensity collected by the light sensor is B≤X1≤Clx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0014] When the light intensity collected by the light sensor is C≤X1≤Dlx, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where A represents the minimum light intensity, D represents the maximum light intensity, X1 represents the real-time light intensity, and α>β>γ>δ.
[0015] In one embodiment of the present invention, when the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor, the light transmittance of the EC glass is also calculated by the first light transmittance formula, which is expressed as:
[0016] GT(X)=a·e -b·X
[0017] Wherein, GT(X) represents the calculated light transmittance of the EC glass, X represents the real-time light intensity collected by the light sensor, and a and b are the first constant and the second constant, respectively.
[0018] In one embodiment of the present invention, the method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the temperature sensor, specifically:
[0019] When the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0020] When the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0021] When the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0022] When the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where E represents the lowest temperature, H represents the highest temperature, X2 represents the real-time temperature, and α>β>γ>δ.
[0023] In one embodiment of the present invention, the gateway device controls the EC glass controller to change the EC glass transmittance according to the data collected in real time by the temperature sensor, and calculates the EC glass transmittance by the second transmittance formula, which is expressed as:
[0024]
[0025] Wherein, GT(X) represents the calculated transmittance of the EC glass, X represents the real-time temperature data collected by the temperature sensor, and c and d are the third constant and the fourth constant, respectively.
[0026] In one embodiment of the present invention, the method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor and the temperature sensor, specifically:
[0027] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0028] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0029] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0030] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0031] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0032] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0033] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0034] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0035] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0036] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0037] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0038] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0039] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0040] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0041] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0042] When the light intensity collected by the light sensor is C≤X1≤Dlx and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where A represents the minimum light intensity, D represents the maximum light intensity, X1 represents the real-time light intensity, E represents the minimum temperature, H represents the maximum temperature, X2 represents the real-time temperature, and α>β>γ>δ.
[0043] In one embodiment of the present invention, the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor and the temperature sensor, and predicts the light transmittance of the EC glass through a multi-layer perceptron, specifically:
[0044] The collected light sensor and temperature sensor data are normalized and then input into a multi-layer perceptron, which then outputs the corresponding EC glass transmittance.
[0045] In order to solve the above technical problems, the present invention provides an EC glass automatic control color changing system, comprising:
[0046] Acquisition module: used to obtain real-time data collected by outdoor light sensors and temperature sensors;
[0047] Transmission module: used to transmit the data collected by the light sensor and temperature sensor in real time to the indoor gateway device;
[0048] Control module: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs the corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0049] To solve the above technical problems, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned EC glass automatic control color change method when executing the computer program.
[0050] In order to solve the above technical problems, the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned EC glass automatic control color change method are implemented.
[0051] The above technical solution of the present invention has the following advantages compared with the prior art:
[0052] The EC glass automatic control color change method of the present invention analyzes the data collected in real time by the light sensor and / or the temperature sensor through the gateway device, and sends the analysis result to the EC glass controller through instructions. The EC glass controller outputs a corresponding voltage color change signal according to the received instruction to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0053] The present invention adopts a more effective EC glass automatic control method, and can effectively adjust indoor light by changing the light transmittance of EC glass, thereby reducing dependence on air conditioning and lighting equipment, thereby reducing energy consumption and achieving energy saving and environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.
[0055] Figure 1 is a flow chart of the method of the present invention;
[0056] Figure 2 is a schematic diagram of a photovoltaic film attached to a window frame in an embodiment of the present invention;
[0057] Figure 3is a schematic diagram of the logic judgment between illumination and light transmittance of EC glass in an embodiment of the present invention;
[0058] Figure 4 It is a schematic diagram of the logic judgment between temperature and EC glass transmittance in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0060] Embodiment 1
[0061] Reference Figure 1 As shown, the present invention relates to a method for automatically controlling color change of EC glass, comprising:
[0062] Step S1: Acquire data collected in real time by outdoor light sensors and temperature sensors;
[0063] Step S2: Transmitting the data collected by the light sensor and the temperature sensor in real time to the indoor gateway device;
[0064] Step S3: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs a corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0065] The following is a detailed introduction to this embodiment:
[0066] 1: EC glass power supply system
[0067] This embodiment uses a strip-shaped photovoltaic film (a flexible photovoltaic strip) made of lightweight, flexible materials such as organic polymers, amorphous silicon (a-Si), copper indium gallium selenide (CIGS) or perovskite, etc. Their main advantage is that they can adapt to various surface shapes, including curved surfaces and uneven window frame surfaces.
[0068] The EC glass power supply system includes a photovoltaic film, a photovoltaic controller (model EPOW-KS20D), a power supply kit (battery), and an EC glass controller (model TMS320F280049 or MM908E622) connected in sequence, wherein the EC glass controller can control the light transmittance of the EC glass and thus control its color. The photovoltaic film is fixed on the surface of the window frame of the EC glass and is used to convert solar energy into electrical energy; the photovoltaic controller is used to store the electrical energy generated by the photovoltaic film in the battery, and the battery is used to provide electrical energy for the EC glass controller.
[0069] like Figure 2 As shown, the photovoltaic film is bendable and foldable and easy to install. The photovoltaic film is attached to the window frame and other profiles, and is pasted or fixed. The photovoltaic film usually has an adhesive backing and can be directly pasted to the installation surface. It can also be fixed with screws or clamps. At the same time, the power supply kit and EC glass controller are installed in the window frame profile and connected to the photovoltaic film through wires.
[0070] The photovoltaic film is responsible for converting solar energy into electrical energy. This electrical energy is then connected and coordinated with other kits such as photovoltaic controllers and battery components. In this way, they together form an EC glass power supply system. The main function of this system is to provide the required power reserve and power support for the controller on each piece of EC glass, ensuring that the EC glass can operate normally and perform its functions.
[0071] 2: EC electrochromic glass control system (EC glass control system)
[0072] The EC glass control system consists of three parts: wireless sensors (light sensors, temperature sensors), gateway devices (preferably wireless gateways), and EC glass controllers. The light sensors and temperature sensors are connected to the gateway devices respectively, the gateway devices are connected to the EC glass controllers, and the EC glass controllers are connected to the EC glass. The gateway device (wireless gateway) generates instructions based on the data collected in real time by the light sensors and / or temperature sensors, and sends the instructions to the EC glass controller. The EC glass controller outputs corresponding voltage color change signals according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0073] 1: Wireless sensor part
[0074] The system integrates light sensors and temperature sensors. The sensors are designed and installed in an open outdoor environment, and the sensors have built-in wireless communication devices, enabling seamless data transmission.
[0075] The main function of the sensor is to monitor and collect light and temperature values in the outdoor environment in real time to ensure the accuracy and timeliness of the data. Through the built-in sensing components, it can continuously detect changes in light and temperature and generate corresponding electronic signals based on these changes.
[0076] These electronic signal data can well reflect the current environmental information. The sensor will process and package these collected electronic signals, and then send them to the indoor wireless gateway device in real time through the built-in wireless communication device. The wireless gateway is usually deployed in the room, responsible for receiving and processing the data from the sensor, and can perform further processing and analysis. In this way, the sensor can effectively transmit the changes in outdoor temperature and light to the wireless gateway in real time, thereby providing data support for the EC glass control system.
[0077] The wireless gateway has built-in analysis algorithms and can be flexibly controlled according to the set algorithms.
[0078] The wireless gateway can control the color change of the EC glass according to the outdoor light intensity collected by the light sensor, or according to the outdoor temperature collected by the temperature sensor, or it can also determine the color change of the EC glass based on both light and temperature factors.
[0079] According to the transmittance characteristics of EC glass, it is divided into 4 color-changing gears. The settings are: T1 transmittance is a%, T2 transmittance is b%, T3 transmittance is c%, and T4 transmittance is d%.
[0080] (1) Processing algorithm between light intensity and EC glass color transmittance
[0081] The wireless gateway has a built-in color change algorithm. When the wireless gateway receives the signal sent by the sensor, it will perform a series of calculations and processing. These calculations and processing are based on a pre-set algorithm to determine the color change state of the EC glass. Once the color change state is determined, the gateway will send the corresponding instructions to the EC glass controller corresponding to each piece of EC glass. After receiving the instructions, these EC glass controllers will output the corresponding voltage color change signal, thereby changing the transmittance color of the EC glass.
[0082] To better understand this process, please refer to Figure 3 . Figure 3 It shows a hypothetical day and night outdoor light intensity range, from A to Dlx, where A represents the minimum light intensity and D represents the maximum light intensity. X1 represents the real-time light intensity.
[0083] For example, when the light intensity in the environment becomes X1≤Alx, the light sensor will collect this signal and transmit it to the gateway. After receiving the signal, the gateway will perform calculations and finally execute the color change state of the T1 gear. This means that the transmittance of the EC glass will be adjusted to α%.
[0084] When the light intensity in the environment changes to A≤X1≤Blx, the light sensor will also transmit the collected signal to the gateway. After calculation and processing, the gateway will execute the color change state of the T2 gear. At this time, the transmittance of the EC glass will be adjusted to β%.
[0085] If the light intensity in the environment changes to B≤X1≤Clx, the light sensor will transmit the signal to the gateway again. After calculation and processing, the gateway will execute the color change state of T3 gear. In this case, the transmittance of EC glass will be adjusted to γ%.
[0086] When the light intensity in the environment becomes C≤X1≤Dlx, the light sensor will transmit the signal to the gateway. After calculation and processing, the gateway will execute the color change state of T4 gear. At this time, the transmittance of EC glass will be adjusted to δ%, α>β>γ>δ, and lx is the light unit.
[0087] In this way, EC glass can automatically adjust its transmittance according to the real-time light intensity to achieve the best light environment effect.
[0088] In addition to the above four-speed adjustment mode (which can adapt to common scenes), in order to adapt to more complex or higher-demand environments, the gateway device controls the EC glass controller to change the EC glass transmittance according to the data collected in real time by the light sensor, and also calculates the EC glass transmittance by the first transmittance formula, which is expressed as:
[0089] GT(X)=a·e -b·X
[0090] Wherein, GT(X) represents the calculated light transmittance of the EC glass, X represents the real-time light intensity collected by the light sensor, a and b are the first constant and the second constant respectively, and in this embodiment, a=0.6b=ln(60) / 100000.
[0091] (2) Algorithm for processing temperature changes and EC glass color transmittance
[0092] like Figure 4 Shows a hypothetical day and night room temperature range, from E℃ to H℃, where E represents the lowest temperature and H represents the highest temperature. X2 represents the real-time temperature.
[0093] For example, when the temperature in the environment becomes X2≤E℃, the temperature sensor will collect this signal and transmit it to the gateway. After receiving the signal, the gateway will perform calculations and finally execute the color change state of the T1 gear. This means that the transmittance of the EC glass will be adjusted to α%.
[0094] When the ambient temperature reaches E≤X2≤F℃, the temperature sensor will also transmit the collected signal to the gateway. After calculation and processing, the gateway will execute the color change state of T2 gear. At this time, the transmittance of EC glass will be adjusted to βb%.
[0095] If the ambient temperature changes to F≤X2≤G℃, the temperature sensor will transmit the signal to the gateway again. After calculation and processing, the gateway will execute the color change state of T3 gear. In this case, the transmittance of EC glass will be adjusted to γc%.
[0096] When the temperature in the environment becomes G≤X2≤H℃, the temperature sensor will transmit the signal to the gateway. After calculation and processing, the gateway will execute the color change state of T4 gear. At this time, the transmittance of EC glass will be adjusted to δ%, α>β>γ>δ.
[0097] In this way, EC glass can automatically adjust its light transmittance according to the real-time temperature to achieve the best light environment effect.
[0098] In addition to the above four-speed adjustment mode (which can adapt to common scenarios), in order to adapt to more complex or higher-demand environments, the gateway device controls the EC glass controller to change the EC glass transmittance according to the data collected in real time by the temperature sensor, and calculates the EC glass transmittance through the second transmittance formula, which is expressed as:
[0099]
[0100] Wherein, GT(X) represents the calculated transmittance of EC glass, X represents the real-time temperature value collected by the temperature sensor, c and d are the third constant and the fourth constant respectively, and in this embodiment, c=-2.36, d=95.4.
[0101] (3) Algorithmic processing between the linkage changes of temperature and light and the color transmittance of EC
[0102] In the EC glass automatic control system, the discoloration position of the EC glass can also be determined based on the combined influence of outdoor light and temperature. According to the pre-set discoloration conditions, when a certain condition is met, the discoloration of a certain position is executed. The specific position setting relationship is shown in Table 1.
[0103] Table 1
[0104]
[0105] Specifically, the method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor and the temperature sensor, specifically:
[0106] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0107] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%;
[0108] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0109] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0110] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0111] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%;
[0112] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0113] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0114] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0115] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%;
[0116] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0117] When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0118] When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0119] When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0120] When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%;
[0121] When the light intensity collected by the light sensor is C≤X1≤Dlx and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where A represents the minimum light intensity, D represents the maximum light intensity, X1 represents the real-time light intensity, E represents the minimum temperature, H represents the maximum temperature, X2 represents the real-time temperature, and α>β>γ>δ.
[0122] For example:
[0123] When the ambient temperature X2≤E℃ and the light intensity X1≤Alx, the 1(α) gear is executed.
[0124] When the ambient temperature is F≤X2≤G℃ and the light intensity is A≤X1≤Blx, the 10(γ) gear is executed.
[0125] When the ambient temperature G≤X2≤H℃ and the light intensity B≤X1≤Clx, the 15(δ) gear is executed.
[0126] In addition to the above four-speed adjustment mode (which can adapt to common scenes), in order to adapt to more complex or higher-demand environments, the gateway device controls the EC glass controller to change the EC glass transmittance according to the data collected in real time by the light sensor and the temperature sensor, and predicts the EC glass transmittance through the multi-layer perceptron, specifically:
[0127] The collected light sensor and temperature sensor data are normalized and then input into a multi-layer perceptron, which then outputs the corresponding EC glass transmittance.
[0128] Embodiment 2
[0129] This embodiment provides an EC glass automatic control color change system, including:
[0130] Acquisition module: used to obtain real-time data collected by outdoor light sensors and temperature sensors;
[0131] Transmission module: used to transmit the data collected by the light sensor and temperature sensor in real time to the indoor gateway device;
[0132] Control module: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs the corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
[0133] Embodiment 3
[0134] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for automatically controlling the color change of EC glass described in the first embodiment are implemented.
[0135] Embodiment 4
[0136] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for automatically controlling the color change of EC glass described in the first embodiment are implemented.
[0137] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0142] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.
Claims
1. A method for automatically controlling the color change of EC glass, characterized in that: include: Step S1: Acquire data collected in real time by outdoor light sensors and temperature sensors; Step S2: Transmitting the data collected by the light sensor and the temperature sensor in real time to the indoor gateway device; Step S3: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs a corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
2. The EC glass automatic control color changing method according to claim 1, characterized in that: The method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor, specifically: When the light intensity collected by the light sensor is X1≤A lx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%; When the light intensity collected by the light sensor is A≤X1≤Blx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the light intensity collected by the light sensor is B≤X1≤Clx, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the light intensity collected by the light sensor is C≤X1≤Dlx, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where A represents the minimum light intensity, D represents the maximum light intensity, X1 represents the real-time light intensity, and α>β>γ>δ.
3. The EC glass automatic control color changing method according to claim 2, characterized in that: When the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor, the light transmittance of the EC glass is calculated by the first light transmittance formula, which is expressed as: Wherein, GT(X1) represents the calculated light transmittance of the EC glass, X1 represents the real-time light intensity collected by the light sensor, and a and b are the first constant and the second constant, respectively.
4. The EC glass automatic controlled color changing method according to claim 1, characterized in that: The method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the temperature sensor, specifically: When the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%; When the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where E represents the lowest temperature, H represents the highest temperature, X2 represents the real-time temperature, and α>β>γ>δ.
5. The EC glass automatic controlled color changing method according to claim 1, characterized in that: The gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the temperature sensor, and calculates the light transmittance of the EC glass by the second light transmittance formula, which is expressed as: Wherein, GT(X2) represents the calculated transmittance of the EC glass, X2 represents the real-time temperature data collected by the temperature sensor, and c and d are the third constant and the fourth constant, respectively.
6. The EC glass automatic controlled color changing method according to claim 1, characterized in that: The method for changing the light transmittance of the EC glass in step S3 includes: the gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor and the temperature sensor, specifically: When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%; When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to α%; When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is X2≤E℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to β%; When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is E≤X2≤F℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to γ%; When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%; When the light intensity collected by the light sensor is C≤X1≤Dlx, and the temperature collected by the temperature sensor is F≤X2≤G℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%; When the light intensity collected by the light sensor is X1≤Alx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%; When the light intensity collected by the light sensor is A≤X1≤Blx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%; When the light intensity collected by the light sensor is B≤X1≤Clx, and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output a corresponding voltage color change signal, thereby adjusting the light transmittance of the EC glass to δ%; When the light intensity collected by the light sensor is C≤X1≤Dlx and the temperature collected by the temperature sensor is G≤X2≤H℃, the gateway device controls the EC glass controller to output the corresponding voltage color change signal, and then adjusts the transmittance of the EC glass to δ%, where A represents the minimum light intensity, D represents the maximum light intensity, X1 represents the real-time light intensity, E represents the minimum temperature, H represents the maximum temperature, X2 represents the real-time temperature, and α>β>γ>δ.
7. The EC glass automatic controlled color changing method according to claim 6, characterized in that: The gateway device controls the EC glass controller to change the light transmittance of the EC glass according to the data collected in real time by the light sensor and the temperature sensor, and predicts the light transmittance of the EC glass through the multi-layer perceptron, specifically: The collected light sensor and temperature sensor data are normalized and then input into a multi-layer perceptron, which then outputs the corresponding EC glass transmittance.
8. An EC glass automatic control color changing system, characterized by: include: Collection module: used to obtain real-time data collected by outdoor light sensors and temperature sensors; Transmission module: used to transmit the data collected by the light sensor and temperature sensor in real time to the indoor gateway device; Control module: The gateway device analyzes the data collected in real time by the light sensor and / or temperature sensor, and sends the analysis results to the EC glass controller through instructions. The EC glass controller outputs the corresponding voltage color change signal according to the received instructions to change the light transmittance of the EC glass, thereby changing the color of the EC glass.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for automatically controlling the color change of EC glass as claimed in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for automatically controlling the color change of EC glass as claimed in any one of claims 1 to 7 are implemented.