Touch dimming circuit and method for photochromic glass
By using high-side switch modules, low-side switch modules and touch detection chips in the color-changing glass, dimming control and touch detection of the color-changing glass are realized, which solves the problem of additional high-cost touch detection films in the existing technology. Reduces costs and avoids scratching problems caused by increased thickness of automotive glass.
Patent Information
- Application Number
- CN202410948936.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, a costly touch detection film needs to be added to the color-changing glass to touch-control the transparency of the color-changing glass, and there is a lack of effective solutions.
Using a high-side switch module, a low-side switch module and a touch detection chip, the positive driving voltage and the negative driving voltage are respectively applied to the dimming film of the color-changing glass, and the dimming film is controlled to discharge to the ground. When the dimming film is to the ground When the discharge is completed, the touch detection chip is used for touch detection to realize dimming control and touch detection of the color-changing glass.
Through this circuit, dimming control and touch detection can be achieved using only the dimming film in the color-changing glass, which significantly reduces the cost and avoids the scratching problem caused by the touch detection film increasing the thickness of the automobile glass.
Smart Images

Figure CN118567155A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of color-changing glass, and in particular to a touch-controlled dimming circuit and method for color-changing glass. Background Art
[0002] In the prior art, if you want to control the transparency of the photochromic glass, you usually apply a forward driving voltage and a reverse driving voltage to the dimming film of the photochromic glass to change the transparency of the dimming film, thereby achieving the purpose of dimming control of the photochromic glass. On this basis, if you want to control the transparency of the photochromic glass by touch, you also need to add an additional touch detection film on the photochromic glass to detect finger touch signals. This method not only has extremely strict requirements on the thickness of the touch detection film, but also the cost of the touch detection film is very high. At present, there is no more effective solution to this technical problem. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a touch dimming circuit and method for photochromic glass to solve the technical problem in the prior art that an expensive touch detection film needs to be added to the photochromic glass to control the transparency of the photochromic glass by touch. The specific scheme is as follows:
[0004] In order to solve the above technical problems, the present invention provides a touch dimming circuit for color-changing glass, comprising:
[0005] High side switch module;
[0006] Low-side switch module;
[0007] Touch detection chip, used for touch detection of the dimming film of the color-changing glass;
[0008] The main control chip is connected to the high-side switch module, the low-side switch module and the touch detection chip, and is used to use the high-side switch module and the low-side switch module to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and use the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground; when the dimming film has completed discharging to the ground, the touch detection chip is controlled to perform touch detection on the dimming film to obtain target detection data.
[0009] Preferably, the high side switch module comprises: a first PMOS tube, a second PMOS tube, a third PMOS tube and a fourth PMOS tube;
[0010] The source of the first PMOS tube is used to receive the power supply voltage, the drain of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the second PMOS tube is connected to the first transparent electrode of the dimming film, the source of the third PMOS tube is used to receive the power supply voltage, the drain of the third PMOS tube is connected to the source of the fourth PMOS tube, and the drain of the fourth PMOS tube is connected to the second transparent electrode of the dimming film;
[0011] Correspondingly, the gate of the first PMOS tube and the gate of the second PMOS tube are both used to receive the first control signal, and the gate of the third PMOS tube and the gate of the fourth PMOS tube are both used to receive the second control signal.
[0012] Preferably, the low side switch module comprises: a first NMOS tube, a second NMOS tube, a third NMOS tube and a fourth NMOS tube;
[0013] Wherein, the drain of the first NMOS tube is connected to the drain of the second PMOS tube, the source of the first NMOS tube is connected to the drain of the second NMOS tube, the source of the second NMOS tube is grounded, the drain of the third NMOS tube is connected to the drain of the fourth PMOS tube, the source of the third NMOS tube is connected to the drain of the fourth NMOS tube, and the source of the fourth NMOS tube is grounded;
[0014] Correspondingly, the gate of the first NMOS tube and the gate of the second NMOS tube are both used to receive the third control signal, and the gate of the third NMOS tube and the gate of the fourth NMOS tube are both used to receive the fourth control signal.
[0015] Preferably, it also includes:
[0016] The static discharge module is used to provide a static discharge circuit when the first PMOS tube, the second PMOS tube, the third PMOS tube, the fourth PMOS tube, the first NMOS tube, the second NMOS tube, the third NMOS tube and the fourth NMOS tube are turned off.
[0017] Preferably, when the strength of the shielding signal output by the signal shielding pin on the touch detection chip is greater than the preset signal strength, or the junction capacitance of the third PMOS tube and the junction capacitance of the fourth NMOS tube are both less than a preset threshold, the fourth PMOS tube and the third NMOS tube are removed, and the drain of the third PMOS tube and the drain of the fourth NMOS tube are replaced with wire connections accordingly.
[0018] Preferably, it further comprises: a first diode, a second diode, a third diode and a fourth diode;
[0019] The cathode of the first diode is connected to the drain of the first PMOS tube, the cathode of the second diode is connected to the source of the first NMOS tube, the cathode of the third diode is connected to the first transparent electrode of the dimming film, and the cathode of the fourth diode is connected to the second transparent electrode of the dimming film;
[0020] Correspondingly, the anodes of the first diode, the second diode and the fourth diode are all used to receive the shielding signal output by the touch detection chip through the signal shielding pin, and the anode of the third diode is used to receive the detection signal output by the touch detection chip through the signal detection pin.
[0021] In order to solve the above technical problems, the present invention further provides a touch dimming method for photochromic glass, which is applied to a main control chip in a touch dimming circuit for photochromic glass mentioned above; the method comprises:
[0022] Using a high-side switch module and a low-side switch module to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and using the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground;
[0023] When the dimming film is discharged to the ground, the touch detection chip is controlled to perform touch detection on the dimming film to obtain target detection data.
[0024] Preferably, the controlling touch detection chip to perform touch detection on the dimming film to obtain target detection data includes:
[0025] A sinusoidal voltage signal with the same amplitude and phase is simultaneously applied to the signal detection pin and the signal shielding pin of the touch detection chip, and the current signal output by the signal detection pin of the touch detection chip is monitored to obtain the target detection data.
[0026] Preferably, it also includes:
[0027] The positive driving voltage and the negative driving voltage are applied to the dimming film respectively by using the high-side switch module and the low-side switch module at a preset frequency, and the dimming film is controlled to discharge to the ground by using the high-side switch module and the low-side switch module, and the touch detection chip is controlled to perform touch detection on the dimming film; wherein the preset frequency is set according to the critical flicker frequency of the human eye.
[0028] Preferably, it also includes:
[0029] Determine the time required for the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground, and obtain a target discharge time;
[0030] If the target discharge time is greater than the preset duration, the forward driving voltage is applied to the dimming film before controlling the dimming film to discharge to the ground so that the duration of the dimming film discharging to the ground is equal to the preset duration; wherein the preset duration is set according to the preset frequency.
[0031] Beneficial effect: In the present invention, a touch dimming circuit for photochromic glass is provided, in which a high-side switch module, a low-side switch module, a touch detection chip and a main control chip are provided. When the main control chip is performing touch dimming on the photochromic glass, firstly, a positive driving voltage and a negative driving voltage are applied to the dimming film of the photochromic glass by using the high-side switch module and the low-side switch module respectively. In this state, the photochromic glass will be transparent. After that, the main control chip will use the high-side switch module and the low-side switch module to control the dimming film of the photochromic glass to discharge to the ground. When the dimming film is discharged to the ground, the photochromic glass will be non-transparent. At this time, the main control chip will use the touch detection chip to perform touch detection on the dimming film of the photochromic glass, and use this to determine whether the photochromic glass is touched.
[0032] Compared with the prior art, in the present invention, only the dimming film in the photochromic glass is used to realize dimming control and touch detection of the photochromic glass, and the manufacturing cost of the touch detection chip, the high-side switch module and the low-side switch module is much lower than the cost of setting the touch detection film on the photochromic glass. Therefore, the cost investment in touch dimming of the photochromic glass can be significantly reduced through this circuit.
[0033] In addition, for automotive aftermarket, if you want to add a layer of touch detection film on the automotive glass on the basis of the color-changing glass film, the thickness of the touch detection film itself will increase the thickness of the automotive glass. The increase in the thickness of the automotive glass can easily cause scratches on the glass on the automotive side windows during the lifting process. The technical solution provided in this application can solve the above problem well.
[0034] Correspondingly, the touch dimming method of color-changing glass provided by the present invention also has the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0036] Figure 1A structural diagram of a touch dimming circuit for color-changing glass provided by an embodiment of the present invention;
[0037] Figure 2 A structural diagram of another touch dimming circuit for color-changing glass provided by an embodiment of the present invention;
[0038] Figure 3 A flow chart of a touch dimming method for color-changing glass provided by an embodiment of the present invention;
[0039] Figure 4 A schematic diagram of the main control chip controlling the dimming film in the photochromic glass at a preset frequency;
[0040] Figure 5 This is a test effect diagram of the touch detection chip performing touch detection on the color-changing glass. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] See also Figure 1 , Figure 1 This is a structural diagram of a touch dimming circuit for color-changing glass provided by an embodiment of the present invention, and the circuit includes:
[0043] High side switch module 11;
[0044] Low side switch module 12;
[0045] A touch detection chip 13, used for performing touch detection on the dimming film of the color-changing glass;
[0046] The main control chip 14 is connected to the high-side switch module 11, the low-side switch module 12 and the touch detection chip 13, and is used to use the high-side switch module 11 and the low-side switch module 12 to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and use the high-side switch module 11 and the low-side switch module 12 to control the dimming film to discharge to the ground; when the dimming film has completed discharging to the ground, the touch detection chip 13 is controlled to perform touch detection on the dimming film to obtain target detection data.
[0047] In the present embodiment, a touch dimming circuit for photochromic glass is provided. The circuit can realize dimming control and touch detection of the photochromic glass by using only the dimming film in the photochromic glass, thereby further reducing the cost investment in touch dimming of the photochromic glass.
[0048] In this circuit, a high-side switch module 11, a low-side switch module 12, a touch detection chip 13 and a main control chip 14 are provided, wherein the high-side switch module 11 and the low-side switch module 12 can be constructed by PMOS (positive channel Metal Oxide Semiconductor, a MOS tube that transports current by the flow of holes), NMOS (N-Metal-Oxide-Semiconductor, N-type metal-oxide-semiconductor) tube, PNP transistor, NPN transistor or relay. The dimming film in the color-changing glass can be equivalently considered as a capacitor, so the on and off states of the capacitor can be controlled by the high-side switch module 11 and the low-side switch module 12.
[0049] When the photochromic glass is touch-controlled and dimmed, the main control chip 14 first uses the high-side switch module 11 and the low-side switch module 12 to apply positive driving voltage and negative driving voltage to the dimming film of the photochromic glass respectively. After the positive driving voltage and the negative driving voltage are applied to the dimming film of the photochromic glass, the photochromic glass will appear transparent.
[0050] Afterwards, the main control chip 14 will use the high-side switch module 11 and the low-side switch module 12 to control the dimming film to discharge to the ground. When the dimming film is discharged to the ground, the photochromic glass will appear non-transparent. At this time, the main control chip 14 will control the touch detection chip 13 to perform touch detection on the dimming film to obtain target detection data. When the main control chip 14 controls the touch detection chip 13 to perform touch detection on the dimming film on the photochromic glass, the touch detection chip 13 can monitor the induced current on the transparent electrodes on both sides of the dimming film to determine whether there is a finger touching the photochromic glass.
[0051] It should be noted that, in actual operation, the main control chip 14 can be set to MCU (Micro Controller Unit, micro control unit), CPLD (Complex Programmable Logic Device, digital integrated circuit), etc., and the touch detection chip 13 can be set to AS8597. In addition, the content of using the touch detection chip AS8597 to detect the finger touch signal is common knowledge for those skilled in the art, and is not specifically described in this embodiment.
[0052] Obviously, in the touch dimming circuit provided in this embodiment, dimming control and touch detection of the photochromic glass can be achieved by using only the dimming film in the photochromic glass, and the manufacturing cost of the touch detection chip, the high-side switch module and the low-side switch module is much lower than the cost of setting the touch detection film on the photochromic glass. Therefore, the cost investment in touch dimming of the photochromic glass can be significantly reduced through this circuit.
[0053] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Figure 2 , Figure 2 A structural diagram of another touch dimming circuit for color-changing glass provided by an embodiment of the present invention. As a preferred embodiment, the high-side switch module 11 includes: a first PMOS tube P1, a second PMOS tube P2, a third PMOS tube P3, and a fourth PMOS tube P4;
[0054] Among them, the source of the first PMOS tube P1 is used to receive the power supply voltage BAT, the drain of the first PMOS tube P1 is connected to the source of the second PMOS tube P2, the drain of the second PMOS tube P2 is connected to the first transparent electrode of the dimming film 10, the source of the third PMOS tube P3 is used to receive the power supply voltage BAT, the drain of the third PMOS tube P3 is connected to the source of the fourth PMOS tube P4, and the drain of the fourth PMOS tube P4 is connected to the second transparent electrode of the dimming film 10;
[0055] Correspondingly, the gates of the first PMOS transistor P1 and the second PMOS transistor P2 are both used to receive the first control signal Ctrl1, and the gates of the third PMOS transistor P3 and the fourth PMOS transistor P4 are both used to receive the second control signal Ctrl2.
[0056] As a preferred implementation, the low side switch module 12 includes: a first NMOS transistor N1, a second NMOS transistor N2, a third NMOS transistor N3 and a fourth NMOS transistor N4;
[0057] Wherein, the drain of the first NMOS tube N1 is connected to the drain of the second PMOS tube P2, the source of the first NMOS tube N1 is connected to the drain of the second NMOS tube N2, the source of the second NMOS tube N2 is grounded, the drain of the third NMOS tube N3 is connected to the drain of the fourth PMOS tube P4, the source of the third NMOS tube N3 is connected to the drain of the fourth NMOS tube N4, and the source of the fourth NMOS tube N4 is grounded;
[0058] Correspondingly, the gate of the first NMOS transistor N1 and the gate of the second NMOS transistor N2 are both used to receive the third control signal Ctrl3, and the gate of the third NMOS transistor N3 and the gate of the fourth NMOS transistor N4 are both used to receive the fourth control signal Ctrl4.
[0059] In this embodiment, the structures of the high side switch module 11 and the low side switch module 12 are specifically described. Figure 2 In the touch dimming circuit shown, 10 represents the dimming film of the photochromic glass. In practical applications, the dimming film 10 of the photochromic glass can be regarded as a capacitor. 13 represents a touch detection chip, wherein SEN represents the detection signal output by the signal detection pin of the touch detection chip, and VAR represents the shielding signal output by the signal shielding pin of the touch detection chip.
[0060] When a positive driving voltage is applied to the dimming film 10 of the color-changing glass by using the high-side switch module 11 and the low-side switch module 12, the first PMOS tube P1, the second PMOS tube P2, the third NMOS tube N3 and the fourth NMOS tube N4 need to be turned on, and the first NMOS tube N1, the second NMOS tube N2, the third PMOS tube P3 and the fourth PMOS tube P4 need to be turned off. When a negative driving voltage is applied to the dimming film of the color-changing glass by using the high-side switch module 11 and the low-side switch module 12, the first NMOS tube N1, the second NMOS tube N2, the third PMOS tube P3 and the fourth PMOS tube P4 need to be turned on, and the first PMOS tube P1, the second PMOS tube P2, the third NMOS tube N3 and the fourth NMOS tube N4 need to be turned off.
[0061] When the high-side switch module 11 and the low-side switch module 12 are used to control the dimming film 10 of the photochromic glass to discharge to the ground, the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3 and the fourth PMOS tube P4 need to be turned off, and the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4 need to be turned on.
[0062] Obviously, through the technical solution provided in this embodiment, the high-side switch module and the low-side switch module can be used to apply positive driving voltage and negative driving voltage to the dimming film of the photochromic glass respectively, and control the dimming film to discharge to the ground.
[0063] As a preferred implementation, the above circuit further includes:
[0064] The static discharge module is used to provide a static discharge circuit when the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3, the fourth PMOS tube P4, the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4 are turned off.
[0065] It is not difficult to understand that since each MOS tube in the high-side switch module 11 and the low-side switch module 12 generally has leakage current in the off state, the existence of leakage current will affect the stable and reliable operation of the circuit.
[0066] In this embodiment, in order to ensure the safe and reliable operation of the entire touch dimming circuit, a static discharge module for providing a static discharge circuit when the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3, the fourth PMOS tube P4, the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4 are turned off can also be set in the circuit.
[0067] Specifically, you can use resistors to build a static discharge module. For details, see Figure 2 ,exist Figure 2 In the embodiment, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the sixth resistor R6 are used to provide a static discharge circuit for the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3, the fourth PMOS tube P4, the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4.
[0068] It should be noted that when the leakage current of each MOS tube is very small, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the sixth resistor R6 can be removed from the circuit.
[0069] In addition, when each PMOS tube in the high-side switch module 11 is in the on state, the power supply voltage BAT will be directly added to the resistor. If the dimming film in the color-changing glass has high requirements for the power supply voltage BAT, if the resistance value of the resistor is too small, it may cause the resistor to heat up higher. If the resistance value of the resistor is too large, the static discharge effect of the static discharge module may not be very ideal. In this case, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the fifth resistor R5 and the sixth resistor R6 can be replaced by triodes or MOS tubes.
[0070] Obviously, the technical solution provided by this embodiment can ensure stable and reliable operation of the circuit.
[0071] As a preferred implementation, when the strength of the shielding signal output by the signal shielding pin on the touch detection chip is greater than the preset signal strength, or the junction capacitance of the third PMOS tube P3 and the junction capacitance of the fourth NMOS tube N4 are both less than the preset threshold, the fourth PMOS tube P4 and the third NMOS tube N3 are removed, and the drain of the third PMOS tube P3 and the drain of the fourth NMOS tube N4 are replaced with wire connections accordingly.
[0072] According to the current-voltage relationship of the capacitor: I=C*du / dt (du represents the differential of voltage, dt represents the differential of time), it can be known that when the load capacitance C is larger, the current I in the circuit is larger. Since the drive current output by the signal shielding pin on the touch detection chip is limited to a certain extent, usually, the drive current output by the signal shielding pin on the touch detection chip cannot exceed 50mA. Therefore, if the junction capacitance of the MOS tube connected to the signal shielding pin on the touch detection chip is large, it is very easy to cause the drive current output by the signal shielding pin on the touch detection chip to exceed the maximum value it can withstand, thereby causing the amplitude of the waveform output by the signal shielding pin on the touch detection chip to decrease.
[0073] In order to avoid the above situation, the following three methods can be used to avoid the above problems, namely:
[0074] The first method is to select a MOS tube with a smaller junction capacitance. After selecting a MOS tube with a smaller junction capacitance, the fourth PMOS tube P4 and the third NMOS tube N3 in the circuit can be directly removed. That is, when the junction capacitance of the third PMOS tube P3 and the junction capacitance of the fourth NMOS tube N4 are both less than the preset threshold, the fourth PMOS tube P4 and the third NMOS tube N3 are directly removed, and the drain of the third PMOS tube P3 and the drain of the fourth NMOS tube N4 are replaced with wire connections accordingly, so as to achieve the purpose of simplifying the complexity of the touch dimming circuit structure;
[0075] The second method is to select a MOS tube with a larger junction capacitance. When a MOS tube with a larger junction capacitance is selected, the load capacitance can be reduced by adding a fourth PMOS tube P4 and a third NMOS tube in the circuit and connecting them in series;
[0076] The third method is: select a touch chip with greater driving capability. That is, when the strength of the shielding signal output by the signal shielding pin on the touch detection chip is greater than the preset signal strength, the fourth PMOS tube P4 and the third NMOS tube N3 are directly removed, and the drain of the third PMOS tube P3 and the drain of the fourth NMOS tube N4 are replaced with wire connections accordingly, so as to achieve the purpose of simplifying the complexity of the touch dimming circuit structure. It should be noted that in actual applications, in order to further improve the reliable and stable operation of the circuit, the fourth PMOS tube P4 and the third NMOS tube N3 can also be retained.
[0077] Obviously, through the technical solution provided in this embodiment, the structural complexity of the touch dimming circuit provided in this application can be further reduced.
[0078] As a preferred implementation, the circuit further includes: a first diode D1, a second diode D2, a third diode D3 and a fourth diode D4;
[0079] Among them, the cathode of the first diode D1 is connected to the drain of the first PMOS tube P1, the cathode of the second diode D2 is connected to the source of the first NMOS tube N1, the cathode of the third diode D3 is connected to the first transparent electrode of the dimming film, and the cathode of the fourth diode D4 is connected to the second transparent electrode of the dimming film;
[0080] Correspondingly, the anodes of the first diode D1, the second diode D2 and the fourth diode D4 are all used to receive the shielding signal VAR output by the touch detection chip through the signal shielding pin, and the anode of the third diode D3 is used to receive the detection signal SEN output by the touch detection chip through the signal detection pin.
[0081] In practical applications, since the dimming film in the color-changing glass has a high requirement for the driving voltage, in this embodiment, the reverse cutoff characteristic of the diode can also be used to protect the touch detection chip 13 from overvoltage. That is, the first diode D1, the second diode D2, the third diode D3 and the fourth diode D4 are used to protect the touch detection chip 13 from overvoltage.
[0082] At the same time, since there is junction capacitance in each PMOS tube and each NMOS tube, and the dimming film 10 of the photochromic glass itself also has capacitance, a shielding signal VAR can also be applied to the anode of the first diode D1, the anode of the second diode D2, and the anode of the fourth diode D4 to eliminate the influence of the junction capacitance and the capacitance of the dimming film 10 itself.
[0083] Obviously, the technical solution provided by this embodiment can improve the overall reliability of the circuit during use.
[0084] See also Figure 3 , Figure 3 This is a flow chart of a touch dimming method for a discolorable glass provided by an embodiment of the present invention. The method is applied to a main control chip in a touch dimming circuit for a discolorable glass disclosed above; the method comprises:
[0085] Step S11: using the high-side switch module and the low-side switch module to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and using the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground;
[0086] Step S12: when the dimming film is discharged to the ground, the touch detection chip is controlled to perform touch detection on the dimming film to obtain target detection data.
[0087] In this embodiment, a touch dimming method for color-changing glass is also provided, which is specifically described with the main control chip in the above circuit as the execution subject. The control logic executed by the main control chip can refer to the content disclosed in the above embodiment, and will not be described in detail here.
[0088] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. As a preferred implementation, the above step of controlling the touch detection chip to perform touch detection on the dimming film to obtain target detection data includes:
[0089] A sinusoidal voltage signal with the same amplitude and phase is applied to the signal detection pin and the signal shielding pin of the touch detection chip at the same time, and the current signal output by the signal detection pin of the touch detection chip is monitored to obtain target detection data.
[0090] In the capacitor equivalent to the dimming film of the color-changing glass, if there is a voltage difference between the two electrodes of the capacitor, it will affect the detection accuracy of the touch detection chip for the touch signal. In this embodiment, in order to avoid this situation, when the main control chip controls the touch detection chip to perform touch detection on the dimming film, it will simultaneously apply a sinusoidal voltage signal with the same amplitude and phase to the signal detection pin and the signal shielding pin of the touch detection chip.
[0091] When a sinusoidal voltage signal with the same amplitude and phase is applied to the signal detection pin and the signal shielding pin of the touch detection chip at the same time, there is no current in the capacitor equivalent to the photochromic glass dimming film. At this time, the main control chip monitors the current signal output by the signal detection pin on the touch detection chip, and after obtaining the target detection data, it can determine whether there is a finger touching the photochromic glass.
[0092] Obviously, through the technical solution provided in this embodiment, the accuracy of the touch detection chip in performing touch detection on the photochromic glass can be improved.
[0093] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. As a preferred implementation, the above method further includes:
[0094] A positive driving voltage and a negative driving voltage are applied to the dimming film respectively using a high-side switch module and a low-side switch module at a preset frequency, and the high-side switch module and the low-side switch module are used to control the dimming film to discharge to the ground, and the touch detection chip is controlled to perform touch detection on the dimming film; wherein the preset frequency is set according to the critical flicker frequency of the human eye.
[0095] It is not difficult to understand that since the human eye has a certain limit on the frequency of light perception, if the frequency of light changes too fast, then the human eye will not feel the change of light. In this embodiment, in order to eliminate the visual flicker of the color-changing glass when the light changes, the main control chip will also control the dimming film of the color-changing glass at a preset frequency. Among them, the preset frequency is set according to the critical flicker frequency of the human eye, and the preset frequency is generally set to above 50Hz.
[0096] Specifically, the main control chip will first control the high-side switch module and the low-side switch module to apply positive driving voltage and negative driving voltage to the dimming film of the photochromic glass respectively; then, the high-side switch module and the low-side switch module will be used to control the dimming film of the photochromic glass to discharge to the ground; when the main control chip controls the dimming film of the photochromic glass to discharge to the ground, the main control chip will control the touch detection chip to perform touch detection on the dimming film.
[0097] See also Figure 4 , Figure 4 This is a schematic diagram of the main control chip controlling the dimming film in the color-changing glass at a preset frequency. Figure 4 In the figure, the horizontal axis represents time / s, and the vertical axis represents voltage / V. Curve ① represents the positive driving voltage applied by the main control chip to the dimming film of the photochromic glass through the high-side switch module and the low-side switch module, curve ② represents the negative driving voltage applied by the main control chip to the dimming film of the photochromic glass through the high-side switch module and the low-side switch module, and curve ③ represents the process of the main control chip controlling the dimming film of the photochromic glass to discharge to the ground through the high-side switch module and the low-side switch module, and controlling the touch detection chip to perform touch detection on the dimming film.
[0098] It should be noted that in Figure 4 In the figure, the change frequency corresponding to curve ①, curve ② and curve ③ is 50Hz. In other words, the total running time corresponding to curve ①, curve ② and curve ③ is 0.02 seconds.
[0099] Obviously, the technical solution provided in this embodiment can improve the user experience when the user performs touch dimming on the photochromic glass.
[0100] As a preferred embodiment, the method further comprises:
[0101] Determine the time required for the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground, and obtain the target discharge time;
[0102] If the target discharge time is greater than the preset duration, a forward driving voltage is applied to the dimming film before controlling the dimming film to discharge to the ground, so that the duration of the dimming film discharging to the ground is equal to the preset duration; wherein the preset duration is set according to the preset frequency.
[0103] In practical applications, if there is a large capacitance and resistance between the two transparent electrodes of the photochromic glass dimming film, the time for the dimming film to discharge to the ground is relatively long, which may not meet the time corresponding to the control of the photochromic glass dimming film by the main control chip at a preset frequency. In this case, the dimming film of the photochromic glass can be reversely charged for a period of time before the dimming film is controlled to discharge to the ground, thereby accelerating the discharge speed of the photochromic glass dimming film to the ground.
[0104] Specifically, the main control chip can first determine the time required for the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground, and obtain the target discharge time. If the target discharge time is greater than the preset time, before controlling the dimming film to discharge to the ground, a forward driving voltage is first applied to the dimming film, so that the time for the dimming film to discharge to the ground is equal to the preset time.
[0105] Obviously, through the technical solution provided in this embodiment, the main control chip can control the dimming film of the photochromic glass at a preset frequency.
[0106] Based on the technical content disclosed in the above embodiments, the technical content disclosed in the above embodiments is described in detail through an application scenario embodiment. Figure 2 The touch dimming circuit of the photochromic glass shown. When the main control chip performs touch dimming on the dimming film in the photochromic glass, the main control chip first sends a first control signal Ctrl1 to the first PMOS tube P1 and the second PMOS tube P2, sends a second control signal Ctrl2 to the third PMOS tube P3 and the fourth PMOS tube P4, sends a third control signal Ctrl3 to the first NMOS tube N1 and the second NMOS tube N2, and sends a fourth control signal Ctrl4 to the third NMOS tube N3 and the fourth NMOS tube N4 to control the on and off states of each switch tube in the high-side switch module and the low-side switch module.
[0107] Assuming that the main control chip controls the dimming film in the photochromic glass with a period of 16ms, the main control chip first applies a positive driving voltage to the dimming film of the photochromic glass between 1ms and 5ms. When the main control chip applies the positive driving voltage to the dimming film of the photochromic glass, it is necessary to turn on the first PMOS tube P1, the second PMOS tube P2, the third NMOS tube N3 and the fourth NMOS tube N4, and turn off the first NMOS tube N1, the second NMOS tube N2, the third PMOS tube P3 and the fourth PMOS tube P4; then, the main control chip applies a negative driving voltage to the dimming film of the photochromic glass between 6ms and 10ms. When the main control chip applies the negative driving voltage to the dimming film of the photochromic glass, it is necessary to turn on the first NMOS tube N1, the second NMOS tube N2, the third PMOS tube P3 and the fourth PMOS tube P4, and turn off the first PMOS tube P1, the second PMOS tube P2, the third NMOS tube N3 and the fourth NMOS tube N4.
[0108] The main control chip controls the dimming film of the photochromic glass to discharge to the ground between 11ms and 14ms. When the main control chip controls the dimming film of the photochromic glass to discharge to the ground, it is necessary to turn off the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3 and the fourth PMOS tube P4, and turn on the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4.
[0109] Afterwards, the main control chip will turn off the first PMOS tube P1, the second PMOS tube P2, the third PMOS tube P3, the fourth PMOS tube P4, the first NMOS tube N1, the second NMOS tube N2, the third NMOS tube N3 and the fourth NMOS tube N4 at 15ms, thereby isolating the driving circuit and the dimming film of the color-changing glass.
[0110] When the main control chip turns off all the MOS tubes in the circuit, the main control chip will apply a sinusoidal voltage signal with the same amplitude and phase to the signal detection pin and signal shielding pin of the touch detection chip at the same time, and read the current signal output by the signal detection pin of the touch detection chip at the 16th ms to determine whether a finger touches the dimming film of the photochromic glass.
[0111] See also Figure 5 , Figure 5 This is a test result diagram of the touch detection chip performing touch detection on the photochromic glass. It should be noted that the touch detection chip performs touch detection on the photochromic glass by detecting the in-phase component and the orthogonal component of the sinusoidal current. Figure 5 In the test effect diagram shown, the horizontal axis represents time, the vertical axis on the left represents the amplitude of the orthogonal component of the sinusoidal current, and the vertical axis on the right represents the amplitude of the in-phase component of the sinusoidal current. Figure 5 Curve ① in the figure represents the in-phase component of the sinusoidal current, and curve ② represents the orthogonal component of the sinusoidal current.
[0112] like Figure 5 As shown in the figure, when the main control chip does not drive the dimming film of the photochromic glass, the dimming film is in an opaque state. When the touch detection chip detects that a finger touches the dimming film of the photochromic glass twice, the main control chip starts to drive the dimming film of the photochromic glass to become transparent. During this process, the touch detection chip detects a signal jump on the dimming film of the photochromic glass, and then returns to normal.
[0113] After the dimming film of the photochromic glass becomes transparent, the touch detection chip will detect that the finger has touched the dimming film of the photochromic glass twice again, and then stop touching the dimming film. When the finger stops touching the dimming film, the dimming film becomes opaque. When the finger stops touching the dimming film, the touch detection chip will also detect a jump in the current signal.
[0114] Obviously, in the technical solution provided in this embodiment, dimming control and touch detection of the photochromic glass can be achieved by using only the dimming film in the photochromic glass, and the manufacturing cost of the touch detection chip, PMOS tube and NMOS tube is much lower than the cost of setting the touch detection film on the photochromic glass. Therefore, this solution can significantly reduce the cost investment in touch dimming of the photochromic glass.
[0115] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0116] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0117] The above is a detailed introduction to the touch dimming circuit and method for color-changing glass provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A touch dimming circuit for color-changing glass, characterized in that: include: High side switch module; Low-side switch module; Touch detection chip, used for touch detection of the dimming film of the color-changing glass; The main control chip is connected to the high-side switch module, the low-side switch module and the touch detection chip, and is used to use the high-side switch module and the low-side switch module to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and use the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground; when the dimming film has completed discharging to the ground, the touch detection chip is controlled to perform touch detection on the dimming film to obtain target detection data.
2. The touch dimming circuit for color-changing glass according to claim 1, characterized in that: The high side switch module comprises: a first PMOS tube, a second PMOS tube, a third PMOS tube and a fourth PMOS tube; The source of the first PMOS tube is used to receive the power supply voltage, the drain of the first PMOS tube is connected to the source of the second PMOS tube, the drain of the second PMOS tube is connected to the first transparent electrode of the dimming film, the source of the third PMOS tube is used to receive the power supply voltage, the drain of the third PMOS tube is connected to the source of the fourth PMOS tube, and the drain of the fourth PMOS tube is connected to the second transparent electrode of the dimming film; Correspondingly, the gate of the first PMOS tube and the gate of the second PMOS tube are both used to receive the first control signal, and the gate of the third PMOS tube and the gate of the fourth PMOS tube are both used to receive the second control signal.
3. The touch dimming circuit for color-changing glass according to claim 2, characterized in that: The low side switch module comprises: a first NMOS tube, a second NMOS tube, a third NMOS tube and a fourth NMOS tube; Wherein, the drain of the first NMOS tube is connected to the drain of the second PMOS tube, the source of the first NMOS tube is connected to the drain of the second NMOS tube, the source of the second NMOS tube is grounded, the drain of the third NMOS tube is connected to the drain of the fourth PMOS tube, the source of the third NMOS tube is connected to the drain of the fourth NMOS tube, and the source of the fourth NMOS tube is grounded; Correspondingly, the gate of the first NMOS tube and the gate of the second NMOS tube are both used to receive the third control signal, and the gate of the third NMOS tube and the gate of the fourth NMOS tube are both used to receive the fourth control signal.
4. The touch dimming circuit for color-changing glass according to claim 3, characterized in that: Also includes: The static discharge module is used to provide a static discharge circuit when the first PMOS tube, the second PMOS tube, the third PMOS tube, the fourth PMOS tube, the first NMOS tube, the second NMOS tube, the third NMOS tube and the fourth NMOS tube are turned off.
5. The touch dimming circuit for color-changing glass according to claim 3, characterized in that: When the strength of the shielding signal output by the signal shielding pin on the touch detection chip is greater than the preset signal strength, or the junction capacitance of the third PMOS tube and the junction capacitance of the fourth NMOS tube are both less than a preset threshold, the fourth PMOS tube and the third NMOS tube are removed, and the drain of the third PMOS tube and the drain of the fourth NMOS tube are replaced with wire connections accordingly.
6. The touch dimming circuit for color-changing glass according to claim 3, characterized in that: Also includes: a first diode, a second diode, a third diode, and a fourth diode; The cathode of the first diode is connected to the drain of the first PMOS tube, the cathode of the second diode is connected to the source of the first NMOS tube, the cathode of the third diode is connected to the first transparent electrode of the dimming film, and the cathode of the fourth diode is connected to the second transparent electrode of the dimming film; Correspondingly, the anodes of the first diode, the second diode and the fourth diode are all used to receive the shielding signal output by the touch detection chip through the signal shielding pin, and the anode of the third diode is used to receive the detection signal output by the touch detection chip through the signal detection pin.
7. A touch dimming method for color-changing glass, characterized in that: A main control chip used in a touch dimming circuit of a color-changing glass as claimed in any one of claims 1 to 6; the method comprising: Using a high-side switch module and a low-side switch module to apply a positive driving voltage and a negative driving voltage to the dimming film respectively, and using the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground; When the dimming film is discharged to the ground, the touch detection chip is controlled to perform touch detection on the dimming film to obtain target detection data.
8. The touch dimming method of color-changing glass according to claim 7, characterized in that: The controlling touch detection chip performs touch detection on the dimming film to obtain target detection data, including: A sinusoidal voltage signal with the same amplitude and phase is simultaneously applied to the signal detection pin and the signal shielding pin of the touch detection chip, and the current signal output by the signal detection pin of the touch detection chip is monitored to obtain the target detection data.
9. The touch dimming method of color-changing glass according to claim 7, characterized in that: Also includes: The positive driving voltage and the negative driving voltage are applied to the dimming film respectively by using the high-side switch module and the low-side switch module at a preset frequency, and the dimming film is controlled to discharge to the ground by using the high-side switch module and the low-side switch module, and the touch detection chip is controlled to perform touch detection on the dimming film; wherein the preset frequency is set according to the critical flicker frequency of the human eye.
10. The touch dimming method of color-changing glass according to claim 9, characterized in that: Also includes: Determine the time required for the high-side switch module and the low-side switch module to control the dimming film to discharge to the ground, and obtain a target discharge time; If the target discharge time is greater than the preset duration, the forward driving voltage is applied to the dimming film before controlling the dimming film to discharge to the ground so that the duration of the dimming film discharging to the ground is equal to the preset duration; wherein the preset duration is set according to the preset frequency.
