CN115616938B - Control method and device of electrochromic device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN115616938B
CN115616938B CN202211033830.5A CN202211033830A CN115616938B CN 115616938 B CN115616938 B CN 115616938B CN 202211033830 A CN202211033830 A CN 202211033830A CN 115616938 B CN115616938 B CN 115616938B
Authority
CN
China
Prior art keywords
gear
electrochromic device
electrochromic
value
adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211033830.5A
Other languages
Chinese (zh)
Other versions
CN115616938A (en
Inventor
刘晓龙
李加富
龙金桥
吴嘉辉
梁国昌
徐红飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Automobile Group Co Ltd
Original Assignee
Guangzhou Automobile Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Automobile Group Co Ltd filed Critical Guangzhou Automobile Group Co Ltd
Priority to CN202211033830.5A priority Critical patent/CN115616938B/en
Publication of CN115616938A publication Critical patent/CN115616938A/en
Application granted granted Critical
Publication of CN115616938B publication Critical patent/CN115616938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60JWINDOWS, WINDSCREENS, NON-FIXED ROOFS, DOORS, OR SIMILAR DEVICES FOR VEHICLES; REMOVABLE EXTERNAL PROTECTIVE COVERINGS SPECIALLY ADAPTED FOR VEHICLES
    • B60J3/00Antiglare equipment associated with windows or windscreens; Sun visors for vehicles
    • B60J3/04Antiglare equipment associated with windows or windscreens; Sun visors for vehicles adjustable in transparency

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application discloses a control method and device of an electrochromic device, electronic equipment and a storage medium. The method comprises the following steps: after a gear adjusting signal for an electrochromic device is acquired, acquiring a first gear based on the gear adjusting signal; under the condition that the first preset condition is met, acquiring a second gear of the electrochromic device, wherein the second gear is used for representing a true value of a current working gear of the electrochromic device; the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; and adjusting the first operating parameter of the electrochromic device based on the first gear and the second gear so that the operating gear of the electrochromic device reaches the first gear. According to the technical scheme provided by the embodiment of the application, the accuracy of gear adjustment can be improved.

Description

Control method and device of electrochromic device, electronic equipment and storage medium
Technical Field
The present disclosure relates to electrochromic technology, and in particular, to a control method and apparatus for electrochromic devices, electronic devices, and storage media.
Background
Electrochromic refers to a phenomenon that the optical properties (reflectivity, transmissivity, absorptivity, etc.) of a material change in color stably and reversibly under the action of an applied electric field. Typical electrochromic devices include electrochromic smart dimming glasses, electrochromic displays, anti-glare rearview mirrors, and the like.
In the related art, an electronic device provided with an electrochromic device is generally provided with a gear adjustment control, a user can trigger a gear adjustment signal based on the gear adjustment control to set a desired value of an operating gear of the electrochromic device, and then the electronic device applies a corresponding control voltage to the electrochromic device based on a current operating gear of the electrochromic device stored by the electronic device and the desired value to realize gear adjustment of the electrochromic device.
However, the current operating gear of the electrochromic device stored in the electronic device is often deviated from the actual operating gear of the electrochromic device, resulting in inaccurate gear adjustment process of the electrochromic device.
Disclosure of Invention
The application provides a control method and device of an electrochromic device, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a method for controlling an electrochromic device, including: after a gear adjusting signal aiming at the electrochromic device is obtained, a first gear is obtained based on the gear adjusting signal, and the first gear is used for representing an expected value of a working gear of the electrochromic device; under the condition that the first preset condition is met, acquiring a second gear of the electrochromic device, wherein the second gear is used for representing a true value of a current working gear of the electrochromic device; wherein the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; the interrupt adjustment times are used for representing the occurrence times of the second gear adjustment signal received by the electrochromic device in the response time of the first gear adjustment signal; and adjusting the first operating parameter of the electrochromic device based on the first gear and the second gear so that the operating gear of the electrochromic device reaches the first gear.
In a second aspect, embodiments of the present application provide a control apparatus for an electrochromic device, the apparatus including: the first acquisition module is used for acquiring a first gear based on the gear adjusting signal after acquiring the gear adjusting signal aiming at the electrochromic device, wherein the first gear is used for representing an expected value of a working gear of the electrochromic device; the second acquisition module is used for acquiring a second gear of the electrochromic device under the condition that the first preset condition is met, wherein the second gear is used for representing a true value of a current working gear of the electrochromic device; wherein the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; the interrupt adjustment times are used for representing the occurrence times of the second gear adjustment signal received by the electrochromic device in the response time of the first gear adjustment signal; and the control module is used for adjusting the first working parameter of the electrochromic device based on the first gear and the second gear so as to enable the working gear of the electrochromic device to reach the first gear.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; an electrochromic device; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of controlling an electrochromic device as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored therein computer program instructions that are callable by a processor to perform a method of controlling an electrochromic device as in the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product for implementing a method of controlling an electrochromic device according to the first aspect, when the computer program product is executed.
Compared with the prior art, in the control method of the electrochromic device provided by the embodiment of the application, under the condition that the gear adjusting signal is received and the condition that the first preset condition is met is monitored, the gear adjusting result is not accurate enough if the gear adjusting result is carried out on the electrochromic device based on the real value of the current working gear of the electrochromic device, but the gear adjusting is carried out on the electrochromic device based on the stored value of the current working gear of the electrochromic device, and the problem can be overcome because the stored value and the real value of the current working gear of the electrochromic device are always deviated when the interrupt adjusting times are too many or abnormal power down occurs in the last gear adjusting process.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an electrochromic device provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a flowchart of a control method of an electrochromic device according to an embodiment of the present application.
Fig. 5 is an interface schematic diagram related to a gear adjustment process according to an embodiment of the present application.
Fig. 6 is a flowchart of a control method of an electrochromic device according to another embodiment of the present application.
Fig. 7 is a flowchart of a calibration process for an electrochromic device according to another embodiment of the present application.
Fig. 8 is a block diagram of a control apparatus for an electrochromic device according to an embodiment of the present application.
Fig. 9 is a block diagram of an electronic device according to an embodiment of the present application.
Fig. 10 is a block diagram of a computer storage medium according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In order to better understand the solution of the present application, the following description will make clear and complete descriptions of the technical solution of the embodiment of the present application with reference to the accompanying drawings in the embodiment of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
First, technical terms related to the embodiments of the present application will be described.
Electrochromic material: the material with electrochromic property, that is, the optical property (reflectivity, transmissivity, absorptivity, etc.) of the material can generate stable and reversible color change phenomenon under the action of the external electric field. Electrochromic materials include organic electrochromic materials, and composite electrochromic materials. Typical inorganic electrochromic materials include tungsten trioxide. Typical organic electrochromic materials include polythiophenes and their derivatives, viologens, tetrathiafulvalene, and metal phthalocyanines.
Electrochromic devices: devices made of electrochromic materials, including, but not limited to: electrochromic glasses, electrochromic displays, automotive auto anti-glare rearview mirrors, electrochromic smart glasses, and the like. The structure of the electrochromic device is explained below with reference to fig. 1.
The electrochromic device 100 includes a first substrate 10 and a second substrate 20, the first substrate 10 and the second substrate 20 are disposed opposite to each other, a first transparent conductive layer 30 is disposed on a surface of the first substrate 10 opposite to the second substrate 20, a second transparent conductive layer 40 is disposed on a surface of the second substrate 20 opposite to the first substrate 10, polarities of the first transparent conductive layer 30 and the fourth transparent conductive layer 40 are opposite, and an ion storage layer 50, an ion conductive layer 60, and an electrochromic layer 70 are sequentially disposed between the first transparent conductive layer 30 and the second transparent conductive layer 40. The first pole of the power module 80 is electrically connected to the first transparent conductive layer 30, and the second pole of the power module 80 is electrically connected to the second transparent conductive layer 40. The first pole of the power module 80 has the same polarity as the first transparent conductive layer 30, and the second pole of the power module 80 has the same polarity as the second transparent conductive layer 40. The power module 80 is used to apply a voltage to the transparent conductive layers (including the first transparent conductive layer 30 and the second transparent conductive layer 40) so that the electrochromic layer 70 undergoes an electrochemical oxidation-reduction reaction, and the color of the material of the electrochromic layer 70 is changed by losing electrons.
Gear of electrochromic device: the designer designs a plurality of gears which are sequentially increased according to the minimum value and the maximum value of the optical property (such as transmittance) of the electrochromic device, and the transmittance corresponding to the gears which are sequentially increased is also sequentially increased. For example, the electrochromic device includes three gears, gear 1, gear 2, and gear 3, respectively. When the electrochromic device is in gear 1, the transmittance is minimum; when the electrochromic device is in the gear 2, the transmittance of the electrochromic device is larger than the transmittance corresponding to the gear 1 and smaller than the transmittance corresponding to the gear 3; the transmittance of the electrochromic device is maximized when it is in gear 3. The user can adjust the gear of the electrochromic device to obtain the transmittance desired by the user.
First gear: the desired value of the operating gear of the electrochromic device, which is typically determined by the electronic device based on a user-triggered gear adjustment signal, the determination of the first gear will be explained in the following examples.
Second gear: the actual value of the operating range of the electrochromic device, which is generally calculated according to the current operating parameters (transmittance, open circuit voltage, etc.) of the electrochromic device, can reflect the actual operating condition of the electrochromic device, and the determination of the second range will be described in the following examples.
Third gear: the stored value of the operating gear of the electrochromic device, i.e. the current operating gear of the electrochromic device stored by the electronic device. In some embodiments, the electronic device includes a gear field of the electrochromic device that is valued, i.e., the third gear. In other embodiments, the electronic device includes a shift control bar of the electrochromic device that includes an adjustable control, the position of the adjustable control on the shift control bar corresponding to a third gear.
Referring to fig. 2, a schematic diagram of an implementation environment provided in one embodiment of the present application is shown. The implementation environment includes an electronic device 200, the electronic device 200 including an electrochromic device 100. In some embodiments, the electronic device 200 is an electronic device, and the side windows and skylights of the electronic device may be made of electrochromic glass. In other possible embodiments, the electronic device 200 may also be a terminal device configured with an electrochromic display panel, such as a cell phone, tablet, personal computer, or the like. In other possible embodiments, the electronic device 200 may also be electrochromic smart glasses or the like. In the embodiment of the present application, the electronic device 200 is merely taken as an example of an electronic device for explanation.
Referring to fig. 3, a schematic structural diagram of an electronic device 200 according to an embodiment of the present application is shown. The electronic device 200 includes a central host 310, a control module 320 of the electrochromic device 100. Wherein the central host 310 is connected to the control module 320 of the electrochromic device 100, and the control module 330 of the electrochromic device 100 is connected to each electrochromic device 100 in the electronic apparatus 300, where each electrochromic device 100 includes a side window glass 1, a side window glass 2, a sky curtain glass, and so on.
In the embodiment of the present application, the central control host 310 is configured to receive the gear adjustment signal and send the gear adjustment signal to the control module 320 of the electrochromic device 100. The control module 320 of the electrochromic device 100 performs gear adjustment on the electrochromic device based on the actual value of the current working gear of the electrochromic device under the condition that the gear adjustment signal is received and the condition that the first preset condition is met is monitored, so that the problem that the gear adjustment result is inaccurate when the actual value and the stored value of the current working gear of the electrochromic device deviate can be solved, and the accuracy of gear adjustment is improved.
In some embodiments, the electronic device 200 further comprises a center control screen 330, the center control screen 300 displaying a shift control bar of the electrochromic device 100, wherein the adjustment control bar comprises an adjustable control that a user can drag to trigger a shift adjustment signal for the electrochromic device 100.
In other embodiments, the electronic device 200 further includes a sound collection device, through which the voice signal sent by the user is collected, and the subsequent central control host 310 performs voice-to-text processing and semantic analysis on the collected voice signal to monitor whether the gear adjustment signal for the electrochromic device 100 is received.
In some embodiments, the electronic device 200 includes an entity control that a user performs a corresponding operation to trigger the gear adjustment signal for the electrochromic device 100 described above. The physical controls may be buttons, knobs, levers, and the like. Taking an entity control as an example of a knob, the knob comprises an indication part, different gear identifiers of the electrochromic device are displayed on the periphery of the knob, and a user can rotate the knob to enable the indication part to point to a desired working gear, so that a gear adjusting signal for the electrochromic device 100 is triggered.
Referring to fig. 4, a flowchart of a control method of an electrochromic device according to an embodiment of the present application is shown. The method is applied to an electronic device including an electrochromic device, and includes the following process.
S401, after acquiring a gear adjustment signal for an electrochromic device, acquiring a first gear based on the gear adjustment signal.
The first gear is used for representing a desired value of an operating gear of the electrochromic device, and the desired value can be set by a user or can be adaptively determined by the electronic equipment according to the ambient brightness. The electronic device may acquire the gear adjustment signal in several ways as follows.
In some embodiments, the display interface of the electronic device includes an adjustment function option of the electrochromic device, after receiving a trigger signal for the adjustment function option, the display interface displays a gear shifting control bar of the electrochromic device, where the gear shifting control bar includes an adjustable control, different positions of the adjustable control on the gear shifting control bar correspond to different gears of the electrochromic device, and when a user performs a drag operation on the adjustable control, a drag operation signal received by the electronic device is a gear adjusting signal for the electrochromic device, and after the drag operation disappears, a gear corresponding to a position of the adjustable control on the gear shifting control bar is a first gear.
Referring in conjunction to FIG. 5, a schematic diagram of gear adjustment provided by one embodiment of the present application is shown. The center control screen 330 displays a shift control bar 510, the shift control bar 510 including an adjustable control 520, and a user drags the adjustable control 520 to change the position of the adjustable control 520 on the shift control bar 510 to trigger a shift adjustment signal for the electrochromic device.
In other embodiments, the electronic device is provided with a voice capturing device (such as a microphone) through which a voice signal is captured, and in case the voice signal includes a specified keyword, it is determined that a gear adjustment signal is received. The above specified keywords include names, numbers, and the like of electrochromic devices. The electronic device may convert the speech signal into text information and then semantically recognize the text information to determine the first gear.
For example, after the user says "raise the awning glass by 2 steps", the electronic device performs voice-to-word processing and semantic recognition on the collected voice signal, determines that the first step is the sum of the marking value of the current step of the awning glass and 2, and when the marking value is 4, the first step is 6 steps. The mark value refers to the gear of the electrochromic device recorded and stored by the electronic equipment. The electronic device may read the value of the gear field or determine the marking value based on the position of the adjustable control on the upshift control bar. For another example, after the user speaks "adjust the sky screen to 5 th gear" and the electronic device performs text conversion and semantic recognition on the collected voice signal, it is determined that the first gear is 5 th gear.
In other embodiments, the electronic device may also be provided with an entity control for the electrochromic device, the electronics receiving the gear adjustment signal in accordance with a trigger signal for the entity control. For example, the electronic device is provided with a knob, the knob comprises an indication part, different gears of the gear adjusting signal are marked on the periphery of the knob, and after the electronic device receives the rotating signal aiming at the knob, the gear indicated by the indication part is determined to be the first gear when the rotating signal disappears.
In other embodiments, the electronic device determines the first gear based on the current ambient brightness if a change in ambient brightness is detected. The change of the ambient brightness means that the absolute value of the difference between the ambient brightness value at the first moment and the ambient brightness value at the second moment is larger than the absolute value of the preset difference, the absolute value of the preset difference can be set according to experiments or experience, and the embodiment of the application is not limited to this. Optionally, the electronic device includes an ambient brightness detection device, and the ambient brightness of the environment where the electronic device is located is periodically detected by the ambient brightness detection device, so as to realize monitoring of the ambient brightness.
S402, acquiring a second gear of the electrochromic device under the condition that the first preset condition is met.
The first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device.
The number of interrupt adjustment of the electrochromic device refers to the number of occurrences of the second gear adjustment signal received within the response time of the first gear adjustment signal. When an electrochromic device undergoes electrochemical oxidation reaction under the action of an externally applied electric field, a certain time is required for the electrochromic device to finally complete coloring or fading due to the limited ion expansion speed, and the time is called the response time of the electrochromic device. The response time of the first gear adjustment signal is the time required to complete the coloring or bleaching of the electrochromic device according to the first gear adjustment signal. For example, the time when the user triggers the first gear adjustment signal is 10:00:24, the response time of the first gear adjustment signal is 2 seconds, if the user is at 10:00:25, a second gear adjustment signal is triggered, an interrupt adjustment is indicated. In some embodiments, the electronic device is provided with a counter for counting the number of interrupt adjustment, and the value of the counter is increased by 1 when the electronic device detects that interrupt adjustment occurs once, so as to count the number of interrupt adjustment.
Further, the number of interrupt adjustment times of the electrochromic device refers to the number of occurrence times of the second gear adjustment signal received within the response time of the first gear adjustment signal in the current power-up process of the electronic device. That is, after the electronic device is powered on, the number of interrupt adjustment times counted in the last power-on process is set to 0, and then the number of interrupt adjustment times in the current power-on process is counted.
The first threshold is set experimentally or empirically and may be any value greater than 1 and less than 10, such as 2. In some embodiments, the electronic device reads a count value of a counter counting the number of times of the intermittent adjustment, compares the count value with a first threshold, and adjusts the operating parameter of the electrochromic device based on a true value of a current operating gear of the electrochromic device and a desired value set by a user if the count value is greater than the first threshold.
When the interrupt adjustment occurs, the electrochromic device has generated electrochemical oxidation-reduction reaction within the response time of the first gear adjusting signal, at this time, the actual gear of the electrochromic device has changed, however, after the second gear adjusting signal is received, the electrochromic device does not record the changed working gear, but adjusts according to the stored value and the expected value of the working gear of the electrochromic device before the gear adjusting signal is received, and because the stored value of the working gear of the electrochromic device before the gear adjusting signal is received deviates from the actual value of the current working gear of the electrochromic device, the problem of inaccurate gear adjustment exists. In the embodiment of the application, when the interrupt adjustment times are too many, the gear adjustment is performed based on the true value of the current working gear of the electrochromic device, so that the problems can be overcome, and the accuracy of the gear adjustment is improved.
Abnormal power-down of the electrochromic device in the last gear adjusting process means that the electrochromic device is powered down within the response time of the first gear adjusting signal, which may be caused by the failure of the electronic device, may be caused by the failure of the control module of the electrochromic device, or may be triggered by a user, for example, the user extinguishes the electronic device within the response time of the first gear adjusting signal. Because the electrochromic device has electrochemical oxidation-reduction reaction in the response time of the first gear adjusting signal, at this time, the actual gear of the electrochromic device has changed, and the stored value of the current working gear of the electrochromic device deviates from the actual value of the current working gear of the electrochromic device, and when the gear adjusting signal is subsequently received, if the gear adjustment is performed based on the stored value of the current working gear of the electrochromic device, the gear adjustment is not accurate enough. In the embodiment of the application, abnormal power-down occurs in the last gear adjustment process of the electrochromic device, and the gear adjustment is performed based on the true value of the current working gear of the electrochromic device, so that the problems can be overcome, and the accuracy of the gear adjustment is improved.
The second gear is used to characterize the true value of the current operating gear of the electrochromic device. The second gear is determined based on a second operating parameter of the electrochromic device that reflects the actual operating condition of the electrochromic device. Wherein the second gear may be obtained by the following procedure.
S402a, the current open circuit voltage of the electrochromic device is obtained.
The open circuit voltage of the electrochromic device, that is, the second operating parameter, refers to the voltage between the end of the first transparent conductive layer away from the power source and the end of the second transparent conductive layer away from the power source. Referring again to fig. 1, "V" in the diagram is the current open circuit voltage of the electrochromic device. Optionally, one end of the first transparent conductive layer far away from the power supply, and one end of the second transparent conductive layer far away from the power supply are connected in series with a voltage detection device, and the current open-circuit voltage of the electrochromic device is detected through the voltage detection device.
S402b, determining the current transmittance of the electrochromic device based on the current open-circuit voltage of the electrochromic device.
Transmittance refers to the ratio of the radiant energy projected through an object to the total radiant energy projected onto the object during the time that the incident light flux leaves from the illuminated or medium incident surface to the other surface.
In some embodiments, the electronic device determines a current transmittance of the electrochromic device based on the first mapping relationship and a current open circuit voltage of the electrochromic device. The first mapping relation comprises mapping relation between different open-circuit voltages and different transmittances of the electrochromic device. The first mapping may be obtained through a preliminary test, which may be a functional relationship between the open circuit voltage and the transmittance of the electrochromic device.
S402c, determining a second gear of the electrochromic device based on the current transmittance of the electrochromic device.
In some embodiments, the electronic device determines a second gear of the electrochromic device based on the second mapping relationship and the current transmittance of the electrochromic device.
The second mapping relation comprises mapping relations between different gears and different transmittances of the electrochromic device, and the transmittance corresponding to each gear can be a numerical value or a transmittance interval. In the above embodiment, it is mentioned that the gear of the electrochromic device is designed by a designer according to the minimum value and the maximum value of the optical property (such as transmittance) of the electrochromic device, so that the second mapping relationship between different gear and different transmittance is stored in the electronic device, and based on the second mapping relationship and the current transmittance of the electrochromic device, the true value of the current working gear of the electrochromic device can be determined. The following table-1 illustrates a second mapping relationship provided in an embodiment of the present application.
Gear position Gear 1 Gear 2 Gear 3 Gear 4 Gear 5 Gear 6 Gear 7
Transmittance of light 10% 20% 30% 40% 50% 60% 70%
TABLE-1
S403, based on the first gear and the second gear, adjusting the first working parameter of the electrochromic device to enable the working gear of the electrochromic device to reach the first gear.
In this embodiment, the first operating parameter is a control voltage applied to the electrochromic device, that is, an output voltage of the power module, which may be a constant voltage or a variable voltage. It should be noted that, the control voltage of the electrochromic device needs to be within the safe voltage range of the electrochromic device to avoid the electrochromic device from being burned.
In some embodiments, S403 may include the following sub-steps: acquiring an absolute value of a difference value between the first gear and the second gear; determining a target control voltage for the electrochromic device based on the absolute value of the difference; and applying a target control voltage to the electrochromic device so that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear.
The open circuit voltage corresponding to the first gear may be determined based on the first mapping relationship and the second mapping relationship, which are not described herein. In this embodiment of the present application, the electronic device may determine, based on a mapping relationship between an absolute value of a gear difference and a control voltage, the control voltage corresponding to the absolute value of the difference between the first gear and the second gear as the target control voltage, and then apply the target control voltage to the electrochromic device. In the process of applying the target control voltage, the electronic equipment monitors the open-circuit voltage of the electrochromic device in real time, and stops applying the target control voltage after monitoring that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear, so that gear adjustment of the electrochromic device is realized.
It should be noted that, after the electronic device completes the gear adjustment based on the first gear and the second gear, the number of interrupt adjustment times needs to be set to 0, so as to avoid the electronic device from performing the gear adjustment according to the first gear and the second gear each time, and save the power consumption of the electronic device.
In summary, in the technical solution provided in the embodiment of the present application, under the condition that the gear adjustment signal is received and the condition that the first preset condition is met is monitored, the gear adjustment is performed on the electrochromic device based on the actual value of the current working gear of the electrochromic device, instead of performing the gear adjustment on the electrochromic device based on the stored value of the current working gear of the electrochromic device, because the number of times of interrupt adjustment is excessive or abnormal power down occurs in the last gear adjustment process, there is usually a deviation between the stored value of the current working gear of the electrochromic device and the actual value, if the gear adjustment is performed on the electrochromic device based on the stored value of the current working gear of the electrochromic device, the gear adjustment result is not accurate enough, and in the embodiment of the present application, the gear adjustment is performed on the electrochromic device based on the actual value of the current working gear of the electrochromic device, so that the above problem can be overcome, thereby improving the accuracy of the gear adjustment.
Referring to fig. 6, a flowchart of a control method of an electrochromic device according to an embodiment of the present application is shown. The method is applied to an electronic device including an electrochromic device, and includes the following process.
S601, after a gear adjustment signal for an electrochromic device is acquired, a first gear is acquired based on the gear adjustment signal.
The first gear is used to characterize the desired value of the operating gear of the electrochromic device. The explanation of S601 may be referred to as S401, and will not be described here.
S602, acquiring a third gear of the electrochromic device under the condition that the first preset condition is not met.
The third gear is used to characterize the stored value of the current operating gear of the electrochromic device. In some embodiments, the electronic device includes a gear field of the electrochromic device, the value of the gear field being the third gear, and the electronic device determines the third gear of the electrochromic device by reading the value of the gear field. In other embodiments, the electronic device includes a shift control bar of the electrochromic device that includes an adjustable control, the position of the adjustable control on the shift control bar corresponds to a third gear, and the electronic device determines the third gear based on the position by reading the position of the adjustable control on the shift control bar.
In the embodiment of the application, when it is detected that the first preset condition is not met, that is, the interruption adjustment frequency is smaller than or equal to a first threshold value, and when abnormal power-down does not occur in the last gear adjustment process of the electrochromic device, gear adjustment is performed based on the first gear and the third gear.
Because the deviation between the actual value and the stored value of the current working gear of the electrochromic device is usually smaller under the condition that the first preset condition is not met, the gear adjustment is performed based on the stored value of the current working gear of the electrochromic device, the gear adjustment result is also more accurate, and the process of acquiring the stored value is simpler than that of the actual value, so that the gear adjustment is performed based on the stored value of the current working gear of the electrochromic device under the condition that the first preset condition is not met, and the power consumption of the electronic equipment can be saved on the premise of obtaining more accurate gear adjustment result.
And S603, adjusting the first operating parameter of the electrochromic device based on the first gear and the third gear so that the operating gear of the electrochromic device reaches the first gear.
In this embodiment, the first operating parameter is a control voltage applied to the electrochromic device, that is, an output voltage of the power module, which may be a constant voltage or a variable voltage. It should be noted that, the control voltage of the electrochromic device needs to be within the safe voltage range of the electrochromic device to avoid the electrochromic device from being burned.
In some embodiments, S603 may include the following process: acquiring an absolute value of a difference value between the first gear and the third gear; determining a first control voltage of the electrochromic device based on an absolute value of a difference between the first gear and the third gear; and applying a first control voltage to the electrochromic device so that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear.
The open circuit voltage corresponding to the first gear may be determined based on the first mapping relationship and the second mapping relationship, which are not described herein. In this embodiment of the present application, the electronic device may determine, based on a mapping relationship between an absolute value of a gear difference and a control voltage, the control voltage corresponding to the absolute value of the difference between a first gear and a third gear as the first control voltage, and then apply the first control voltage to the electrochromic device. In the process of applying the first control voltage, the electronic equipment monitors the open-circuit voltage of the electrochromic device in real time, and after the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear, the electronic equipment stops applying the second control voltage, so that the gear adjustment of the electrochromic device is realized.
In summary, in the technical solution provided in the embodiment of the present application, when it is monitored that the first preset condition is not satisfied, that is, the number of times of interrupt adjustment is less than or equal to the first threshold value, and when no abnormal power down occurs in the last gear adjustment process of the electrochromic device, the gear adjustment is performed based on the stored value of the current working gear of the electrochromic device.
In the embodiment of the application, the electronic device can calibrate the electrochromic device, so that the deviation between the actual value and the stored value of the current working gear of the electrochromic device is as small as possible, and after receiving the gear adjusting signal, the electronic device can adjust the gear based on the stored value of the electrochromic device, and the power consumption of the electronic device can be saved on the premise of obtaining a relatively accurate gear adjusting result. In some embodiments, the electronic device calibrates the electrochromic device if it is monitored that the second preset condition is met.
The second preset condition includes at least one of: the complete adjustment times of the electrochromic device after the appointed time are larger than a second threshold value, the continuous power-down time of the electrochromic device is larger than the appointed time, and the electronic equipment receives a calibration instruction for the electrochromic device.
The designated time refers to the completion time of the last calibration procedure of the electrochromic device. The complete adjustment times are used to characterize the number of occurrences of the electrochromic device not receiving the second gear adjustment signal within the response time of the first gear adjustment signal. Illustratively, the time at which the user triggers the first gear adjustment signal is 10:00:24, the response time of the first gear adjustment signal is 2 seconds, if the user is at 10:00:24-10:00:26, no second gear adjustment signal is received during this period, a complete adjustment is indicated. The second threshold is set experimentally or empirically, and is illustratively 100. In this embodiment of the present application, after the last calibration, if the number of gear adjustments made to the electrochromic device by the user is enough, the deviation between the actual value and the stored value of the current working gear of the electrochromic device may be large, and at this time, the electrochromic device needs to be calibrated to improve the accuracy of the subsequent gear adjustment. In this embodiment, the vehicle may detect whether the number of complete adjustments is greater than the second threshold after the electrochromic device is powered up, or may detect whether the number of complete adjustments is greater than the second threshold after the number of complete adjustments is updated.
In other possible embodiments, the electronic device calibrates the electrochromic device after a preset period of time after the specified time. The preset time period may be set according to experiments or experience, which is not limited in the embodiment of the present application. For example, the preset duration is 15 days. The specified duration may be set experimentally or empirically, such as for 1 month. The electrochromic device may decay naturally when powered down for a long time, and at this time, the deviation between the actual value and the stored value of the current working gear of the electrochromic device may be large, so that calibration of the electrochromic device is required to improve the accuracy of subsequent gear adjustment. In this embodiment, the vehicle may monitor, by a timer, whether the length of time from the current time of the last calibration time for the electrochromic device has reached a preset length of time.
The user can trigger a calibration instruction for the electrochromic device according to the self requirement, and then the electronic equipment calibrates the electrochromic device so as to improve the accuracy of subsequent gear adjustment. In some embodiments, a calibration control is displayed on the central control screen, and if a trigger signal for the calibration control is received, a calibration instruction for the electrochromic device is received. In other embodiments, the user issues a voice signal and receives a calibration instruction when the electronic device recognizes that the voice signal includes the name of the electrochromic device and a specified keyword of "calibration". In some embodiments, the electronic device receives the calibration instruction after receiving a specified trigger signal for the entity control. In this embodiment, the vehicle is monitored for receipt of a trigger calibration command for the electrochromic device, either with the entire vehicle powered up or with the electrochromic device powered up.
The calibration procedure for electrochromic devices is described below in connection with fig. 7. The calibration procedure for electrochromic devices may include the following procedure.
S701, controlling the electrochromic device to perform an m-wheel gear adjustment process.
m is an integer greater than 1. In some embodiments, the value of m may be determined from a stored value of the current operating range of the electrochromic device and a total range value.
In some embodiments, the electronics control the electrochromic device for step-by-step adjustment. Specifically, the electronic device acquires a stored value of a current working gear, then gradually increases the working gear of the electrochromic device by taking the stepping length as a unit length (for example, 1 gear), and gradually decreases the working gear of the electrochromic device by taking the stepping length as a unit length (for example, 1 gear) after the working gear of the electrochromic device reaches a gear maximum value until the working gear of the electrochromic device is a gear minimum value.
By way of example, the total gear of the electrochromic device is 7 gears, the stored value of the current working gear is 4 gears, and then the electronic device sequentially adjusts the working gear of the electrochromic device to 5 gears, 6 gears, 7 gears, 6 gears, 5 gears, 4 gears, 3 gears, 2 gears and 1 gears, thereby realizing the m-wheel gear adjustment process.
In the gear adjustment process of each gear in the m-wheel gear adjustment process, the electrochromic device determines the expected gear in the gear adjustment process of each gear, then determines the second control voltage of the electrochromic device according to the absolute value of the difference between the stored value of the current working gear and the expected gear, applies the second control voltage to the electrochromic device, monitors the open-circuit voltage of the electrochromic device in real time in the process of applying the second control voltage, and stops applying the second control voltage after the open-circuit voltage of the electrochromic device is monitored to reach the open-circuit voltage corresponding to the expected gear, so that the gear adjustment of the electrochromic device is realized.
In the m-wheel range adjustment, there is at least one desired range of the m-wheel range adjustment as a range minimum value, and at least one desired range of the m-wheel range adjustment as a range maximum value. In the gear adjusting process in which the expected gear is the minimum value of the gear and in the adjusting process in which the expected gear is the maximum value of the gear, the end condition is that the open-circuit voltage of the electrochromic device is constant.
S702, determining the minimum value and the maximum value of the transmittance of the electrochromic device based on the second working parameter of the electrochromic device in the m-wheel gear adjusting process.
The second operating parameter is an open circuit voltage of the electrochromic device, and the electrochromic device can determine a voltage range of the open circuit voltage of the electrochromic device based on an m-wheel gear adjusting process, and further determine a minimum value and a maximum value of transmittance of the electrochromic device based on a boundary value of the voltage range of the open circuit voltage of the electrochromic device. Specifically, the electronic apparatus determines a minimum value of the transmittance of the electrochromic device according to a smaller value of the boundary values of the electrochromic device, and determines a maximum value of the transmittance of the electrochromic device according to a larger value of the boundary values of the electrochromic device.
S703, dividing the working gear of the electrochromic device into n gears based on the minimum value and the maximum value of the transmittance of the electrochromic device to obtain a third mapping relation.
n is an integer greater than 1, and the value of n is preset, which is the total gear number before the electrochromic device is calibrated, for example, n is 12. The third mapping relation comprises mapping relation between different gears and different transmittances of the electrochromic device after calibration.
The electronic equipment can determine the change range of the transmittance based on the minimum value and the maximum value of the transmittance of the electrochromic device, and then evenly divide the change range to obtain the corresponding transmittance interval or transmittance value of each grade.
And S704, determining a target gear based on the transmittance before the calibration of the electrochromic device and the third mapping relation.
The electronic device may determine the transmittance of the electrochromic device before calibration based on the first mapping relationship and the stored value of the working gear before calibration of the electrochromic device, and then find the third mapping relationship to determine the target gear.
And S705, adjusting the first working parameter of the electrochromic device to enable the working gear of the electrochromic device to reach the target gear.
The electronic equipment obtains the absolute value of the difference between the minimum gear and the target gear; determining a third control voltage for the electrochromic device based on an absolute value of a difference between the minimum gear and the target gear; and applying a third control voltage to the electrochromic device so that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the target gear.
The open circuit voltage corresponding to the target gear may be determined based on the second mapping relationship and the third mapping relationship, which are not described herein. In the embodiment of the present application, the electronic device may determine, based on a mapping relationship between the absolute value of the gear difference and the control voltage, the control voltage corresponding to the absolute value of the difference between the minimum gear and the target gear as the third control voltage, and then apply the third control voltage to the electrochromic device. In the process of applying the third control voltage, the electronic equipment monitors the open-circuit voltage of the electrochromic device in real time, and stops applying the third control voltage after monitoring that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the target gear, so that gear adjustment of the electrochromic device is realized.
In summary, according to the technical scheme provided by the embodiment of the application, under the condition that the second preset condition is met, the electrochromic device is calibrated, so that the deviation between the actual value and the stored value of the current working gear of the electrochromic device is as small as possible, after a gear adjusting signal is received, the gear is adjusted based on the stored value of the electrochromic device, and the power consumption of the electronic equipment can be saved on the premise that a more accurate gear adjusting result is obtained.
Referring to fig. 8, a block diagram of a control apparatus for an electrochromic device according to an embodiment of the present application is shown; the device comprises: a first acquisition module 810, a second acquisition module 820, and a control module 830.
The first obtaining module 810 is configured to obtain, after obtaining a gear adjustment signal for an electrochromic device, a first gear based on the gear adjustment signal, where the first gear is used to represent a desired value of an operating gear of the electrochromic device. A second obtaining module 820, configured to obtain a second gear of the electrochromic device, where the second gear is used to represent a true value of a current operating gear of the electrochromic device when the first preset condition is satisfied; wherein the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; the interrupt adjustment times are used to characterize the number of occurrences of the second gear adjustment signal received by the electrochromic device within the response time of the first gear adjustment signal. The control module 830 is configured to adjust a first operating parameter of the electrochromic device based on the first gear and the second gear, so that the operating gear of the electrochromic device reaches the first gear.
In summary, in the technical solution provided in the embodiment of the present application, under the condition that the gear adjustment signal is received and the condition that the first preset condition is met is monitored, the gear adjustment is performed on the electrochromic device based on the actual value of the current working gear of the electrochromic device, instead of performing the gear adjustment on the electrochromic device based on the stored value of the current working gear of the electrochromic device, because the number of times of interrupt adjustment is excessive or abnormal power down occurs in the last gear adjustment process, there is usually a deviation between the stored value of the current working gear of the electrochromic device and the actual value, if the gear adjustment is performed on the electrochromic device based on the stored value of the current working gear of the electrochromic device, the gear adjustment result is not accurate enough, and in the embodiment of the present application, the gear adjustment is performed on the electrochromic device based on the actual value of the current working gear of the electrochromic device, so that the above problem can be overcome, thereby improving the accuracy of the gear adjustment.
In some embodiments; a second obtaining module 820, configured to obtain a current open-circuit voltage of the electrochromic device when the first preset condition is satisfied; determining a current transmittance of the electrochromic device based on a current open circuit voltage of the electrochromic device; a second gear of the electrochromic device is determined based on the current transmittance of the electrochromic device.
In some embodiments, the second acquisition module 820 is configured to: determining the current transmittance of the electrochromic device based on a first mapping relationship and the current open-circuit voltage of the electrochromic device, wherein the first mapping relationship comprises mapping relationships of different open-circuit voltages and different transmittances of the electrochromic device; and determining a second gear of the electrochromic device based on a second mapping relation and the current transmittance of the electrochromic device, wherein the second mapping relation comprises mapping relations of different gears of the electrochromic device and different transmittances.
In some embodiments, the control module 830 is configured to obtain an absolute value of a difference between the first gear and the second gear; determining a target control voltage based on the absolute value of the difference; and applying a target control voltage to the electrochromic device so that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear.
In some embodiments, the apparatus further comprises a third acquisition module (not shown in the figures). And the third acquisition module is used for acquiring a third gear of the electrochromic device under the condition that the first preset condition is not met, wherein the third gear is used for representing the stored value of the current working gear of the electrochromic device. The control module 830 is configured to adjust a first operating parameter of the electrochromic device based on the first gear and the third gear, so that the operating gear of the electrochromic device reaches the first gear.
In some embodiments, the apparatus further comprises a calibration module (not shown in the figures). The calibration module is used for calibrating the electrochromic device under the condition that the second preset condition is met; wherein the second preset condition includes at least one of: the complete adjustment times of the electrochromic device after the appointed time is larger than a second threshold value, the continuous power-down time of the electrochromic device is larger than the appointed time, and the electronic equipment receives a calibration instruction for the electrochromic device; the designated time refers to the completion time of the last calibration procedure of the electrochromic device, and the complete adjustment times are used for representing the occurrence times of the electrochromic device which does not receive the second gear adjustment signal within the response time of the first gear adjustment signal.
In some embodiments, a calibration module for controlling the electrochromic device to perform an m-wheel gear adjustment process, m being an integer greater than 1; determining a minimum value and a maximum value of transmittance of the electrochromic device based on a second operating parameter of the electrochromic device during the m-wheel gear adjustment; dividing the working gear of the electrochromic device into n gears based on the minimum value and the maximum value of the transmittance of the electrochromic device to obtain a third mapping relation, wherein n is an integer greater than 1, and the third mapping relation comprises mapping relations of different gears and different transmittance of the electrochromic device after calibration; determining a target gear based on the transmittance of the electrochromic device before calibration and a third mapping relation; and adjusting the first working parameter of the electrochromic device to enable the working gear of the electrochromic device to reach the target gear.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided herein, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 9, there is shown an electronic device 900 according to an embodiment of the present application, where the electronic device 900 includes: one or more processors 910, a memory 920, and one or more applications. Wherein one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to perform the methods described in the above embodiments.
Processor 910 may include one or more processing cores. The processor 910 utilizes various interfaces and lines to connect various portions of the overall battery management system, perform various functions of the battery management system, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 920, and invoking data stored in the memory 920. Alternatively, the processor 910 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 910 may integrate one or a combination of several of a central processing unit 910 (Central Processing Unit, CPU), an image processor 910 (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 910 and may be implemented solely by a single communication chip.
The Memory 920 may include a random access Memory 920 (Random Access Memory, RAM), or may include a Read-Only Memory 920 (ROM). Memory 920 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 920 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by the electronic device map in use (e.g., phonebook, audiovisual data, chat log data), and the like.
Referring to fig. 10, there is shown a computer readable storage medium 1000, where the computer readable storage medium 1000 stores computer program instructions 1010, the computer program instructions 1010 being capable of being invoked by a processor to perform the method described in the above embodiments.
The computer readable storage medium 1000 may be, for example, a flash Memory, an electrically erasable programmable Read-Only Memory (EEPROM), an electrically programmable Read-Only Memory (Electrical Programmable Read Only Memory, EPROM), a hard disk, or a Read-Only Memory (ROM). Optionally, the computer readable storage medium comprises a Non-volatile computer readable storage medium (Non-transitory Computer-readable Storage Medium). The computer readable storage medium 1000 has storage space for computer program instructions 1010 that perform any of the method steps described above. The computer program instructions 1010 may be read from or written to one or more computer program products.
The foregoing description is not intended to limit the preferred embodiments of the present application, but is not intended to limit the scope of the present application, and any such modifications, equivalents and adaptations of the embodiments described above in accordance with the principles of the present application should and are intended to be within the scope of the present application, as long as they do not depart from the scope of the present application.

Claims (9)

1. A method of controlling an electrochromic device, the method comprising:
calibrating the electrochromic device under the condition that the second preset condition is met; wherein calibrating the electrochromic device comprises: controlling the electrochromic device to execute an m-wheel gear adjusting process, wherein m is an integer greater than 1; determining the minimum value and the maximum value of the transmittance of the electrochromic device based on the second working parameters of the electrochromic device in the m-wheel gear adjusting process; dividing the working gear of the electrochromic device into n gears based on the minimum value and the maximum value of the transmittance of the electrochromic device to obtain a third mapping relation, wherein n is an integer greater than 1, and the third mapping relation comprises mapping relations of different gears and different transmittance of the electrochromic device after calibration; determining a target gear based on the transmittance of the electrochromic device before calibration and the third mapping relation; adjusting a first working parameter of the electrochromic device to enable a working gear of the electrochromic device to reach the target gear; in the m-wheel gear adjusting process, the expected gear of at least one wheel of the gear adjusting process is a gear minimum value, the end condition of the gear adjusting process with the expected gear being the gear minimum value is that the open circuit voltage of the electrochromic device is constant, and the end condition of the gear adjusting process with the expected gear being the gear maximum value is that the open circuit voltage of the electrochromic device is constant;
After a gear adjusting signal aiming at an electrochromic device is acquired, acquiring a first gear based on the gear adjusting signal, wherein the first gear is used for representing an expected value of a working gear of the electrochromic device;
under the condition that a first preset condition is met, acquiring a second gear of the electrochromic device, wherein the second gear is used for representing a true value of a current working gear of the electrochromic device; wherein the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; the interrupt adjustment times are used for representing the occurrence times of the second gear adjustment signal received by the electrochromic device in the response time of the first gear adjustment signal;
and adjusting a first working parameter of the electrochromic device based on the first gear and the second gear so as to enable the working gear of the electrochromic device to reach the first gear.
2. The method according to claim 1, wherein said obtaining a second gear of the electrochromic device if a first preset condition is met, comprises:
Acquiring the current open-circuit voltage of the electrochromic device under the condition that the first preset condition is met;
determining a current transmittance of the electrochromic device based on a current open circuit voltage of the electrochromic device;
a second gear of the electrochromic device is determined based on the current transmittance of the electrochromic device.
3. The method of claim 2, wherein the determining the current transmittance of the electrochromic device based on the current open circuit voltage of the electrochromic device comprises:
determining the current transmittance of the electrochromic device based on a first mapping relationship and the current open-circuit voltage of the electrochromic device, wherein the first mapping relationship comprises mapping relationships of different open-circuit voltages and different transmittances of the electrochromic device;
the determining a second gear of the electrochromic device based on the current transmittance of the electrochromic device includes:
and determining a second gear of the electrochromic device based on a second mapping relation and the current transmittance of the electrochromic device, wherein the second mapping relation comprises mapping relations of different gears of the electrochromic device and different transmittances.
4. A method according to any one of claims 1 to 3, wherein the first operating parameter is a control voltage of the electrochromic device; the adjusting the first operating parameter of the electrochromic device based on the first gear and the second gear to enable the operating gear of the electrochromic device to reach the first gear includes:
acquiring an absolute value of a difference between the first gear and the second gear;
determining a target control voltage based on the absolute value of the difference;
and applying the target control voltage to the electrochromic device so that the open-circuit voltage of the electrochromic device reaches the open-circuit voltage corresponding to the first gear.
5. A method according to any one of claims 1 to 3, further comprising:
acquiring a third gear of the electrochromic device under the condition that the first preset condition is not met, wherein the third gear is used for representing a stored value of a current working gear of the electrochromic device;
and adjusting a first working parameter of the electrochromic device based on the first gear and the third gear so as to enable the working gear of the electrochromic device to reach the first gear.
6. A method according to any one of claims 1 to 3, wherein the second preset conditions comprise at least one of: the complete adjustment times of the electrochromic device after the appointed time is larger than a second threshold value, the continuous power-down time of the electrochromic device is larger than the appointed time, and the electronic equipment receives a calibration instruction for the electrochromic device;
the designated time refers to the completion time of the last calibration procedure of the electrochromic device, and the complete adjustment times are used for representing the occurrence times of the electrochromic device which does not receive the second gear adjustment signal within the response time of the first gear adjustment signal.
7. A control apparatus for an electrochromic device, the apparatus comprising:
the calibration module is used for calibrating the electrochromic device under the condition that the second preset condition is met; wherein calibrating the electrochromic device comprises: controlling the electrochromic device to execute an m-wheel gear adjusting process, wherein m is an integer greater than 1; determining the minimum value and the maximum value of the transmittance of the electrochromic device based on the second working parameters of the electrochromic device in the m-wheel gear adjusting process; dividing the working gear of the electrochromic device into n gears based on the minimum value and the maximum value of the transmittance of the electrochromic device to obtain a third mapping relation, wherein n is an integer greater than 1, and the third mapping relation comprises mapping relations of different gears and different transmittance of the electrochromic device after calibration; determining a target gear based on the transmittance of the electrochromic device before calibration and the third mapping relation; adjusting a first working parameter of the electrochromic device to enable a working gear of the electrochromic device to reach the target gear; in the m-wheel gear adjusting process, the expected gear of at least one wheel of the gear adjusting process is a gear minimum value, the end condition of the gear adjusting process with the expected gear being the gear minimum value is that the open circuit voltage of the electrochromic device is constant, and the end condition of the gear adjusting process with the expected gear being the gear maximum value is that the open circuit voltage of the electrochromic device is constant;
The first acquisition module is used for acquiring a first gear based on the gear adjusting signal after acquiring the gear adjusting signal aiming at the electrochromic device, wherein the first gear is used for representing an expected value of a working gear of the electrochromic device;
the second acquisition module is used for acquiring a second gear of the electrochromic device under the condition that a first preset condition is met, wherein the second gear is used for representing a true value of a current working gear of the electrochromic device; wherein the first preset condition includes at least one of: the interruption adjustment times of the electrochromic device are larger than a first threshold value, and abnormal power-down occurs in the last gear adjustment process of the electrochromic device; the interrupt adjustment times are used for representing the occurrence times of the second gear adjustment signal received by the electrochromic device in the response time of the first gear adjustment signal;
and the control module is used for adjusting the first working parameter of the electrochromic device based on the first gear and the second gear so as to enable the working gear of the electrochromic device to reach the first gear.
8. An electronic device, comprising:
One or more processors;
a memory;
an electrochromic device;
one or more applications, wherein one or more of the applications are stored in the memory and configured to be executed by one or more of the processors, the one or more applications configured to perform the method of controlling an electrochromic device of any of claims 1-6.
9. A computer readable storage medium, characterized in that it has stored therein computer program instructions that can be invoked by a processor to perform a method of controlling an electrochromic device according to any of claims 1-6.
CN202211033830.5A 2022-08-26 2022-08-26 Control method and device of electrochromic device, electronic equipment and storage medium Active CN115616938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211033830.5A CN115616938B (en) 2022-08-26 2022-08-26 Control method and device of electrochromic device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211033830.5A CN115616938B (en) 2022-08-26 2022-08-26 Control method and device of electrochromic device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115616938A CN115616938A (en) 2023-01-17
CN115616938B true CN115616938B (en) 2024-01-05

Family

ID=84856799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211033830.5A Active CN115616938B (en) 2022-08-26 2022-08-26 Control method and device of electrochromic device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115616938B (en)

Citations (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2539030A1 (en) * 1974-09-02 1976-03-25 Asahi Optical Co Ltd CIRCUIT ARRANGEMENT FOR THE CONTROL OF AN ELECTRON FLASH UNIT
US4006484A (en) * 1974-05-31 1977-02-01 Asahi Kogaku Kogyo Kabushiki Kaisha Camera systems for providing precise exposures with digital light measurement
EP0355627A2 (en) * 1988-08-17 1990-02-28 In Focus Systems, Inc. Improved electronic transparency method and apparatus
WO2000062119A1 (en) * 1999-04-09 2000-10-19 Jackson Products, Inc. Welding helmet with hybrid lens system and low power consumption control circuit therefor
EP1446791A2 (en) * 2001-11-20 2004-08-18 E Ink Corporation Methods for driving bistable electro-optic displays
CN103676343A (en) * 2012-09-10 2014-03-26 苏州汉朗光电有限公司 Constant frequency pressure regulating driving method for electronic control dimming medium
CN105361433A (en) * 2015-11-11 2016-03-02 浙江工业大学 Solar electrochromic dining-chessboard multipurpose table
CN106940508A (en) * 2017-05-10 2017-07-11 浙江上方电子装备有限公司 A kind of electrochromic device control method
CN107203052A (en) * 2017-05-05 2017-09-26 柯剑 Electro-deposition display module and preparation method thereof
CN107740059A (en) * 2017-10-19 2018-02-27 浙江上方电子装备有限公司 Electrochromic device ioning method, preparation method and product
CN107770376A (en) * 2017-10-19 2018-03-06 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN107796984A (en) * 2017-10-19 2018-03-13 维沃移动通信有限公司 A kind of information cuing method and mobile terminal
CN207264071U (en) * 2017-09-25 2018-04-20 浙江上方电子装备有限公司 A kind of electrochromism vehicle glass
CN108710246A (en) * 2018-05-17 2018-10-26 合肥威迪变色玻璃有限公司 A kind of electrochomeric glass Self-control method
CN111273445A (en) * 2020-01-21 2020-06-12 华为技术有限公司 AR display device, transmittance adjusting method thereof and wearable system
CN111344169A (en) * 2019-03-21 2020-06-26 合刃科技(深圳)有限公司 Anti-halation vehicle auxiliary driving system
CN111474797A (en) * 2020-05-08 2020-07-31 深圳市光羿科技有限公司 Control method of electrochromic glass and electrochromic glass
CN111781783A (en) * 2020-06-17 2020-10-16 深圳市光羿科技有限公司 Dimming method and system of electrochromic window and electrochromic window
CN111833795A (en) * 2020-06-30 2020-10-27 昆山国显光电有限公司 Display device and mura compensation method of display device
CN112748618A (en) * 2019-10-30 2021-05-04 传奇视界有限公司 Electrochromic glass
CN112817193A (en) * 2021-01-06 2021-05-18 深圳市光羿科技有限公司 Method for regulating and controlling electrochromic device and electronic equipment
CN112937263A (en) * 2021-01-18 2021-06-11 智马达汽车有限公司 Automobile glass color change control system, automobile and method
CN214420187U (en) * 2020-11-03 2021-10-19 南京工程学院 Intelligent shading car window system combined with electrochromic film
CN215067647U (en) * 2021-06-11 2021-12-07 比亚迪股份有限公司 Vehicle window transmittance adjusting system and vehicle
CN113759628A (en) * 2021-09-30 2021-12-07 光羿智能科技(苏州)有限公司 Electrochromic device gear shifting control method and device and electrochromic device
CN113928093A (en) * 2021-09-23 2022-01-14 信利半导体有限公司 Vehicle-mounted sun shield cosmetic mirror with electrochromic function
CN114200738A (en) * 2020-08-26 2022-03-18 深圳市万普拉斯科技有限公司 Filter structure and electronic equipment
CN114265254A (en) * 2019-12-17 2022-04-01 深圳市光羿科技有限公司 Control method, device and equipment of electrochromic device and storage medium
CN216210366U (en) * 2021-10-21 2022-04-05 深圳市光羿科技有限公司 Electrochromic electronic device
CN114283732A (en) * 2021-12-29 2022-04-05 Oppo广东移动通信有限公司 Brightness compensation method, device, storage medium and electronic equipment
CN216284223U (en) * 2021-08-17 2022-04-12 福耀玻璃工业集团股份有限公司 Vehicle EC volume calibration device that adjusts luminance
CN114344100A (en) * 2022-01-06 2022-04-15 上海合智医疗科技有限公司 Amblyopia treatment glasses based on electrochromic material
CN114442396A (en) * 2020-11-06 2022-05-06 Oppo广东移动通信有限公司 Control method of electrochromic module and electronic equipment
CN114624937A (en) * 2020-12-11 2022-06-14 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium
CN114660868A (en) * 2022-03-04 2022-06-24 浙江极氪智能科技有限公司 Control method and control device of electrochromic glass
CN114839819A (en) * 2021-02-01 2022-08-02 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6977873B2 (en) * 2001-01-25 2005-12-20 Dphi Acquisitions, Inc. System and method to adjust the level of re-calibration effort based on disc drive performance
CN106163873B (en) * 2014-04-01 2019-04-26 金泰克斯公司 Automatic display mirror assembly
US11838345B2 (en) * 2019-12-06 2023-12-05 Intel Corporation Session description protocol (SDP) based signaling of camera calibration parameters
US11619852B2 (en) * 2020-03-26 2023-04-04 Gentex Corporation Voltage control apparatus for electro-optic element
US20210373342A1 (en) * 2020-06-02 2021-12-02 Brian Gordaychik Augmented reality glasses for indicating gear position and/or other information to a bicycle rider

Patent Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4006484A (en) * 1974-05-31 1977-02-01 Asahi Kogaku Kogyo Kabushiki Kaisha Camera systems for providing precise exposures with digital light measurement
DE2539030A1 (en) * 1974-09-02 1976-03-25 Asahi Optical Co Ltd CIRCUIT ARRANGEMENT FOR THE CONTROL OF AN ELECTRON FLASH UNIT
EP0355627A2 (en) * 1988-08-17 1990-02-28 In Focus Systems, Inc. Improved electronic transparency method and apparatus
WO2000062119A1 (en) * 1999-04-09 2000-10-19 Jackson Products, Inc. Welding helmet with hybrid lens system and low power consumption control circuit therefor
EP1446791A2 (en) * 2001-11-20 2004-08-18 E Ink Corporation Methods for driving bistable electro-optic displays
CN103676343A (en) * 2012-09-10 2014-03-26 苏州汉朗光电有限公司 Constant frequency pressure regulating driving method for electronic control dimming medium
CN105361433A (en) * 2015-11-11 2016-03-02 浙江工业大学 Solar electrochromic dining-chessboard multipurpose table
CN107203052A (en) * 2017-05-05 2017-09-26 柯剑 Electro-deposition display module and preparation method thereof
CN106940508A (en) * 2017-05-10 2017-07-11 浙江上方电子装备有限公司 A kind of electrochromic device control method
CN207264071U (en) * 2017-09-25 2018-04-20 浙江上方电子装备有限公司 A kind of electrochromism vehicle glass
CN107770376A (en) * 2017-10-19 2018-03-06 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN107796984A (en) * 2017-10-19 2018-03-13 维沃移动通信有限公司 A kind of information cuing method and mobile terminal
CN107740059A (en) * 2017-10-19 2018-02-27 浙江上方电子装备有限公司 Electrochromic device ioning method, preparation method and product
CN108710246A (en) * 2018-05-17 2018-10-26 合肥威迪变色玻璃有限公司 A kind of electrochomeric glass Self-control method
CN111344169A (en) * 2019-03-21 2020-06-26 合刃科技(深圳)有限公司 Anti-halation vehicle auxiliary driving system
CN112748618A (en) * 2019-10-30 2021-05-04 传奇视界有限公司 Electrochromic glass
CN114265254A (en) * 2019-12-17 2022-04-01 深圳市光羿科技有限公司 Control method, device and equipment of electrochromic device and storage medium
CN111273445A (en) * 2020-01-21 2020-06-12 华为技术有限公司 AR display device, transmittance adjusting method thereof and wearable system
CN112034621A (en) * 2020-01-21 2020-12-04 华为技术有限公司 AR display device, transmittance adjusting method thereof and wearable system
CN111474797A (en) * 2020-05-08 2020-07-31 深圳市光羿科技有限公司 Control method of electrochromic glass and electrochromic glass
CN111781783A (en) * 2020-06-17 2020-10-16 深圳市光羿科技有限公司 Dimming method and system of electrochromic window and electrochromic window
CN111833795A (en) * 2020-06-30 2020-10-27 昆山国显光电有限公司 Display device and mura compensation method of display device
CN114200738A (en) * 2020-08-26 2022-03-18 深圳市万普拉斯科技有限公司 Filter structure and electronic equipment
CN214420187U (en) * 2020-11-03 2021-10-19 南京工程学院 Intelligent shading car window system combined with electrochromic film
CN114442396A (en) * 2020-11-06 2022-05-06 Oppo广东移动通信有限公司 Control method of electrochromic module and electronic equipment
CN114624937A (en) * 2020-12-11 2022-06-14 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium
CN112817193A (en) * 2021-01-06 2021-05-18 深圳市光羿科技有限公司 Method for regulating and controlling electrochromic device and electronic equipment
CN112937263A (en) * 2021-01-18 2021-06-11 智马达汽车有限公司 Automobile glass color change control system, automobile and method
CN114839819A (en) * 2021-02-01 2022-08-02 Oppo广东移动通信有限公司 Control method, electronic device, and computer-readable storage medium
CN215067647U (en) * 2021-06-11 2021-12-07 比亚迪股份有限公司 Vehicle window transmittance adjusting system and vehicle
CN216284223U (en) * 2021-08-17 2022-04-12 福耀玻璃工业集团股份有限公司 Vehicle EC volume calibration device that adjusts luminance
CN113928093A (en) * 2021-09-23 2022-01-14 信利半导体有限公司 Vehicle-mounted sun shield cosmetic mirror with electrochromic function
CN113759628A (en) * 2021-09-30 2021-12-07 光羿智能科技(苏州)有限公司 Electrochromic device gear shifting control method and device and electrochromic device
CN216210366U (en) * 2021-10-21 2022-04-05 深圳市光羿科技有限公司 Electrochromic electronic device
CN114283732A (en) * 2021-12-29 2022-04-05 Oppo广东移动通信有限公司 Brightness compensation method, device, storage medium and electronic equipment
CN114344100A (en) * 2022-01-06 2022-04-15 上海合智医疗科技有限公司 Amblyopia treatment glasses based on electrochromic material
CN114660868A (en) * 2022-03-04 2022-06-24 浙江极氪智能科技有限公司 Control method and control device of electrochromic glass

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
《光电子・激光》2001年第12卷总目次;光电子.激光(第12期);19-22 *
Design and Time-Optimal Control of a High-Speed High-Torque Dual-Motor Actuator;Bell, John;2020 AMERICAN CONTROL CONFERENCE (ACC);1017-1024 *
Tactile Active Gear (TAG) For V/ESTOL Electrically Powered Aircraft;Seeley, B.A;16th AIAA Aviation Technology, Integration and Operations Conference;275-280 *
基于透明薄膜电致发光及染料液晶技术的高铁车辆触摸调光车窗设计;卢浩典;智慧轨道交通;11-15 *
智能玻璃引领未来市场行业发展;韩霜;建设科技;70-75 *
电致变色材料的研究与应用进展;庄碧莹;北京工业大学学报;1091-1102 *

Also Published As

Publication number Publication date
CN115616938A (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN107770376B (en) Control method of mobile terminal and mobile terminal
US9412320B2 (en) Method for adjusting display backlight with aid of ambient light brightness detection and time detection, and associated apparatus and associated computer program product
EP3561651A1 (en) Display screen control method and apparatus
US20100079426A1 (en) Spatial ambient light profiling
CN109064996B (en) Display adjustment method and device, storage medium and electronic equipment
CN107219515A (en) The parameter calibrating method and terminal of a kind of range sensor
CN104618588A (en) Method for regulating terminal screen brightness
CN108401078B (en) Backlight brightness adjusting method and device, mobile terminal and readable storage medium
CN104811544A (en) Screen brightness adjustment method
CN112997134B (en) Application icon display method and device, storage medium and electronic equipment
WO2020019802A1 (en) Device control method and apparatus, storage medium and electronic device
CN110221500B (en) Control method, control device, storage medium, electronic device and control system
US11169692B2 (en) Electrical device with touch screen and user interface for adjusting screen brightness
CN115616938B (en) Control method and device of electrochromic device, electronic equipment and storage medium
CN105786349A (en) Method for controlling screen picture to rotate and electronic device
WO2018077093A1 (en) Method and device for controlling mobile terminal, and mobile terminal
CN109597482B (en) Automatic page turning method and device for electronic book, medium and electronic equipment
CN109086103B (en) Application display method and device, storage medium and electronic equipment
CN109634023B (en) Electrochromic assembly processing method and device, electronic equipment and readable storage medium
US20100271385A1 (en) Intelligent digital photo frame
CN104811545A (en) Terminal
CN114624937B (en) Control method, electronic device, and computer-readable storage medium
CN109165492B (en) Device control method, device, storage medium and electronic device
WO2023088081A1 (en) Screen zoom-in processing method and apparatus based on mobile terminal, and terminal and medium
CN112102794B (en) Method and device for eliminating touch trace of touch screen and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant