Control method and device of electrochromic device, electronic equipment and storage medium

By obtaining the number of triggers of the key assembly and pulse signals to control the state switching of the electrochromic device, the problems of mechanical impact and high energy consumption of the electrode/electrolyte interface are solved, and the life of the electrochromic device is extended and the power consumption is reduced.

CN120276190APending Publication Date: 2025-07-08ZHONGKE ELECTRONIC INK INTELLIGENT TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510508206.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

When existing electrochromic devices suddenly change in step voltage, mechanical shock will occur in the electrode/electrolyte interface, and maintaining a steady state requires continuous current to lead to high energy consumption.

Method used

By obtaining the number of triggers of the key component, the target coloring state is determined, and the maintenance time of the output voltage of the first chip is controlled by using the target pulse signal and the output voltage of the second chip, so that the electrochromic device can be switched from the current state to the target state, avoiding a sudden change in step voltage.

Benefits of technology

Reduces the risk of lattice distortion during ion insertion/detachment, extends the cycle life of electrochromic devices, and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120276190A_ABST
    Figure CN120276190A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of control of electrochromic devices, and discloses a control method and device of an electrochromic device, electronic equipment and a storage medium. The method comprises the following steps: obtaining a triggering frequency for a key assembly; determining a target coloring state switched by the electrochromic device by utilizing the triggering times; in the process of switching the electrochromic device from the current coloring state to the target coloring state, determining a target pulse signal and the output end voltage of the second chip; the holding time of the voltage of the output end of the first chip is controlled by using the target pulse signal and the voltage of the output end of the second chip, so that the electrochromic device is switched from the current coloring state to the target coloring state, mechanical impact on an electrode / electrolyte interface due to step type voltage mutation is avoided, and the service life of the electrochromic device is prolonged. The lattice distortion risk in the ion intercalation / deintercalation process is reduced, so that the cycle life of the electrochromic layer in the electrochromic device can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control of electrochromic devices, and particularly to a control method, device, electronic device and storage medium for electrochromic devices. Background Art

[0002] For electrochromic devices, the transmittance of the electrochromic device is usually changed by voltage driving. For example, a constant voltage is used to maintain the state of the electrochromic device at a certain transmittance.

[0003] However, using a constant voltage has the following problems. For example, when there is a stepwise voltage mutation, a mechanical impact will be generated on the counter electrode / electrolyte interface, and maintaining a steady state requires a continuous current, resulting in relatively high overall energy consumption. Summary of the Invention

[0004] In view of this, the present invention provides a control method, device, electronic device and storage medium for electrochromic devices to solve the problem of mechanical impact on the counter electrode / electrolyte interface caused by the mutation of the stepwise voltage.

[0005] In a first aspect, the present invention provides a control method for an electrochromic device. The electrochromic device is connected to the output end of a first chip. The input end of the first chip is connected to the output end of a second chip. The input end of the second chip is connected to the output end of a third chip. A key component is connected to the third chip. The control method for the electrochromic device includes: obtaining the number of trigger times for the key component; using the number of trigger times to determine the target coloring state for the electrochromic device to switch; during the process of the electrochromic device switching from the current coloring state to the target coloring state, determining the target pulse signal and the output voltage of the output end of the second chip; using the target pulse signal and the output voltage of the output end of the second chip to control the maintenance time of the output voltage of the output end of the first chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0006] In the control method of the electrochromic device of the present application, after obtaining the trigger count for the button assembly, the target coloring state to which the electrochromic device is to switch from the current coloring state can be determined, and the target pulse signal corresponding to this switching process and the output voltage of the second chip can be determined; using the target pulse signal and the output voltage of the second chip, the output voltage of the first chip is generated, and the duration of the output voltage of the first chip is controlled by the target pulse signal, so that the electrochromic device switches from the current coloring state to the target coloring state. Since this solution can determine the target pulse signal corresponding to the trigger count according to different trigger counts, that is, by different target pulse signals, the duration of the output voltage of the first chip is controlled, so that the electrochromic device switches from the current coloring state to the target coloring state, which can avoid the mechanical impact on the electrode / electrolyte interface caused by the stepwise voltage mutation, reduce the risk of lattice distortion during the ion insertion / extraction process, and thus can extend the cycle life of the electrochromic layer in the electrochromic device.

[0007] In an optional implementation manner, using the trigger count to determine the target coloring state of the electrochromic device switching includes: if the trigger count is a first predetermined value, determining the target coloring state as a first coloring state; if the trigger count is a second predetermined value, determining the target coloring state as a second coloring state; if the trigger count is a third predetermined value, determining the target coloring state as a third coloring state; if the trigger count is a fourth predetermined value, determining the target coloring state as a fourth coloring state; where the target coloring state is any one of the first coloring state, the second coloring state, the third coloring state, and the fourth coloring state, and the transmittance corresponding to the first coloring state, the second coloring state, the third coloring state, and the fourth coloring state decreases in sequence.

[0008] By corresponding different button presses to different target coloring states, precise control of the transmittance of the electrochromic device can be achieved, and the user does not need a complex operation process or professional knowledge. Just by pressing the button assembly, the coloring state of the electrochromic device can be adjusted, resulting in a better user experience.

[0009] In an alternative embodiment, the output terminal of the second chip includes a first terminal and a second terminal; during the process of the electrochromic device switching from the current coloring state to the target coloring state, determining the target pulse signal and the voltage of the output terminal of the second chip includes: during the process of the electrochromic device switching from the first coloring state to the second coloring state, determining that the target pulse signal is the first pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; during the process of the electrochromic device switching from the second coloring state to the third coloring state, determining that the target pulse signal is the second pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; during the process of the electrochromic device switching from the third coloring state to the fourth coloring state, determining that the target pulse signal is the third pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; during the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determining that the target pulse signal is the fourth pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value; wherein, the duty cycles of the first pulse signal, the second pulse signal, the third pulse signal, and the fourth pulse signal are different.

[0010] Since the duty cycles corresponding to different target pulse signals are different, and for different voltages of the output terminal of the second chip, the polarities of the voltages of the output terminal of the first chip are also different. Therefore, for different coloring state switching processes, different target pulse signals and different voltages of the output terminal of the second chip are corresponding. When the electrochromic device switches the coloring state, a step voltage will not be generated, and further, the electrode / electrolyte interface will not be subjected to sudden and large voltage change impacts.

[0011] In an alternative embodiment, the fourth pulse signal includes a first sub-pulse signal and a second sub-pulse signal; during the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determining that the target pulse signal is the fourth pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value includes: controlling the electrochromic device to switch from the fourth coloring state to the second coloring state, determining that the target pulse signal is the first sub-pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; controlling the electrochromic device to switch from the second coloring state to the first coloring state, determining that the target pulse signal is the second sub-pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value, and the duty cycle of the first sub-pulse signal is greater than the duty cycle of the second sub-pulse signal.

[0012] Since the electrochromic device is biased towards the faded state (the second coloring transition state) in the natural state, during the process of switching the electrochromic device from the fourth coloring transition state (colored state) to the first coloring state (standby state), first control the electrochromic device to switch from the fourth coloring transition state (colored state) to the second coloring transition state (faded state), and then switch from the second coloring transition state (faded state) to the first coloring state (standby state). This can further avoid the mechanical shock to the electrode / electrolyte interface caused by the stepwise voltage mutation, further reduce the risk of lattice distortion during the ion insertion / extraction process, and further extend the cycle life of the electrochromic layer in the electrochromic device.

[0013] In an alternative embodiment, before using the target pulse signal and the output voltage of the second chip to control the holding time of the output voltage of the first chip to switch the electrochromic device from the current coloring state to the target coloring state, the control method of the electrochromic device includes: determining whether the number of trigger times changes within a preset time; when the number of trigger times changes, entering the step of determining the target coloring state to which the electrochromic device switches using the number of trigger times; when the number of trigger times does not change, using the target pulse signal and the output voltage of the second chip to control the holding time of the output voltage of the first chip to switch the electrochromic device from the current coloring state to the target coloring state.

[0014] After the user presses the button assembly for the first time, determine whether the number of trigger times changes within a preset time, that is, determine whether the user presses the button assembly again within the preset time. That is to say, this solution sets a delay protection. If the user presses the button assembly again within the preset time, it means that the user has a new control requirement, and the control device can quickly enter the step of determining the target coloring state, respond in a timely manner and adjust the state of the electrochromic device to meet the user's current actual needs; if the user does not press the button assembly again within the preset time, it means that the user has no new control requirement, so the corresponding target pulse signal and the output voltage of the second chip can be determined according to the target coloring state. This can reduce unnecessary calculation and switching links, enable the control device to enter the actual coloring state switching process faster, and improve the overall response speed of the control device.

[0015] In an alternative embodiment, the target pulse signal includes a third sub-pulse signal and a fourth sub-pulse signal; controlling the holding time of the output voltage of the first chip by using the target pulse signal and the output voltage of the second chip, so that the electrochromic device switches from the current coloring state to the target coloring state, includes: controlling the holding time of the output voltage of the second chip by using the third sub-pulse signal to generate the output voltage of the first chip, so as to control the electrochromic device to switch from the current coloring state to the target coloring state; controlling the holding time of the output voltage of the first chip by using the fourth sub-pulse signal, so as to control the electrochromic device to maintain the target coloring state; wherein, the duty cycle of the third sub-pulse signal is greater than the duty cycle of the fourth sub-pulse signal.

[0016] Since the duty cycle of the third sub-pulse signal is greater than the duty cycle of the fourth sub-pulse signal, during the process of the electrochromic device switching from the current coloring state to the target coloring state, first, the electrochromic device is controlled to switch from the current coloring state to the target coloring state by the third sub-pulse signal, so that the electrochromic device efficiently and quickly reaches the limiting transmittance corresponding to the target coloring state; however, after the electrochromic device reaches the limiting transmittance, a higher voltage will not change the transmittance of the electrochromic device anymore, but will increase the power consumption and affect the service life. Therefore, the electrochromic device is maintained at a limiting transmittance by the fourth sub-pulse signal, which can reduce the power consumption of the electrochromic device and improve the service life of the electrochromic device.

[0017] In an alternative embodiment, during the process of determining the target coloring state of the electrochromic device switching by using the number of trigger times, the control method of the electrochromic lens further includes: triggering the start of the counter by using the number of trigger times obtained for the first time for the key component; counting the number of trigger times of the key component by using the counter; when the number of trigger times of the key component reaches a predetermined count value, controlling the counter to be cleared.

[0018] The counter can accurately count the number of trigger times of the key component, and subsequently, the target coloring state corresponding to the electrochromic device can be determined more accurately by using the number of trigger times.

[0019] In a second aspect, the present invention provides a control device for an electrochromic device, including: an electrochromic device; the first chip includes an input end and an output end, the input end of the first chip is connected to the output end of the second chip, and the output end of the first chip is connected to the electrochromic device; the second chip includes an input end and an output end, the input end of the second chip is connected to the output end of the third chip, and the output end of the second chip is connected to the input end of the first chip, wherein the second chip is used to execute the control method of the electrochromic device in the first aspect or any corresponding embodiment thereof; a key component is connected to the third chip.

[0020] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to implement the control method of the electrochromic device according to the first aspect or any corresponding embodiment thereof.

[0021] In a fourth aspect, the present invention provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to cause a computer to execute the control method of the electrochromic device according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0023] Figure 1 is a schematic diagram of the architecture of the control device of the electrochromic device according to an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of the first chip according to an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of the second chip according to an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of the third chip according to an embodiment of the present invention;

[0027] Figure 5 is a flowchart of the control method of the electrochromic device according to an embodiment of the present invention;

[0028] Figure 6 is a flowchart of another control method of the electrochromic device according to an embodiment of the present invention;

[0029] Figure 7 is a schematic diagram of the switching of the coloring state of the electrochromic device according to an embodiment of the present invention;

[0030] Figure 8 is a schematic diagram of the first duty cycle pulse signal according to an embodiment of the present invention;

[0031] Figure 9 is a schematic diagram of the second duty cycle pulse signal according to an embodiment of the present invention;

[0032] Figure 10 It is a schematic diagram of the third duty cycle pulse signal provided by an embodiment of the present invention;

[0033] Figure 11 It is a schematic structural diagram of a second chip provided by an embodiment of the present invention;

[0034] Figure 12 It is a schematic hardware structure diagram of an electronic device provided by an embodiment of the present invention. Specific embodiments

[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0036] Currently, protective glasses usually adopt a fixed light-shielding solution. For example, sunglasses enhance the darkness of the lens through a dyeing process to reduce the strong light transmittance; polarized glasses eliminate reflected glare based on the principle of filtering polarized light. However, neither sunglasses nor polarized glasses can adapt to the dynamically changing light environment in real time.

[0037] In order to be able to adapt to the dynamically changing light environment in real time, a photochromic lens that can automatically adjust the light transmittance according to the ambient illuminance is proposed. The optical sensor in the photochromic lens only mechanically responds to the physical light intensity and cannot adjust the light transmittance of the photochromic lens according to the user's subjective feeling. In actual use, there are physiological differences in the stimulation of the human retina. For example, some users still feel comfortable subjectively in a high-illuminance environment. Another example is that users with visual defects cannot effectively perceive the true light intensity. That is to say, there are certain deviations in the actual light intensity perception of different users. In addition, the photochromic lens that automatically adjusts the light transmittance according to the ambient illuminance also lacks personalization, so a closed-loop adjustment system of light intensity - individual perception - photochromic lens response cannot be established.

[0038] To address this problem, an electrochromic lens that adjusts the corresponding light transmittance based on the user's subjective feeling is proposed. For electrochromic lenses, the light transmittance is usually changed by voltage drive. For example, a constant voltage is used to maintain the state of the electrochromic lens at a certain light transmittance.

[0039] However, using a constant voltage will have the following problems. For example, when the voltage changes stepwise, mechanical shock will be generated at the electrode / electrolyte interface, and maintaining the steady state requires continuous current, resulting in relatively high overall energy consumption.

[0040] In view of this, the present application proposes a control method, device, electronic device and storage medium for an electrochromic device. The method includes: obtaining the number of trigger times for a key component; using the number of trigger times to determine a target coloring state for switching of the electrochromic device; during the process of the electrochromic device switching from the current coloring state to the target coloring state, determining a target pulse signal and the output terminal voltage of a second chip; using the target pulse signal and the output terminal voltage of the second chip to control the holding time of the output terminal voltage of a first chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0041] In the control method of the electrochromic device of the present application, after obtaining the number of trigger times for the key component, it is possible to determine the target coloring state to which the electrochromic device is to switch from the current coloring state, and to determine the target pulse signal and the output terminal voltage of the second chip corresponding to this switching process; using the target pulse signal and the output terminal voltage of the second chip, an output terminal voltage of a first chip is generated, and the holding time of the output terminal voltage of the first chip is controlled by using the target pulse signal, so that the electrochromic device switches from the current coloring state to the target coloring state. Since this solution can determine a target pulse signal corresponding to the number of trigger times according to different trigger times, that is, by different target pulse signals, the holding time of the output terminal voltage of the first chip is controlled, so that the electrochromic device switches from the current coloring state to the target coloring state, which can avoid the mechanical impact on the electrode / electrolyte interface caused by stepwise voltage mutation, reduce the risk of lattice distortion during the ion insertion / extraction process, and thus can extend the cycle life of the electrochromic layer in the electrochromic device.

[0042] For the sake of easy understanding, here, taking the control of an electrochromic device as an example, a simple introduction to the application architecture of the control method of the electrochromic device provided by the present application is given. Figure 1 It is a schematic diagram of the application architecture of the control method of the electrochromic device provided by an embodiment of the present application. The control of the electrochromic device includes a first chip, a second chip, a third chip and an electrochromic device. Among them, the electrochromic device is connected to the output terminal of the first chip, the input terminal of the first chip is connected to the output terminal of the second chip, the input terminal of the second chip is connected to the output terminal of the third chip, and a key component is connected to the third chip. That is, as Figure 1 shown, the electrochromic device is connected to the first chip through OUT1 and OUT2, the first chip is connected to the second chip through IN1 and IN2, and the third chip is connected to the second chip through INT0. Among them, for the first chip, it can be a BDR6122T chip, as detailed in Figure 2 shown; for the second chip, it can be an STC8H8K64U chip, as detailed in Figure 3 shown; the third chip is detailed in Figure 4 shown.

[0043] According to an embodiment of the present invention, an embodiment of a control method for an electrochromic device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0044] In this embodiment, a control method for an electrochromic device is provided, which can be used in an electronic device, such as the second chip described above. Figure 5 is a flowchart of a control method for an electrochromic device according to an embodiment of the present invention, as Figure 5 shown, the process includes the following steps:

[0045] Step S502, obtain the number of trigger times for the key component.

[0046] As Figure 4 shown, the key component (S1) is connected to the third chip, and the key component can be any form of physical key. The physical key can be a touch type or a mechanical press type, and this is not limited in the present application. When the user touches or presses the key component, it is a trigger of the key component. For example, when the user touches or presses the key component once, it is a trigger of the key component, and the number of trigger times is 1. Another example is that when the current number of trigger times is 1, if the user touches or presses the key component again, the number of trigger times is 2.

[0047] There are various implementation methods for obtaining the number of trigger times of the key component. For example, the number of trigger times for the key component can be obtained through the interrupt mechanism of the third chip. Another example is that the number of trigger times for the key component can be obtained through the timer and polling method of the third chip. Another example is that the number of trigger times for the key component can be obtained through the key scan circuit of the third chip.

[0048] Step S504, use the number of trigger times to determine the target coloring state for switching of the electrochromic device.

[0049] An electrochromic device is a device that can change its own color or optical properties under the action of an external electric field. When a certain voltage is applied across the electrochromic device, ions and electrons in the electrochromic material migrate and react, causing a change in its oxidation state, thereby resulting in a change in the absorption and reflection capabilities of the material for light of different wavelengths, and finally presenting a color change. For example, in some electrochromic materials, when in the reduced state, it may absorb light of a specific wavelength and present a certain color, and when in the oxidized state, it absorbs light of different wavelengths and presents another color.

[0050] The target coloring state for the switching of an electrochromic device is the target coloring state to which the electrochromic device is to switch from the current coloring state. When the electrochromic device switches to the target coloring state, its transmittance will change accordingly, that is to say, the transmittance corresponding to the target coloring state is different from that of the current coloring state. In the actual application process, the target coloring state for the switching of the electrochromic device can be determined by a state machine and the number of trigger times, or, by writing a software algorithm to utilize the number of trigger times to determine the target coloring state for the switching of the electrochromic device.

[0051] Step S506, during the process of the electrochromic device switching from the current coloring state to the target coloring state, determine the target pulse signal and the output terminal voltage of the second chip.

[0052] A pulse signal is an electrical signal that suddenly changes within a short period of time and then quickly returns to its initial state, featuring discontinuity and suddenness. In actual applications, the pulse signal can be a PWM signal (Pulse Width Modulation, abbreviated as PWM). Among them, the PWM signal is a method of digitally encoding the level of an analog signal. By controlling the switching frequency of a DC power supply with a fixed voltage, the voltage across the load is changed, thereby achieving the control of the signal.

[0053] In actual applications, the target pulse signal and the output terminal voltage of the second chip corresponding to the coloring state change process can be preset in advance. Then, based on the current coloring state and the target coloring state, determine the corresponding target pulse signal and the output terminal voltage of the second chip during the process of switching from the current coloring state to the target coloring state.

[0054] Step S508, utilize the target pulse signal and the output terminal voltage of the second chip to control the holding time of the output terminal voltage of the first chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0055] Such as Figure 1 、 Figure 2 and Figure 3 shown, the output terminal voltage of the second chip can be the voltage of IN1 and the voltage of IN2, and the output terminal voltage of the first chip can be the voltage of OUT1 and OUT2. Among them, the polarity of the output terminal voltage of the first chip can change the polarity of the output terminal voltage of the second chip. For example, IN1 in the first chip is the zero voltage terminal and IN2 in the second chip is the power supply voltage of the second chip, so OUT1 in the first chip is the zero voltage terminal and OUT2 in the first chip is the power supply voltage of the first chip.

[0056] The output voltage of the first chip can be generated by using the target pulse signal and the output voltage of the second chip; by using the target pulse signal, the maintenance time of the output voltage of the first chip can be controlled, so that the electrochromic device is switched from the current coloring state to the target coloring state. It should be understood that during this process, the duty cycle of the target pulse signal can be the same or different. That is, by dynamically changing the time ratio of the high-level signal in the target pulse signal, the on / off time of the output voltage of the second chip is changed, and then indirectly the on / off time of the output voltage of the first chip is changed, so that the electrochromic device is switched from the current coloring state to the target coloring state.

[0057] In the control method of the electrochromic device provided in this embodiment, after obtaining the trigger times for the button assembly, the target coloring state to which the electrochromic device is to be switched from the current coloring state can be determined, and the target pulse signal and the output voltage of the second chip corresponding to this switching process can be determined; by using the target pulse signal and the output voltage of the second chip, the output voltage of the first chip is generated, and the maintenance time of the output voltage of the first chip is controlled by using the target pulse signal, so that the electrochromic device is switched from the current coloring state to the target coloring state. Since this solution can determine the target pulse signal corresponding to the trigger times according to different trigger times, that is, by different target pulse signals, the maintenance time of the output voltage of the first chip is controlled, and the electrochromic device is switched from the current coloring state to the target coloring state, which can avoid the mechanical impact on the electrode / electrolyte interface caused by stepwise voltage mutation, reduce the risk of lattice distortion during the ion insertion / extraction process, and thus can extend the cycle life of the electrochromic layer in the electrochromic device.

[0058] In this embodiment, a control method of an electrochromic device is provided, which can be used in an electronic device, such as a second chip. Figure 6 is a flowchart of the control method of the electrochromic device according to an embodiment of the present invention, as Figure 6 shown, the process includes the following steps:

[0059] Step S602, obtain the trigger times for the button assembly. For details, please refer to Figure 5 step S502 of the embodiment shown, which will not be elaborated here.

[0060] Step S604, use the trigger times to determine the target coloring state for the switching of the electrochromic device.

[0061] Specifically, the above step S604 includes:

[0062] Step S6042, if the trigger times are the first predetermined value, determine that the target coloring state is the first coloring state.

[0063] The first predetermined value can be 1, that is, when the trigger count is 1, the target coloring state is determined to be the standby state.

[0064] Step S6044, if the trigger count is the second predetermined value, determine the target coloring state to be the second coloring state.

[0065] The second predetermined value can be 2, that is, when the trigger count is 2, the target coloring state is determined to be the faded state.

[0066] Step S6046, if the trigger count is the third predetermined value, determine the target coloring state to be the third coloring state.

[0067] The third predetermined value can be 3, that is, when the trigger count is 3, the target coloring state is determined to be the intermediate state.

[0068] Step S6048, if the trigger count is the fourth predetermined value, determine the target coloring state to be the fourth coloring state, where the target coloring state is any one of the first coloring state, the second coloring state, the third coloring state, and the fourth coloring state, and the light transmittance corresponding to the first coloring state, the second coloring state, the third coloring state, and the fourth coloring state decreases in sequence.

[0069] The fourth predetermined value can be 4, that is, when the trigger count is 4, the target coloring state is determined to be the colored state.

[0070] Through steps S6042 to S6048, different target coloring states corresponding to different button presses can achieve precise control of the light transmittance of the electrochromic device, and the user does not need a complex operation process or professional knowledge. Just by pressing the button component, the coloring state of the electrochromic device can be adjusted, resulting in a better user experience.

[0071] Step S606, during the process of the electrochromic device switching from the current coloring state to the target coloring state, determine the target pulse signal and the output terminal voltage of the second chip. For details, please refer to Figure 5 Step S506 of the illustrated embodiment, which will not be elaborated here.

[0072] Step S608, using the target pulse signal and the output terminal voltage of the second chip, control the maintenance time of the output terminal voltage of the first chip, so that the electrochromic device switches from the current coloring state to the target coloring state. For details, please refer to Figure 5 Step S508 of the illustrated embodiment, which will not be elaborated here.

[0073] In the control method of the electrochromic device provided in this embodiment, after obtaining the trigger times for the button component, it is possible to determine the target coloring state to which the electrochromic device is to switch from the current coloring state, and determine the target pulse signal and the output terminal voltage of the second chip corresponding to this switching process; by using the target pulse signal and the output terminal voltage of the second chip, the output terminal voltage of the first chip is generated, and the maintenance time of the output terminal voltage of the first chip is controlled by using the target pulse signal, so that the electrochromic device switches from the current coloring state to the target coloring state. Since this solution can determine the target pulse signal corresponding to the trigger times according to different trigger times, that is, by different target pulse signals, the maintenance time of the output terminal voltage of the first chip is controlled to make the electrochromic device switch from the current coloring state to the target coloring state, this can avoid the mechanical impact on the electrode / electrolyte interface caused by the step voltage mutation, reduce the risk of lattice distortion during the ion insertion / extraction process, and thus can extend the cycle life of the electrochromic layer in the electrochromic device.

[0074] In an alternative embodiment, the output terminal of the second chip includes a first terminal and a second terminal; in the process of the electrochromic device switching from the current coloring state to the target coloring state, determining the target pulse signal and the output terminal voltage of the second chip includes: in the process of the electrochromic device switching from the first coloring state to the second coloring state, determining that the target pulse signal is the first pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; in the process of the electrochromic device switching from the second coloring state to the third coloring state, determining that the target pulse signal is the second pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; in the process of the electrochromic device switching from the third coloring state to the fourth coloring state, determining that the target pulse signal is the third pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; in the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determining that the target pulse signal is the fourth pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value; wherein, the duty cycles of the first pulse signal, the second pulse signal, the third pulse signal, and the fourth pulse signal are different.

[0075] The output terminal of the second chip includes a first terminal and a second terminal, as Figure 1 and Figure 3As shown, the first terminal can be IN1 and the second terminal can be IN2. The output terminal voltage of the second chip is the voltage of the first terminal and the second terminal. Among them, the voltage of the first terminal can be the fifth predetermined value or the sixth predetermined value, and the voltage of the second terminal can also be the fifth predetermined value or the sixth predetermined value. The specific values of the voltages of the first terminal and the second terminal are related to the corresponding target coloring state. In practical applications, the fifth predetermined value can be zero voltage, and its value can be 0, and the sixth predetermined value is the power supply voltage of the second chip, and its value can be 1.

[0076] Since the electrochromic device will have no effect with a voltage higher than the limit transmittance, and instead will increase power consumption and affect the lifespan, in order to reduce power consumption in this solution, during the process of the electrochromic device switching from the current coloring state to the target coloring state, it will go through two stages, namely the first stage and the second stage. Among them, the duty cycle of the target pulse signal in the first stage is greater than that of the target pulse signal in the second stage. That is to say, in the first stage, a relatively high target pulse signal is adopted, which can quickly switch the electrochromic device from the current coloring state to the target coloring state, enabling the electrochromic device to quickly reach the limit transmittance. In the second stage, a relatively low target pulse signal is adopted to maintain the electrochromic device in the target coloring state. In this way, by dynamically adjusting the duty cycle of the target pulse signal, not only can it be ensured that there will be no step voltage, and further the electrode / electrolyte interface will not be impacted by sudden and large voltage changes, but also the overall power consumption of the electrochromic lens can be further reduced.

[0077] It should be understood that when different duty cycles correspond to different pulse signals, the first pulse signal, the second pulse signal, the third pulse signal, and the fourth pulse signal are all combined pulse signals. When different duty cycles correspond to the same pulse signal, the duty cycles of the first pulse signal, the second pulse signal, the third pulse signal, and the fourth pulse signal can be dynamically adjusted.

[0078] In addition, the different voltages of the first terminal (IN1) and the second terminal (IN2) in the second chip correspond to different voltages at the output terminals (OUT1 and OUT2) of the first chip. That is to say, according to the voltage values of the first terminal and the second terminal, the voltages at the output terminals (OUT1 and OUT2) of the first chip can be changed, thereby changing the direction of ion movement in the electrochromic device.

[0079] Since the duty cycles corresponding to different target pulse signals are different, and the polarities of the output voltages of different second chips also result in different polarities of the output voltages of the first chip, for different coloring state switching processes, different target pulse signals and different output voltages of the second chip are corresponding. When the electrochromic device switches the coloring state, a step voltage will not be generated, and further, the electrode / electrolyte interface will not be impacted by sudden and large voltage changes.

[0080] In an optional implementation, the fourth pulse signal includes a first sub-pulse signal and a second sub-pulse signal; in the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determining that the target pulse signal is the fourth pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value includes: controlling the electrochromic device to switch from the fourth coloring state to the second coloring state, determining that the target pulse signal is the first sub-pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; controlling the electrochromic device to switch from the second coloring state to the first coloring state, determining that the target pulse signal is the second sub-pulse signal and the voltages of both the first terminal and the second terminal are the sixth predetermined value, and the duty cycle of the first sub-pulse signal is greater than the duty cycle of the second sub-pulse signal.

[0081] Since the electrochromic device is biased towards the faded state (the second coloring state) in the natural state, in the process of switching the electrochromic device from the fourth coloring state (the colored state) to the first coloring state (the standby state), first control the electrochromic device to switch from the fourth coloring state (the colored state) to the second coloring state (the faded state), and then switch from the second coloring state (the faded state) to the first coloring state (the standby state). This can further avoid the mechanical impact on the electrode / electrolyte interface caused by step voltage mutation, further reduce the risk of lattice distortion during the ion insertion / extraction process, and further extend the cycle life of the electrochromic layer in the electrochromic device.

[0082] In order to be able to switch the electrochromic device from the fourth coloring state (the colored state) to the first coloring state (the standby state) relatively quickly, the duty cycle of the first sub-pulse signal is set to be greater than the duty cycle of the second sub-pulse signal, so that the electrochromic device can quickly switch from the fourth coloring state (the colored state) to the second coloring state (the faded state), and then switch from the second coloring state (the faded state) to the first coloring state (the standby state).

[0083] In an optional implementation, since the electrochromic device is in the original state in the standby state, thus, no pulse signal needs to be set in the process of switching from the second coloring state (the faded state) to the first coloring state (the standby state).

[0084] In an alternative embodiment, the control method of the electrochromic device further includes: before using the target pulse signal and the output voltage of the second chip to control the holding time of the output voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state, determining whether the number of triggers changes within a preset time; when the number of triggers changes, entering the step of determining the target coloring state to which the electrochromic device switches using the number of triggers; when the number of triggers does not change, using the target pulse signal and the output voltage of the second chip to control the holding time of the output voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state.

[0085] After the user presses the button assembly for the first time, it is determined whether the number of triggers changes within a preset time, that is, it is determined whether the user presses the button assembly again within the preset time. That is to say, a delay protection is set in this solution. If the user presses the button assembly again within the preset time, it means that the user has a new control requirement. The control device can quickly enter the step of determining the target coloring state, respond in a timely manner and adjust the state of the electrochromic device to meet the actual needs of the user at present; if the user does not press the button assembly again within the preset time, it means that the user has no new control requirement. Therefore, the corresponding target pulse signal and the output voltage of the second chip can be determined according to the target coloring state, reducing unnecessary calculation and adjustment links, enabling the control device to enter the actual state switching control process faster, and improving the overall response speed of the control device.

[0086] In an alternative embodiment, the target pulse signal includes a third sub-pulse signal and a fourth sub-pulse signal; using the target pulse signal and the output voltage of the second chip to control the holding time of the output voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state includes: using the third sub-pulse signal to control the holding time of the output voltage of the second chip to generate the output voltage of the first chip to control the electrochromic device to switch from the current coloring state to the target coloring state; using the fourth sub-pulse signal to control the holding time of the output voltage of the first chip to control the electrochromic device to maintain the target coloring state; wherein, the duty cycle of the third sub-pulse signal is greater than the duty cycle of the fourth sub-pulse signal.

[0087] Since the duty cycle of the third sub-pulse signal is greater than that of the fourth sub-pulse signal, during the process of the electrochromic device switching from the current coloring state to the target coloring state, first, the third sub-pulse signal is used to control the electrochromic device to switch from the current coloring state to the target coloring state, enabling the electrochromic device to efficiently and rapidly reach the limiting transmittance corresponding to the target coloring state. However, once the electrochromic device reaches the limiting transmittance, a higher voltage will have no effect, but will instead increase power consumption and affect the lifespan. Therefore, the fourth sub-pulse signal is used to maintain the electrochromic device at a limiting transmittance, which can reduce power consumption.

[0088] As Figure 7 shown, during the process of the electrochromic device switching from the standby state (the first coloring state) to the bleaching state (the second coloring state), two stages will be experienced. In the first stage, the target pulse signal is the first duty cycle pulse signal, IN1 = 0, and IN2 = 1; in the second stage, the target pulse signal is the second duty cycle signal, IN1 = 0, and IN2 = 1, where the first duty cycle pulse signal can be the Figure 8 pulse signal shown, and the second duty cycle pulse signal can be the Figure 9 pulse signal shown.

[0089] As Figure 7 shown, during the process of the electrochromic device switching from the bleaching state (the second coloring state) to the intermediate state (the third coloring state), two stages will be experienced. In the first stage, the target pulse signal is the first duty cycle pulse signal, IN1 = 1, and IN2 = 0; in the second stage, the target pulse signal is the third duty cycle signal, IN1 = 1, and IN2 = 0, where the third duty cycle pulse signal can be the Figure 10 pulse signal shown.

[0090] As Figure 7 shown, during the process of the electrochromic device switching from the intermediate state (the third coloring state) to the coloring state (the fourth coloring state), two stages will be experienced. In the first stage, the target pulse signal is the first duty cycle pulse signal, IN1 = 1, and IN2 = 0; in the second stage, the target pulse signal is the second duty cycle signal, IN1 = 1, and IN2 = 0.

[0091] As Figure 7 shown, during the process of the electrochromic device switching from the coloring state (the fourth coloring state) to the standby state (the first coloring state), two stages will be experienced. In the first stage, the target pulse signal is the first duty cycle pulse signal, IN1 = 0, and IN2 = 1; in the second stage, there is no pulse signal, IN1 = 1, and IN2 = 1.

[0092] From Figures 8 to 10As shown, the duration of the high-level signal in the first duty-cycle pulse signal is greater than that in the second duty-cycle pulse signal; the duration of the high-level signal in the second duty-cycle pulse signal is greater than that in the third duty-cycle pulse signal.

[0093] In an alternative embodiment, during the process of determining the target coloring state of the electrochromic device switching using the trigger count, the control method of the electrochromic lens further includes: triggering the start of the counter using the trigger count obtained for the first time for the button assembly; using the counter to count the trigger count of the button assembly; when the trigger count of the button assembly reaches a predetermined count value, controlling the counter to be cleared.

[0094] The counter can accurately count the trigger count of the button assembly, and subsequently, the trigger count can be used to more accurately determine the target coloring state corresponding to the electrochromic device.

[0095] In the control method of the electrochromic device of the present application, pulse signals with different duty cycles can achieve precise control of the ion migration rate and reduce the polarization failure of the material caused by the continuous high electric field. Among them, using a high-duty-cycle pulse signal can enable the electrochromic device to quickly complete the switching of the coloring state; using a low-duty-cycle pulse signal, after quickly completing the switching of the coloring state, it enters a low-power maintenance mode, reducing the static current loss and avoiding the waste of full-time full-power driving; the continuously adjustable duty-cycle characteristic supports the switching of the transmittance, breaking through the traditional fixed voltage level limit, and can support the adjustment of the transmittance of ≥3 levels; the dynamic duty-cycle drive can periodically release the charge accumulation at the electrode / electrolyte interface, preventing the transmittance drift caused by ion concentration polarization. After experimental verification, its long-term stability error is <±2%.

[0096] In this embodiment, a control device for an electrochromic device is further provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0097] This embodiment provides a control device for an electrochromic device, as Figure 1As shown in the figure, the control device includes: an electrochromic device, a first chip, a second chip, and a third chip. Among them, the first chip includes an input end and an output end. The input end of the first chip is connected to the output end of the second chip, and the output end of the first chip is connected to the electrochromic device; the second chip includes an input end and an output end. The input end of the second chip is connected to the output end of the third chip, and the output end of the second chip is connected to the input end of the first chip. Among them, the second chip is used to execute any control method of the electrochromic device; a button assembly is connected to the third chip.

[0098] In an optional implementation manner, the enable ends of the first chip and the second chip are connected to each other. In this way, the second chip can control the enable of the first chip through an enable signal (SLEEP signal).

[0099] This embodiment also provides a second chip, as Figure 11 shown, the second chip includes:

[0100] A trigger count acquisition module 1110, configured to acquire the trigger count for the button assembly.

[0101] A coloring state determination module 1120, configured to determine the target coloring state for the switching of the electrochromic device by using the trigger count.

[0102] A pulse signal determination module 1130, configured to determine the target pulse signal and the output terminal voltage of the second chip during the process of the electrochromic device switching from the current coloring state to the target coloring state.

[0103] A coloring state switching module 1140, configured to control the holding time of the output terminal voltage of the first chip by using the target pulse signal and the output terminal voltage of the second chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0104] In some optional implementation manners, the coloring state determination module 1120 includes:

[0105] A first determination unit, configured to determine that the target coloring state is the first coloring state if the trigger count is the first predetermined value.

[0106] A second determination unit, configured to determine that the target coloring state is the second coloring state if the trigger count is the second predetermined value.

[0107] A third determination unit, configured to determine that the target coloring state is the third coloring state if the trigger count is the third predetermined value.

[0108] A fourth determination unit, configured to determine that the target coloring state is a fourth coloring state if the number of trigger times is a fourth predetermined value; wherein, the target coloring state is any one of a first coloring state, a second coloring state, a third coloring state, and a fourth coloring state, and the light transmittance corresponding to the first coloring state, the second coloring state, the third coloring state, and the fourth coloring state decreases in sequence.

[0109] In some alternative embodiments, the output terminal of the second chip includes a first terminal and a second terminal; the pulse signal determination module 1130 includes:

[0110] A fifth determination unit, configured to determine that the target pulse signal is a first pulse signal, the voltage of the first terminal is a fifth predetermined value, and the voltage of the second terminal is a sixth predetermined value during the process of the electrochromic device switching from the first coloring state to the second coloring state.

[0111] A sixth determination unit, configured to determine that the target pulse signal is a second pulse signal, the voltage of the first terminal is a sixth predetermined value, and the voltage of the second terminal is a fifth predetermined value during the process of the electrochromic device switching from the second coloring state to the third coloring state.

[0112] A seventh determination unit, configured to determine that the target pulse signal is a third pulse signal, the voltage of the first terminal is a sixth predetermined value, and the voltage of the second terminal is a fifth predetermined value during the process of the electrochromic device switching from the third coloring state to the fourth coloring state.

[0113] An eighth determination unit, configured to determine that the target pulse signal is a fourth pulse signal and the voltages of both the first terminal and the second terminal are a sixth predetermined value during the process of the electrochromic device switching from the fourth coloring state to the first coloring state; wherein, the duty cycles of the first pulse signal, the second pulse signal, the third pulse signal, and the fourth pulse signal are different.

[0114] In some alternative embodiments, the fourth pulse signal includes a first sub-pulse signal and a second sub-pulse signal; the eighth determination unit includes:

[0115] A first control sub-unit, configured to control the electrochromic device to switch from the fourth coloring state to the second coloring state, and determine that the target pulse signal is the first sub-pulse signal, the voltage of the first terminal is a fifth predetermined value, and the voltage of the second terminal is a sixth predetermined value.

[0116] A second control sub-unit, configured to control the electrochromic device to switch from the second coloring state to the first coloring state, and determine that the target pulse signal is the second sub-pulse signal and the voltages of both the first terminal and the second terminal are a sixth predetermined value, and the duty cycle of the first sub-pulse signal is greater than the duty cycle of the second sub-pulse signal.

[0117] In some alternative embodiments, the second chip further includes:

[0118] The number transformation determination module determines whether the number of triggers changes within a preset time before controlling the holding time of the output voltage of the first chip by using the target pulse signal and the output voltage of the second chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0119] The determination module is configured to enter the step of determining the target coloring state to which the electrochromic device switches by using the number of triggers when the number of triggers changes.

[0120] The first control module is configured to control the holding time of the output voltage of the first chip by using the target pulse signal and the output voltage of the second chip when the number of triggers does not change, so that the electrochromic device switches from the current coloring state to the target coloring state.

[0121] In some alternative embodiments, the target pulse signal includes a third sub-pulse signal and a fourth sub-pulse signal; the coloring state switching module or the first control module further includes:

[0122] The first control unit is configured to control the holding time of the output voltage of the second chip by using the third sub-pulse signal to generate the output voltage of the first chip, so as to control the electrochromic device to switch from the current coloring state to the target coloring state.

[0123] The second control unit is configured to control the holding time of the output voltage of the first chip by using the fourth sub-pulse signal to control the electrochromic device to maintain the target coloring state; wherein, the duty cycle of the third sub-pulse signal is greater than the duty cycle of the fourth sub-pulse signal.

[0124] In some alternative embodiments, the second chip further includes:

[0125] The trigger module is configured to trigger the start of the counter by using the initially obtained number of triggers for the key component during the process of determining the target coloring state to which the electrochromic device switches by using the number of triggers.

[0126] The statistics module is configured to use the counter to count the number of triggers of the key component.

[0127] The second control module is configured to clear the counter when the number of triggers of the key component reaches a predetermined count value.

[0128] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding above-mentioned embodiments, and will not be repeated here.

[0129] The second chip in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0130] An embodiment of the present invention further provides an electronic device having the control device of the electrochromic device described above.

[0131] Please refer to Figure 12 , Figure 12 which is a schematic structural diagram of an electronic device provided by an alternative embodiment of the present invention. As shown in Figure 12 , the computer device includes: one or more processors 1210, a memory 1220, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Figure 12 In

[0132] Processor 1210 can be a central processing unit, a network processor, or a combination thereof. Among them, processor 1210 can further include a hardware chip. The above hardware chip can be an application specific integrated circuit, a programmable logic device, or a combination thereof. The above programmable logic device can be a complex programmable logic device, a field programmable gate array, a general array logic, or any combination thereof.

[0133] Among them, the memory 1220 stores instructions executable by at least one processor 1210, so that the at least one processor 1210 executes the method shown in the above embodiment.

[0134] The memory 1220 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the computer device and the like. In addition, the memory 1220 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 1220 may optionally include a memory remotely provided with respect to the processor 1210, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0135] The memory 1220 may include volatile memory, for example, random access memory; the memory may also include non-volatile memory, for example, flash memory, a hard disk, or a solid-state drive; the memory 1220 may further include a combination of the above types of memories.

[0136] The computer device further includes a communication interface 1230 for the computer device to communicate with other devices or a communication network.

[0137] The embodiments of the present invention also provide a computer-readable storage medium. The methods according to the embodiments of the present invention may be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and to be downloaded through a network and stored in a local storage medium, so that the methods described herein can be stored in such software processes on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium may further include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.

[0138] A part of the present invention can be applied as a computer program product, for example, computer program instructions, which, when executed by a computer, can call or provide the methods and / or technical solutions according to the present invention through the operations of the computer. Those skilled in the art should understand that the forms of existence of computer program instructions in a computer-readable medium include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways for computer program instructions to be executed by a computer include but are not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Herein, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible by the computer.

[0139] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A control method for an electrochromic device, characterized in that, The electrochromic device is connected to the output terminal of the first chip, the input terminal of the first chip is connected to the output terminal of the second chip, the input terminal of the second chip is connected to the output terminal of the third chip, and a key assembly is connected to the third chip; the method includes: Obtain the number of times the key assembly is triggered; Use the number of times of triggering to determine the target coloring state for the electrochromic device to switch; During the process of the electrochromic device switching from the current coloring state to the target coloring state, determine the target pulse signal and the voltage at the output terminal of the second chip; Use the target pulse signal and the voltage at the output terminal of the second chip to control the duration of the voltage at the output terminal of the first chip, so that the electrochromic device switches from the current coloring state to the target coloring state.

2. The method according to claim 1, characterized in that Using the number of times of triggering to determine the target coloring state for the electrochromic device to switch includes: If the number of times of triggering is the first predetermined value, determine that the target coloring state is the first coloring state; If the number of times of triggering is the second predetermined value, determine that the target coloring state is the second coloring state; If the number of times of triggering is the third predetermined value, determine that the target coloring state is the third coloring state; If the number of times of triggering is the fourth predetermined value, determine that the target coloring state is the fourth coloring state; Wherein, the target coloring state is any one of the first coloring state, the second coloring state, the third coloring state and the fourth coloring state, and the light transmittance corresponding to the first coloring state, the second coloring state, the third coloring state and the fourth coloring state decreases in sequence.

3. The method according to claim 2, wherein The output terminal of the second chip includes a first terminal and a second terminal; during the process of the electrochromic device switching from the current coloring state to the target coloring state, determining the target pulse signal and the voltage at the output terminal of the second chip includes: During the process of the electrochromic device switching from the first coloring state to the second coloring state, determine that the target pulse signal is the first pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; During the process of the electrochromic device switching from the second coloring state to the third coloring state, determine that the target pulse signal is the second pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; During the process of the electrochromic device switching from the third coloring state to the fourth coloring state, determine that the target pulse signal is the third pulse signal, the voltage of the first terminal is the sixth predetermined value, and the voltage of the second terminal is the fifth predetermined value; During the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determine that the target pulse signal is the fourth pulse signal and the voltages of the first terminal and the second terminal are both the sixth predetermined value; Wherein, the duty cycles of the first pulse signal, the second pulse signal, the third pulse signal and the fourth pulse signal are different.

4. The method according to claim 3, characterized in that, The fourth pulse signal includes a first sub-pulse signal and a second sub-pulse signal; during the process of the electrochromic device switching from the fourth coloring state to the first coloring state, determining that the target pulse signal is the fourth pulse signal and the voltages of the first terminal and the second terminal are both the sixth predetermined value includes: Controlling the electrochromic device to switch from the fourth coloring state to the second coloring state, determining that the target pulse signal is the first sub-pulse signal, the voltage of the first terminal is the fifth predetermined value, and the voltage of the second terminal is the sixth predetermined value; Controlling the electrochromic device to switch from the second coloring state to the first coloring state, determining that the target pulse signal is the second sub-pulse signal and the voltages of the first terminal and the second terminal are both the sixth predetermined value, and the duty cycle of the first sub-pulse signal is greater than the duty cycle of the second sub-pulse signal.

5. The method according to claim 1, wherein Before using the target pulse signal and the output terminal voltage of the second chip to control the maintenance time of the output terminal voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state, the method includes: Determining whether the number of trigger times changes within a preset time; When the number of trigger times changes, entering the step of using the number of trigger times to determine the target coloring state to which the electrochromic device switches; When the number of trigger times does not change, using the target pulse signal and the output terminal voltage of the second chip to control the maintenance time of the output terminal voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state.

6. The method according to claim 1 or 5, characterized in that, The target pulse signal includes a third sub-pulse signal and a fourth sub-pulse signal; using the target pulse signal and the output terminal voltage of the second chip to control the maintenance time of the output terminal voltage of the first chip so that the electrochromic device switches from the current coloring state to the target coloring state includes: Using the third sub-pulse signal to control the maintenance time of the output terminal voltage of the second chip to generate the output terminal voltage of the first chip to control the electrochromic device to switch from the current coloring state to the target coloring state; Using the fourth sub-pulse signal to control the maintenance time of the output terminal voltage of the first chip to control the electrochromic device to maintain the target coloring state; Wherein, the duty cycle of the third sub-pulse signal is greater than the duty cycle of the fourth sub-pulse signal.

7. The method according to claim 2, wherein During the process of using the number of trigger times to determine the target coloring state to which the electrochromic device switches, the method further includes: Using the initially obtained number of trigger times for the button assembly to trigger the start of the counter; Using the counter to count the number of trigger times of the button assembly; When the number of trigger times of the button assembly reaches a predetermined count value, controlling the counter to be cleared.

8. A control device for an electrochromic device, characterized in that, Including: An electrochromic device; The first chip includes an input end and an output end. The input end of the first chip is connected to the output end of the second chip, and the output end of the first chip is connected to the electrochromic device; The second chip includes an input end and an output end. The input end of the second chip is connected to the output end of the third chip, and the output end of the second chip is connected to the input end of the first chip. Among them, the second chip is used to execute the control method of the electrochromic device according to any one of claims 1 to 7; A key assembly is connected to the third chip.

9. An electronic device, characterized in that, Comprising: A memory and a processor, which are communicatively connected to each other. Computer instructions are stored in the memory, and the processor executes the computer instructions to execute the control method of the electrochromic device according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the control method of the electrochromic device according to any one of claims 1 to 7.