Detection circuit, detection method, display device and electronic equipment
By designing a detection circuit including a pixel switch circuit and a comparison circuit in the display panel, the source lines of two adjacent columns of pixels are controlled to be connected or disconnected, and the voltage detection of the comparison circuit is used to solve the problem of accurate line detection in the prior art. The problem of low performance enables accurate detection of the source line of the display panel.
Patent Information
- Application Number
- CN202411218151.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
The line detection accuracy of existing display panels is low, especially when there is a short circuit in the source line, the luminescence abnormality is not obvious and is easily ignored, resulting in missed detection.
Design a detection circuit, including a pixel switching circuit and a comparison circuit, by controlling the source lines of two adjacent columns of pixels to connect or disconnect, and using the comparison circuit to output the detection result signal according to the voltage magnitude, to realize the source line line Accurate detection.
It improves the accuracy of display panel line detection, can effectively identify short-circuit problems of source lines, reduce missed detection, and improve detection reliability.
Smart Images

Figure CN119087084A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to a detection circuit, a detection method, a display device and an electronic device. Background Art
[0002] With the development of display technology, the application scenarios of display panels are increasing day by day. Therefore, in order to ensure the factory quality of display panels, the factory inspection of display panels is becoming more and more important.
[0003] Currently, in the factory inspection method of display panels, circuit inspection is mainly performed by energizing the driving circuit of the display panel to manually determine whether there is a problem with the circuit of the driving circuit through the light emission of the light-emitting elements of the display panel.
[0004] However, when there is an open circuit problem in the source line of the driving circuit, there will be bad pixels in the light-emitting element of the display panel, so that the display panel is easily detected by humans because it displays dark lines. However, when there is a short circuit problem in the source line, the abnormal light emission of the display panel is not obvious. Therefore, the short circuit problem of the source line may be ignored by humans because the abnormal light emission of the display panel is not obvious, resulting in missed detection and reducing the accuracy of line detection of the display panel. Summary of the invention
[0005] A detection circuit, a detection method, a display device, and an electronic device provided in the embodiments of the present application can, to a certain extent, solve the problem of low accuracy in circuit detection of current display panels.
[0006] In a first aspect, a detection circuit is provided, which is applied to a display panel including a plurality of columns of pixels, the detection circuit including: a pixel switching circuit, and a comparison circuit corresponding to each two adjacent columns of pixels, wherein two source lines of the two columns of pixels corresponding to the comparison circuit include a first source line and a second source line;
[0007] The pixel switch circuit is connected to the source line of each column of pixels and is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels;
[0008] The first input terminal of the comparison circuit is connected to the reference voltage terminal and the corresponding first source line, and the second input terminal of the comparison circuit is connected to the corresponding second source line, and is used to output a detection result signal according to the voltage size of the first input terminal and the second input terminal.
[0009] In a second aspect, a detection method is provided, which is applied to the detection circuit described in any one of the first aspects, wherein a working cycle of the detection circuit includes multiple detection phases, and the method includes:
[0010] According to the target rule, in each detection stage, the pixel switch circuit is controlled to connect two source lines of two adjacent columns of pixels;
[0011] The detection result signal output by the target comparison circuit connected to the two source lines is obtained, and the detection results of the two source lines are determined to obtain the detection results of the two source lines of each two adjacent columns of pixels in the one working cycle, wherein the target rule indicates that the three source lines of the three adjacent columns of pixels cannot be connected at the same time in each of the detection stages, and in the one working cycle, the two source lines of any two adjacent columns of pixels are connected in at least one of the detection stages.
[0012] In a third aspect, a display device is provided, comprising: a display panel including a plurality of columns of pixels and a detection circuit as described in any one of the first aspects.
[0013] In a fourth aspect, an electronic device is provided, comprising: the detection circuit described in any one of the first aspect, or the display device described in the third aspect.
[0014] In the detection circuit, detection method, display device and electronic device provided in the embodiments of the present application, the detection circuit includes: a pixel switching circuit and a comparison circuit corresponding to each two adjacent columns of pixels. The two source lines of the two columns of pixels corresponding to the comparison circuit include a first source line and a second source line. The pixel switching circuit is connected to the source line of each column of pixels, and is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels. The first input terminal of the comparison circuit is connected to the reference voltage terminal and the corresponding first source line, and the second input terminal of the comparison circuit is connected to the corresponding second source line. The comparison circuit is used to output a detection result signal according to the voltage size of its first input terminal and the second input terminal.
[0015] In the detection circuit, when the pixel switch circuit controls the two source lines of two adjacent columns of pixels to be connected, the two source lines and their corresponding comparison circuits form a closed loop. Thus, the reference voltage provided by the reference voltage terminal can be divided into two paths, one path is transmitted to the first input terminal of the comparison circuit, and the other path is transmitted to the second input terminal of the comparison circuit through the two source lines. Since the voltage division of the reference voltage by the two source lines in the closed loop under normal conditions is different from the voltage division of the reference voltage in the short circuit condition, the voltage of the second input terminal of the comparison circuit is different in the normal and short circuit conditions of the two source lines, but the voltage of the first input terminal of the comparison circuit is the same. Therefore, the voltage of the first input terminal and the second input terminal of the comparison circuit can accurately reflect whether the lines of the two source lines in the closed loop are normal or short circuited. In this way, the comparison circuit can output a detection result signal to indicate whether the lines of the two source lines connected to the comparison circuit are normal or short circuited according to the voltage magnitude of the first input terminal and the second input terminal, thereby realizing the line detection of the two source lines of the two adjacent columns of pixels. Compared with the manual detection method in the related art, the line detection accuracy of the display panel is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a structural schematic diagram of a detection circuit provided in an embodiment of the present application;
[0017] Figure 2 is a structural schematic diagram of a comparison circuit provided in an embodiment of the present application;
[0018] Figure 3 is a structural schematic diagram of another comparison circuit provided in an embodiment of the present application;
[0019] Figure 4 is a structural schematic diagram of another detection circuit provided in an embodiment of the present application;
[0020] Figure 5 is a timing diagram of a detection circuit provided in an embodiment of the present application;
[0021] Figure 6 It is a flow chart of a detection method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0023] Please refer to Figure 1, which shows a schematic diagram of the structure of a detection circuit provided in an embodiment of the present application. Figure 1 As shown, the detection circuit 10, also known as the line defect detection (LDD) circuit, automatically detects the driving circuit of the panel line defect. It is applied to a display panel including multiple columns of pixels. The detection circuit 10 includes: a pixel switching circuit 101, and a comparison circuit 102 corresponding to each two adjacent columns of pixels. The two source lines of the two columns of pixels corresponding to the comparison circuit 102 include a first source line and a second source line.
[0024] The pixel switch circuit 101 is connected to the source line of each column of pixels. The pixel switch circuit 101 is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels. The first input terminal VIN1 of the comparison circuit 102 is connected to the reference voltage terminal IN and the corresponding first source line. The second input terminal VIN2 of the comparison circuit 102 is connected to the corresponding second source line. The comparison circuit 102 is used to output a detection result signal according to the voltage magnitude of the first input terminal VIN1 and the second input terminal VIN2.
[0025] It should be noted that the detection circuit 10 includes a comparison circuit 102 corresponding to each two adjacent columns of pixels. That is, the detection circuit 10 includes at least one comparison circuit 102, and each comparison circuit 102 corresponds to two different adjacent columns of pixels. Obviously, when the display panel includes at least three columns of pixels, the detection circuit 10 includes at least two comparison circuits 102. Figure 1 Take the example that the display panel includes 6 columns of pixels, the display panel accordingly includes 6 source lines, and the detection circuit 10 includes 5 comparison circuits 102. It is not difficult to understand that Figure 1 The circuit configuration shown does not limit the number of pixel columns that the display panel may include, nor does it limit the number of comparison circuits that the detection circuit may include.
[0026] Figure 1 The schematically shown detection circuit 10 comprises: a pixel switch circuit 101 and five comparison circuits 102. The pixel switch circuit 101 is connected to one end of the source line D1-D6 of each column of pixels. Among the five comparison circuits 102, the first comparison circuit 102 is respectively connected to the reference voltage terminal IN, the source line D1 of the first column of pixels, and the source line D2 of the second column of pixels; the second comparison circuit 102 is respectively connected to the reference voltage terminal IN, the source line D2 of the second column of pixels, and the source line D3 of the third column of pixels; the third comparison circuit 102 is respectively connected to the reference voltage terminal IN, the source line D3 of the third column of pixels, and the source line D4 of the fourth column of pixels; the fourth comparison circuit 102 is respectively connected to the reference voltage terminal IN, the source line D4 of the fourth column of pixels, and the source line D5 of the fifth column of pixels; the fifth comparison circuit 102 is respectively connected to the reference voltage terminal IN, the source line D5 of the fifth column of pixels, and the source line D6 of the sixth column of pixels.
[0027] In the embodiment of the present application, one working cycle of the detection circuit includes multiple detection phases. The pixel switch circuit 101 can control the two source lines of some adjacent two columns of pixels to be connected in each detection phase, and control the three source lines of the adjacent three columns of pixels to be connected at different times, so as to control the two source lines of any two adjacent columns of pixels to be connected in at least one detection phase in one working cycle.
[0028] The comparison circuit 102 corresponding to the two connected source lines can output the detection result signal of the two source lines according to the voltage of the first input terminal VIN1 and the second input terminal VIN2. The detection result signal indicates that the lines of the two source lines are normal, or there is a line short circuit between the two source lines.
[0029] In an optional case, the two connected source lines and their corresponding comparison circuit 102 will form a closed loop. In the closed loop, the reference voltage Vin provided by the reference voltage terminal IN is connected to the comparison circuit 102 in two ways. One way is directly connected to the first input terminal VIN1; the other way is connected to the second input terminal VIN2 after being divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1. In this way, in the closed loop, the voltage of the first input terminal VIN1 of the comparison circuit 102 is: the reference voltage Vin provided by the reference voltage terminal IN. The voltage of the second input terminal VIN2 of the comparison circuit 102 is: the voltage of the reference voltage Vin after being divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1.
[0030] When the first source line Dj and the second source line Dj+1 / Dj-1 are in good condition, the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 is usually a constant value. Therefore, the output voltage of the reference voltage Vin after voltage division by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 has a fixed voltage difference with the reference voltage Vin. That is, the voltage difference between the first input terminal VIN1 of the comparison circuit 102 and the voltage of the second input terminal VIN2 is fixed.
[0031] Based on this, optionally, the comparison circuit 102 can be used to make the voltage difference between the first input terminal VIN1 and the second input terminal VIN2 equal to the first target voltage difference Vin-V D1 In the case of a normal circuit, the output is a detection result signal indicating that the circuit is normal. Vin represents the reference voltage. V D1 It represents the output voltage after the reference voltage Vin is divided by the wiring resistances of the first source line Dj and the second source line Dj+1 / Dj-1 when the first source line Dj and the second source line Dj+1 / Dj-1 are good.
[0032] Accordingly, in the case where there is a short circuit between the first source line Dj and / or the second source line Dj+1 / Dj-1, the resistance value of the path from the first input terminal VIN1 of the comparison circuit 102 through the first source line Dj, the second source line Dj+1 / Dj-1 to the second input terminal VIN2 is reduced. Therefore, the output voltage of the reference voltage Vin after the voltage is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 increases. That is, after the reference voltage Vin is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, the voltage input to the second input terminal VIN2 of the comparison circuit 102 increases. In this case, the output voltage of the reference voltage Vin after the voltage is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, the voltage difference with the reference voltage Vin is reduced. That is, the voltage difference between the voltage at the first input terminal VIN1 and the voltage at the second input terminal VIN2 of the comparison circuit 102 decreases.
[0033] Based on this, correspondingly and optionally, the comparison circuit 102 can be used to detect that the voltage difference between the first input terminal VIN1 and the second input terminal VIN2 is not equal to the first target voltage difference Vin-V D1 Alternatively, the comparison circuit 102 can be used to output a detection result signal indicating that the line is short-circuited when the voltage difference between the first input terminal VIN1 and the second input terminal VIN2 is less than the first target voltage difference Vin-V D1 In the case of short circuit, the output indicates the detection result signal of the line short circuit
[0034] Based on this, the detection circuit 10 can output the detection result signal of the source lines of every two adjacent columns of pixels in one working cycle to indicate whether there is a line short circuit between every two adjacent source lines.
[0035] As an example, a working cycle of the detection circuit 10 includes two detection phases. The pixel switch circuit 101 is used to control the connection of two source lines of the pixels in the i-th column and the i+1-th column, and to disconnect two source lines of the pixels in the i+1-th column and the i+2-th column in the first detection phase.
[0036] The comparison circuit 102 corresponding to the i-th column pixel and the i+1-th column pixel is used to output the detection result signal of the corresponding two source lines according to the voltage magnitude of the first input terminal VIN1 and the second input terminal VIN2 in the first detection stage. The detection circuit 10 can output the detection result signal of the two source lines of the i-th column pixel and the i+1-th column pixel in the first detection stage. The detection result signal indicates that the two source lines of the i-th column pixel and the i+1-th column pixel are normal, or there is a short circuit between the two source lines.
[0037] The pixel switch circuit 101 is used to control the connection of the two source lines of the i+1th column pixel and the i+2th column pixel, and to control the disconnection of the two source lines of the i+1th column pixel and the i+1th column pixel. The comparison circuit 102 corresponding to the i+1th column pixel and the i+2th column pixel is used to output the detection result signals of the corresponding two source lines according to the voltage magnitudes of the first input terminal VIN1 and the second input terminal VIN2 in the second detection phase. The detection circuit 10 can output the detection result signals of the two source lines of the i+1th column pixel and the i+2th column pixel in the second detection phase. The detection result signal indicates that the two source lines of the i+1th column pixel and the i+2th column pixel are normal, or that there is a short circuit between the two source lines. In this way, the detection circuit 10 can output the detection result signals of the two source lines of each two adjacent columns of pixels within one working cycle.
[0038] For example, for Figure 1 The detection circuit 10 shown (the value range of j is 2-5). The pixel switch circuit 101 is used to control the connection of the source line D1 of the first column of pixels and the source line D2 of the second column of pixels, the source line D3 of the third column of pixels and the source line D4 of the fourth column of pixels, the source line D5 of the fifth column of pixels and the source line D6 of the sixth column of pixels in the first detection stage, and control the disconnection of the source line D2 of the second column of pixels and the source line D3 of the third column of pixels, the source line D4 of the fourth column of pixels and the source line D5 of the fifth column of pixels. The first comparison circuit 102 is used to output the detection result signal of the source line D1 and the source line D2 in the first detection stage; the third comparison circuit 102 is used to output the detection result signal of the source line D3 and the source line D4 in the first detection stage; the fifth comparison circuit 102 is used to output the detection result signal of the source line D5 and the source line D6 in the first detection stage.
[0039] The pixel switch circuit 101 is used to control the connection between the source line D2 and the source line D3, the source line D4 and the source line D5, and to control the disconnection between the source line D1 and the source line D2, the source line D3 and the source line D4, and the source line D5 and the source line D6 in the second detection stage. The second comparison circuit 102 is used to output the detection result signal of the source line D2 and the source line D3 in the second detection stage; the fourth comparison circuit 102 is used to output the detection result signal of the source line D4 and the source line D5 in the second detection stage.
[0040] In another example, one working cycle of the detection circuit 10 includes n-1 detection stages, where n is the total number of pixel columns of the display panel. The pixel switch circuit 101 is used to control the connection of two source lines of two adjacent columns of pixels in turn during the n-1 detection stages. The comparison circuit 102 is used to output the detection result signals of the two source lines of two adjacent columns of pixels in turn according to the voltages of the first input terminal VIN1 and the second input terminal VIN2 during the n-1 detection stages, so that the detection circuit 10 outputs the detection result signals of the two source lines of each two adjacent columns of pixels in the display panel within one working cycle.
[0041] In an embodiment of the present application, the detection circuit includes: a pixel switching circuit and a comparison circuit corresponding to each two adjacent columns of pixels. The two source lines of the two columns of pixels corresponding to the comparison circuit include a first source line and a second source line. The pixel switching circuit is connected to the source line of each column of pixels, and is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels. The first input terminal of the comparison circuit is connected to the reference voltage terminal and the corresponding first source line, and the second input terminal of the comparison circuit is connected to the corresponding second source line. The comparison circuit is used to output a detection result signal according to the voltage size of its first input terminal and the second input terminal.
[0042] In the detection circuit, when the pixel switch circuit controls the two source lines of two adjacent columns of pixels to be connected, the two source lines and their corresponding comparison circuits form a closed loop. Thus, the reference voltage provided by the reference voltage terminal can be divided into two paths, one path is transmitted to the first input terminal of the comparison circuit, and the other path is transmitted to the second input terminal of the comparison circuit through the two source lines. Since the voltage division of the reference voltage by the two source lines in the closed loop under normal conditions is different from the voltage division of the reference voltage in the short circuit condition, the voltage of the second input terminal of the comparison circuit is different in the normal and short circuit conditions of the two source lines, but the voltage of the first input terminal of the comparison circuit is the same. Therefore, the voltage of the first input terminal and the second input terminal of the comparison circuit can accurately reflect whether the lines of the two source lines in the closed loop are normal or short circuited. In this way, the comparison circuit can output a detection result signal to indicate whether the lines of the two source lines connected to the comparison circuit are normal or short circuited according to the voltage magnitude of the first input terminal and the second input terminal, so as to realize the line detection of the two source lines of the two adjacent columns of pixels, and then obtain the line detection result of each source line in the display panel. Compared with the manual detection method in the related art, the circuit detection accuracy of the display panel is improved.
[0043] Alternatively, if Figure 2As shown, the comparison circuit 102 includes: a first voltage divider 1021, a voltage divider module 1022 and a comparison module 1023. The comparison module 1023 is connected to the reference voltage terminal IN and the first source line Dj through the first voltage divider 1021. The comparison module 1023 is also connected to the second source line Dj+1 / Dj-1 through the voltage divider module 1022. When the first source line Dj and the second source line Dj+1 / Dj-1 are connected, the voltage divider module 1022 and the first source line Dj and the second source line Dj+1 / Dj-1 form a second voltage divider 103.
[0044] The first voltage divider 1021 is used to divide the reference voltage Vin provided by the reference voltage terminal IN to obtain a first voltage, and transmit the first voltage to the comparison module 1023. The second voltage divider 103 is used to divide the reference voltage Vin to obtain a second voltage, and transmit the second voltage to the comparison module 1023. The comparison module 1023 is used to output a detection result signal according to the first voltage and the second voltage. Among them, the voltage division ratio of the first voltage divider 1021 is the ratio of the first voltage to the reference voltage Vin. The voltage division ratio of the second voltage divider 103 is the ratio of the second voltage to the reference voltage Vin.
[0045] Similar to the above, when the first source line Dj and the second source line Dj+1 / Dj-1 are connected, if the first source line Dj and the second source line Dj+1 / Dj-1 are good, the voltage difference between the reference voltage Vin after the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, and the second voltage after the voltage divider module 1022 is divided and the first voltage after the reference voltage Vin is divided by the first voltage divider 1021 is fixed, and the voltage difference is related to the voltage divider ratio of the first voltage divider 1021 and the second voltage divider 103.
[0046] In one example, if the voltage division ratios of the first voltage divider 1021 and the second voltage divider 103 are equal, then when the first source line Dj and the second source line Dj+1 / Dj-1 are good, the voltage difference between the first voltage and the second voltage is 0, that is, the first voltage and the second voltage are equal. In another example, if the voltage division ratio of the first voltage divider 1021 is twice the voltage division ratio of the second voltage divider 103, then when the first source line Dj and the second source line Dj+1 / Dj-1 are good, the voltage difference between the first voltage and the second voltage is x times the reference voltage Vin, where x is the voltage division ratio of the two voltage dividers 103.
[0047] Based on this, optionally, the comparison module 1023 can be used to compare the voltage difference between the first voltage and the second voltage to be equal to the second target voltage difference V D2 -V D3 In the case of a fault, the output is a detection result signal indicating that the line is normal. D2 V represents the voltage after the reference voltage Vin is divided by the first voltage divider 1021.D3 It represents the voltage after the reference voltage Vin is divided by the second voltage divider 103 when the first source line Dj and the second source line Dj+1 / Dj-1 are good.
[0048] Accordingly, when there is a short circuit between the first source line Dj and / or the second source line Dj+1 / Dj-1, the reference voltage Vin increases through the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, and the second voltage divided by the voltage divider module 1022. In this case, the voltage difference between the second voltage and the first voltage decreases.
[0049] Based on this, correspondingly and optionally, the comparison module 1023 can be used to compare the voltage difference between the first voltage and the second voltage when the voltage difference is not equal to the second target voltage difference V D2 -V D3 Alternatively, the comparison module 1023 may be configured to output a detection result signal indicating that the line is short-circuited when the voltage difference between the first voltage and the second voltage is less than the second target voltage difference V D2 -V D3 In the case of a short circuit, a detection result signal indicating a line short circuit is output.
[0050] Further optionally, if Figure 3 As shown, the voltage divider module 1022 includes a first resistor R1. One end of the first resistor R1 is connected to the comparison module 1023 and the second source line Dj+1 / Dj-1. The other end of the first resistor R1 is grounded. When the first source line Dj and the second source line Dj+1 / Dj-1 are connected, the first resistor R1 and the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 constitute a second voltage divider 103. The voltage divider ratio Y1 of the second voltage divider 103 is r1 / (r1+r0). r1 represents the resistance value of the first resistor R1. r0 represents the resistance value of the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1. By way of example, the first resistor R1 can be a variable resistor.
[0051] Optionally, please continue to refer to Figure 3 , the first voltage divider 1021 includes a second resistor R2 and a third resistor R3. One end of the second resistor R2 is connected to the reference voltage terminal IN and the first source line Dj respectively. The other end of the second resistor R2 is connected to the comparison module 1023 and one end of the third resistor R3 respectively, and the other end of the third resistor R3 is grounded. The voltage division ratio Y2 of the first voltage divider 1021 is r3 / (r2+r3). r3 represents the resistance value of the third resistor R3. r2 represents the resistance value of the second resistor R2.
[0052] In an optional case, the voltage divider ratios of the first voltage divider 1021 and the second voltage divider 103 are equal. Then, when the first source line Dj and the second source line Dj+1 / Dj-1 are good, the first voltage is equal to the second voltage; when there is a short circuit between the first source line Dj and the second source line Dj+1 / Dj-1, the second voltage is greater than the first voltage. The comparison module 1023 is used to output a line normal signal when the first voltage and the second voltage are equal, and output a line short circuit signal when the second voltage is greater than the first voltage.
[0053] Optionally, please continue to refer to Figure 3 The comparison module 1023 may be a comparator C. The positive input terminal of the comparator C is connected to the voltage divider module 1022 and the second source line Dj+1 / Dj-1 respectively. The negative input terminal of the comparator C is connected to the reference voltage terminal IN and the first source line Dj through the first voltage divider 1021.
[0054] Wherein, the comparator C has an offset voltage. When the voltage difference between the positive input terminal and the reverse input terminal of the comparator C is the offset voltage, the comparator C cannot stably output a signal indicating the comparison result. The comparator C is used to output a high-level signal when the voltage difference between the positive input terminal and the reverse input terminal is not equal to the offset voltage and the voltage of the positive input terminal is greater than the voltage of the reverse input terminal; and output a low-level signal when the voltage difference between the positive input terminal and the reverse input terminal is not equal to the offset voltage and the voltage of the positive input terminal is less than the voltage of the reverse input terminal.
[0055] In this way, the voltage division ratio of the first voltage divider 1021 and the second voltage divider 103 needs to satisfy: |Y1×Vin-Y2×Vin|≠Vdis, so that the voltage difference between the positive input terminal of the second voltage divider 103 and the negative input terminal of the first voltage divider 1021 is not equal to the offset voltage Vdis. Therefore, the voltage division ratio difference between the first voltage divider 1021 and the second voltage divider 103 is not equal to the target ratio. The target ratio is the ratio of the offset voltage Vdis of the comparator C to the reference voltage Vin.
[0056] Since the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 is usually a constant value when the first source line Dj and the second source line Dj+1 / Dj-1 are good, the output voltage of the reference voltage Vin after the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 is a constant value, that is, after the reference voltage Vin is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, the second voltage input to the second input terminal VIN2 of the comparator C is a constant value.
[0057] Therefore, when the positive input terminal of comparator C is connected to the voltage divider module 1022 and the negative input terminal of comparator C is connected to the first voltage divider 1021, if the voltage divider ratio of the first voltage divider 1021 is greater than that of the second voltage divider 103, the voltage at the positive input terminal of comparator C is less than the voltage at the negative input terminal.
[0058] However, due to the short circuit between the first source line Dj and / or the second source line Dj+1 / Dj-1, the resistance value of the path from the first input terminal VIN1 of the comparator C through the first source line Dj, the second source line Dj+1 / Dj-1 to the second input terminal VIN2 is reduced. Therefore, the output voltage of the reference voltage Vin after the voltage is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1 increases. That is, after the reference voltage Vin is divided by the wiring resistance of the first source line Dj and the second source line Dj+1 / Dj-1, the second voltage input to the second input terminal VIN2 of the comparator C increases.
[0059] Therefore, when the positive input terminal of the comparator C is connected to the voltage divider module 1022 and the negative input terminal of the comparator C is connected to the first voltage divider 1021, if the voltage divider ratio of the first voltage divider 1021 is greater than that of the second voltage divider 103, the voltage at the positive input terminal of the comparator C will increase and become greater than the voltage at the negative input terminal.
[0060] In this way, when the positive input terminal of the comparator C is connected to the voltage divider module 1022, the negative input terminal of the comparator C is connected to the first voltage divider 1021, and the voltage divider ratio of the first voltage divider 1021 is greater than the voltage divider ratio of the second voltage divider 103, and the voltage divider ratio difference between the first voltage divider 1021 and the second voltage divider 103 is greater than the target ratio, the comparator C can be used to output a line normal signal when the second voltage is less than the first voltage, and output a line short circuit signal when the second voltage is greater than the first voltage. The line normal signal is a low level signal, and the line short circuit signal is a high level signal.
[0061] For example, Figure 4 As shown, Figure 4The detection circuit 10 shown (the value range of j is 2-5). The detection circuit 10 includes a pixel switch circuit 101 and five comparison circuits 102. Among the five comparison circuits 102, the first comparison circuit 102 includes a first voltage divider 1021, a comparator C1 and a voltage divider module 1022; the second comparison circuit 102 includes a first voltage divider 1021, a comparator CR1 and a voltage divider module 1022; the third comparison circuit 102 includes a first voltage divider 1021, a comparator C2 and a voltage divider module 1022; the fourth comparison circuit 102 includes a first voltage divider 1021, a comparator CR2 and a voltage divider module 1022; the fifth comparison circuit 102 includes a first voltage divider 1021, a comparator C3 and a voltage divider module 1022.
[0062] Among them, comparators C1-C3 and comparators CR1 and CR2 are all the aforementioned comparator C. In each comparison circuit 102, the positive input terminal of the comparator is connected to the first resistor R1 of the voltage divider module 1022 and the corresponding second source line; the negative input terminal of the comparator is connected to the corresponding first source line through the second resistor R2 in the first voltage divider 1021. In addition, the resistance values of the second resistor R2 and the third resistor R3 in the first voltage divider 1021 are equal, and the resistance value of the first resistor R1 in the voltage divider module 1022 is equal to the wiring resistance of the corresponding two source lines.
[0063] When the source line D1 of the first column of pixels is connected to the source line D2 of the second column of pixels, the first resistor R1 in the first comparison circuit 102 and the wiring resistance of the source line D1 and the source line D2 constitute a second voltage divider. When the source line D2 of the second column of pixels is connected to the source line D3 of the third column of pixels, the first resistor R1 in the second comparison circuit 102 and the wiring resistance of the source line D2 and the source line D3 constitute a second voltage divider. When the source line D3 of the third column of pixels is connected to the source line D4 of the fourth column of pixels, the first resistor R1 in the third comparison circuit 102 and the wiring resistance of the source line D3 and the source line D4 constitute a second voltage divider. When the source line D4 of the fourth column of pixels is connected to the source line D5 of the fifth column of pixels, the first resistor R1 in the fourth comparison circuit 102 and the wiring resistance of the source line D4 and the source line D5 constitute a second voltage divider. When the source line D5 of the fifth column of pixels is connected to the source line D6 of the sixth column of pixels, the first resistor R1 in the fifth comparison circuit 102 and the wiring resistance of the source line D5 and the source line D6 form a second voltage divider.
[0064] The comparator C1 is used to output the detection result signal of the source line D1 and the source line D2 according to the received first voltage and the second voltage when the source line D1 and the source line D2 are connected. The comparator CR1 is used to output the detection result signal of the source line D2 and the source line D3 according to the received first voltage and the second voltage when the source line D2 and the source line D3 are connected. The comparator C2 is used to output the detection result signal of the source line D3 and the source line D4 according to the received first voltage and the second voltage when the source line D3 and the source line D4 are connected. The comparator CR2 is used to output the detection result signal of the source line D4 and the source line D5 according to the received first voltage and the second voltage when the source line D4 and the source line D5 are connected. The comparator C3 is used to output the detection result signal of the source line D5 and the source line D6 according to the received first voltage and the second voltage when the source line D5 and the source line D6 are connected.
[0065] It should be noted that Figure 4 The display panel includes 6 columns of pixels. Figure 4 In the detection circuit shown, the number of comparison circuits 102 is only for illustration. It is easy to understand that Figure 4 The circuit configuration shown does not limit the number of pixel columns that the display panel may include, nor does it limit the number of comparison circuits that the detection circuit may include.
[0066] In some embodiments of the present application, Figure 4 As shown, the pixel switch circuit 101 includes a first sub-circuit 1011 and a second sub-circuit 1012 .
[0067] The first subcircuit 1011 is used to control the connection or disconnection of two source lines of the i-th column pixel and the i+1-th column pixel, where i is an odd number. The second subcircuit 1012 is used to control the connection or disconnection of two source lines of the i+1-th column pixel and the i+2-th column pixel.
[0068] Optionally, the first subcircuit 1011 can be used to control the two source lines of all the pixels in the i-th column and the i+1-th column in multiple columns of pixels to be connected or disconnected at the same time. Alternatively, the first subcircuit 1011 can be used to control the two source lines of some of the pixels in the i-th column and the i+1-th column in multiple columns of pixels to be connected or disconnected at the same time. Similarly, optionally, the second subcircuit 1012 can be used to control the two source lines of all the pixels in the i+1-th column and the i+2-th column in multiple columns of pixels to be connected or disconnected at the same time. Alternatively, the second subcircuit 1012 can be used to control the two source lines of some of the pixels in the i+1-th column and the i+2-th column in multiple columns of pixels to be connected or disconnected at the same time.
[0069] For example, for Figure 4In the detection circuit shown, the first sub-circuit 1011 can be used to control the connection or disconnection between the source line D1 of the first column of pixels and the source line D2 of the second column of pixels, the source line D3 of the third column of pixels and the source line D4 of the fourth column of pixels, the source line D5 of the fifth column of pixels and the source line D6 of the sixth column of pixels. The second sub-circuit 1012 can be used to control the connection or disconnection between the source line D2 of the second column of pixels and the source line D3 of the third column of pixels, the source line D4 of the fourth column of pixels and the source line D5 of the fifth column of pixels.
[0070] In the embodiment of the present application, one working cycle of the detection circuit includes multiple detection phases. The first subcircuit 1011 and the second subcircuit 1012 can control the two source lines of some adjacent columns of pixels to be connected in each detection phase, and control the three source lines of the adjacent three columns of pixels to be connected at different times, so that in one working cycle, the two source lines of any two adjacent columns of pixels are controlled to be connected in at least one detection phase.
[0071] As an example, one working cycle of the detection circuit includes two detection phases. The first subcircuit 1011 is used to control the two source lines of the pixels in the i-th column and the i+1-th column to be connected at the same time in the first detection phase; and to control the two source lines of the pixels in the i-th column and the i+1-th column to be disconnected at the same time in the second detection phase. The second subcircuit 1011 is used to control the two source lines of the pixels in the i+1-th column and the i+2-th column to be disconnected at the same time in the first detection phase; and to control the two source lines of the pixels in the i+1-th column and the i+2-th column to be connected at the same time in the second detection phase.
[0072] In another example, one working cycle of the detection circuit 10 includes n-1 detection stages. The first subcircuit 1011 is used to control the connection of two source lines of the i-th column pixel and the i+1-th column pixel in the k-th detection stage; and to control the disconnection of two source lines of the i-th column pixel and the i+1-th column pixel in the k+1-th detection stage. The second subcircuit 1012 is used to control the disconnection of two source lines of the i+1-th column pixel and the i+2-th column pixel in the k-th detection stage; and to control the connection of two source lines of the i+1-th column pixel and the i+2-th column pixel in the k+1-th detection stage.
[0073] For further examples, please continue to refer to Figure 4 The first sub-circuit 1011 includes at least one first switch tube. The second sub-circuit 1012 includes at least one second switch tube.
[0074] Each first switch tube is respectively connected to the first switch signal terminal SW, a different source line of the i-th column of pixels, and a source line of the i+1-th column of pixels. Each first switch tube is used to connect or disconnect the source line of the i-th column of pixels and the i+1-th column of pixels under the control of the first switch signal terminal SW. The first subcircuit 1011 is used to simultaneously connect or disconnect the source line of the i-th column of pixels and the i+1-th column of pixels under the control of the first switch signal terminal SW.
[0075] Each second switch tube is respectively connected to the second switch signal terminal SWT, and different source lines of pixels in the i+1th column and source lines of pixels in the i+2th column. Each second switch tube is used to connect or disconnect the source lines of pixels in the i+1th column and the i+2th column under the control of the second switch signal terminal SWT. The second subcircuit 1012 is used to simultaneously connect or disconnect the source lines of pixels in the i+1th column and the i+2th column under the control of the second switch signal terminal SWT.
[0076] Based on this, optionally, one working cycle of the detection circuit includes two detection phases. Each first switch tube is used to be turned on at the same time under the control of the first switch signal terminal SW in the first detection phase; and turned off at the same time under the control of the first switch signal terminal SW in the second detection phase. Each second switch tube is used to be turned off at the same time under the control of the second switch signal terminal SWT in the first detection phase; and turned on at the same time under the control of the second switch signal terminal SWT in the second detection phase.
[0077] For example, for Figure 4 In the detection circuit shown, the first sub-circuit 1011 includes three first switch tubes SW1-SW3, and the second sub-circuit 1012 includes two second switch tubes SWT1-SWT2.
[0078] The first switch tube SW1 is respectively connected to the first switch signal terminal SW, the source line D1 of the first column of pixels, and the source line D2 of the second column of pixels. The first switch tube SW2 is respectively connected to the first switch signal terminal SW, the source line D3 of the third column of pixels, and the source line D4 of the fourth column of pixels. The first switch tube SW3 is respectively connected to the first switch signal terminal SW, the source line D5 of the fifth column of pixels, and the source line D6 of the sixth column of pixels. The second switch tube SWT1 is respectively connected to the second switch signal terminal SWT, the source line D2 of the second column of pixels, and the source line D3 of the third column of pixels. The second switch tube SWT2 is respectively connected to the second switch signal terminal SWT, the source line D4 of the fourth column of pixels, and the source line D5 of the fifth column of pixels.
[0079] In some embodiments of this application, please continue to refer to Figure 4The detection circuit 10 further includes: a detection switch circuit 104. The detection switch circuit 104 is connected to the comparison circuit 102 and the source line. That is, the comparison circuit 102 is connected to the corresponding source line through the detection switch circuit 104. The detection switch circuit 104 is used to control the comparison circuit 102 to be turned on or off with the corresponding source line.
[0080] Optionally, the detection switch circuit 104 can be used to control the comparison circuit 102 to remain connected to the corresponding source line during the working cycle of the detection circuit 10. Alternatively, the detection switch circuit 104 can be used to control the comparison circuits 102 corresponding to the two connected source lines to be turned on, and control the comparison circuits 102 corresponding to the two disconnected source lines to remain disconnected from the corresponding source lines.
[0081] Further optionally, if Figure 4 As shown, the detection switch circuit 104 includes: a third switch tube corresponding to each column of pixels. The third switch tubes are respectively connected to the third switch signal terminal, the source line of the corresponding column of pixels and the comparison circuit 102. The third switch tube is used to connect or disconnect the corresponding source line and the comparison circuit 102 under the control of the third switch signal terminal. It is not difficult to understand that each comparison circuit 102 corresponds to two third switch tubes. One third power is respectively connected to the third switch signal terminal, the first source line and the first input terminal VIN1 of the comparison circuit 102. Another third switch tube is respectively connected to the third switch signal terminal, the second source line and the second input terminal VIN2 of the comparison circuit 102. The comparison circuit 102 is used to connect or disconnect the corresponding two source lines under the control of its corresponding two third powers.
[0082] Based on this, each third switch tube is used to keep the source line of each column of pixels connected to the comparison circuit 102 under the control of the third switch signal terminal during the working cycle of the detection circuit 10.
[0083] For example, Figure 4As shown, the detection switch circuit 104 includes 6 third switch tubes SWS1-SWS6. Among the 6 third switch tubes, the third switch tube SWS1 is respectively connected to the third switch signal terminal SWS, the source line D1 of the first column of pixels and the first input terminal VIN1 of the first comparison circuit 102; the third switch tube SWS2 is respectively connected to the third switch signal terminal SWS, the source line D2 of the second column of pixels and the second input terminal VIN2 of the first comparison circuit 102 and the second comparison circuit 102; the third switch tube SWS3 is respectively connected to the third switch signal terminal SWS, the source line D3 of the third column of pixels and the second comparison circuit 102 and the third input terminal VIN2 of the third comparison circuit 102. The first input terminal VIN1 of the comparison circuit 102 is connected; the fourth switch tube SWS4 is respectively connected to the third switch signal terminal SWS, the source line D4 of the fourth column of pixels and the second input terminal VIN2 of the third comparison circuit 102 and the fourth comparison circuit 102; the fourth switch tube SWS5 is respectively connected to the third switch signal terminal SWS, the source line D5 of the fifth column of pixels and the first input terminal VIN1 of the fourth comparison circuit 102 and the fifth comparison circuit 102; the sixth switch tube SWS6 is respectively connected to the third switch signal terminal SWS, the source line D6 of the sixth column of pixels and the second input terminal VIN2 of the fifth comparison circuit 102. The six third switch tubes SWS1-SWS6 are used to be turned on simultaneously under the control of the third switch signal terminal SWS during the working cycle of the detection circuit 10.
[0084] In some embodiments of the present application, Figure 4 As shown, the detection circuit 10 further includes: a voltage switch circuit 105. The reference voltage terminal IN is connected to the first input terminal VIN1 of the comparison circuit 102 through the voltage switch circuit 105. The voltage switch circuit 105 is used to control the reference voltage terminal IN and the first input terminal VIN1 of the comparison circuit 102 to be turned on or off.
[0085] Optionally, the voltage switch circuit 105 is used to control the reference voltage terminal IN to be connected to the first input terminal VIN1 of all comparison circuits 102 during the working cycle of the detection circuit. Alternatively, the voltage switch circuit 105 is used to control the reference voltage terminal IN to be connected to the first input terminal VIN1 of the target comparison circuit 102 during the working cycle of the detection circuit, and to control the reference voltage terminal VIN to be disconnected from the first input terminal VIN1 of other comparison circuits 102. The two source lines corresponding to the target comparison circuit 102 are connected. The two source lines corresponding to other comparison circuits 102 are disconnected.
[0086] In an alternative case, if Figure 4As shown, the voltage switch circuit 105 includes: at least one fourth switch tube. Each fourth switch tube is connected to the fourth switch signal terminal SWP, the reference voltage terminal IN and the first input terminal VIN1 of the comparison circuit 102. Each fourth switch tube is used to connect or disconnect the reference voltage terminal IN and the first input terminal VIN1 of the comparison circuit 102 under the control of the fourth switch signal terminal SWP.
[0087] Based on this, each fourth switch tube is used to keep the reference voltage terminal IN and the first input terminal VIN1 of the comparison circuit 102 connected during the working cycle of the detection circuit 10 under the control of the fourth switch signal terminal SWP, so as to keep the reference voltage terminal IN and the first input terminal VIN1 of each comparison circuit 102 connected.
[0088] For example, Figure 4 As shown, the voltage switch circuit 105 includes three fourth switch tubes SWP1-SWP3. Among the three fourth switch tubes, the fourth switch tube SWP1 is respectively connected to the fourth switch signal terminal SWP, the reference voltage terminal IN and the first input terminal VIN of the first comparison circuit 102. The fourth switch tube SWP2 is respectively connected to the fourth switch signal terminal SWP, the reference voltage terminal IN and the first input terminals VIN of the second comparison circuit 102 and the third comparison circuit 102. The fourth switch tube SWP3 is respectively connected to the fourth switch signal terminal SWP, the reference voltage terminal IN and the first input terminals VIN of the fourth comparison circuit 102 and the fifth comparison circuit 102. The fourth switch tubes SWP1-SWP3 are used to keep the first input terminals VIN1 of the five comparison circuits 102 connected to the reference voltage terminal IN during the working cycle of the detection circuit 10 under the control of the fourth switch signal terminal SWP.
[0089] In another optional case, the voltage switch circuit 105 includes: a fourth switch tube. The fourth switch tube is connected to the fourth switch signal terminal SWP, the reference voltage terminal IN, and the first input terminal VIN1 of all the comparison circuits 102. The fourth switch tube is used to keep the reference voltage terminal IN and the first input terminal VIN1 of each comparison circuit 102 connected during the working cycle of the detection circuit 10 under the control of the fourth switch signal terminal SWP.
[0090] In some embodiments of the present application, Figure 4As shown, the detection circuit 10 further includes: a summary output circuit 106. The summary output circuit 106 is connected to each comparison circuit 102. The summary output circuit 106 is used to output a total line normal signal when the detection result signals of all comparison circuits 102 indicate that the lines are normal, and output a total line short circuit signal when the detection result signal of any comparison circuit 102 indicates that the line is short-circuited. The total line normal signal indicates that the lines of all source lines of the display panel are normal. The total line short circuit signal indicates that there is a source line with a short circuit in the display panel.
[0091] Optionally, when the detection result signal is a first level signal, it indicates that the line is normal; when the detection result signal is a second level signal, it indicates that the line is short-circuited. Figure 4 As shown, the summary output circuit 106 includes: a logic module 1061. The logic module 1061 is used to output a total line normal signal when receiving a first level signal output by each comparison circuit 102, and output a total line short circuit signal when receiving a second level signal output by any comparison circuit 102.
[0092] In an optional case, the total line normal signal is a high-level total detection result signal Lddn. The total line short-circuit signal is a low-level total detection result signal Lddn. The detection result signal indicating that the line is normal output by the comparison circuit 102 is a low-level signal. The detection result signal indicating that the line is short-circuited output by the comparison circuit 102 is a high-level signal. Figure 4 As shown, the logic module 1061 includes an AND gate L and a fifth switch tube P corresponding one-to-one to the comparison circuit 102 .
[0093] Each fifth switch tube P is respectively connected to the ground terminal, the AND gate L and the corresponding comparison circuit 102. Each fifth switch tube P is used to connect the ground terminal and the AND gate L under the control of the high level signal (indicating that the line is short-circuited) output by the comparison circuit 102, and transmit a low level signal to the AND gate L; each fifth switch tube P is also used to disconnect the ground terminal and the AND gate L under the control of the low level signal (indicating that the line is normal) output by the comparison circuit 102, and transmit a high level signal to the AND gate L.
[0094] The AND gate L is connected to the detection output terminal LDDN of the detection circuit 10. The AND gate L is used to output a low-level detection total result signal Lddn to the detection output terminal LDDN when receiving at least one low-level signal, so as to indicate that there is a line short circuit in the source line of the display panel; when only a high-level signal is received, the AND gate L is used to output a high-level detection total result signal Lddn to the detection output terminal LDDN, so as to indicate that the line of the source line of the display panel is normal.
[0095] In another optional case, the total line normal signal is a high level detection result signal Lddn. The total line short circuit signal is a low level detection result signal Lddn. The detection result signal indicating that the line is normal output by the comparison circuit 102 is a high level signal. The detection result signal indicating that the line is short circuited output by the comparison circuit 102 is a low level signal. The logic module 1061 includes an AND gate L.
[0096] The AND gate L is connected to each comparison circuit 102 and the detection output terminal LDDN of the detection circuit 10. The AND gate L is used to output a low-level detection total result signal Lddn to the detection output terminal LDDN when at least one low-level signal is received; and to output a high-level detection total result signal Lddn to the detection output terminal LDDN when only a high-level signal is received.
[0097] For ease of understanding, the following Figure 4 Taking the detection circuit 10 shown in FIG. 1 as an example, the detection circuit 10 provided in the embodiment of the present application is further described. For example, Figure 4 As shown, the detection circuit 10 includes the first switch tube to the fourth switch tube. And, assuming that the reference voltage Vin is 3.3V during the working cycle, the offset voltage of the comparator (C1-C3, CR1-CR2) is 2mV. The resistance values of the second resistor R2 and the third resistor R3 in the first voltage divider 1021 are both 10KΩ, and the voltage division ratio of the first voltage divider 1021 is 1 / 2. The resistance value of the wiring resistance of the two adjacent source lines in the second voltage divider 103 is 5KΩ, the resistance value of the first resistor R1 is 4.95KΩ, and the voltage division ratio of the second voltage divider 103 is 4.95 / (4.95+5). In this way, the comparator is used to output a low-level signal when the voltage at the positive input terminal is less than the voltage at the negative input terminal; and output a high-level signal when the voltage at the positive input terminal is greater than the voltage at the negative input terminal.
[0098] refer to Figure 5 The circuit timing diagram of the detection circuit 10 shown in the figure shows that in the non-working period, the first switch signal Sw output by the first switch signal terminal SW, the second switch signal Swt output by the second switch signal terminal SWT, the third switch signal Sws output by the third switch signal terminal SWS, and the fourth switch signal Swp output by the fourth switch signal terminal SWP are all low-level signals, and the first switch tube to the fourth switch tube are turned off. The reference voltage Vin output by the reference voltage terminal IN is 0. The source line of the display panel transmits the normal display signal Normal.
[0099] The working cycle T of the detection circuit 10 includes two detection phases T1-T2. In the first detection phase T1, the second switch signal Swt maintains a low level. The first switch signal Sw, the third switch signal Sws, and the fourth switch signal Swp are all high-level signals, the first switch tube, the third switch tube, and the fourth switch tube are turned on, and the reference voltage Vin output by the reference voltage terminal IN is a high-level voltage. The second switch signal Swt is a low-level signal, and the second switch tube is turned off.
[0100] In the comparison circuit 102, the comparator C1 forms a closed loop with the source line D1 and the source line D2, the comparator C2 forms a closed loop with the source line D3 and the source line D4, and the comparator C3 forms a closed loop with the source line D5 and the source line D6. The comparator CR1 cannot form a closed loop with the source line D2 and the source line D3, and the comparator CR2 cannot form a closed loop with the source line D4 and the source line D5.
[0101] Comparators C1-C3 are used to detect whether there is a short circuit between source line D1 and source line D2, source line D3 and source line D4, source line D5 and source line D6 in turn. Comparators C1-C3 are used to output a low-level detection result signal when the voltage at the positive input terminal is less than the voltage at the reverse input terminal to indicate that the line is normal; when the voltage at the positive input terminal is greater than the voltage at the reverse input terminal, a high-level detection result signal is output to indicate that the line is short-circuited. Comparators CR1-CR2 are used to output a low-level detection result signal when the voltage at the positive input terminal is less than the voltage at the reverse input terminal; when the voltage at the positive input terminal is greater than the voltage at the reverse input terminal, a high-level detection result signal is output. Among them, the detection result signal of comparator CR1 can also indicate whether there is a short circuit between source line D1 and source line D2. The detection result signal of comparator CR2 can also indicate whether there is a short circuit between source line D3 and source line D4.
[0102] The summary output circuit 106 is used to output a low-level total detection result signal Lddn to the detection output terminal LDDN when at least one high-level signal is received to indicate that there is a line short circuit in the source line of the display panel; when only a low-level signal is received, the summary output circuit 106 is used to output a high-level total detection result signal Lddn to the detection output terminal LDDN to indicate that the line of the source line of the display panel is normal.
[0103] In the second detection stage T2, the first switch signal Sw is switched to a low level signal. The second switch signal Swt, the third switch signal Sws, and the fourth switch signal Swp are all high level signals, the second switch tube, the third switch tube, and the fourth switch tube are turned on, and the reference voltage Vin output by the reference voltage terminal IN is a high level voltage. The first switch signal Sw is a low level signal, and the first switch tube is turned off.
[0104] In the comparison circuit 102, the comparator CR1 forms a closed loop with the source line D2 and the source line D3, and the comparator CR2 forms a closed loop with the source line D4 and the source line D5. The comparator C1 cannot form a closed loop with the source line D1 and the source line D2, the comparator C2 cannot form a closed loop with the source line D3 and the source line D4, and the comparator C3 cannot form a closed loop with the source line D5 and the source line D6. The comparators CR1-CR2 are used to detect whether there is a short circuit between the source line D2 and the source line D3, and between the source line D4 and the source line D5. The comparator CR1-CR2 is used to output a low-level detection result signal when the voltage at its positive input terminal is less than the voltage at its reverse input terminal to indicate that the line is normal; when the voltage at its positive input terminal is greater than the voltage at its reverse input terminal, it outputs a high-level detection result signal to indicate that the line is short-circuited. Comparators C1-C3 are used to output a low-level detection result signal when the voltage at the forward input terminal is less than the voltage at the reverse input terminal; and to output a high-level detection result signal when the voltage at the forward input terminal is greater than the voltage at the reverse input terminal. The detection result signal of comparator C1 can also indicate whether there is a short circuit between source line D2 and source line D3. The detection result signal of comparator C2 can indicate whether there is a short circuit between source line D4 and source line D5. Comparator C3 outputs a low-level signal because source line D5 and source line D6 are disconnected.
[0105] The summary output circuit 106 is used to output a low-level total detection result signal Lddn to the detection output terminal LDDN when at least one high-level signal is received to indicate that there is a line short circuit in the source line of the display panel; when only a low-level signal is received, the summary output circuit 106 is used to output a high-level total detection result signal Lddn to the detection output terminal LDDN to indicate that the line of the source line of the display panel is normal.
[0106] In this example, the states of the signals in the detection circuit can be summarized as follows: Please refer to Table 1, which shows a signal state table of a detection circuit provided in an embodiment of the present application.
[0107]
[0108]
[0109] Table 1
[0110] As shown in Table 1, when the detection circuit is in an invalid (Disable) state, the reference voltage terminal IN outputs the ground voltage GND, the first switch signal terminal SW, the second switch signal terminal SWT, the third switch signal terminal SWS and the fourth switch signal terminal SWP all output a low level signal L, the function of the detection circuit is invalid, and the display panel displays normally (Normal display).
[0111] When the detection circuit is in the effective (Enable) state, the reference voltage terminal IN outputs a set high level voltage, that is, the set voltage. In the first detection stage, the first switch signal terminal SW, the third switch signal terminal SWS and the fourth switch signal terminal SWP all output a high level signal H. The second switch signal terminal SWT outputs a low level signal L. When the detection output terminal LDDN of the detection circuit outputs a high level signal, it indicates that the source lines of the i-th column pixels and the i+1-th column pixels of the display panel are normal, that is, there is no short line (short line); when the detection output terminal LDDN of the detection circuit outputs a low level signal, it indicates that the source lines of the i-th column pixels and the i+1-th column pixels of the display panel are short-circuited, that is, there is a short line (short line).
[0112] In the second detection stage, the second switch signal terminal SWT, the third switch signal terminal SWS and the fourth switch signal terminal SWP all output a high level signal H. The first switch signal terminal SW outputs a low level signal L. When the detection output terminal LDDN of the detection circuit outputs a high level signal, it indicates that the source lines of the pixels in the i+1th column and the i+2th column of the display panel are normal, that is, there is no short circuit; when the detection output terminal LDDN of the detection circuit outputs a low level signal, it indicates that the source lines of the pixels in the i+1th column and the i+2th column of the display panel are short-circuited, that is, there is a short circuit.
[0113] In summary, the detection circuit provided in the embodiment of the present application includes: a pixel switching circuit and a comparison circuit corresponding to each two adjacent columns of pixels. The two source lines of the two columns of pixels corresponding to the comparison circuit include a first source line and a second source line. The pixel switching circuit is connected to the source line of each column of pixels, and is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels. The first input terminal of the comparison circuit is connected to the reference voltage terminal and the corresponding first source line, and the second input terminal of the comparison circuit is connected to the corresponding second source line. The comparison circuit is used to output a detection result signal according to the voltage size of its first input terminal and the second input terminal.
[0114] In the detection circuit, when the pixel switch circuit controls the two source lines of two adjacent columns of pixels to be connected, the two source lines and their corresponding comparison circuits form a closed loop. Thus, the reference voltage provided by the reference voltage terminal can be divided into two paths, one path is transmitted to the first input terminal of the comparison circuit, and the other path is transmitted to the second input terminal of the comparison circuit through the two source lines. Since the voltage division of the reference voltage by the two source lines in the closed loop under normal conditions is different from the voltage division of the reference voltage in the short circuit condition, the voltage of the second input terminal of the comparison circuit is different in the normal and short circuit conditions of the two source lines, but the voltage of the first input terminal of the comparison circuit is the same. Therefore, the voltage of the first input terminal and the second input terminal of the comparison circuit can accurately reflect whether the lines of the two source lines in the closed loop are normal or short circuited. In this way, the comparison circuit can output a detection result signal to indicate whether the lines of the two source lines connected to the comparison circuit are normal or short circuited according to the voltage magnitude of the first input terminal and the second input terminal, so as to realize the line detection of the two source lines of the two adjacent columns of pixels, and then obtain the line detection result of each source line in the display panel. Compared with the manual detection method in the related art, the circuit detection accuracy of the display panel is improved.
[0115] Please refer to Figure 6 , which shows a detection method provided by an embodiment of the present application. The detection method is applied to the detection circuit provided by an embodiment of the present application. Optionally, the detection method is applied to Figure 1 and Figure 4 The detection circuit shown. Wherein, one working cycle of the detection circuit includes multiple detection stages. Further optionally, the detection circuit can be applied to a line detection system including the LDD circuit provided in the embodiment of the present application, and executed by a controller also included in the line detection system. Figure 6 As shown, the detection method of the detection circuit includes:
[0116] Step 601 : According to the target rule, in each detection phase, the pixel switch circuit is controlled to connect two source lines of two adjacent columns of pixels.
[0117] Step 602, obtaining the detection result signal output by the target comparison circuit connected to the two source lines, determining the detection results of the two source lines, so as to obtain the detection results of the two source lines of each two adjacent columns of pixels in one working cycle.
[0118] The controller controls the pixel switch circuit 101 in accordance with the target rule within the working cycle of the detection circuit 10 to connect the two source lines of two adjacent columns of pixels respectively, so that the comparison circuit 102 outputs the detection result signals of the two corresponding source lines. The controller obtains the detection result signals of the two connected source lines and determines the detection results of the two source lines, so as to obtain the detection results of the two source lines of each two adjacent columns of pixels in one working cycle.
[0119] In an optional implementation, one working cycle of the detection circuit 10 includes two detection phases. In the first detection phase, the controller controls the pixel switch circuit 101 to connect the two source lines of the pixels in the i-th column and the i+1-th column, and controls the pixel switch circuit 101 to disconnect the two source lines of the pixels in the i+1-th column and the i+2-th column. The controller obtains the detection result signal output by the target comparison circuit connected with the two source lines of the pixels in the i-th column and the i+1-th column, and determines the detection results of the two source lines of the pixels in the i-th column and the i+1-th column.
[0120] In the second detection stage, the controller controls the pixel switch circuit 101 to connect the two source lines of the pixels in the i+1th column and the i+2th column, and controls the pixel switch circuit 101 to disconnect the two source lines of the pixels in the i+1th column and the i+1th column. The controller obtains the detection result signal output by the target comparison circuit connected with the two source lines of the pixels in the i+1th column and the i+2th column, and determines the detection results of the two source lines of the pixels in the i+1th column and the i+2th column. In this way, the controller can obtain the detection results of the two source lines of each two adjacent columns of pixels through the detection circuit 10 within one working cycle.
[0121] In another optional implementation, one working cycle of the detection circuit 10 includes n-1 detection phases. In the first detection phase, the controller controls the pixel switch circuit 101 to connect only the two source lines D1-D2 of the first column of pixels and the second column of pixels. The controller obtains the detection result signal output by the target comparison circuit connected to the two source lines D1-D2 of the first column of pixels and the second column of pixels, and determines the detection results of the two source lines of the first column of pixels and the second column of pixels.
[0122] In the second detection stage, the controller controls the pixel switch circuit 101 to connect only the two source lines D2-D3 of the second column of pixels and the third column of pixels. The controller obtains the detection result signal output by the target comparison circuit connected to the two source lines D2-D3 of the second column of pixels and the third column of pixels, and determines the detection results of the two source lines of the second column of pixels and the third column of pixels. ....... In the kth detection stage, the controller controls the pixel switch circuit 101 to connect only the two source lines Dk-Dk+1 of the kth column of pixels and the k+1th column of pixels. The controller obtains the detection result signal output by the target comparison circuit connected to the two source lines Dk-Dk+1 of the kth column of pixels and the k+1th column of pixels, and determines the detection results of the two source lines of the kth column of pixels and the k+1th column of pixels. ....... In the n-1th detection stage, the controller controls the pixel switch circuit 101 to connect only the two source lines Dn-1-Dn of the n-1th column of pixels and the nth column of pixels. The controller obtains the detection result signal output by the target comparison circuit connecting the two source lines Dn-1-Dn of the n-1th column of pixels and the nth column of pixels, and determines the detection results of the two source lines of the n-1th column of pixels and the nth column of pixels. In this way, the controller can obtain the detection results of the two source lines of every two adjacent columns of pixels through the detection circuit 10 within one working cycle.
[0123] In the embodiment of the present application, the pixel switch circuit is controlled to connect the two source lines of the two adjacent columns of pixels in each detection stage according to the target rule, so that when the two source lines of the two adjacent columns of pixels are connected in the detection circuit, the two source lines and their corresponding comparison circuits form a closed loop. Thus, the reference voltage provided by the reference voltage terminal can be divided into two paths, one of which is transmitted to the first input terminal of the comparison circuit, and the other is transmitted to the second input terminal of the comparison circuit through the two source lines. Since the voltage division of the reference voltage by the two source lines in the normal case is different from the voltage division of the reference voltage in the short circuit case in the closed loop, the voltage of the second input terminal of the comparison circuit is different in the normal case and the short circuit case of the two source lines, but the voltage of the first input terminal of the comparison circuit is the same. Therefore, the comparison circuit can output the detection result signal according to the voltage magnitude of its first input terminal and the second input terminal, so as to obtain the detection result signal output by the comparison circuit, determine the detection result of the two source lines of the two adjacent columns of pixels, realize the line detection of the two source lines of the two adjacent columns of pixels, and then obtain the line detection result of each source line in the display panel. Compared with the manual detection method in the related art, the circuit detection accuracy of the display panel is improved.
[0124] Optionally, in the case where the pixel switch circuit 101 includes the first subcircuit 1011 and the second subcircuit 1012, the pixel switch circuit is controlled to connect two source lines of two adjacent columns of pixels according to the target rule in each detection stage; the detection result signal output by the target comparison circuit connected to the two source lines is obtained, and the process of determining the detection results of the two source lines may include:
[0125] In the first detection stage, the first subcircuit is controlled to connect the two source lines of the pixels in the i-th column and the i+1-th column, and the second subcircuit is controlled to disconnect the two source lines of the pixels in the i+1-th column and the i+2-th column. The controller obtains the detection result signal output by the target comparison circuit connected with the two source lines of the pixels in the i-th column and the i+1-th column, and determines the detection result of the two source lines of the pixels in the i-th column and the i+1-th column.
[0126] In the second detection stage, the first subcircuit is controlled to disconnect the two source lines of the pixels in the i-th column and the i+1-th column, and the second subcircuit is controlled to connect the two source lines of the pixels in the i+1-th column and the i+2-th column. The controller obtains the detection result signal output by the target comparison circuit connected with the two source lines of the pixels in the i+1-th column and the i+2-th column, and determines the detection results of the two source lines of the pixels in the i+1-th column and the i+2-th column.
[0127] Further optionally, when the first sub-circuit 1011 includes a first switch tube, and the second sub-circuit 1012 includes a second switch tube, the process of controlling the first sub-circuit to connect the two source lines of the i-th column of pixels and the i+1-th column of pixels, and controlling the second sub-circuit to disconnect the two source lines of the i+1-th column of pixels and the i+2-th column of pixels may include: transmitting a first turn-on signal to the first switch signal terminal of each first switch tube, and transmitting a second turn-off signal to the second switch signal terminal of each second switch tube.
[0128] Similarly, the process of controlling the first subcircuit to disconnect the two source lines of the i-th column of pixels and the i+1-th column of pixels, and controlling the second subcircuit to connect the two source lines of the i+1-th column of pixels and the i+2-th column of pixels may include: transmitting a first disconnection signal to the first switch signal terminal of each first switch tube, and transmitting a second conduction signal to the second switch signal terminal of each second switch tube.
[0129] The first on-signal is used to control the first switch tube to be on; the first off-signal is used to control the first switch tube to be off. The second on-signal is used to control the second switch tube to be on; the second off-signal is used to control the second switch tube to be off.
[0130] Thus, in the first detection phase, the controller transmits a first turn-on signal to the first switch signal terminal of each first switch tube, and transmits a second turn-off signal to the second switch signal terminal of each second switch tube, so that each first switch tube of the first sub-circuit 1011 is turned on, and the two source lines of the pixels in the i-th column and the i+1-th column are connected, and each second switch tube of the second sub-circuit 1012 is turned off, and the two source lines of the pixels in the i+1-th column and the i+2-th column are disconnected. Accordingly, in the second detection phase, the controller transmits a first turn-off signal to the first switch signal terminal of each first switch tube, and transmits a second turn-on signal to the second switch signal terminal of each second switch tube, so that each first switch tube of the first sub-circuit 1011 is turned off, and the two source lines of the pixels in the i-th column and the i+1-th column are disconnected, and each second switch tube of the second sub-circuit 1012 is turned on, and the two source lines of the pixels in the i+1-th column and the i+2-th column are connected.
[0131] For example, the detection circuit 10 is Figure 4 The detection circuit shown. In the first detection stage, the controller transmits a first on signal to the first switch signal terminal SW, and transmits a second off signal to the second switch signal terminal SWT, so that the source line D1 and the source line D2, the source line D3 and the source line D4, the source line D5 and the source line D6 are connected, and the source line D2 and the source line D3, the source line D4 and the source line D5 are disconnected. The first comparison circuit 102 outputs the detection result signal of the source line D1 and the source line D2, the third comparison circuit 102 outputs the detection result signal of the source line D3 and the source line D4, and the fifth comparison circuit 102 outputs the detection result signal of the source line D5 and the source line D6.
[0132] In the second detection phase, the controller transmits a first disconnection signal to the first switch signal terminal SW, and transmits a second conduction signal to the second switch signal terminal SWT, so that the source line D1 and the source line D2, the source line D3 and the source line D4, the source line D5 and the source line D6 are disconnected, and the source line D2 and the source line D3, the source line D4 and the source line D5 are connected. The second comparison circuit 102 outputs the detection result signal of the source line D2 and the source line D3, and the fourth comparison circuit 102 outputs the detection result signal of the source line D4 and the source line D5.
[0133] In some embodiments of the present application, when the detection circuit 10 includes a detection switch circuit 104, the detection method further includes: in each detection stage, controlling the detection switch circuit to keep the comparison circuit and the corresponding source line turned on.
[0134] Optionally, the controller may control the detection switch circuit to keep all the comparison circuits and their corresponding source lines turned on in each detection phase. Alternatively, the controller may control the detection switch circuit to keep the target comparison circuit and its corresponding source line turned on in each detection phase, so that the two source lines corresponding to the target comparison circuit are connected.
[0135] Further optionally, the detection switch circuit 104 includes a third switch tube corresponding to each column of pixels one by one. The process in which the controller controls the detection switch circuit to keep the comparison circuit and the corresponding source line turned on in each detection phase may include: the controller transmits a third turn-on signal to the third switch signal terminal SWS in each detection phase, so that each third switch tube is turned on in each detection phase, connecting all comparison circuits and their corresponding source lines.
[0136] Correspondingly, the controller can also transmit a third disconnection signal to the third switch signal terminal SWS during the non-working period of the detection circuit, so that each third switch tube is turned off during the non-working period, disconnecting all comparison circuits and their corresponding source lines.
[0137] In some embodiments of the present application, when the detection circuit 10 includes a voltage switch circuit 105, the detection method further includes: in each detection stage, controlling the detection switch circuit to keep the reference voltage terminal and the first input terminal of the comparison circuit turned on.
[0138] Optionally, the controller may control the detection switch circuit to conduct all comparison circuits and the reference voltage terminal in each detection stage. Alternatively, the controller may control the detection switch circuit to conduct the target comparison circuit and the reference voltage terminal in each detection stage, and the two source lines corresponding to the target comparison circuit are connected.
[0139] Further optionally, the voltage switch circuit 105 includes a fourth switch tube. The process in which the controller controls the detection switch circuit to keep conducting the reference voltage terminal and the first input terminal of the comparison circuit in each detection phase may include: the controller transmits a fourth conduction signal to the fourth switch signal terminal SWP in each detection phase, so that each fourth switch tube is turned on in each detection phase, connecting all comparison circuits with the reference voltage terminal.
[0140] Accordingly, the controller may also transmit a fourth disconnection signal to the fourth switch signal terminal SWP during the non-working period of the detection circuit, so that each fourth switch tube is turned off during the non-working period, disconnecting all comparison circuits from the reference voltage terminal.
[0141] In some embodiments of the present application, when the detection circuit 10 includes a summary output circuit, the detection method further includes: obtaining a total line normal signal / total line short circuit signal output by the summary output circuit in each detection stage. When the total line normal signal is obtained, it is determined that the connected source lines are all normal. When the total line short circuit signal is obtained, it is determined that there is a short circuit between the connected source lines.
[0142] For example, the detection circuit 10 is Figure 4 In the first detection phase, the controller transmits a first on signal to the first switch signal terminal SW, a second off signal to the second switch signal terminal SWT, a third on signal to the third switch signal terminal SWS, and a fourth on signal to the fourth switch signal terminal SWP.
[0143] Source line D1 is connected to source line D2, source line D3 is connected to source line D4, source line D5 is connected to source line D6, and source line D2 is connected to source line D3, source line D4 is connected to source line D5, reference voltage terminal IN is connected to all comparison circuits 102, and all comparison circuits 102 are connected to source lines of two columns of pixels corresponding to them. The first comparison circuit 102 and the second comparison circuit 102 output detection result signals of source line D1 and source line D2, the third comparison circuit 102 and the fourth comparison circuit 102 output detection result signals of source line D3 and source line D4, and the fifth comparison circuit 102 outputs detection result signals of source line D5 and source line D6.
[0144] The detection circuit outputs a total line normal signal / total line short circuit signal to the detection output terminal LDDN through the summary output circuit. The controller obtains the total line normal signal / total line short circuit signal output by the detection output terminal LDDN. When the total line normal signal is obtained, it is determined that the connected source lines are all normal. When the total line short circuit signal is obtained, it is determined that there is a short circuit between the connected source lines.
[0145] In the second detection phase, the controller transmits a first disconnection signal to the first switch signal terminal SW, a second conduction signal to the second switch signal terminal SWT, a third conduction signal to the third switch signal terminal SWS, and a fourth conduction signal to the fourth switch signal terminal SWP. The source line D1 is disconnected from the source line D2, the source line D3 is disconnected from the source line D4, and the source line D5 is disconnected from the source line D6, and the source line D2 is connected to the source line D3, and the source line D4 is connected to the source line D5. The reference voltage terminal IN is connected to all the comparison circuits 102, and all the comparison circuits 102 are connected to the source lines of the two columns of pixels corresponding to them.
[0146] The first comparison circuit 102 and the second comparison circuit 102 output the detection result signals of the source line D2 and the source line D3, and the third comparison circuit 102 and the fourth comparison circuit 102 output the detection result signals of the source line D4 and the source line D5. The third comparison circuit 102 outputs the detection result signal indicating that the line is normal. The detection circuit outputs the total line normal signal / total line short circuit signal to the detection output terminal LDDN through the summary output circuit. The controller obtains the total line normal signal / total line short circuit signal output by the detection output terminal LDDN. When the total line normal signal is obtained, it is determined that the connected source lines are all normal. When the total line short circuit signal is obtained, it is determined that there is a short circuit between the connected source lines.
[0147] The first on-signal, the second on-signal, the third on-signal and the fourth on-signal are low level signals, and the first off-signal, the second off-signal, the third off-signal and the fourth off-signal are high level signals.
[0148] In summary, the detection method of the detection circuit provided by the embodiment of the present application controls the pixel switch circuit to connect the two source lines of the two adjacent columns of pixels in each detection stage according to the target rule, so that when the two source lines of the two adjacent columns of pixels are connected in the detection circuit, the two source lines and their corresponding comparison circuits form a closed loop. Thus, the reference voltage provided by the reference voltage terminal can be divided into two paths, one path is transmitted to the first input end of the comparison circuit, and the other path is transmitted to the second input end of the comparison circuit through the two source lines. However, in the closed loop, the voltage division of the reference voltage by the two source lines under normal circumstances is different from the voltage division of the reference voltage under short circuit conditions. Therefore, the voltage of the first input end and the second input end of the comparison circuit can accurately reflect whether the lines of the two source lines in the closed loop are normal or short circuited. Therefore, the comparison circuit can output the detection result signal according to the voltage size of its first input end and the second input end, realize the line detection of the two source lines of the two adjacent columns of pixels, and then obtain the line detection result of each source line in the display panel. Compared with the artificial detection method in the related art, the line detection accuracy of the display panel is improved.
[0149] The embodiment of the present application also provides an electronic device, which includes the detection circuit provided in the embodiment of the present application. The electronic device includes the aforementioned detection circuit, and thus has the same technical effect as the aforementioned detection circuit, which will not be described here to avoid repetition.
[0150] Optionally, the electronic device may further include a controller, and the controller is used to execute the detection method of the detection circuit provided in the embodiment of the present application.
[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A detection circuit, characterized in that: Applied to a display panel including multiple columns of pixels, the detection circuit includes: a pixel switch circuit, and a comparison circuit corresponding to each two adjacent columns of pixels, wherein the two source lines of the two columns of pixels corresponding to the comparison circuit include a first source line and a second source line; The pixel switch circuit is connected to the source line of each column of pixels and is used to control the connection or disconnection of the two source lines of each two adjacent columns of pixels; The first input terminal of the comparison circuit is connected to the reference voltage terminal and the corresponding first source line, the second input terminal of the comparison circuit is connected to the corresponding second source line, and the comparison circuit is used to output a detection result signal according to the voltage size of the first input terminal and the second input terminal.
2. The detection circuit according to claim 1, characterized in that: The comparison circuit comprises: a first voltage divider, a voltage divider module and a comparison module; the comparison module is connected to the reference voltage terminal and the first source line through the first voltage divider, and is connected to the second source line through the voltage divider module, and when the first source line and the second source line are connected, the voltage divider module, the first source line and the second source line form a second voltage divider; The first voltage divider is used for dividing the reference voltage provided by the reference voltage terminal to obtain a first voltage, and transmitting the first voltage to the comparison module; The second voltage divider is used for dividing the reference voltage to obtain a second voltage, and transmitting the second voltage to the comparison module; The comparison module is used for outputting a detection result signal according to the first voltage and the second voltage.
3. The detection circuit according to claim 2, characterized in that: The voltage divider module includes a first resistor; one end of the first resistor is connected to the comparison module and the second source line, and the other end of the first resistor is grounded.
4. The detection circuit according to claim 2 or 3, characterized in that: The comparison module includes a comparator; a voltage division ratio of the first voltage divider is greater than a voltage division ratio of the second voltage divider, and a voltage division ratio difference between the first voltage divider and the second voltage divider is not equal to a target ratio, and the target ratio is a ratio of an offset voltage of the comparator to the reference voltage; The positive input terminal of the comparator is connected to the voltage divider module, and the reverse input terminal of the comparator is connected to the first voltage divider, and is used to output a line normal signal when the second voltage is less than the first voltage, and output a line short circuit signal when the second voltage is greater than the first voltage.
5. The detection circuit according to claim 1, characterized in that: The pixel switch circuit includes a first subcircuit and a second subcircuit; The first sub-circuit is used to control the connection or disconnection of two source lines of the pixels in the i-th column and the i+1-th column, where i is an odd number; The second sub-circuit is used to control the connection or disconnection of two source lines of pixels in the i+1th column and pixels in the i+2th column.
6. The detection circuit according to claim 5, characterized in that: The first sub-circuit includes at least one first switch tube, and the second sub-circuit includes at least one second switch tube; Each of the first switching tubes is respectively connected to the first switching signal terminal, different source lines of the pixels in the i-th column and the source lines of the pixels in the i+1-th column, and is used to connect or disconnect the source lines of the pixels in the i-th column and the pixels in the i+1-th column under the control of the first switching signal terminal; Each of the second switching tubes is respectively connected to the second switching signal terminal, different source lines of the i+1th column of pixels and the source lines of the i+2th column of pixels, and is used to connect or disconnect the source lines of the i+1th column of pixels and the i+2th column of pixels under the control of the second switching signal terminal.
7. The detection circuit according to claim 1, characterized in that: The detection circuit also includes: a detection switch circuit; The detection switch circuit is connected to the comparison circuit and the source line, and the detection switch circuit is used to control the comparison circuit and the corresponding source line to be turned on or off.
8. The detection circuit according to claim 7, characterized in that: The detection switch circuit comprises: a third switch tube corresponding to each column of pixels one by one; Each of the third switch tubes is respectively connected to a third switch signal terminal, a corresponding source line of a column of pixels and the comparison circuit, and is used to connect or disconnect the corresponding source line and the comparison circuit under the control of the third switch signal terminal.
9. The detection circuit according to claim 1, characterized in that: The detection circuit also includes: a voltage switch circuit; The voltage switch circuit is connected to the reference voltage terminal and the first input terminal of the comparison circuit, and is used to control the reference voltage terminal and the first input terminal to be turned on or off.
10. The detection circuit according to claim 9, characterized in that: The voltage switch circuit comprises: at least one fourth switch tube; Each of the fourth switch tubes is connected to a fourth switch signal terminal, the reference voltage terminal and a first input terminal of a different comparison circuit, and is used to connect or disconnect the reference voltage terminal and the first input terminal under the control of the fourth switch signal terminal.
11. The detection circuit according to claim 1, characterized in that: The detection circuit also includes: a summary output circuit; The summary output circuit is connected to each of the comparison circuits, and is used to output a total line normal signal when the detection result signals of all the comparison circuits indicate that the lines are normal, and to output a total line short circuit signal when the detection result signal of any of the comparison circuits indicates that the line is short circuited.
12. The detection circuit according to claim 11, characterized in that: In the case where the detection result signal is a first level signal, indicating that the line is normal; Indicating a line short circuit when the detection result signal is a second level signal; The summary output circuit includes: a logic module; The logic module is used to output a total line normal signal when receiving the first level signal output by each of the comparison circuits, and to output a total line short circuit signal when receiving the second level signal output by any of the comparison circuits.
13. A detection method, characterized in that: Applied to the detection circuit according to any one of claims 1 to 12, wherein one working cycle of the detection circuit includes multiple detection phases, and the method includes: According to the target rule, in each detection stage, the pixel switch circuit is controlled to connect two source lines of two adjacent columns of pixels; Acquire the detection result signal output by the target comparison circuit connected to the two source lines, determine the detection results of the two source lines, and obtain the detection results of the two source lines of each two adjacent columns of pixels in one working cycle, The target rule indicates that the three source lines of three adjacent columns of pixels cannot be connected at the same time in each detection phase, and in one working cycle, the two source lines of any two adjacent columns of pixels are connected in at least one detection phase.
14. The method according to claim 13, characterized in that The pixel switch circuit comprises a first subcircuit and a second subcircuit; the pixel switch circuit is controlled to connect two source lines of two adjacent columns of pixels in each detection phase according to the target rule; Acquiring the detection result signal output by the target comparison circuit connected to the two source lines, and determining the detection results of the two source lines, comprises: In the first detection phase, the first sub-circuit is controlled to connect the two source lines of the pixels in the i-th column and the pixels in the i+1-th column, and the second sub-circuit is controlled to disconnect the two source lines of the pixels in the i+1-th column and the pixels in the i+2-th column; Acquire the detection result signal output by the target comparison circuit connected to the two source lines, determine the detection results of the two source lines of the i-th column of pixels and the i+1-th column of pixels, In the second detection phase, the first sub-circuit is controlled to disconnect the two source lines of the pixels in the i-th column and the pixels in the i+1-th column, and the second sub-circuit is controlled to connect the two source lines of the pixels in the i+1-th column and the pixels in the i+2-th column; The detection result signal output by the target comparison circuit connected to the two source lines is obtained to determine the detection results of the two source lines of the i+1th column of pixels and the i+2th column of pixels.
15. A display device, characterized in that: The display device comprises: a display panel including a plurality of columns of pixels and a detection circuit as claimed in any one of claims 1 to 12.
16. An electronic device, characterized in that: The electronic device comprises: a display panel including a plurality of columns of pixels and the detection circuit according to any one of claims 1 to 12, or the display device according to claim 15.
