Electrochromic glass control method, electronic equipment and vehicle

By obtaining the target charge and discharge value corresponding to the time of rest and compensating, the problem of low transmittance adjustment accuracy of electrochromic glass is solved, and more stable transmittance control is achieved, and the application performance of electrochromic glass in vehicle-mounted environments is improved.

CN120215186APending Publication Date: 2025-06-27YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510394709.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The transmittance adjustment accuracy of existing electrochromic glasses is low, and it is impossible to effectively match the OCV deviation under different static time periods, resulting in large fluctuations in transmission during gear switching.

Method used

By obtaining the target charge and discharge value corresponding to the time of rest, compensation of the charge and discharge value is performed to accurately adjust the transmittance of the electrochromic glass. Specific strategies include obtaining different charge and discharge values ​​according to the length of the still time, adopting a fixed charge and discharge value scheme or obtaining the charge and discharge value based on the preset relationship between the still time and temperature.

Benefits of technology

The transmittance adjustment accuracy of electrochromic glass is improved, so that the transmittance is stable within a small fluctuation range when switching gears, and the application performance of electrochromic glass in vehicle-mounted environments is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215186A_ABST
    Figure CN120215186A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an electrochromic glass control method, electronic equipment, a vehicle, a storage medium and a program product, and relates to the technical field of dimming glass, the electrochromic glass control method comprises the following steps: obtaining a target gear; target charge and discharge quantity values needed by switching to the target gear are obtained according to the standing duration, the standing duration is the duration from gear shifting completion to gear shifting instruction obtaining of the target gear, and different standing durations correspond to different obtaining strategies of the target charge and discharge quantity values; and charging and discharging the electrochromic glass based on the target charging and discharging quantity value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of dimming glass, and particularly to an electrochromic glass control method, an electronic device, a vehicle, a storage medium, and a program product. Background Art

[0002] Dimming glass refers to glass with a film structure installed between traditional double-layer glass to achieve adjustable light transmittance. Due to its good heat insulation and privacy protection effects, and with the gradual maturity of dimming glass technology and cost reduction, the application demand for dimming glass in scenarios such as vehicle window glass is gradually increasing. Currently, dimming glass includes four types: Polymer Dispersed Liquid Crystal (PDLC), Suspended Particle Device (SPD), Dye-Doped Liquid Crystal (DLC), and Electrochromic (EC) glass. Among them, electrochromic glass is widely used in the vehicle environment due to its characteristics of high magnification and neutral black in the bright and dark states. However, the current electrochromic glass has a low transmittance adjustment accuracy. Summary of the Invention

[0003] In view of this, this application provides an electrochromic glass control method, an electronic device, a vehicle, a storage medium, and a program product, which can improve the transmittance adjustment accuracy of electrochromic glass.

[0004] In a first aspect, an electrochromic glass control method is provided, including: obtaining a target gear; obtaining a target charge-discharge amount value required to switch to the target gear according to a static duration, where the static duration is the duration from the completion of gear shifting to obtaining the gear shifting instruction of the target gear, and different static durations correspond to different obtaining strategies for the target charge-discharge amount value; and performing charge and discharge on the electrochromic glass based on the target charge-discharge amount value.

[0005] In the electrochromic glass control method of the embodiment of this application, the target charge-discharge amount value obtained according to the static duration can be the charge-discharge amount value after compensating for the OCV deviation based on the static duration, so that the target charge-discharge amount value is closer to the charge-discharge amount value required for the target gear. In addition, since different static durations will generate OCV deviations based on different influencing factors due to different reasons, different static durations correspond to different obtaining strategies for the target charge-discharge amount value, and the OCV deviation can be compensated by using the corresponding obtaining strategy based on different influencing factors, so that the compensated charge-discharge amount value matches the corresponding influencing factor, and further the compensated target charge-discharge amount value is closer to the charge-discharge amount value required for the target gear.

[0006] In addition, the electrochromic glass control method according to the embodiments of the present application is applicable to a scheme that adopts a fixed charge-discharge amount value. If the fixed charge-discharge amount value is used for gear shifting, the accuracy of transmittance adjustment can be improved, and the transmittance can be stabilized within a small fluctuation range. Therefore, during the process of obtaining the target charge-discharge amount value required to switch to the target gear according to the static duration, the actual OCV deviation can be found, that is, the corresponding charge-discharge amount deviation can be obtained. When shifting gears next time, the electrochromic glass is charged and discharged based on the target charge-discharge amount value that compensates for the charge-discharge amount deviation, so that the charge-discharge amount value during gear shifting is closer to the set value, thereby improving the accuracy of transmittance adjustment.

[0007] In a possible implementation manner, the acquisition strategy of the target charge-discharge amount value includes a first strategy; if the static duration is greater than the first preset duration and not greater than the second preset duration, the target charge-discharge amount value is obtained by using the first strategy; the first strategy includes: obtaining the current open-circuit voltage value of the electrochromic glass and the set open-circuit voltage value of the current gear, and calculating the target charge-discharge amount value according to the current open-circuit voltage value and the set open-circuit voltage value of the current gear.

[0008] The first preset duration is used to represent the duration required for the electrochromic glass to reach a uniform and stable state after gear shifting, and the second preset duration is used to represent the duration when the deviation caused by the homogenization process of the electrochromic glass dominates. If the static duration is greater than the first preset duration, it means that the electrochromic glass has reached a uniform and stable state after homogenization. At this time, the current open-circuit voltage value OCVx can be detected as the basis for determining the OCV deviation. At the same time, the static duration is not greater than the second preset duration, indicating that under the current state, the main influencing factor of the OCV deviation of the electrochromic glass is caused by homogenization. Assume that the current gear is the second gear, and the set open-circuit voltage value OCVn corresponding to the current gear, that is, the OCV corresponding to the current gear should be OCVn, and OCVx is the currently actually detected OCV. The difference between the current open-circuit voltage value OCVx and the set open-circuit voltage value OCVn of the current gear reflects the OCV deviation caused by homogenization. The target charge-discharge amount value Q calculated according to OCVx and OCVn can compensate for the charge-discharge amount value corresponding to the OCV deviation, so that the VLT after charging and discharging the electrochromic glass based on the target charge-discharge amount value Q is closer to the set VLT of the target gear, thereby improving the transmittance adjustment accuracy of the electrochromic glass.

[0009] In a possible implementation manner, the acquisition strategy of the target charge-discharge amount value includes a second strategy; if the static duration is greater than the second preset duration, the target charge-discharge amount value is obtained by using the second strategy; the second strategy includes: obtaining the target charge-discharge amount value according to the static duration and the set open-circuit voltage value of the current gear.

[0010] When the static duration is not greater than the second preset duration, it indicates that the OCV deviation caused by the homogenization process of the electrochromic glass is the dominant factor. When the static duration is greater than the second preset duration, it indicates that the power decay of the electrochromic glass is the dominant factor. The degree of deviation caused by power decay is positively correlated with the static duration. The longer the static duration, the more power decays. Therefore, if it is determined that the deviation caused by power decay is dominant, the second strategy is adopted to obtain the target charge-discharge amount value Q. In the second strategy, according to the static duration and the set open-circuit voltage value OCVn of the current gear, the target charge-discharge amount value Q is obtained by looking up a table. OCVn is used to represent the transmittance decay, or rather, the starting position of the power decay. Based on the starting position and the static duration, the decay degree of OCV or power can be determined, and by compensating for the power decay, the target charge-discharge amount value Q without deviation can be obtained.

[0011] In a possible implementation manner, before charging and discharging the electrochromic glass based on the target charge-discharge amount value, it further includes: if the decay difference between the current open-circuit voltage value of the electrochromic glass and the set open-circuit voltage value of the current gear is greater than a preset value, obtain the supplementary charge value to reach the set open-circuit voltage value of the current gear; perform supplementary charging on the electrochromic glass based on the supplementary charge value; the static duration is the duration from when the gear shift is completed and the supplementary charging is completed to when the shift instruction for the target gear is obtained.

[0012] If it is detected that the decay of OCV is large, directly trigger to supplement the decayed power. At this time, the static time is reset to zero and recalculated. That is to say, if supplementary charging is triggered, the static duration is recalculated starting from the time point when the supplementary charging is completed. Supplementary charging can supplement the power decay before the gear shift. On this basis, when shifting gears next time, the deviation after supplementary charging can still be compensated to improve the gear shift accuracy of the electrochromic glass.

[0013] In a possible implementation manner, the second strategy includes: obtaining the target charge-discharge amount value through a preset relationship according to the static duration, the current temperature, and the set open-circuit voltage value of the current gear. Different current temperatures correspond to different preset relationships.

[0014] Under different temperature ranges, the power decay curves are different. Therefore, the preset test-calibrated decay curves can be obtained by separately testing in different temperature ranges. When looking up the table through the preset relationship, based on the temperature range to which the current temperature of the electrochromic glass belongs, the target charge-discharge amount value Q is determined based on the corresponding decay curve to improve the gear shift accuracy of the electrochromic glass.

[0015] In a possible implementation, the target charge-discharge amount value is the superposition value of the charge compensation value and the set charge-discharge amount value; in the first strategy, the charge compensation value is obtained according to the difference between the current open-circuit voltage value and the set open-circuit voltage value of the current gear; the set charge-discharge amount value is obtained according to the current gear and the target gear.

[0016] In a possible implementation, the target charge-discharge amount value is the superposition value of the charge compensation value and the set charge-discharge amount value; in the second strategy, the charge compensation value is obtained according to the open-circuit voltage compensation value and the first preset relationship, and the first preset relationship is used to represent the mapping relationship between the electric quantity value and the open-circuit voltage value; the open-circuit voltage compensation value is obtained according to the static time, the set open-circuit voltage value of the current gear and the second preset relationship, and the second preset relationship is used to represent the mapping relationship between the static time and the open-circuit voltage value, and different set open-circuit voltage values correspond to different second preset relationships; the set charge-discharge amount value is obtained according to the current gear and the target gear.

[0017] In a possible implementation, the target gear corresponds to a target transmittance of 0.2%-0.6%, 1%-4%, 4%-8% or 8%-15%.

[0018] In a second aspect, an electronic device is provided, including: a processor and a memory, where the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the electronic device executes the above method.

[0019] In a third aspect, a vehicle is provided, including an electrochromic glass and the above electronic device.

[0020] In a fourth aspect, a computer-readable storage medium is provided, including a program or instruction, and when the program or instruction runs on a computer, the above method is executed.

[0021] In a fifth aspect, a computer program product is provided, and the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes the above method. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0023] Figure 1 It is an effect diagram of the electrochromic glass at the end of charge and discharge;

[0024] Figure 2 It is a schematic diagram of charge-discharge curves at different electric quantities;

[0025] Figure 3 Schematic diagram of the VLT curve corresponding to multiple transformations between gears of electrochromic glass in the related art;

[0026] Figure 4 Schematic diagram of an application scenario of an electrochromic glass in an embodiment of the present application;

[0027] Figure 5 Schematic flow chart of a method for controlling an electrochromic glass in an embodiment of the present application;

[0028] Figure 6 Schematic diagram of the VLT curve for switching between two gears by adopting a fixed charge-discharge amount value in an embodiment of the present application;

[0029] Figure 7 Schematic diagram of the corresponding relationship between △OCV and OCVn at different gears in an embodiment of the present application;

[0030] Figure 8 Schematic diagram of the curve of VLT decay over time in an embodiment of the present application;

[0031] Figure 9 Schematic block diagram of an electronic device in an embodiment of the present application. Detailed implementation manners

[0032] For a better understanding of the technical solution of the present application, the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0033] It should be clear that the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the scope of protection of the present application.

[0034] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "the" and "said" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0035] It should be understood that the term " / and" used herein is only a description of the associated relationship of the associated objects, indicating that there can be three relationships. For example, a and / or b can represent: a exists alone, a and b exist simultaneously, and b exists alone. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after.

[0036] The principle of electrochromic glass is that under the action of an external electric field, the electrochromic material undergoes stable and reversible chemical changes, thereby changing the transmittance of the material, which is manifested as reversible changes in color and transparency in appearance. Electrochromic glass can be simply understood as a battery. By charging and discharging the electrochromic glass, its transmittance can be adjusted. When discharging, the electrochromic glass darkens, and when charging, the electrochromic glass brightens. The transmittance of the electrochromic glass can be adjusted by controlling the amount of charge and discharge.

[0037] Multiple gears can be set based on the Visible Light Transmittance (VLT). Different gears correspond to different VLTs. For example, the VLT adjustment range of 0.32% - 12% is divided into 4 gears: 3, 2, 1, and 0, corresponding to VLTs of 0.32%, 2%, 6%, and 12% respectively.

[0038] The charge and discharge of the electrochromic glass can be controlled by the voltage applied to two charge and discharge electrodes, so as to adjust the gear. When the charge and discharge stop, there is a certain conversion relationship between the Open Circuit Voltage (OCV) between these two charge and discharge electrodes and the VLT of the electrochromic glass. In the related art, generally, the charge and discharge curve between the brightest state and the darkest state is used as the calibration basis in the early design process, and the amount of charge and discharge required is judged by measuring the difference between the current OCVx and the target gear OCVn.

[0039] However, the calibration or measurement of OCV may produce deviations, resulting in deviations in the amount of charge and discharge required, and thus the adjustment accuracy of the transmittance of the electrochromic glass is relatively low.

[0040] For example, as Figure 1 shown, the electrodes for charging and discharging the electrochromic glass are arranged at the edge of the glass. Due to more sufficient chemical reactions at the edge, there will be a characteristic that the surrounding changes color faster and the middle changes color slower. Therefore, after the actual charge and discharge are completed, the reaction component degrees inside and outside the electrochromic glass film are inconsistent, and a homogenization process is required. During this process, there will be a deviation in OCV.

[0041] In addition, in the scenario of long-term static after the gear shift, the electrochromic glass will show a phenomenon similar to the power loss of a battery after being left for a long time, that is, the OCV of the electrochromic glass will decay due to self-discharge, and the deviation of OCV will occur after the decay.

[0042] In addition, as Figure 2As shown, the VLT and OCV curves at different charge-discharge values are illustrated. The abscissa is OCV and the ordinate is VLT. It can be seen that since the charge-discharge efficiency is inconsistent between different charge-discharge values in practice, there will be a deviation in the OCV corresponding to the switching between different gears, resulting in a deviation in the charge-discharge value determined based on a pre-calibrated VLT and OCV curve due to the OCV deviation, thus leading to inaccurate adjustment of VLT. For example, in the curve of charging with a charge-discharge value of 75% of the full charge amount, the OCV corresponding to VLT = 2% is 0.075V, while in the curve of charging with a charge-discharge value of 20% of the full charge amount, the OCV corresponding to VLT = 2% is 0.14V.

[0043] And, as Figure 3 shown, which illustrates the actual VLT change during multiple switches between the gear of VLT = 2% and the gear of VLT = 6%. The abscissa is the number of gear switches and the ordinate is VLT. It can be seen that after multiple gear changes, due to the superposition of deviations, the accuracy will become worse and worse.

[0044] The embodiment of the present application provides an electrochromic glass control method, which can improve the adjustment accuracy of the transmittance of electrochromic glass.

[0045] The electrochromic glass control method of the embodiment of the present application controls the electrochromic glass applied in various scenarios. For example, it can be applied to vehicles. The electrochromic glass can be the sunroof glass of the vehicle or the side window glass of the vehicle. As Figure 4 shown, for example, the rear door lifting glass 1, the rear door fixed glass 2 or the rear door triangular glass 3 of the vehicle can be electrochromic glass. Since passengers have a higher perception of the side window glass, therefore, using the electrochromic glass control method provided by the embodiment of the present application to control the side window glass can improve the adjustment accuracy of the transmittance of the electrochromic glass to improve the experience of passengers. Hereinafter, the electrochromic glass control method will be described by taking the scenario of applying the electrochromic glass to the side window glass of a vehicle as an example.

[0046] As Figure 5 shown, the embodiment of the present application provides an electrochromic glass control method, including:

[0047] Step 101, obtain the target gear;

[0048] Among them, the target gear can be obtained through the received gear-shifting instruction, and the target gear is used to indicate the gear to be switched for the electrochromic glass. The gear-shifting instruction can be issued by user control. Suppose the current gear is the second gear. At this time, if the user hopes to brighten the side window glass, the transmittance gear of the electrochromic glass can be switched to the first gear through, for example, the central control device of the vehicle. At this time, the control device of the electrochromic glass receives the gear-shifting instruction and can obtain the target gear as the first gear according to this gear-shifting instruction. It can be understood that, in addition to being generated by the user's operation to adjust the transmittance of the electrochromic glass, the gear-shifting instruction can also be automatically judged and generated by the control device on the vehicle based on the scenario to realize the automatic adjustment of the transmittance of the electrochromic glass.

[0049] Step 102: Obtain the target charge-discharge amount value required to switch to the target gear according to the static duration. The static duration is the duration from the completion of gear shifting to the receipt of the gear-shifting instruction for the target gear. Different static durations correspond to different acquisition strategies for the target charge-discharge amount value.

[0050] Among them, the completion of gear shifting means the completion of the previous gear shifting. That is, at the previous gear shifting, the moment when the charge-discharge of the electrochromic glass ends is the moment when the gear shifting is completed. During the period from the completion of the previous gear shifting to the receipt of the current gear-shifting instruction, the OCV of the electrochromic glass may deviate, and the deviation of the OCV is related to the static duration. Therefore, in step 102, the target charge-discharge amount value obtained according to the static duration can be the charge-discharge amount value after compensating for the deviation of the OCV based on the static duration, so that the target charge-discharge amount value is closer to the charge-discharge amount value required for the target gear. In addition, since different static durations will cause OCV deviations based on different influencing factors due to different reasons, different static durations correspond to different acquisition strategies for the target charge-discharge amount value, which can realize compensating for the OCV deviation by adopting the corresponding acquisition strategy based on different influencing factors, so that the compensated charge-discharge amount value matches the corresponding influencing factor, and further makes the compensated target charge-discharge amount value closer to the charge-discharge amount value required for the target gear.

[0051] Step 103: Charge and discharge the electrochromic glass based on the target charge-discharge amount value.

[0052] In the electrochromic glass control method according to the embodiments of the present application, the target charge-discharge amount value obtained based on the static duration can be the charge-discharge amount value after compensating for the deviation of the OCV based on the static duration, so that the target charge-discharge amount value is closer to the charge-discharge amount value required for the target gear. In addition, since different static durations will generate OCV deviations based on different influencing factors due to the influence of different reasons, therefore, different static durations correspond to different acquisition strategies for the target charge-discharge amount value, and it is possible to implement the compensation of the OCV deviation by using the corresponding acquisition strategy based on different influencing factors, so that the compensated charge-discharge amount value matches the corresponding influencing factor, and further makes the compensated target charge-discharge amount value closer to the charge-discharge amount value required for the target gear.

[0053] In some embodiments, the electrochromic glass control method according to the embodiments of the present application is applicable to a scheme with a fixed charge-discharge amount value. The scheme with a fixed charge-discharge amount value means that during the process of controlling the electrochromic glass to switch between two gears each time, the electrochromic glass is charged or discharged with the charge-discharge amount value obtained by compensating with the set charge-discharge amount value corresponding to these two gears. For example, each time switching from gear 3 to gear 2 corresponds to a fixed set charge-discharge amount value Q1, switching from gear 2 to gear 1 corresponds to a fixed set charge-discharge amount value Q2, and switching from gear 3 to gear 1 corresponds to a fixed set charge-discharge amount value Q3, and Q3 = Q1 + Q2.

[0054] As Figure 6 shown, which shows the VLT fluctuation curve of switching back and forth between two gears 8 times with a fixed charge-discharge amount value during the actual test process. It can be seen that the VLT peak fluctuation is within ±0.04%, and the VLT trough fluctuation is within ±0.06%. It can be seen that if the method of using a fixed charge-discharge amount value is adopted for gear switching, the accuracy of transmittance adjustment can be improved, and the transmittance can be stabilized within a small fluctuation range. Therefore, during the process of obtaining the target charge-discharge amount value required to switch to the target gear according to the static duration, the actual OCV deviation can be found, that is, the corresponding power deviation can be obtained. During the next gear shift, the electrochromic glass is charged and discharged with the target charge-discharge amount value that compensates for the power deviation, which can make the charge-discharge amount value during gear switching closer to the set value, thereby improving the accuracy of transmittance adjustment.

[0055] In some embodiments, the acquisition strategy for the target charge-discharge quantity value includes a first strategy; in the process of step 102 above, that is, obtaining the target charge-discharge quantity value required to switch to the target gear according to the static duration, if the static duration is greater than the first preset duration and not greater than the second preset duration, the target charge-discharge quantity value is obtained using the first strategy. The first strategy includes: obtaining the current open-circuit voltage value OCVx of the electrochromic glass and the set open-circuit voltage value OCVn of the current gear, and calculating the target charge-discharge quantity value Q based on the current open-circuit voltage value OCVx and the set open-circuit voltage value OCVn of the current gear.

[0056] Specifically, the second preset duration is greater than the first preset duration. For example, the first preset duration is 2 minutes and the second preset duration is 10 minutes. The first preset duration is used to represent the duration required for the electrochromic glass to reach a uniform and stable state after shifting gears, and can be specifically determined according to the material and size of the electrochromic glass. The second preset duration is used to represent the duration during which the OCV deviation caused by the homogenization process of the electrochromic glass is the dominant factor. If the static duration is greater than 2 minutes, it indicates that the electrochromic glass has reached a uniform and stable state after homogenization. At this time, the current open-circuit voltage value OCVx can be detected as the basis for determining the OCV deviation. At the same time, the static duration is not greater than 10 minutes, indicating that under the current state, the main influencing factor of the OCV deviation of the electrochromic glass is caused by homogenization. Assume that the current gear is gear 2, corresponding to the set open-circuit voltage value OCVn of the current gear, that is, the OCV corresponding to the current gear should be OCVn, and OCVx is the currently actually detected OCV. The difference between the current open-circuit voltage value OCVx and the set open-circuit voltage value OCVn of the current gear reflects the OCV deviation caused by homogenization. The target charge-discharge quantity value Q calculated based on OCVx and OCVn can compensate for the charge-discharge quantity value corresponding to the OCV deviation, so that the VLT after charging and discharging the electrochromic glass based on the target charge-discharge quantity value Q is closer to the set VLT of the target gear, thereby improving the transmittance adjustment accuracy of the electrochromic glass.

[0057] In some embodiments, the target charge-discharge quantity value Q is the superposition value of the charge quantity compensation value △Q and the set charge-discharge quantity value Qn; in the first strategy, the charge quantity compensation value △Q is obtained based on the difference between the current open-circuit voltage value OCVx and the set open-circuit voltage value OCVn of the current gear; the set charge-discharge quantity value Qn is obtained according to the current gear and the target gear.

[0058] Specifically, such as Figure 7As shown, the set open-circuit voltage value OCVn of the current gear, the current open-circuit voltage value OCVx. OCVx may be higher than OCVn or lower than OCVn. The difference between the two is △OCV = OCVx - OCVn. △OCV reflects the OCV deviation caused by homogenization, and the sign of △OCV reflects the direction of the OCV deviation. According to △OCV, the corresponding charge and discharge compensation value △Q can be calculated. Assuming that the set charge and discharge amount value Qn corresponds to the target gear when switching from the current gear, then the superimposed value of △Q and Qn is used as the target charge and discharge amount value Q. During the process of switching to the target gear, charging and discharging are performed based on the target charge and discharge amount value Q. If OCVx is lower than OCVn, it indicates that there is a charge decay deviation. If charging is required during the process of switching to the target gear, the target charge and discharge amount value Q needs to be obtained by increasing the set charge and discharge amount value Qn, that is, Q = Qn + △Q, to compensate for the charge decay deviation. If discharging is required during the process of switching to the target gear, the target charge and discharge amount value Q needs to be obtained by reducing the set charge and discharge amount value Qn, that is, Q = Qn - △Q. If OCVx is higher than OCVn, it indicates that there is a charge increment deviation. If charging is required during the process of switching to the target gear, the target charge and discharge amount value Q needs to be obtained by reducing the set charge and discharge amount value Qn, that is, Q = Qn - △Q, to compensate for the charge increment deviation. If discharging is required during the process of switching to the target gear, the target charge and discharge amount value Q needs to be obtained by increasing the set charge and discharge amount value Qn, that is, Q = Qn + △Q.

[0059] In some embodiments, the acquisition strategy of the target charge and discharge amount value includes a second strategy; in the above step 102, during the process of obtaining the target charge and discharge amount value required for switching to the target gear according to the static time, if the static time is greater than the second preset time, the target charge and discharge amount value is obtained by using the second strategy; the second strategy includes: obtaining the target charge and discharge amount value according to the static time and the set open-circuit voltage value of the current gear.

[0060] Specifically, for example, the second preset duration is 10 minutes. When the standing duration is not greater than the second preset duration, it indicates that the OCV deviation caused by the homogenization process of the electrochromic glass is the dominant factor. When the standing duration is greater than the second preset duration, it indicates that the power decay of the electrochromic glass is the dominant factor. The degree of deviation caused by the power decay is positively correlated with the standing duration. The longer the standing duration, the more power decays. Therefore, when the standing duration is greater than 10 minutes, it is determined that the deviation caused by the power decay is dominant, and the second strategy is adopted to obtain the target charge-discharge quantity value Q. In the second strategy, according to the standing duration and the set open-circuit voltage value OCVn of the current gear, the target charge-discharge quantity value Q is obtained by looking up a table. OCVn is used to represent the transmittance decay, or rather, the starting position of the power decay. According to the starting position and the standing duration, the decay degree of OCV or power can be determined, and by compensating for the power decay, the target charge-discharge quantity value Q without deviation can be obtained.

[0061] In some embodiments, the target charge-discharge quantity value Q is the superposition value of the power compensation value △Q and the set charge-discharge quantity value Qn. In the second strategy, the power compensation value △Q is obtained according to the open-circuit voltage compensation value △OCV and the first preset relationship. The first preset relationship is used to represent the mapping relationship between the power value and the open-circuit voltage value. The open-circuit voltage compensation value △OCV is obtained according to the standing duration, the set open-circuit voltage value OCVn of the current gear, and the second preset relationship. The second preset relationship is used to represent the mapping relationship between the standing duration and the open-circuit voltage value. Different set open-circuit voltage values correspond to different second preset relationships. The set charge-discharge quantity value Qn is obtained according to the current gear and the target gear.

[0062] Specifically, as Figure 8 shown, which schematically shows the curve of VLT decay over time. Among them, VLT can be represented by the measurement of OCV. Therefore, the curve of OCV decay over time can be obtained by pre-test calibration, that is, the second preset relationship is determined. By determining OCVn in the second preset relationship, the starting point of OCV decay is determined. According to the standing duration, the ending point of OCV decay can be determined. The difference between the two points is the decay value △OCV of OCV. According to △OCV, the power decay value, that is, the power compensation value △Q, can be determined. The conversion between OCV and △Q can be realized according to the first preset relationship.

[0063] In some embodiments, the second strategy includes: obtaining the target charge-discharge quantity value Q according to the standing duration, the current temperature, and the set open-circuit voltage value of the current gear through a preset relationship. Different current temperatures correspond to different preset relationships.

[0064] Specifically, the power decay curves are different in different temperature ranges. Therefore, the preset test-calibrated decay curves can be obtained by separate tests in different temperature ranges. When looking up the table according to the preset relationship, based on the temperature range to which the current temperature of the electrochromic glass belongs, the target charge-discharge quantity value Q is determined based on the corresponding decay curve to improve the shifting accuracy of the electrochromic glass.

[0065] In some embodiments, before charging and discharging the electrochromic glass based on the target charge-discharge quantity value, the following steps are further included:

[0066] If the decay difference between the current open-circuit voltage value OCVx of the electrochromic glass and the set open-circuit voltage value OCVn of the current gear is greater than the preset value, the supplementary charge quantity value △q for reaching the set open-circuit voltage value of the current gear is obtained;

[0067] The electrochromic glass is supplemented with charge based on the supplementary charge quantity value △q;

[0068] The static duration is the duration from the completion of shifting and supplementary charging to obtaining the shifting instruction for the target gear.

[0069] Specifically, for example, the first preset duration is 2 minutes and the second preset duration is 10 minutes. When the static duration is greater than 10 minutes and no shifting instruction is obtained, if a large decay of OCV is detected, the decayed power is directly triggered to be supplemented, and at this time, the static time is reset to zero and recalculated. That is to say, if supplementary charging is triggered, the static duration is recalculated starting from the time point when the supplementary charging is completed. Supplementary charging can supplement the decay of the power before gear shifting. On this basis, the deviation after supplementary charging can still be compensated during the next shifting to improve the shifting accuracy of the electrochromic glass.

[0070] In some embodiments, the target gear corresponds to a target transmittance of 0.2%-0.6%, 1%-4%, 4%-8%, or 8%-15%. The above target transmittance range includes the extreme values. For example, the gears are divided into 4 gears: 3, 2, 1, and 0. The 3rd gear corresponds to a transmittance of 0.2%-0.6%, such as 0.32%; the 2nd gear corresponds to a transmittance of 1%-4%, such as 2%; the 1st gear corresponds to a transmittance of 4%-8%, such as 6%; the 0th gear corresponds to a transmittance of 8%-15%, such as 12%. The target gear can be any one of these 4 gears.

[0071] It should be noted that if a shift command is received when the stationary duration is no more than 2 minutes, it is considered a continuous shifting process. During the continuous shifting process, homogenization cannot be completed, so no power compensation is performed. Only when the stationary time is greater than 2 minutes is it considered a new shift, and then the first strategy or the second strategy is adopted to perform charge and discharge for the next shift based on the compensated target charge and discharge amount value.

[0072] An embodiment of the present application also provides an electronic device, including: a processor and a memory. The memory is used to store at least one instruction. When the instruction is loaded and executed by the processor, the electronic device executes the above method.

[0073] Figure 9 The structure diagram of an electronic device 100 in an embodiment of the present application is shown.

[0074] The electronic device 100 may include a processor 110, an internal memory 121, etc.

[0075] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In some other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure can be implemented in hardware, software, or a combination of software and hardware.

[0076] The processor 110 may include one or more processing units. Among them, different processing units may be independent devices or integrated in one or more processors.

[0077] The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.

[0078] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0079] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc. The data storage area can store data created during the use of the electronic device 100, etc. In addition, the internal memory 121 can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121, and / or the instructions stored in the memory provided in the processor.

[0080] The electronic device 100 can be, for example, a vehicle-mounted device and used in a vehicle. The electronic device 100 can also include a charge and discharge circuit and electrodes to implement charge and discharge of the electrochromic glass. It can be understood that the charge and discharge circuit and the electrodes can also be separate devices outside the electronic device 100. The electronic device 100 is used to obtain the target charge and discharge amount of the charge and discharge, and realizes the charge and discharge of the electrochromic glass by further controlling the charge and discharge circuit and the electrodes.

[0081] An embodiment of this application also provides a vehicle, including an electrochromic glass and the above-mentioned electronic device. For example, the electrochromic glass can be the side window glass of the vehicle.

[0082] An embodiment of this application also provides a computer-readable storage medium, including a program or instructions. When the program or instructions are run on a computer, the methods of any of the above embodiments are executed.

[0083] An embodiment of this application also provides a computer program product. The computer program product includes executable instructions. When the executable instructions are executed on a computer, the computer is made to execute the methods of any of the above embodiments.

[0084] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk).

[0085] In the embodiments of this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent the cases where A exists alone, A and B exist simultaneously, and B exists alone. Where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one of the following" and its similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, and c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or multiple.

[0086] The above are only the preferred embodiments of this application and are not used to limit this application. For those skilled in the art, various changes and modifications can be made to this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.

Claims

1. A method for controlling electrochromic glass, characterized in that: include: Get the target gear position; Acquire a target charge-discharge amount value required for switching to the target gear position according to the rest time, wherein the rest time is the time from when the gear shift is completed to when the gear shift instruction of the target gear position is acquired, and different rest time corresponds to different acquisition strategies of the target charge-discharge amount value; The electrochromic glass is charged and discharged based on the target charge and discharge amount value.

2. The method according to claim 1, characterized in that The target charge and discharge amount value acquisition strategy includes a first strategy; If the static time is longer than the first preset time and not longer than the second preset time, the target charge and discharge value is obtained by using the first strategy; The first strategy includes: obtaining a current short-circuit voltage value of the electrochromic glass and a set short-circuit voltage value of a current gear, and calculating the target charge and discharge amount value according to the current short-circuit voltage value and the set short-circuit voltage value of the current gear.

3. The method according to claim 1 or 2, characterized in that: The target charge and discharge amount value acquisition strategy includes a second strategy; If the static time is longer than the second preset time, the target charge and discharge value is obtained by using the second strategy; The second strategy includes: obtaining the target charge and discharge amount value according to the rest time and the set circuit-breaking voltage value of the current gear.

4. The method according to claim 3, characterized in that Before charging and discharging the electrochromic glass based on the target charge and discharge value, the method further includes: If the attenuation difference between the current short-circuit voltage value of the electrochromic glass and the set short-circuit voltage value of the current gear is greater than a preset value, then obtaining a supplementary power value to reach the set short-circuit voltage value of the current gear; Supplementally charging the electrochromic glass based on the supplementary power value; The stationary time is the time from when the gear shifting is completed and the supplementary charging is completed to when the gear shifting instruction of the target gear is obtained.

5. The method according to claim 3, characterized in that: The second strategy includes: obtaining the target charge and discharge amount value through a preset relationship according to the rest time, the current temperature and the set circuit-breaking voltage value of the current gear, and different current temperatures correspond to different preset relationships.

6. The method according to claim 2, characterized in that The target charge and discharge value is the superposition value of the power compensation value and the set charge and discharge value; In the first strategy, the power compensation value is obtained according to the difference between the current circuit breaker voltage value and the set circuit breaker voltage value of the current gear; The set charge and discharge amount value is obtained according to the current gear position and the target gear position.

7. The method according to claim 3, characterized in that The target charge and discharge value is the superposition value of the power compensation value and the set charge and discharge value; In the second strategy, the power compensation value is obtained according to the circuit breaker voltage compensation value and a first preset relationship, and the first preset relationship is used to represent a mapping relationship between the power value and the circuit breaker voltage value; The circuit breaker voltage compensation value is obtained according to the static time, the set circuit breaker voltage value of the current gear and a second preset relationship, wherein the second preset relationship is used to represent a mapping relationship between the static time and the circuit breaker voltage value, and different set circuit breaker voltage values ​​correspond to different second preset relationships; The set charge and discharge amount value is obtained according to the current gear position and the target gear position.

8. The method according to claim 1, characterized in that The target gear position corresponds to a target transmittance of 0.2%-0.6%, 1%-4%, 4%-8% or 8%-15%.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store at least one instruction, and when the instruction is loaded and executed by the processor, the electronic device executes the method as claimed in any one of claims 1 to 8.

10. A vehicle, characterized in that: The invention comprises electrochromic glass and the electronic device as claimed in claim 9.

11. A computer-readable storage medium, characterized in that: The method comprises a program or an instruction. When the program or the instruction is run on a computer, the method according to any one of claims 1 to 8 is executed.

12. A computer program product, characterized in that The computer program product comprises executable instructions, and when the executable instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 8.