Electrochromic glass color development control system and control method thereof
By introducing voltage generation and adjustment modules, detection circuits, microcontroller units and positive and negative voltage output circuits into the electrochromic glass color development control system, and voltage regulation is used by digital-to-analog converters, the problem of low color development control accuracy in the prior art is solved, and high-precision color development control effect is achieved.
Patent Information
- Application Number
- CN202510592076.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-06-27
AI Technical Summary
The color rendering control accuracy of existing electrochromic glasses is not high, resulting in unsatisfactory color rendering control effect.
An electrochromic glass color development control system is designed, including a voltage generation and regulation module, a detection circuit, a microcontroller unit and a positive and negative voltage output circuit. The voltage is regulated through a digital-to-analog converter to achieve high-precision positive and negative voltage DC power generation.
It effectively improves the color rendering control accuracy and color rendering control effect of electrochromic glass, and avoids the problem that traditional DC power supplies are limited by potentiometer accuracy.
Smart Images

Figure CN120215187A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of electrochromic control, and more specifically, relates to an electrochromic glass color display control system and its control method. Background Art
[0002] The color display principle of electrochromic glass is that under the action of an external positive and negative voltage power supply, external ions are injected or extracted in the internal electrochromic material, and the material undergoes a reversible electrochemical reaction, resulting in a change in the optical properties (such as reflectivity, absorptivity, and transmittance) of the material, and then the glass shows a reversible change in coloring and fading in appearance.
[0003] Electrochromic glass can be widely used in the glass windows of buildings, transportation vehicles, etc. In practical applications, users can actively control the color display effect of electrochromic glass windows according to the intensity of external light, so as to regulate the absorption and transmission intensity of external light, and then achieve the adjustment of indoor light, which can play roles such as adjusting indoor brightness and anti-glare.
[0004] However, the external power supply of existing electrochromic glass usually uses a potentiometer to adjust and generate a DC power supply. Due to the limitation of the accuracy of the potentiometer itself, the voltage accuracy of the actual output of the power supply is low, which will directly lead to low color display control accuracy of electrochromic glass, and the color display control effect of electrochromic glass is not ideal. Summary of the Invention
[0005] Aiming at the defects of the existing technology, this application aims to solve the problems of low color display control accuracy of existing electrochromic glass and unsatisfactory color display control effect of electrochromic glass.
[0006] To achieve the above object, in the first aspect, this application provides an electrochromic glass color display control system, including: A voltage generation and regulation module, a detection circuit, a micro-control unit, and a positive and negative voltage output circuit; The micro-control unit is respectively connected to the voltage generation and regulation module, the detection circuit, and the positive and negative voltage output circuit; the voltage generation and regulation module is also connected to the detection circuit, the detection circuit is also connected to the positive and negative voltage output circuit, and the positive and negative voltage output circuit is connected to an external electrochromic glass; the voltage generation and regulation module uses a digital-to-analog converter for voltage regulation; The detection circuit is used to detect a first voltage output by the voltage generation and regulation module during system operation and transmit the first voltage to the micro-control unit; The micro-control unit is used to control the voltage generation and regulation module to output a second voltage according to a preset voltage and the first voltage, so that the detection circuit outputs the preset voltage; The positive and negative voltage output circuit is used to output a corresponding positive voltage or negative voltage under the control of the microcontroller unit according to the preset voltage, so as to control the coloring of the external electrochromic glass.
[0007] Optionally, the voltage generation and regulation module includes a DC-DC converter, a low dropout regulator, a digital-to-analog converter, and a follow-up voltage regulation circuit; The input end of the digital-to-analog converter serves as the first input end of the voltage generation and regulation module, the first input end of the follow-up voltage regulation circuit serves as the second input end of the voltage generation and regulation module, and the output end of the low dropout regulator serves as the output end of the voltage generation and regulation module; The input end of the digital-to-analog converter is connected to the first output end of the microcontroller unit, and the output end is connected to the first input end of the low dropout regulator; the second input end of the low dropout regulator is connected to the first output end of the DC-DC converter, and the output end is connected to the input end of the detection circuit; the first output end of the detection circuit is connected to the input end of the microcontroller unit, and the second output end is respectively connected to the first input end of the follow-up voltage regulation circuit and the first input end of the positive and negative voltage output circuit; the second input end of the follow-up voltage regulation circuit is connected to the second output end of the DC-DC converter, and the output end is connected to the first output end of the DC-DC converter; the second input end of the positive and negative voltage output circuit is connected to the second output end of the microcontroller unit, and the output end is connected to the power input end of the external electrochromic glass; The detection circuit is used to detect the first voltage output by the low dropout regulator during system operation and transmit the first voltage to the microcontroller unit and the follow-up voltage regulation circuit respectively; The microcontroller unit is used to control the output voltage of the digital-to-analog converter according to the preset voltage and the first voltage to provide a reference voltage for the low dropout regulator; The follow-up voltage regulation circuit is used to adjust the output voltage of the DC-DC converter according to the first voltage and the fixed output voltage built in the DC-DC converter; The low dropout regulator is used to output a second voltage based on the reference voltage and the output voltage of the DC-DC converter.
[0008] Optionally, the voltage generation and regulation module includes a DC-DC converter, a low dropout regulator, a first digital-to-analog converter, and a second digital-to-analog converter; The input end of the first digital-to-analog converter serves as the first input end of the voltage generation and regulation module, and the input end of the second digital-to-analog converter serves as the second input end of the voltage generation and regulation module; the output end of the low dropout regulator serves as the output end of the voltage generation and regulation module; The input end of the first digital-to-analog converter is connected to the first output end of the microcontroller unit, and the output end is connected to the first input end of the low-dropout regulator; the input end of the second digital-to-analog converter is connected to the second output end of the microcontroller unit, and the output end is connected to the input end of the DC-DC converter; the output end of the DC-DC converter is connected to the second input end of the low-dropout regulator; the output end of the low-dropout regulator is connected to the input end of the detection circuit; the first output end of the detection circuit is connected to the input end of the microcontroller unit, and the second output end is connected to the first input end of the positive and negative voltage output circuit; the second input end of the positive and negative voltage output circuit is connected to the third output end of the microcontroller unit, and the output end is connected to the power input end of the external electrochromic glass; The detection circuit is configured to detect a first voltage output by the low-dropout regulator during system operation and transmit the first voltage to the microcontroller unit; The microcontroller unit is configured to control the output voltage of the first digital-to-analog converter according to a preset voltage and the first voltage to provide a reference voltage for the low-dropout regulator, and is configured to control the output voltage of the second digital-to-analog converter according to the preset voltage and the first voltage to adjust the output voltage of the DC-DC converter; The low-dropout regulator is configured to output a second voltage based on the reference voltage and the output voltage of the DC-DC converter.
[0009] Optionally, the positive and negative voltage output circuit includes a first switch module, a second switch module, a first switching transistor, a second switching transistor, a third switching transistor, a fourth switching transistor, a first resistor, a second resistor, and a circuit connector; the second input end of the positive and negative voltage output circuit includes a first sub-input end and a second sub-input end; The source electrode of the first switching transistor is connected to the source electrode of the fourth switching transistor, and the source electrode of the first switching transistor serves as the first input end of the positive and negative voltage output circuit; the input end of the first switch module is connected to one end of the second resistor, and the input end of the first switch module serves as the first sub-input end; the input end of the second switch module is connected to one end of the first resistor, and the input end of the second switch module serves as the second sub-input end; the input level states of the first sub-input end and the second sub-input end are opposite; The output end of the first switch module is connected to the gate electrode of the first switching transistor; the drain electrodes of the first switching transistor and the second switching transistor are both connected to the first output end of the circuit connector, and the source electrode of the second switching transistor is grounded; the other end of the first resistor is connected to the gate electrode of the second switching transistor; The output terminal of the second switch module is connected to the gate of the fourth switching transistor; the drain of the fourth switching transistor and the drain of the third switching transistor are both connected to the second output terminal of the circuit connector, and the source of the third switching transistor is grounded; the other end of the second resistor is connected to the gate of the third switching transistor; The first switch module is used to control the switching state of the first switching transistor; The second switch module is used to control the switching state of the fourth switching transistor; The circuit connector is used to output the positive voltage or negative voltage corresponding to the preset voltage.
[0010] Optionally, the first switch module includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first triode, a second triode, and a third triode; One end of the third resistor serves as the input terminal of the first switch module, the other end of the third resistor is commonly connected to one end of the fourth resistor and the base of the first triode, the other end of the fourth resistor and the emitter of the first triode are connected to ground, the collector of the first triode, one end of the fifth resistor, and one end of the sixth resistor are commonly connected, the other end of the sixth resistor is connected to the base of the second triode, and the emitter of the second triode is grounded; The collector of the second triode, one end of the seventh resistor, and one end of the eighth resistor are commonly connected, the other end of the eighth resistor is connected to the base of the third triode, the collector of the third triode is connected to one end of the ninth resistor, and the collector of the third triode serves as the output terminal of the first switch module; The other ends of the fifth resistor and the seventh resistor and the emitter of the third triode are all connected to the positive power supply; the other end of the ninth resistor is connected to the negative power supply.
[0011] Optionally, the second switch module includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a fourth triode, a fifth triode, and a sixth triode; One end of the tenth resistor serves as the input terminal of the second switch module, the other end of the tenth resistor is commonly connected to one end of the eleventh resistor and the base of the fourth triode, the other end of the eleventh resistor and the emitter of the fourth triode are both connected to ground, the collector of the fourth triode, one end of the twelfth resistor, and one end of the thirteenth resistor are commonly connected, the other end of the thirteenth resistor is connected to the base of the fifth triode, and the emitter of the fifth triode is grounded; The collector of the fifth triode, one end of the fourteenth resistor, and one end of the fifteenth resistor are commonly connected. The other end of the fifteenth resistor is connected to the base of the sixth triode. The collector of the sixth triode is connected to one end of the sixteenth resistor. The collector of the sixth triode serves as the output end of the second switching module; The other end of the twelfth resistor, the other end of the fourteenth resistor, and the emitter of the sixth triode are all connected to the positive power supply; the other end of the sixteenth resistor is connected to the negative power supply.
[0012] Optionally, the follower voltage regulating circuit includes a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a seventh triode, and a first capacitor; One end of the eighteenth resistor serves as the output end of the follower voltage regulating circuit and is connected to one end of the seventeenth resistor; The other end of the seventeenth resistor is connected to the emitter of the seventh triode. The other end of the eighteenth resistor, the base of the seventh triode, and one end of the nineteenth resistor are commonly connected; the other end of the nineteenth resistor is connected to one end of the first capacitor. One end of the first capacitor serves as the second input end of the follower voltage regulating circuit, and the other end of the first capacitor is grounded; The collector of the seventh triode serves as the first input end of the follower voltage regulating circuit and is connected to one end of the twentieth resistor, and the other end of the twentieth resistor is grounded.
[0013] Optionally, the detection circuit includes a power supply detection module, a twenty-first resistor, a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor, and a second capacitor; One end of the twenty-first resistor is connected to one end of the twenty-second resistor. One end of the twenty-second resistor serves as the input end of the detection circuit; the other end of the twenty-first resistor, one end of the twenty-third resistor, and one end of the twenty-fourth resistor are commonly connected. One end of the twenty-fourth resistor serves as the second output end of the detection circuit; the other end of the twenty-second resistor, one end of the second capacitor, and the first input end of the power supply detection module are commonly connected; The other end of the twenty-third resistor, the other end of the second capacitor, and the second input end of the power supply detection module are commonly connected; the other end of the twenty-fourth resistor is connected to the third input end of the power supply detection module; the output end of the power supply detection module serves as the first output end of the detection circuit.
[0014] Optionally, a CAN communication circuit and a storage circuit are further included; The micro control unit is respectively connected to the CAN communication circuit and the storage circuit; The CAN communication circuit is used to transmit a preset voltage output instruction input externally to the microcontroller unit for the microcontroller unit to regulate the output of the voltage generation and regulation module; The storage circuit is used to store the operation data of the microcontroller unit, and the operation data at least includes operation program code data and configuration data. In a second aspect, the present application provides a control method applied to the electrochromic glass color display control system as described in any one of the foregoing, including: The detection circuit is used to detect a first voltage output by the voltage generation and regulation module during system operation and transmit the first voltage to the microcontroller unit; The microcontroller unit is used to control the voltage generation and regulation module to output a second voltage according to a preset voltage and the first voltage, so that the detection circuit outputs the preset voltage; The positive and negative voltage output circuit is used to output a corresponding positive voltage or negative voltage according to the preset voltage under the control of the microcontroller unit to control the color display of the external electrochromic glass.
[0015] Generally speaking, compared with the prior art through the above technical solutions conceived by the present application, the following beneficial effects are achieved: An electrochromic glass color display control system and its control method provided by the present application construct a DC positive and negative voltage power supply system by using a voltage generation and regulation module, a detection circuit, a microcontroller unit, and a positive and negative voltage output circuit, and uses a digital-to-analog converter with higher output accuracy to control the system output voltage, avoiding the problem that the traditional DC power supply is limited by the accuracy of the potentiometer itself. By introducing a voltage generation and regulation module and a microcontroller unit to automatically control the system to generate a high-precision positive and negative DC power supply, the accuracy of the positive and negative voltages input to the electrochromic glass can be effectively improved, thereby improving the color display control accuracy and color display control effect of the electrochromic glass. Description of the Drawings
[0016] Figure 1 is one of the structural schematic diagrams of the electrochromic glass color display control system provided by the embodiment of the present application; Figure 2 is another structural schematic diagram of the electrochromic glass color display control system provided by the embodiment of the present application; Figure 3 is still another structural schematic diagram of the electrochromic glass color display control system provided by the embodiment of the present application; Figure 4 is yet another structural schematic diagram of the electrochromic glass color display control system provided by the embodiment of the present application; Figure 5 is one of the structural schematic diagrams of the positive and negative voltage output circuit provided by the embodiment of the present application; Figure 6It is the second schematic structural diagram of the positive and negative pressure output circuit provided by the embodiment of the present application; Figure 7 It is the schematic structural diagram of the follow-up voltage regulating circuit provided by the embodiment of the present application; Figure 8 It is the schematic structural diagram of the detection circuit provided by the embodiment of the present application; Figure 9 It is the fifth schematic structural diagram of the electrochromic glass color display control system provided by the embodiment of the present application; Figure 10 It is the schematic flow diagram of the control method of the electrochromic glass color display control system provided by the embodiment of the present application. Detailed implementation manners
[0017] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0018] The terms "first" and "second" etc. in the description and claims of the present application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first input terminal and the second input terminal etc. are used to distinguish different input terminals, rather than to describe a specific order of the input terminals.
[0019] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.
[0020] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" refers to two or more. For example, a plurality of processing units refers to two or more processing units, etc.; a plurality of elements refers to two or more elements, etc.
[0021] The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
[0022] Figure 1 It is one of the schematic structural diagrams of the electrochromic glass color display control system provided by the embodiment of the present application. As Figure 1 shown, it includes: A voltage generation and regulation module 1, a micro control unit (MCU) 2, a detection circuit 3 and a positive and negative pressure output circuit 4; The MCU 2 is respectively connected to the voltage generation and regulation module 1, the detection circuit 3, and the positive and negative voltage output circuit 4; the voltage generation and regulation module 1 is also connected to the detection circuit 3, the detection circuit 3 is also connected to the positive and negative voltage output circuit 4, and the positive and negative voltage output circuit 4 is connected to the external electrochromic glass; the voltage generation and regulation module 1 uses a digital-to-analog converter (DAC) for voltage regulation; The detection circuit 3 is used to detect the first voltage output by the voltage generation and regulation module 1 during system operation and transmit the first voltage to the MCU 2; The MCU 2 is used to control the voltage generation and regulation module 1 to output a second voltage according to the preset voltage and the first voltage, so that the detection circuit 3 outputs the preset voltage; The positive and negative voltage output circuit 4 is used to output the corresponding positive voltage or negative voltage according to the preset voltage under the control of the MCU 2 to control the coloring of the external electrochromic glass.
[0023] Specifically, the first voltage described in the embodiments of the present application refers to the voltage output by the voltage generation and regulation module before adjusting the output voltage of the entire system.
[0024] The preset voltage described in the embodiments of the present application refers to the target voltage that needs to be adjusted and output by the system, which can be set and command-controlled through the MCU, and the specific value can be set according to the input voltage parameters of the actual electrochromic glass.
[0025] The second voltage described in the embodiments of the present application refers to the voltage output after the voltage generation and regulation module outputs the first voltage and undergoes the voltage regulation control process of the MCU.
[0026] In the embodiments of the present application, it is designed that the MCU is respectively connected to the voltage generation and regulation module and the detection circuit; the voltage generation and regulation module is connected to the detection circuit. In this way, during system operation, the detection circuit can detect the first voltage output by the voltage generation and regulation module before voltage regulation. At the same time, the MCU can obtain the first voltage detected by the detection circuit and judge whether the detection circuit outputs the required voltage by combining the value of the preset voltage. When the MCU determines that the first voltage is not the preset voltage, it can send the corresponding digital voltage signal to the voltage generation and regulation module. The voltage generation and regulation module uses the internally preset DAC for voltage regulation and outputs the second voltage. Then, the second voltage undergoes detection and filtering by the detection circuit, and finally outputs the DC voltage corresponding to the preset voltage, thereby providing a DC power supply with low noise and stability.
[0027] In the prior art, generally, the output voltage is obtained by multiplying the current by the resistance of the potentiometer. Usually, an 8-bit potentiometer is selected for adjustment. For example, under a reference voltage of 3.3V, its corresponding minimum output scale is 3.3V / 256≈12.9mV. In the embodiments of the present application, by changing to a DAC to control the output voltage, specifically, a 12-bit DAC can be used. Under the same conditions, its minimum output scale is 3.3V / 4095≈0.8mV, and the output accuracy can be greatly improved.
[0028] Further, in the embodiments of the present application, the positive and negative voltage output circuit is connected to the MCU, the detection circuit is connected to the positive and negative voltage output circuit, and the positive and negative voltage output circuit is connected to the external electrochromic glass. Under the control of the control signal input by the MCU, the positive and negative voltage output circuit can output a high-precision positive voltage or negative voltage corresponding to the preset voltage output by the detection circuit, so as to apply the high-precision positive voltage or negative voltage to the power input end of the electrochromic glass to control the electrochromic glass to display color.
[0029] It should be noted that the electrochromic glass usually consists of a transparent conductive layer, an electrochromic layer, an ion conductor layer, and an ion storage layer.
[0030] Here, the high-precision positive voltage output by the positive and negative voltage output circuit can drive ions (such as Li⁺) in the electrochromic glass to migrate from the ion storage layer to the electrochromic layer to initiate a reduction reaction, so that the electrochromic layer absorbs visible light and realizes the rapid coloring of the electrochromic glass; the high-precision negative voltage output by the positive and negative voltage output circuit can drive the ions to migrate back from the electrochromic layer to the ion storage layer to initiate an oxidation reaction, so that the electrochromic layer quickly returns to the transparent state and realizes the rapid fading of the electrochromic glass, thereby controlling the process of precise coloring or fading of the electrochromic glass, and achieving a high-precision control effect on the color display of the electrochromic glass.
[0031] The electrochromic glass color display control system of the embodiments of the present application constructs a DC positive and negative power supply system by using a voltage generation and regulation module, a detection circuit, a micro control unit, and a positive and negative voltage output circuit. By changing to a digital-to-analog converter with higher output accuracy to control the system output voltage, it avoids the problem that the traditional DC power supply is limited by the accuracy of the potentiometer itself, and by introducing a voltage generation and regulation module and a micro control unit to automatically control the system to generate a high-precision positive and negative DC power supply, it can effectively improve the accuracy of the positive and negative voltages input to the electrochromic glass, thereby improving the color display control accuracy and color display control effect of the electrochromic glass.
[0032] Figure 2 is the second structural schematic diagram of the electrochromic glass color display control system provided by the embodiments of the present application. As Figure 2 shown, the system further includes a CAN communication circuit 5 and a storage circuit 6; The MCU 2 is respectively connected to the CAN communication circuit 5 and the storage circuit 6; The CAN communication circuit 5 is used to transmit the externally input preset voltage output instruction to the MCU 2 for the MCU 2 to regulate the output of the voltage generation and regulation module 1; The storage circuit 6 is used to store the operation data of the MCU 2, and the operation data at least includes operation program code data and configuration data.
[0033] Specifically, in the embodiment of the present application, the MCU can be externally connected to a CAN communication circuit. For example, when the MCU needs to send data, the CAN communication circuit converts the TTL level signal output by the MCU into a voltage difference signal on two differential signal lines, CAN_H and CAN_L, to achieve stable data transmission and communication with an external controller. Specifically, the CAN communication circuit can transmit the preset voltage output instruction input by the user through the external controller to the MCU. The preset voltage output instruction carries the information of the preset voltage magnitude. The MCU can then compare the information of the preset voltage magnitude with the information of the magnitude of the first voltage detected by the detection circuit. When it is determined that the first voltage is not the preset voltage, the voltage generation and regulation module is regulated to output a second voltage. Then, the second voltage is detected and filtered by the detection circuit, and finally a DC voltage signal corresponding to the preset voltage is output.
[0034] Among them, the CAN communication circuit includes a CAN interface, which is mainly used for communicating with the outside and completing the configuration and control of some parameters. Therefore, in the embodiment of the present application, an MCU with a CAN control interface and functions such as IIC, SPI, FLASH, DAC, ADC, GPIO, etc. can be selected.
[0035] In the embodiment of the present application, the MCU can also be externally connected to a storage circuit. Among them, the storage circuit can specifically adopt a Flash memory. The storage circuit is mainly used to store the relevant operation data of the MCU, and the operation data at least includes operation program code data and configuration data. For example, when the MCU is powered on or reset, it will read the program from the Flash and start to execute, ensuring that the system can still retain key data and programs after power off.
[0036] The system of the embodiment of the present application, by externally connecting a CAN communication circuit and a storage circuit to the MCU, ensures the normal operation of the MCU and the stable communication between the MCU and external devices, which is beneficial to ensuring the stability and reliability of the operation of the entire control system.
[0037] Figure 3 It is the third structural schematic diagram of the electrochromic glass color display control system provided by the embodiment of the present application, as Figure 3As shown, in the embodiment of the present application, the voltage generation and regulation module 1 includes a DC-DC converter 11, a low dropout regulator (LDO) 12, a digital-to-analog converter (DAC) 13, and a follow-up voltage regulation circuit 14; The input end of the DAC 13 serves as the first input end of the voltage generation and regulation module 1, the first input end of the follow-up voltage regulation circuit 14 serves as the second input end of the voltage generation and regulation module 1, and the output end of the LDO 12 serves as the output end of the voltage generation and regulation module 1; The input end of the DAC 13 is connected to the first output end of the MCU 2, and the output end is connected to the first input end of the LDO 12; the second input end of the LDO 12 is connected to the first output end of the DC-DC converter 11, and the output end is connected to the input end of the detection circuit 3; the first output end of the detection circuit 3 is connected to the input end of the MCU 2, and the second output end is respectively connected to the first input end of the follow-up voltage regulation circuit 14 and the first input end of the positive and negative voltage output circuit 4; the second input end of the follow-up voltage regulation circuit 14 is connected to the second output end of the DC-DC converter 11, and the output end is connected to the first output end of the DC-DC converter 11; the second input end of the positive and negative voltage output circuit 4 is connected to the second output end of the MCU 2, and the output end is connected to the power input end of the external electrochromic glass; The detection circuit 3 is configured to detect the first voltage output by the LDO 12 during system operation and transmit the first voltage to the MCU 2 and the follow-up voltage regulation circuit 14 respectively; The MCU 2 is configured to control the output voltage of the DAC 13 according to the preset voltage and the first voltage to provide a reference voltage for the LDO 12; The follow-up voltage regulation circuit 14 is configured to regulate the output voltage of the DC-DC converter 11 according to the first voltage and the fixed output voltage built in the DC-DC converter 11; The LDO 12 is configured to output a second voltage based on the reference voltage and the output voltage of the DC-DC converter 11.
[0038] Specifically, in the embodiments of the present application, a DC-DC converter, an LDO, a DAC, and a following voltage regulating circuit constitute a voltage generation and regulation module. It is designed that the input end of the DAC is connected to the first output end of the MCU, the first output end of the detection circuit is connected to the input end of the MCU, the output end of the DAC is connected to the first input end of the LDO, the second input end of the LDO is connected to the first output end of the DC-DC converter, and the output end of the LDO is connected to the input end of the detection circuit. In this way, when the system is running, the DC-DC converter provides the input voltage for the LDO. The detection circuit can detect the first voltage output by the LDO before voltage regulation. At the same time, the MCU determines whether the detection circuit outputs the required voltage by obtaining the first voltage detected by the detection circuit and combining the value of the preset voltage. When the MCU determines that the first voltage is not the preset voltage, it can directly send the corresponding digital signal for outputting the preset voltage to the DAC, which is converted into the corresponding analog voltage signal by the DAC, and then the analog voltage signal is transmitted to the SET pin of the LDO, thereby providing a reference voltage matching the preset voltage for the output of the LDO.
[0039] It should be noted that, in the embodiments of the present application, the design of the following voltage regulating circuit stems from the method of selecting DCDC to follow the LDO for voltage regulation, maintaining a fixed voltage difference between the DCDC and the LDO to ensure that the LDO stably outputs the required voltage. For example, when the fixed voltage difference between the DCDC and the LDO is fixed at 1V through the following voltage regulating circuit, and the LDO is adjusted by the DAC to output 3V, the output of the DCDC will automatically adjust the voltage to 4V to supply the input power for the LDO.
[0040] It should also be noted that the DC-DC converter has the characteristics of high efficiency and wide voltage adaptation range. However, using the DC-DC converter alone may not meet the strict requirements for power supply noise, while using the LDO alone may not be applicable due to limited input voltage range or low efficiency. At this time, by connecting the DC-DC converter and the LDO, an efficient, stable, and low-noise power supply system can be formed, thereby improving the overall performance of the circuit.
[0041] In the power supply system, the LDO can also play a role in protecting the load. When the input voltage fluctuates greatly or the load changes suddenly, the LDO can quickly adjust the output voltage to keep it stable, thereby protecting the load from the influence of voltage fluctuations.
[0042] Further, in the embodiments of the present application, the second input end of the following voltage regulating circuit is connected to the second output end of the DC-DC converter, its first input end is connected to the second output end of the detection circuit, and its output end is connected to the first output end of the DC-DC converter. In this way, the following voltage regulating circuit can receive the first voltage detected by the detection circuit, and combine the fixed voltage difference designed by the circuit itself, and use the first voltage and the fixed output voltage built in the DC-DC converter to adjust the output voltage of the DC-DC converter, so as to change the input voltage of the LDO, so that the LDO can output a second voltage according to the aforementioned reference voltage and the input voltage provided by the DC-DC converter for the detection circuit to detect and filter, and finally output the DC voltage corresponding to the preset voltage.
[0043] Furthermore, in the embodiments of the present application, the second output end of the detection circuit is connected to the first input end of the positive and negative voltage output circuit. At the same time, the second input end of the positive and negative voltage output circuit is connected to the second output end of the MCU, and the output end of the positive and negative voltage output circuit is connected to the power input end of the electrochromic glass. In this way, through the control signal input by the MCU, the positive and negative voltage output circuit can output a high-precision positive voltage or negative voltage to provide an input power supply for the external electrochromic glass.
[0044] The electrochromic glass color display control system of the embodiments of the present application constructs a voltage generation and regulation module by using a DC-DC converter, an LDO, a DAC, and a following voltage regulating circuit. By introducing the following voltage regulating circuit and designing a method for the DC-DC converter to automatically follow the LDO for voltage regulation, the system can automatically generate a high-precision positive and negative DC power supply, which can further effectively improve the accuracy of the positive and negative voltages input to the electrochromic glass, thereby improving the color display control accuracy and color display control effect of the electrochromic glass.
[0045] Figure 4 is the fourth structural schematic diagram of the electrochromic glass color display control system provided by the embodiments of the present application. As Figure 4 shown, in another embodiment of the present application, the voltage generation and regulation module 1 includes a DC-DC converter 11, an LDO 12, a first DAC 13, and a second DAC 14; The input end of the first DAC 13 is used as the first input end of the voltage generation and regulation module 1, and the input end of the second DAC 14 is used as the second input end of the voltage generation and regulation module 1; the output end of the LDO is used as the output end of the voltage generation and regulation module 1; The input terminal of the first DAC 13 is connected to the first output terminal of the MCU 2, and the output terminal is connected to the first input terminal of the LDO 12; the input terminal of the second DAC 14 is connected to the second output terminal of the MCU 2, and the output terminal is connected to the input terminal of the DC-DC converter 11; the output terminal of the DC-DC converter 11 is connected to the second input terminal of the LDO 12; the output terminal of the LDO 12 is connected to the input terminal of the detection circuit 3; the first output terminal of the detection circuit 3 is connected to the input terminal of the MCU 2, and the second output terminal is connected to the first input terminal of the positive and negative voltage output circuit 4; the second input terminal of the positive and negative voltage output circuit 4 is connected to the third output terminal of the MCU 2, and the output terminal is connected to the power input terminal of the external electrochromic glass; The detection circuit 3 is configured to detect the first voltage output by the LDO 12 during system operation and transmit the first voltage to the MCU 2; The MCU 2 is configured to control the output voltage of the first DAC 13 according to a preset voltage and the first voltage to provide a reference voltage for the LDO 12, and is configured to control the output voltage of the second DAC 14 according to the preset voltage and the first voltage to adjust the output voltage of the DC-DC converter 11; The LDO 12 is configured to output a second voltage based on the reference voltage and the output voltage of the DC-DC converter 11.
[0046] Specifically, in the embodiment of the present application, the input terminal of the first DAC is connected to the first output terminal of the MCU, and the output terminal is connected to the first input terminal of the LDO; the input terminal of the second DAC is connected to the second output terminal of the MCU, and the output terminal is connected to the input terminal of the DC-DC converter; the output terminal of the DC-DC converter is connected to the second input terminal of the LDO; the output terminal of the LDO is connected to the input terminal of the detection circuit. In this way, during system operation, the output voltage of the DC-DC converter is controlled by the second DAC to provide an input voltage for the subsequent LDO. Subsequently, the detection circuit can detect the first voltage output by the LDO before voltage regulation and transmit the first voltage to the MCU.
[0047] Next, the MCU obtains the first voltage detected by the detection circuit, determines whether the first voltage is the required voltage by combining the value of the preset voltage, and in the case where it is determined that the first voltage is not the preset voltage, can send a corresponding digital signal to the first DAC, which is converted into a corresponding analog voltage signal by the first DAC, and then transmits the analog voltage signal to the SET pin of the LDO, thereby providing a reference voltage matching the preset voltage for the output of the LDO.
[0048] Meanwhile, when the MCU determines that the first voltage is not the preset voltage, it will also send another relevant digital signal to the second DAC. The second DAC converts it into a corresponding analog voltage signal and transmits it to the DC-DC converter to control the output of the DC-DC converter, thereby changing the input voltage of the LDO. Eventually, the LDO can output the second voltage according to the aforementioned reference voltage and the input voltage provided by the DC-DC converter for the detection circuit to perform detection and filtering, and finally output the DC voltage corresponding to the preset voltage.
[0049] Furthermore, in the embodiments of the present application, the first output terminal of the detection circuit is connected to the input terminal of the MCU, and the second output terminal is connected to the first input terminal of the positive and negative voltage output circuit; the second input terminal of the positive and negative voltage output circuit is connected to the third output terminal of the MCU, and the output terminal is connected to the power input terminal of the external electrochromic glass. In this way, the high-precision positive voltage or negative voltage output by the positive and negative voltage output circuit is controlled by the control signal input by the MCU to provide the input power for the external electrochromic glass.
[0050] The system of the embodiments of the present application can realize the automatic control of the system and generate a high-precision DC power supply by using a DC-DC converter, an LDO, and two DACs to construct a voltage generation and regulation module, and using the combined regulation method of the two DACs to control the output voltage of the LDO. It can further effectively improve the precision of the positive and negative voltages input to the electrochromic glass and enhance the color display control precision and color display control effect of the glass.
[0051] Figure 5 is one of the structural schematic diagrams of the positive and negative voltage output circuit provided by the embodiments of the present application. As Figure 5 shown, in the embodiments of the present application, the positive and negative voltage output circuit 4 includes a first switch module 41, a second switch module 42, a first switching transistor Q1, a second switching transistor Q2, a third switching transistor Q3, a fourth switching transistor Q4, a first resistor R1, a second resistor R2, and a circuit connector J1; the second input terminal of the positive and negative voltage output circuit 4 includes a first sub-input terminal and a second sub-input terminal; The source electrode of the first switching transistor Q1 is connected to the source electrode of the fourth switching transistor Q4, and the source electrode of the first switching transistor Q1 serves as the first input terminal of the positive and negative voltage output circuit 4; the input terminal of the first switch module 41 is connected to one end of the second resistor R2, and the input terminal of the first switch module 41 serves as the first sub-input terminal; the input terminal of the second switch module 42 is connected to one end of the first resistor R1, and the input terminal of the second switch module 42 serves as the second sub-input terminal; the input level states of the first sub-input terminal and the second sub-input terminal are opposite; The output terminal of the first switch module 41 is connected to the gate of the first switching transistor Q1; the drains of the first switching transistor Q1 and the second switching transistor Q2 are both connected to the first output terminal of the circuit connector J1, and the source of the second switching transistor Q2 is grounded; the other end of the first resistor R1 is connected to the gate of the second switching transistor Q2; The output terminal of the second switch module 42 is connected to the gate of the fourth switching transistor Q4; the drains of the fourth switching transistor Q4 and the third switching transistor Q3 are both connected to the second output terminal of the circuit connector J1, and the source of the third switching transistor Q3 is grounded; the other end of the second resistor R2 is connected to the gate of the third switching transistor Q3; The first switch module 41 is used to control the switching state of the first switching transistor Q1; The second switch module 42 is used to control the switching state of the fourth switching transistor Q4; The circuit connector J1 is used to output a positive voltage or a negative voltage corresponding to a preset voltage output.
[0052] Specifically, in the embodiments of the present application, the positive and negative voltage output circuit may specifically adopt the form of a wire-changing circuit to output positive and negative voltages.
[0053] Optionally, the MCU may be connected to the positive and negative voltage output circuit by using a general-purpose input / output interface (GPIO, General-Purpose Input / Output) to control the positive and negative polarities of the voltage output by the positive and negative voltage output circuit. The GPIO can provide a basic connection between the MCU and the positive and negative voltage output circuit. The user can configure the functions of the GPIO pins through software without changing the hardware connection, and can implement control operations such as input, output, and interrupt triggering. The operation is flexible and is beneficial to improving the real-time response performance of the positive and negative voltage output circuit.
[0054] More specifically, in the embodiments of the present application, the positive and negative voltage output circuit includes a first switch module 41, a second switch module 42, a first switching transistor Q1, a second switching transistor Q2, a third switching transistor Q3, a fourth switching transistor Q4, a first resistor R1, a second resistor R2, and a circuit connector J1. Among them, the source of the first switching transistor Q1 is connected to the source of the fourth switching transistor Q4. The source of the first switching transistor Q1 serves as the first input terminal of the positive and negative voltage output circuit and is used to input the output voltage Vout of the detection circuit; the input terminal of the first switch module is connected to one end of the second resistor R2, and the input terminal of the first switch module serves as the first sub-input terminal and is used for the MCU to input a first control signal control1; the input terminal of the second switch module is connected to one end of the first resistor R1, and the input terminal of the second switch module serves as the second sub-input terminal and is used for the MCU to input a second control signal control2.
[0055] Among them, the input level states of the first sub-input terminal and the second sub-input terminal are opposite, that is to say, the level states between the control signals control1 and control2 are opposite. For example, when the control signal control1 is at a high level, the control signal control2 is at a low level; or when the control signal control1 is at a low level, the control signal control2 is at a high level.
[0056] Based on the content of the above embodiments, as an alternative embodiment, the first switching transistor Q1 and the fourth switching transistor Q4 both adopt the first MOS transistor, and the second switching transistor Q2 and the third switching transistor Q3 both adopt the second MOS transistor; the attributes of the first MOS transistor and the second MOS transistor are complementary.
[0057] Specifically, in the embodiments of the present application, the attributes of the first MOS transistor and the second MOS transistor are complementary, that is to say, if the first MOS transistor is a PMOS transistor, the second MOS transistor is an NMOS transistor; if the first MOS transistor is an NMOS transistor, the second MOS transistor is a PMOS transistor.
[0058] In the embodiments of the present application, in combination with the circuit structure functions of each switching module, it can be specifically determined that the first switching transistor and the fourth switching transistor both adopt PMOS transistors or NMOS transistors, and the second switching transistor and the third switching transistor both adopt NMOS transistors or PMOS transistors.
[0059] The system of the embodiments of the present application, by adopting MOS transistors and utilizing the low power consumption, high-speed switching performance, low noise and other performances of the MOS transistors, can reduce the power consumption of the positive and negative voltage output circuits and improve the output performance of the electrochromic glass color display control system.
[0060] Further, in the embodiments of the present application, when the switching transistors Q1 and Q4 both adopt PMOS transistors, the switching transistors Q2 and Q3 both adopt NMOS transistors, the control signal control1 is at a high level (such as 3.3V), and the control signal control2 is at a low level, the first switching module on the left side of the circuit can output a negative voltage. In this way, the gate of the PMOS Q1 is at a negative voltage, and the gate of the NMOS Q2 is at a negative voltage, then Q1 is controlled to conduct, while Q2 is cut off. At this time, the first output terminal of the circuit connector J1 outputs Vout; similarly, on the right side of the circuit, the second switching module can output a positive voltage. In this way, the gate of the NMOS Q3 is at a positive voltage, and the gate of the PMOS Q4 is at a positive voltage, then Q3 is controlled to conduct, while Q4 is cut off, and Q3 conducts. At this time, the second output terminal of the circuit connector J1 outputs GND.
[0061] It can be understood that when the level states of the above two control signals control1 and control2 are exchanged, the output states of the first switch module and the second switch module will change, and the output state of the circuit connector J1 also changes. At this time, the first output terminal of the circuit connector J1 outputs GND, and the second output terminal outputs Vout. Therefore, the circuit connector J1 can output a positive voltage or a negative voltage corresponding to the preset voltage output, so as to realize the positive and negative voltage output of the positive and negative voltage output circuit.
[0062] In the system according to the embodiment of the present application, a positive and negative voltage output circuit is constructed by using two switch modules, multiple switching tubes and a circuit connector. The conduction logic of each switching tube can be designed in combination with the GPIO control mode of the MCU, so that the two output terminals of the circuit connector can perform wire-changing output according to two matching different control signals, realizing the positive and negative voltage output function of the positive and negative voltage output circuit. The circuit structure is simple and efficient, and the real-time response performance is high, which is beneficial to improving the control performance of the entire electrochromic glass control system.
[0063] Figure 6 This is the second structural schematic diagram of the positive and negative voltage output circuit provided by the embodiment of the present application. As Figure 6 shown, in the embodiment of the present application, the first switch module 41 includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a first triode T1, a second triode T2, and a third triode T3; One end of the third resistor R3 serves as the input end of the first switch module. The other end of the third resistor R3 is commonly connected to one end of the fourth resistor R4 and the base of the first triode T1. The other end of the fourth resistor R4 is connected to the emitter of the first triode T1 and grounded. The collector of the first triode T1, one end of the fifth resistor R5, and one end of the sixth resistor R6 are commonly connected. The other end of the sixth resistor R6 is connected to the base of the second triode T2, and the emitter of the second triode T2 is grounded; The collector of the second triode T2, one end of the seventh resistor R7, and one end of the eighth resistor R8 are commonly connected. The other end of the eighth resistor R8 is connected to the base of the third triode T3. The collector of the third triode T3 is connected to one end of the ninth resistor R9. The collector of the third triode T3 serves as the output end of the first switch module; The other ends of the fifth resistor R5 and the seventh resistor R7 and the emitter of the third triode T3 are all connected to the positive power supply; the other end of the ninth resistor R9 is connected to the negative power supply.
[0064] Specifically, in the embodiments of the present application, the first switch module may be composed of seven resistors R3, R4, R5, R6, R7, R8, R9, and three triodes T1, T2, and T3. Since the conduction conditions of NMOS and PMOS are different, and the two control signals control1 and control2 need to be level-matched, multiple triodes can be added to achieve level conversion of the control signals.
[0065] More specifically, in the embodiments of the present application, when the switching transistors Q1 and Q4 are both PMOS transistors, the switching transistors Q2 and Q3 are both NMOS transistors, the control signal control1 is at a high level, and control2 is at a low level, in the first switch module on the left side of the circuit, the triode T1 will be in a conducting state. At this time, the base of the triode T2 inputs a low level, so the triode T2 is in a cut-off state. At this time, the base of the triode T3 is connected to the positive power supply VCC, that is, the base of the triode T3 inputs a high level, such as 5V, so the triode T3 is also in a cut-off state. At this time, the output end of the first switch module is connected to the negative power supply VSS, outputting a negative voltage, such as -5V. At this time, the gate of the PMOS of the switching transistor Q1 will input a negative voltage, so the switching transistor Q1 is in a conducting state, and the first output end of the circuit connector J1 outputs Vout.
[0066] Conversely, in the embodiments of the present application, when the control signal control1 is at a low level and control2 is at a high level, in the first switch module on the left side of the circuit, the triode T1 will be in a cut-off state. At this time, the base of the triode T2 inputs a high level, so the triode T2 is in a conducting state. At this time, the base of the triode T3 is grounded, that is, the base of the triode T3 inputs a low level, so the triode T3 is also in a conducting state. At this time, the output end of the first switch module is connected to the positive power supply VCC, outputting a positive voltage. At this time, the gate of the PMOS of the switching transistor Q1 will input a positive voltage, and the gate of the NMOS of the switching transistor Q2 also inputs a positive voltage, so the switching transistor Q1 is in a cut-off state, and Q2 is in a conducting state. At this time, the first output end of the circuit connector J1 outputs GND.
[0067] The system of the embodiments of the present application constructs the first switch module in the positive and negative voltage output circuit by using multiple triodes and multiple resistors, and designs precise switching control logic in combination with the switching characteristics of triodes and MOS transistors, which can improve the control accuracy of the positive and negative voltage output of the positive and negative voltage output circuit, and further improve the accuracy and reliability of the entire electrochromic glass color display control process.
[0068] Continue to refer to Figure 6 as Figure 6As shown, in the embodiment of the present application, the second switch module 42 includes a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a sixteenth resistor R16, a fourth triode T4, a fifth triode T5, and a sixth triode T6; One end of the tenth resistor R10 serves as the input end of the second switch module. The other end of the tenth resistor R10 is commonly connected to one end of the eleventh resistor R11 and the base of the fourth triode T4. The other end of the eleventh resistor R11 and the emitter of the fourth triode T4 are both connected to the ground. The collector of the fourth triode T4, one end of the twelfth resistor R12, and one end of the thirteenth resistor R13 are commonly connected. The other end of the thirteenth resistor R13 is connected to the base of the fifth triode T5, and the emitter of the fifth triode T5 is grounded; The collector of the fifth triode T5, one end of the fourteenth resistor R14, and one end of the fifteenth resistor R15 are commonly connected. The other end of the fifteenth resistor R15 is connected to the base of the sixth triode T6. The collector of the sixth triode T6 is connected to one end of the sixteenth resistor R16, and the collector of the sixth triode T6 serves as the output end of the second switch module; The other end of the twelfth resistor R12, the other end of the fourteenth resistor R14, and the emitter of the sixth triode T6 are all connected to the positive power supply; the other end of the sixteenth resistor R16 is connected to the negative power supply.
[0069] Specifically, in the embodiment of the present application, the first switch module can be composed of seven resistors R10, R11, R12, R13, R14, R15, R16, and three triodes T4, T5, and T6. Similarly, due to the different conduction conditions of NMOS and PMOS in the right part of the circuit, and the need for level matching of the two control signals control1 and control2, therefore, the conversion of the control signal level can also be achieved by introducing the control logic of multiple triodes.
[0070] More specifically, in the embodiments of the present application, according to the above embodiments, when both the switching transistors Q1 and Q4 are PMOS transistors, and both the switching transistors Q2 and Q3 are NMOS transistors, and the control signal control1 is at a high level and control2 is at a low level, the first output terminal of the circuit connector J1 outputs Vout. At this time, in the second switching module on the right side of the circuit, the triode T4 will be in the cut-off state. At this time, the base of the triode T5 is connected to the positive power supply VCC and inputs a high level, so the triode T5 is in the conducting state. At this time, the base of the triode T6 is grounded, that is, the base of the triode T6 inputs a low level, so the triode T6 is also in the conducting state. At this time, the output terminal of the second switching module is connected to the positive power supply VCC and outputs a positive voltage. At this time, the gate of the PMOS of the switching transistor Q4 will input a positive voltage, and the gate of the NMOS of the switching transistor Q3 also inputs a positive voltage, so the switching transistor Q4 is in the cut-off state, and Q3 is in the conducting state. At this time, the second output terminal of the circuit connector J1 outputs GND.
[0071] Conversely, in the embodiments of the present application, according to the above embodiments, when both the switching transistors Q1 and Q4 are PMOS transistors, and both the switching transistors Q2 and Q3 are NMOS transistors, and the control signal control1 is at a low level and control2 is at a high level, the first output terminal of the circuit connector J1 outputs GND. At this time, in the second switching module, the triode T4 will be in the conducting state. At this time, the base of the triode T5 is grounded, so the triode T5 is in the cut-off state. At this time, the base of the triode T6 is connected to the positive power supply VCC, that is, the base of the triode T6 inputs a high level, so the triode T6 is also in the cut-off state. At this time, the output terminal of the second switching module is connected to the negative power supply VSS and outputs a negative voltage. At this time, the gate of the PMOS of the switching transistor Q4 will input a negative voltage, so the switching transistor Q4 is in the conducting state. At this time, the second output terminal of the circuit connector J1 outputs Vout.
[0072] The system of the embodiments of the present application constructs the second switching module in the positive and negative voltage output circuit by using multiple triodes and multiple resistors, and combines the switching characteristics of the triodes and MOS transistors to design a precise switching control logic, which can improve the output control accuracy of the positive and negative voltage output circuit, and further improve the accuracy and reliability of the entire electrochromic glass color display control process.
[0073] Figure 7 is the structural schematic diagram of the following voltage regulating circuit provided by the embodiments of the present application, as Figure 7 shown, in the embodiments of the present application, the following voltage regulating circuit 14 includes a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, a seventh triode T7, and a first capacitor C1; One end of the eighteenth resistor R18 serves as the output end of the follower voltage regulating circuit 14 and is connected to one end of the seventeenth resistor R17; The other end of the seventeenth resistor R17 is connected to the emitter of the seventh triode T7, and the other end of the eighteenth resistor R18, the base of the seventh triode T7 and one end of the nineteenth resistor R19 are commonly connected; the other end of the nineteenth resistor R19 is connected to one end of the first capacitor C1, and one end of the first capacitor C1 serves as the second input end of the follower voltage regulating circuit 14, and the other end of the first capacitor C1 is grounded; The collector of the seventh triode T7 serves as the first input end of the follower voltage regulating circuit 14 and is connected to one end of the twentieth resistor R20, and the other end of the twentieth resistor R20 is grounded.
[0074] Specifically, in the embodiment of the present application, a resistor network and a triode structure are used to implement the follower voltage regulating method between the DC-DC converter and the LDO.
[0075] More specifically, the follower voltage regulating circuit includes resistors R17, R18, R19 and R20, as well as the seventh triode T7 and the first capacitor C1.
[0076] In the embodiment of the present application, when the follower voltage regulating circuit operates, the first input end of the follower voltage regulating circuit is connected to the second output end (FB pin) of the DC-DC converter, and the FB pin outputs a fixed output voltage to the collector of the seventh triode T7. Thus, the voltage on the collector (c) side of the seventh triode T7 is fixed. Here, according to the characteristics of the triode, the current on the c side of the seventh triode T7 is approximately equal to the current on the emitter (e) side, that is , thus, the resistor R20 can be fixed by .
[0077] Assume that the output voltage of the detection circuit is , and the output voltage of the DC-DC converter is . According to circuit analysis, we can get: ; therefore, the resistors R18 and R19 can be set according to this relationship.
[0078] Let , where is a preset fixed voltage difference, then there is: ; It can be seen from this that when changes, will also change equally.
[0079] At the same time, from the characteristics of the triode, it can be known that , where usually takes a value of 0.6 to 0.7V. In this way, It will also change in equal amplitude. When R17 is fixed, when it changes, it will also change in equal amplitude.
[0080] Thus, through the following voltage regulation circuit designed in this application, when the parameters the resistance values of R17, R18, R19, and R20 are set, a fixed voltage difference can be achieved between equal amplitude changes. In this way, a fixed voltage difference can be maintained between the DCDC and the LDO, realizing the method of the DC-DC converter automatically following the LDO for voltage regulation.
[0081] The DC power supply system of the embodiment of this application can effectively realize the method of the DC-DC converter automatically following the LDO for voltage regulation by using a resistor network and a triode structure, improving the stability and reliability of the output voltage of the LDO.
[0082] Figure 8 is a schematic structural diagram of the detection circuit provided by the embodiment of this application. As Figure 8 shown, in the embodiment of this application, the detection circuit 3 includes a power supply detection module 31, a twenty-first resistor R21, a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, and a second capacitor C2; One end of the twenty-first resistor R21 is connected to one end of the twenty-second resistor R22, and one end of the twenty-second resistor R22 serves as the input end of the detection circuit 3; the other end of the twenty-first resistor R21, one end of the twenty-third resistor R23, and one end of the twenty-fourth resistor R24 are commonly connected, and one end of the twenty-fourth resistor R24 serves as the second output end of the detection circuit 3; the other end of the twenty-second resistor R22 and one end of the second capacitor C2 are commonly connected to the first input end of the power supply detection module 31; The other end of the twenty-third resistor R23 and the other end of the second capacitor C2 are commonly connected to the second input end of the power supply detection module 31; the other end of the twenty-fourth resistor R24 is connected to the third input end of the power supply detection module 31; the output end of the power supply detection module 31 serves as the first output end of the detection circuit 3.
[0083] Specifically, in the embodiment of this application, an RC filter circuit is formed by resistors R21, R22, R23, and the second capacitor C2. When the output voltage of the LDO is filtered by the above RC filter circuit, it is input to the power supply detection module as an input voltage source through the first input end (VIN+ pin) and the second input end (VIN- pin) of the power supply detection module to enable the normal operation of the power supply detection module.
[0084] It should be noted that, in the embodiments of the present application, the power detection module may specifically adopt a power management chip with current and voltage detection functions, such as a power chip with the model number INA233AIDGSR. The present application does not make specific limitations on this.
[0085] Meanwhile, one end of the resistor R24 serves as the second output end of the detection circuit, and the other end is connected to the third input end (VBUS pin) of the power detection module. Through the third input end of the power detection module, the detection and monitoring of the output voltage Vout of the second output end of the detection circuit can be realized. Furthermore, the output end of the power detection module can be used as the first output end of the detection circuit to send the detected voltage signal to the MCU.
[0086] Based on the content of the above embodiments, as an alternative embodiment, the IIC serial communication protocol is adopted for data communication between the power detection module and the MCU; the IIC serial communication protocol is adopted for data communication between the DAC and the MCU.
[0087] It should be noted that the IIC (Inter-Integrated Circuit) serial communication protocol is also known as the I2C (Inter-IC) bus protocol. It only requires two signal lines, namely the serial clock line (SCL) and the serial data line (SDA), to achieve communication between multiple devices.
[0088] In the system of the embodiments of the present application, by adopting the IIC serial communication protocol, the IIC bus is only composed of two lines (SDA and SCL), which can greatly simplify the complexity of the hardware design. At the same time, the IIC communication supports high-speed data transmission and has two-way communication capabilities and an acknowledgment mechanism, which can enable the MCU to efficiently perform data transmission with the DAC and the power detection module, realize real-time data exchange and control, and improve the reliability and stability of data transmission.
[0089] Furthermore, in the embodiments of the present application, through IIC communication, the output end (SDA pin) of the power detection module can feedback the detected voltage data to the MCU in real time, which is convenient for the MCU to perform voltage regulation control subsequently. The MCU sends the voltage data to be controlled to the input end (SDA pin) of the DAC through IIC communication for the DAC to receive.
[0090] In the system of the embodiments of the present application, by using the power detection module, resistors R21, R22, R23, R24 and capacitor C2 to construct a detection circuit, the detection circuit simultaneously has the functions of voltage filtering and voltage detection and monitoring, improves the stability of the voltage signal and the accuracy of voltage detection, and is beneficial to further improving the stability and reliability of electrochromic color display control.
[0091] Optionally, in the embodiments of the present application, the power detection module may further include an alarm signal terminal, and the alarm signal terminal is connected to the enable control terminal of the DC-DC converter; The power detection module is configured to output an alarm signal through the alarm signal terminal when it detects that the first voltage is greater than the target threshold, so as to turn off the DC-DC converter.
[0092] Specifically, the target threshold described in the embodiments of the present application refers to the protection values of voltage and current set by the power detection module, which are used to trigger the alarm function of the power detection module.
[0093] In the embodiments of the present application, the power detection module may further have an alarm function. For example, the power detection module uses a power chip of INA233AIDGSR, and the ALERT pin can be used as the alarm signal terminal of the power detection module and connected to the enable control terminal (EN pin) of the DC-DC converter.
[0094] In a specific implementation manner, the protection values of voltage and current can be preset in advance. If the voltage and current values detected by the power detection module are greater than the set protection values, the power detection module will generate an alarm signal, that is, the Alert signal output by the ALERT pin is at a low level. At this time, the protection will be triggered, and the Alert signal is input to the enable control terminal of the DC-DC converter, so that the DC-DC converter is turned off, thereby avoiding damage to subsequent devices caused by the output.
[0095] The system of the embodiments of the present application can introduce a power detection module with an alarm function into the detection circuit to monitor the input power status of the electrochromic glass in real time, further improving the reliability and safety of the control system.
[0096] Figure 9 It is the fifth structural schematic diagram of the electrochromic glass color display control system provided by the embodiments of the present application. As Figure 9 shown, in the embodiments of the present application, the electrochromic glass color display control system may specifically include the following modules: front-stage power input (AC / DC - 12V / 2A), system power generation (3.3 / 5V), output voltage generation and regulation, voltage and current detection and protection, output voltage commutation circuit, storage circuit, CAN communication circuit, and main control MCU. Among them, the storage circuit may specifically use a Flash memory for data storage; the CAN communication circuit mainly includes three parts: a CAN transceiver, a CAN interface, and a CAN-ID dial. Through the CAN transceiver and the CAN interface, the MCU is communicatively connected to the outside to realize CAN communication between the MCU and the outside; different system board cards can be distinguished through the CAN-ID dial to realize the communication control of multiple electrochromic glass color display control systems.
[0097] Here, the output voltage generation and regulation can be achieved through the aforementioned voltage generation and regulation module, the voltage and current detection and protection can be achieved through the aforementioned detection circuit, and the output voltage commutation circuit can be achieved through the aforementioned positive and negative voltage output circuit. With the cooperation of the output voltage generation and regulation, voltage and current detection and protection, output voltage commutation circuit and the main control MCU, the automatic control system generates a high-precision positive and negative DC power supply. The specific circuit control principle and process can refer to the description and introduction of the aforementioned system embodiment, and will not be elaborated here.
[0098] Among them, the output voltage generation and regulation mainly consists of a DC-DC converter, an LDO, a DAC, and a follow-up voltage regulation circuit. The follow-up voltage regulation circuit realizes the voltage regulation of the DC-DC converter following the LDO. The specific circuit control principle and process can refer to the description and introduction of the aforementioned voltage generation and regulation module embodiment, and will not be elaborated here.
[0099] It should be noted that the front-stage power input can adopt an AC / DC power supply, which is mainly used to provide a 12V / 2A power supply for the DC-DC converter; the system power generation is used to provide the 3.3 / 5V power supply required by the system. Among them, the 3.3V power supply can supply power to the DAC, current and voltage detection, and Flash memory respectively, and the 5V power supply can supply power to the output voltage commutation circuit; the 3.3 / 5V power supplies together supply power to the MCU and CAN transceiver. Among them, the system power generation can be generated by connecting a power chip containing a DC-DC converter or an LDO to the front-stage power input. Most will choose an LDO because it does not require a strong load-carrying capacity and also has the ability of low noise.
[0100] In addition, the pins on the MCU are connected to the debugging interface on the external debugging connector for the use of the internal software debugging program.
[0101] Next, the control method of the electrochromic glass color display control system provided by this application will be described. The control method of the electrochromic glass color display control system described below can be mutually corresponding and referred to the electrochromic glass color display control system described above.
[0102] Figure 10 It is a schematic flow chart of the control method of the electrochromic glass color display control system provided by the embodiment of this application. It can be understood that it can be applied to any of the aforementioned electrochromic glass color display control systems, such as Figure 10 shown, the method includes: Step S1, the detection circuit detects the first voltage output by the voltage generation and regulation module during the system operation and transmits the first voltage to the MCU; Step S2: The MCU controls the voltage generation and regulation module to output a second voltage according to a preset voltage and a first voltage, so that the detection circuit outputs the preset voltage. Step S3: Under the control of the MCU, the positive and negative voltage output circuit outputs a corresponding positive voltage or negative voltage according to the preset voltage to control the coloring of the external electrochromic glass.
[0103] It can be understood that for the specific implementation manners of the above method steps, reference can be made to the detailed functional implementation introductions of each unit / module in the aforementioned electrochromic glass coloring control system, which will not be elaborated herein.
[0104] The control method of the electrochromic glass coloring control system according to the embodiments of the present application constructs a DC positive and negative voltage power supply system by using a voltage generation and regulation module, a detection circuit, a micro control unit, and a positive and negative voltage output circuit, and uses a digital-to-analog converter with higher output accuracy to control the system output voltage, avoiding the problem that the traditional DC power supply is limited by the accuracy of the potentiometer itself. By introducing a voltage generation and regulation module and a micro control unit to automatically control the system to generate a high-precision positive and negative DC power supply, the accuracy of the positive and negative voltages input to the electrochromic glass can be effectively improved, thereby improving the coloring control accuracy and coloring control effect of the electrochromic glass.
[0105] It should be understood that expressions such as "including" and "may include" that can be used in the present application indicate the existence of the disclosed functions, operations, or constituent elements, and do not limit one or more additional functions, operations, and constituent elements. In the present application, terms such as "including" and / or "having" can be interpreted as indicating a specific characteristic, number, operation, constituent element, component, or a combination thereof, but cannot be interpreted as excluding the existence or possibility of adding one or more other characteristics, numbers, operations, constituent elements, components, or a combination thereof.
[0106] In the description of the embodiments of the present application, it should be noted that unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense. For example, "connection" can be a detachable connection or a non-detachable connection; it can be a direct connection or an indirect connection through an intermediate medium. Among them, "fixed connection" means that the two are connected and the relative position relationship after connection remains unchanged. "Rotational connection" means that the two are connected and can rotate relative to each other after connection. "Sliding connection" means that the two are connected and can slide relative to each other after connection. The orientation terms mentioned in the embodiments of the present application, such as "top", "bottom", "inside", "outside", "left", "right", etc., are only for reference to the direction of the drawings. Therefore, the orientation terms used are for better and clearer illustration and understanding of the embodiments of the present application, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation to the embodiments of the present application.
[0107] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claimed rights.
Claims
1. An electrochromic glass color control system, characterized in that: include: Voltage generation and regulation module, detection circuit, micro control unit and positive and negative voltage output circuit; The microcontroller unit is connected to the voltage generation and regulation module, the detection circuit and the positive and negative voltage output circuit respectively; the voltage generation and regulation module is also connected to the detection circuit, the detection circuit is also connected to the positive and negative voltage output circuit, and the positive and negative voltage output circuit is connected to the external electrochromic glass; the voltage generation and regulation module uses a digital-to-analog converter for voltage regulation; The detection circuit is used to detect the first voltage output by the voltage generation and regulation module when the system is running, and transmit the first voltage to the micro control unit; The micro control unit is used to control the voltage generation and regulation module to output a second voltage according to a preset voltage and the first voltage, so that the detection circuit outputs the preset voltage; The positive and negative voltage output circuit is used to output a corresponding positive voltage or negative voltage according to the preset voltage under the control of the micro control unit to control the color display of the external electrochromic glass.
2. The electrochromic glass color control system according to claim 1, characterized in that: The voltage generation and regulation module includes a DC-DC converter, a low voltage dropout regulator, a digital-to-analog converter and a follower voltage regulation circuit; The input end of the digital-to-analog converter serves as the first input end of the voltage generation and regulation module, the first input end of the follower voltage regulation circuit serves as the second input end of the voltage generation and regulation module, and the output end of the low voltage dropout regulator serves as the output end of the voltage generation and regulation module; The input end of the digital-to-analog converter is connected to the first output end of the micro control unit, and the output end is connected to the first input end of the low voltage dropout regulator; the second input end of the low voltage dropout regulator is connected to the first output end of the DC-DC converter, and the output end is connected to the input end of the detection circuit; the first output end of the detection circuit is connected to the input end of the micro control unit, and the second output end is respectively connected to the first input end of the follower voltage regulator circuit and the first input end of the positive and negative voltage output circuit; the second input end of the follower voltage regulator circuit is connected to the second output end of the DC-DC converter, and the output end is connected to the first output end of the DC-DC converter; the second input end of the positive and negative voltage output circuit is connected to the second output end of the micro control unit, and the output end is connected to the power input end of the external electrochromic glass; The detection circuit is used to detect the first voltage output by the low voltage dropout regulator when the system is running, and transmit the first voltage to the micro control unit and the follower voltage regulation circuit respectively; The micro control unit is used to control the output voltage of the digital-to-analog converter according to a preset voltage and the first voltage, so as to provide a reference voltage for the low-dropout regulator; The follower voltage regulator circuit is used to adjust the output voltage of the DC-DC converter according to the first voltage and the built-in fixed output voltage of the DC-DC converter; The low voltage dropout regulator is used for outputting a second voltage based on the reference voltage and the output voltage of the DC-DC converter.
3. The electrochromic glass color control system according to claim 1, characterized in that: The voltage generation and regulation module includes a DC-DC converter, a low voltage dropout regulator, a first digital-to-analog converter, and a second digital-to-analog converter; The input end of the first digital-to-analog converter serves as the first input end of the voltage generation and regulation module, and the input end of the second digital-to-analog converter serves as the second input end of the voltage generation and regulation module; the output end of the low-dropout regulator serves as the output end of the voltage generation and regulation module; The input end of the first digital-to-analog converter is connected to the first output end of the micro control unit, and the output end is connected to the first input end of the low voltage dropout regulator; the input end of the second digital-to-analog converter is connected to the second output end of the micro control unit, and the output end is connected to the input end of the DC-DC converter; the output end of the DC-DC converter is connected to the second input end of the low voltage dropout regulator; the output end of the low voltage dropout regulator is connected to the input end of the detection circuit; the first output end of the detection circuit is connected to the input end of the micro control unit, and the second output end is connected to the first input end of the positive and negative voltage output circuit; the second input end of the positive and negative voltage output circuit is connected to the third output end of the micro control unit, and the output end is connected to the power input end of the external electrochromic glass; The detection circuit is used for detecting the first voltage output by the low voltage dropout regulator when the system is running, and transmitting the first voltage to the micro control unit; The microcontroller unit is used to control the output voltage of the first digital-to-analog converter according to a preset voltage and the first voltage to provide a reference voltage for the low-dropout regulator, and is used to control the output voltage of the second digital-to-analog converter according to the preset voltage and the first voltage to adjust the output voltage of the DC-DC converter; The low voltage dropout regulator is used for outputting a second voltage based on the reference voltage and the output voltage of the DC-DC converter.
4. The electrochromic glass color control system according to claim 1, characterized in that: The positive and negative voltage output circuit includes a first switch module, a second switch module, a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a first resistor, a second resistor and a circuit connector; the second input end of the positive and negative voltage output circuit includes a first sub-input end and a second sub-input end; The source of the first switch tube is connected to the source of the fourth switch tube, and the source of the first switch tube serves as the first input end of the positive and negative voltage output circuit; the input end of the first switch module is connected to one end of the second resistor, and the input end of the first switch module serves as the first sub-input end; the input end of the second switch module is connected to one end of the first resistor, and the input end of the second switch module serves as the second sub-input end; the input level states of the first sub-input end and the second sub-input end are opposite; The output end of the first switch module is connected to the gate of the first switch tube; the drain of the first switch tube and the drain of the second switch tube are both connected to the first output end of the circuit connector, and the source of the second switch tube is grounded; the other end of the first resistor is connected to the gate of the second switch tube; The output end of the second switch module is connected to the gate of the fourth switch tube; the drain of the fourth switch tube and the drain of the third switch tube are both connected to the second output end of the circuit connector, and the source of the third switch tube is grounded; the other end of the second resistor is connected to the gate of the third switch tube; The first switch module is used to control the switch state of the first switch tube; The second switch module is used to control the switch state of the fourth switch tube; The circuit connector is used to output a positive voltage or a negative voltage corresponding to the preset voltage.
5. The electrochromic glass color control system according to claim 4, characterized in that: The first switch module includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first triode, a second triode and a third triode; One end of the third resistor serves as the input end of the first switch module, the other end of the third resistor is connected with one end of the fourth resistor and the base of the first transistor, the other end of the fourth resistor and the emitter of the first transistor are connected to the ground, the collector of the first transistor, one end of the fifth resistor and one end of the sixth resistor are connected, the other end of the sixth resistor is connected with the base of the second transistor, and the emitter of the second transistor is grounded; The collector of the second triode, one end of the seventh resistor, and one end of the eighth resistor are connected in common, the other end of the eighth resistor is connected to the base of the third triode, the collector of the third triode is connected to one end of the ninth resistor, and the collector of the third triode serves as the output end of the first switch module; The other end of the fifth resistor, the other end of the seventh resistor and the emitter of the third transistor are all connected to a positive power supply; the other end of the ninth resistor is connected to a negative power supply.
6. The electrochromic glass color display control system according to claim 4, characterized in that: The second switch module includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor, a fourth transistor, a fifth transistor and a sixth transistor; One end of the tenth resistor serves as the input end of the second switch module, the other end of the tenth resistor is connected with one end of the eleventh resistor and the base of the fourth transistor, the other end of the eleventh resistor and the emitter of the fourth transistor are both connected to the ground, the collector of the fourth transistor, one end of the twelfth resistor, and one end of the thirteenth resistor are connected together, the other end of the thirteenth resistor is connected with the base of the fifth transistor, and the emitter of the fifth transistor is grounded; The collector of the fifth transistor, one end of the fourteenth resistor, and one end of the fifteenth resistor are connected in common, the other end of the fifteenth resistor is connected to the base of the sixth transistor, the collector of the sixth transistor is connected to one end of the sixteenth resistor, and the collector of the sixth transistor serves as the output end of the second switch module; The other end of the twelfth resistor, the other end of the fourteenth resistor and the emitter of the sixth transistor are all connected to the positive power supply; the other end of the sixteenth resistor is connected to the negative power supply.
7. The electrochromic glass color control system according to claim 2, characterized in that: The follower voltage regulation circuit includes a seventeenth resistor, an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a seventh transistor and a first capacitor; One end of the eighteenth resistor serves as the output end of the follower voltage regulator circuit and is connected to one end of the seventeenth resistor; The other end of the seventeenth resistor is connected to the emitter of the seventh transistor, the other end of the eighteenth resistor, the base of the seventh transistor and one end of the nineteenth resistor are connected in common; the other end of the nineteenth resistor is connected to one end of the first capacitor, one end of the first capacitor serves as the second input end of the follower voltage regulator circuit, and the other end of the first capacitor is grounded; The collector of the seventh transistor serves as the first input terminal of the follower voltage regulating circuit and is connected to one end of the twentieth resistor, and the other end of the twentieth resistor is grounded.
8. The electrochromic glass color display control system according to any one of claims 1 to 7, characterized in that: The detection circuit includes a power detection module, a twenty-first resistor, a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor and a second capacitor; One end of the twenty-first resistor is connected to one end of the twenty-second resistor, and one end of the twenty-second resistor serves as an input end of the detection circuit; the other end of the twenty-first resistor, one end of the twenty-third resistor, and one end of the twenty-fourth resistor are connected in common, and one end of the twenty-fourth resistor serves as a second output end of the detection circuit; the other end of the twenty-second resistor and one end of the second capacitor are connected in common to the first input end of the power detection module; The other end of the twenty-third resistor and the other end of the second capacitor are connected to the second input end of the power detection module; the other end of the twenty-fourth resistor is connected to the third input end of the power detection module; the output end of the power detection module serves as the first output end of the detection circuit.
9. The electrochromic glass color display control system according to any one of claims 1 to 7, characterized in that: It also includes a CAN communication circuit and a storage circuit; The micro control unit is connected to the CAN communication circuit and the storage circuit respectively; The CAN communication circuit is used to transmit the preset voltage output instruction input from the outside to the micro control unit, so that the micro control unit can regulate the output of the voltage generation and regulation module; The storage circuit is used to store the operating data of the micro control unit, and the operating data at least includes operating program code data and configuration data.
10. A control method for the electrochromic glass color display control system according to any one of claims 1 to 9, characterized in that: include: The detection circuit detects the first voltage output by the voltage generation and regulation module when the system is running, and transmits the first voltage to the micro control unit; The micro control unit controls the voltage generation and regulation module to output a second voltage according to a preset voltage and the first voltage, so that the detection circuit outputs the preset voltage; Under the control of the micro control unit, the positive and negative voltage output circuit outputs a corresponding positive voltage or negative voltage according to the preset voltage to control the color display of the external electrochromic glass.