Electronic metering device detection method and device, storage medium and electronic equipment
1. A detection method of an electronic metering device, wherein the electronic metering device comprises a capacitive touch screen, the method comprises the following steps:
obtaining a dead pixel of the capacitive touch screen, wherein the dead pixelThe capacitance value is calculated through a capacitance value calculation formula which is that the capacitance value does not meet the standard condition in the capacitive touch screenWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the capacitance value C does not meet the standard condition, the current capacitance point is determined to be a dead point;
and when the dead points are used as detection starting points, and the capacitance points of which the number is continuously preset in the arrangement sequence of the capacitance points are all dead points, determining that the electronic metering device is an unqualified capacitive touch screen product.
2. The method according to claim 1, wherein the dead pixel includes a first dead pixel and a second dead pixel, and correspondingly, the dead pixel of the capacitive touch screen is obtained, where the dead pixel is a capacitive point in the capacitive touch screen where a capacitance value does not meet a standard condition, and specifically includes:
when the capacitance value is smaller than the lowest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a first dead pixel;
and when the capacitance value is larger than the highest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a second dead pixel.
3. The method according to claim 2, wherein when the defective pixel is taken as a detection starting point and all the capacitance points in the preset number of the capacitance points in the arrangement sequence of the capacitance points are defective pixels, determining that the electronic metering device is an unqualified capacitive touch screen product specifically comprises:
when the detected capacitor points are first dead points or second dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or the second dead points;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a dead pixel aggregation type.
4. The method according to claim 1, wherein when the defective pixel is taken as a detection starting point and all the capacitance points in the preset number of the capacitance points in the arrangement sequence of the capacitance points are defective pixels, determining that the electronic metering device is an unqualified capacitive touch screen product specifically comprises:
when the detected capacitor points are first dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as starting points according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or not;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a broken line type.
5. The method according to claim 1, wherein when the number of the capacitor points that are continuously preset in the arrangement sequence of the capacitor points is not equal to a dead point with the dead point as a detection starting point, counting the number of the dead points with all the capacitor points as dead points on the capacitive touch screen, and calculating a dead point rate of the capacitive touch screen according to the number of the dead points and the total number of all the capacitor points;
and when the dead pixel rate is greater than a preset threshold value, determining that the electronic metering device is an unqualified capacitive touch screen product with excessive dead pixels.
6. The method according to any one of claims 1 to 5, wherein the dead pixel is a capacitive point in the capacitive touch screen whose capacitance value does not meet a standard condition, and before the dead pixel of the capacitive touch screen is obtained, the method further comprises:
acquiring an analog signal generated by the capacitance point;
converting the analog signal to a digital signal using analog to digital conversion;
and transmitting the digital signal through a universal serial bus channel, and analyzing the digital signal to generate the capacitance value.
7. The method according to claim 1, wherein the step of obtaining the bad point of the capacitive touch screen is performed after the capacitive point of the capacitive touch screen, the capacitance value of which does not meet a standard condition, and the method further comprises:
and displaying the dead pixels in special colors through a preset display rule.
8. A detection device of an electronic metering device, the electronic metering device comprising a capacitive touch screen, the device comprising:
an obtaining module, configured to obtain a dead pixel of the capacitive touch screen, where the dead pixel is a capacitive point in the capacitive touch screen where a capacitance value does not meet a standard condition, the capacitance value is calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the capacitance value C does not meet the standard condition, the current capacitance point is determined to be a dead point;
and the determining module is used for determining that the electronic metering device is an unqualified capacitive touch screen product when the defective points are used as detection starting points and the capacitance points are all defective points in the continuous preset number in the arrangement sequence of the capacitance points.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements a method of detection of an electronic metering device according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of detection of an electronic metering device according to any one of claims 1 to 7 when executing the computer program.
Background
With the development of computer technology, the usage rate of electronic metering devices is gradually increased, and the electronic metering devices are also more and more intelligent, and part of the electronic metering devices comprise a capacitive touch screen for display and touch control. And whether the product of the electronic metering device is qualified or not is directly determined by whether the capacitive touch screen is good or not. Therefore, the detection of the capacitive touch screen of the electronic metering device is particularly important.
The traditional pair is to the detection of electron metering device's electric capacity touch screen, and the mode that mostly adopts artifical the detection through artifical whether electric capacity touch screen damages, detection efficiency is low, and the error is higher.
Disclosure of Invention
The embodiment of the application provides a detection method and device of an electronic metering device, a storage medium and electronic equipment, and aims to solve the technical problems that whether a capacitive touch screen is damaged or not is detected manually in the prior art, the detection efficiency is low, and the error is high.
In a first aspect, an embodiment of the present application provides a method for detecting an electronic metering device, where the electronic metering device includes a capacitive touch screen, and the method includes:
obtaining a dead pixel of the capacitive touch screen, wherein the dead pixel refers to a capacitive point of the capacitive touch screen where a capacitance value does not meet a standard condition, the capacitance value is calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the C does not meet the standard condition, the current capacitance point is determined to be a dead point;
and when the dead points are used as detection starting points, and the capacitance points of which the number is continuously preset in the arrangement sequence of the capacitance points are all dead points, determining that the electronic metering device is an unqualified capacitive touch screen product.
Optionally, the dead pixel includes a first dead pixel and a second dead pixel, and correspondingly, the dead pixel of the capacitive touch screen is obtained, where the dead pixel refers to a capacitive point in the capacitive touch screen whose capacitance value does not meet a standard condition, and specifically includes:
when the capacitance value is smaller than the lowest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a first dead pixel;
and when the capacitance value is larger than the highest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a second dead pixel.
Optionally, when the dead pixel is used as a detection starting point, and all the capacitance points in the preset number are dead pixels in the arrangement sequence of the capacitance points, determining that the electronic metering device is an unqualified capacitive touch screen product, specifically including:
when the detected capacitor points are first dead points or second dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or the second dead points;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a dead pixel aggregation type.
Optionally, when the dead pixel is used as a detection starting point, and all the capacitance points in the preset number are dead pixels in the arrangement sequence of the capacitance points, determining that the electronic metering device is an unqualified capacitive touch screen product, specifically including:
when the detected capacitor points are first dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or not;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a broken line type.
Optionally, when the number of the capacitor points continuously preset in the arrangement sequence of the capacitor points is not equal to a preset number of the capacitor points, the number of the dead points of the capacitor points on the capacitive touch screen is counted, and a dead point rate of the capacitive touch screen is calculated according to the number of the dead points and the total number of the capacitor points;
and when the dead pixel rate is greater than a preset threshold value, determining that the electronic metering device is an unqualified capacitive touch screen product with excessive dead pixels.
Optionally, the obtaining a dead pixel of the capacitive touch screen, where the dead pixel is before a capacitive point in the capacitive touch screen where a capacitance value does not meet a standard condition, the method further includes:
acquiring an analog signal generated by the capacitance point;
converting the analog signal to a digital signal using analog to digital conversion;
and transmitting the digital signal through a universal serial bus channel, and analyzing the digital signal to generate the capacitance value.
Optionally, the method further includes, after the step of obtaining a dead pixel of the capacitive touch screen, where the dead pixel is a capacitor pixel in the capacitive touch screen whose capacitance value does not meet a standard condition, the step of:
and displaying the dead pixels in special colors through a preset display rule.
In a second aspect, an embodiment of the present application provides a detection device for an electronic metering device, where the electronic metering device includes a capacitive touch screen, and the device includes:
an obtaining module, configured to obtain a dead pixel of the capacitive touch screen, where the dead pixel is a capacitive point in the capacitive touch screen where a capacitance value does not meet a standard condition, the capacitance value is calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the C does not meet the standard condition, the current capacitance point is determined to be a dead point;
and the determining module is used for determining that the electronic metering device is an unqualified capacitive touch screen product when the defective points are used as detection starting points and the capacitance points are all defective points in the continuous preset number in the arrangement sequence of the capacitance points.
A third aspect of the embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement a detection method of an electronic metering device as described above.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the detection method of the electronic metering device as described above.
A fifth aspect of embodiments of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the method for detecting an electronic metering device provided in the first aspect of embodiments of the present application.
Compared with the prior art, the implementation mode of the invention has the following beneficial effects: firstly, dead spots of the capacitive touch screen are obtained, wherein the dead spots refer to capacitive points in the capacitive touch screen, the capacitance values of which do not meet standard conditions, the capacitance values are calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, when the C does not meet the standard condition, the current capacitance point is determined to be a dead point, and then when the dead point is taken as a detection starting point and all the capacitance points continuously preset in number in the arrangement sequence of the capacitance points are dead points, the electronic metering device is determined to be an unqualified capacitive touch screen product. And finding the defective point with the abnormal capacitance value by acquiring the capacitive touch screen, and continuously detecting other capacitive points arranged in the sequence by taking the detected first defective point as a base point to determine whether the electronic metering device is a qualified product. Whether the capacitive touch screen is damaged or not is detected manually, the detection efficiency is low, the error is high, and therefore the technical effects that the detection efficiency is improved, the metering precision of the electronic metering device is improved and the like can be achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a schematic process flow diagram of a first implementation of a detection method of an electronic metering device according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of a second implementation process of a detection method of an electronic metering device according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a detection device of an electronic metering device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the order of writing each step in this embodiment does not mean the order of execution, and the order of execution of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of this embodiment.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical means described in the present application, the following description will be given by way of specific embodiments.
Referring to fig. 1, which is a flowchart illustrating a first implementation procedure of a detection method for providing an electronic metering device according to an embodiment of the present application, for convenience of description, only a portion related to the embodiment of the present application is shown.
First, one or more embodiments of the present specification provide a method for detecting an electronic metering device, where the electronic metering device includes a capacitive touch screen, the method includes:
s101, obtaining dead points of the capacitive touch screen, wherein the dead points refer to capacitive points in the capacitive touch screen, the capacitance values of which do not meet standard conditions, the capacitance values are calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the C does not meet the standard condition, the current capacitance point is determined to be a dead point.
In this embodiment, the electronic metering device first obtains a capacitance value of a capacitance point in the capacitive touch screen, and then determines whether the capacitance value of the capacitance point meets a preset standard condition, and if not, determines that the capacitive touch screen is a defective pixel. It should be noted that the capacitive touch screen is formed by orderly arranging a plurality of capacitors, a position where each capacitor is located is called a capacitor point, and a capacitance value is obtained by measuring the capacitor point. The capacitance value can be obtained by measuring the capacitance value of each capacitance point through a professional measuring instrument and then directly receiving the value fed back by the measuring instrument; the analog signal conducted by the capacitance point can also be directly acquired and then converted into a corresponding numerical value through analog-to-digital conversion, wherein the numerical value directly corresponds to the analog signal, the concept of the capacitance value is not necessarily the same as the concept of the capacitance value accepted on the market, and the capacitance value is not necessarily applicable to the capacitance international unit farad and the like.
In some possible embodiments, the capacitive touch screen includes a driving end and a receiving end, the driving end and the receiving end may be disposed at any position of the capacitive touch screen, the driving end and the receiving end may not be located at opposite sides, the driving end includes a driving line, the receiving end includes a receiving line, and each intersection point of the driving line and the receiving line is a capacitive point. It is assumed that the number of driving lines at the driving end is N, and the number of receiving lines at the receiving end is M, so that the number of formed capacitance points is N × M. All capacitance points in the horizontal direction or the vertical direction in the same direction are called capacitance points on a horizontal line or a vertical line, wherein M capacitance points are arranged on one driving line, and N capacitance points are arranged on one receiving line. The current flows through the capacitance point through the driving line to the receiving line and finally to the receiving end. And finally obtaining the capacitance value of each capacitance point by acquiring the signal of the receiving end.
In some other possible embodiments, the standard condition is that the capacitance value is greater than a predetermined maximum capacitance threshold value and/or less than the predetermined minimum capacitance threshold value. In other words, the dead pixel refers to a capacitive point that cannot work normally or the working sensitivity and accuracy cannot meet the requirements in the capacitive touch screen. The formed dead pixel can be a low-capacitance dead pixel generated by too low capacitance value of the capacitance point, so that the capacitance point cannot work normally; the high capacitance defect generated by the over-high capacitance of the capacitance point may cause the sensitivity of the capacitance point to be abnormal, and the touch of the user may not be accurately reflected or the color change of the screen may not be accurately responded. In addition, the detected capacitance point is the capacitance point currently being detected.
Therefore, the preset condition that the capacitance value needs to satisfy may be only when the capacitance value is lower than a preset threshold value; it is also possible that only when the capacitance value is higher than a preset threshold value; it is also possible to detect the case of too low or too high a capacitance value at the same time. Meanwhile, as can be seen from the previous step, the expression form of the capacitance value may be international farad unit expression or the like, or may be a digital signal reflecting only an analog signal of the capacitance point. The value of the predetermined condition also corresponds to the representation of the capacitance value.
In a specific application scenario, it is checked whether the capacitance value is smaller than an allowed lowest threshold (this lowest threshold is an empirical value, taken as 50% of the average of all signals from a plurality of sample capacitive screens). If the capacitance signal is below the threshold, the point is determined to be a bad point. At the same time, it is checked whether the capacitance value is greater than the highest allowed threshold (this highest threshold is an empirical value 250, while the theoretical value of the signal value ranges from 0 to 255). If the capacitance value signal is higher than the threshold value, the point is determined to be a dead point.
In some possibly implemented embodiments, the dead pixel includes a first dead pixel and a second dead pixel, and correspondingly, the dead pixel of the capacitive touch screen is obtained, where the dead pixel refers to a capacitive point in the capacitive touch screen whose capacitance value does not meet a standard condition, and specifically includes:
when the capacitance value is smaller than the lowest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a first dead pixel;
and when the capacitance value is larger than the highest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a second dead pixel.
S102: and when the dead points are used as detection starting points, and the capacitance points of which the number is continuously preset in the arrangement sequence of the capacitance points are all dead points, determining that the electronic metering device is an unqualified capacitive touch screen product.
In this embodiment, when the electronic metering device obtains a dead pixel of the capacitive touch screen, it determines that the dead pixel is a base point, that is, a detected starting point, and determines whether a next capacitive point is a dead pixel according to the array sequence of the capacitive points, and if a preset number of the capacitive points are dead pixels, it determines that the capacitive touch screen is unqualified, and the electronic metering device is an unqualified product.
It should be noted that the arrangement sequence means that in the process of the capacitive touch screen component, the connection of each capacitor is arranged and connected according to the sequence of each line, a plurality of capacitor points are arranged on each driving line or each receiving line of the capacitive screen in sequence, each line is arranged in sequence from the capacitor point closest to the driving end or the receiving end, and the capacitor point farthest from the driving end or the receiving end on each line is the end capacitor point. Furthermore, it can be understood that, since each capacitance point is located on one driving line and one receiving line, and the detected capacitance point is taken as a starting point according to the arrangement sequence, the capacitance points can actually extend in four directions, for example, on the driving line, the detection is performed in the direction away from the driving end along the communication sequence, or the detection is performed in the direction close to the driving end against the communication sequence, and the same is true on the receiving line.
Because the number of the capacitors in the capacitive touch screen is too many, the situation of a problematic capacitor in the capacitor is caused, and the situation of a single capacitor defective pixel is caused in many ways, so that if a defective pixel is caused, the problem that the whole capacitive touch screen has a non-negligible problem is not realistic, and meanwhile, the production efficiency caused by the detection mode is very low and the cost is very high. Furthermore, whether a plurality of continuous points are dead spots or not is detected through the step, and the capacitive screen with non-negligible problems such as broken lines, large-area dead spots and the like is further detected.
Referring to fig. 2, in some possible embodiments, when the number of the capacitor points that are continuously preset in the arrangement sequence of the capacitor points is all dead points with the dead point as a detection starting point, determining that the electronic metering device is an unqualified product of the capacitive touch screen specifically includes:
s201: when the detected capacitor points are first dead points or second dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or the second dead points;
s202: and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a dead pixel aggregation type.
When the dead pixel is detected, the dead pixel is used as a base point, dead pixel detection is performed in four directions, that is, four directions in which the driving line and the receiving line are located, whether a preset number of first dead pixels or second dead pixels exist is detected, if yes, it is determined that all the dead pixels exist in the area, that is, the capacitive touch screen is damaged in a large area, and the capacitive touch screen is determined to be a dead pixel aggregation type capacitive touch screen, and the electronic metering device is an unqualified product of the dead pixel aggregation type capacitive touch screen.
In some possibly implemented embodiments, when the capacitor points are all dead points in a preset number of consecutive capacitor points in the arrangement order of the capacitor points with the dead point as a detection starting point, determining that the electronic metering device is an unqualified product of the capacitive touch screen specifically includes:
when the detected capacitor points are first dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or not;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a broken line type.
When the dead pixel is detected, the dead pixel is used as a base point, the arrangement sequence of the capacitance points is detected, whether a continuous number of first dead pixels exist is detected, if yes, the arrangement sequence direction of the dead pixel is determined, the driving line or the receiving line is all dead pixels, namely the line is in a broken line state, the capacitance touch screen is determined to be a broken line type capacitance touch screen, and then the electronic metering device is determined to be an unqualified broken line type capacitance touch screen product.
In some other embodiments that may be implemented, when the number of the capacitor points that are continuously preset in the arrangement order of the capacitor points is not all dead points, taking the dead point as a detection starting point, counting the number of the dead points that are all dead points of the capacitor touch screen, and calculating a dead point rate of the capacitor touch screen according to the number of the dead points and the total number of the capacitor points;
and when the dead pixel rate is greater than a preset threshold value, determining that the electronic metering device is an unqualified capacitive touch screen product with excessive dead pixels.
When the electronic metering device detects the dead pixels, counting all the dead pixels in the capacitive touch screen, and calculating the dead pixel rate of the capacitive touch screen according to the ratio of the total number of the dead pixels to the total number of the capacitive points. And when the defective pixel rate is larger than a preset threshold value, determining that the capacitive touch screen is a capacitive touch screen with excessive defective pixels, and determining that the electronic metering device is an unqualified capacitive touch screen with excessive defective pixels.
In some possibly implemented embodiments, the obtaining a dead pixel of the capacitive touch screen, where the dead pixel is before a capacitance point of the capacitive touch screen whose capacitance value does not meet a standard condition, further includes:
acquiring an analog signal generated by the capacitance point;
converting the analog signal to a digital signal using analog to digital conversion;
and transmitting the digital signal through a universal serial bus channel, and analyzing the digital signal to generate the capacitance value.
In some other possibly implemented embodiments, the method further includes, after obtaining a dead pixel of the capacitive touch screen, where the dead pixel is a capacitive point in the capacitive touch screen whose capacitance value does not meet a standard condition, the method further includes:
and displaying the dead pixels in special colors through a preset display rule.
The judged passing capacitor point is the normal capacitor point, the passing capacitor point can be displayed by colors such as green and the like during display, the passing capacitor point is detected as a dead pixel and is displayed by colors such as red and the like, the special color is the color which is obviously different from the color used by the normal capacitor point, and the colors of the passing capacitor point and the dead pixel are convenient to distinguish.
Compared with the prior art, the implementation mode of the invention has the following beneficial effects: firstly, dead spots of the capacitive touch screen are obtained, wherein the dead spots refer to capacitive points in the capacitive touch screen, the capacitance values of which do not meet standard conditions, the capacitance values are calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, when the C does not meet the standard condition, the current capacitance point is determined to be a dead point, and then when the dead point is taken as a detection starting point and all the capacitance points continuously preset in number in the arrangement sequence of the capacitance points are dead points, the electronic metering device is determined to be an unqualified capacitive touch screen product. And finding the defective point with the abnormal capacitance value by acquiring the capacitive touch screen, and continuously detecting other capacitive points arranged in the sequence by taking the detected first defective point as a base point to determine whether the electronic metering device is a qualified product. Whether the capacitive touch screen is damaged or not is detected manually, the detection efficiency is low, the error is high, and therefore the technical effects that the detection efficiency is improved, the metering precision of the electronic metering device is improved and the like can be achieved.
Corresponding to the detection device of an electronic metering device in the above embodiment of the detection method of an electronic metering device, fig. 3 shows a block diagram of a detection device of an electronic metering device provided in an embodiment of the present application, and for convenience of description, only the relevant parts of the embodiment of the present application are shown.
Referring to fig. 3, a detection apparatus 300 of an electronic metering device, the electronic metering device including a capacitive touch screen, the apparatus 300 comprising:
an obtaining module 301, configured to obtain a dead point of the capacitive touch screen, where the dead point is a capacitive point in the capacitive touch screen where a capacitance value does not meet a standard condition, the capacitance value is calculated through a capacitance value calculation formula, and the capacitance value calculation formula isWherein, in the step (A),in order to have a dielectric constant in a vacuum,is the dielectric constant of the edge dielectric layer; s is the area of the part opposite to the electrode plate; d is the thickness of the insulating medium layer, and when the C does not meet the standard condition, the current capacitance point is determined to be a dead point;
a determining module 302, configured to determine that the electronic metering device is an unqualified capacitive touch screen product when the number of the capacitance points continuously preset in the arrangement sequence of the capacitance points is all dead points, with the dead point as a detection starting point.
Optionally, the dead pixel includes a first dead pixel and a second dead pixel, and correspondingly, the dead pixel of the capacitive touch screen is obtained, where the dead pixel refers to a capacitive point in the capacitive touch screen whose capacitance value does not meet a standard condition, and specifically includes:
when the capacitance value is smaller than the lowest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a first dead pixel;
and when the capacitance value is larger than the highest threshold value, determining that the detected capacitance point corresponding to the capacitance value is a second dead pixel.
Optionally, the determining module 302 is specifically configured to:
when the detected capacitor points are first dead points or second dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or the second dead points;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a dead pixel aggregation type.
Optionally, the determining module 302 is specifically configured to:
when the detected capacitor points are first dead points, judging whether the detected capacitor points are detected in the initial direction of the arrangement sequence by taking the detected capacitor points as a starting point according to the arrangement sequence of the capacitor points, and judging whether the preset number of the capacitor points are the first dead points or not;
and if so, determining that the electronic metering device is an unqualified capacitive touch screen product of a broken line type.
Optionally, when the number of the capacitor points continuously preset in the arrangement sequence of the capacitor points is not equal to a preset number of the capacitor points, counting the number of the dead points of the capacitor points on the capacitive touch screen, and calculating the dead point rate of the capacitive touch screen according to the number of the dead points and the total number of the capacitor points;
and when the dead pixel rate is greater than a preset threshold value, determining that the electronic metering device is an unqualified capacitive touch screen product with excessive dead pixels.
Optionally, the apparatus 300 further comprises:
acquiring an analog signal generated by the capacitance point;
converting the analog signal to a digital signal using analog to digital conversion;
and transmitting the digital signal through a universal serial bus channel, and analyzing the digital signal to generate the capacitance value.
Optionally, the apparatus 300 further comprises:
and displaying the dead pixels in special colors through a preset display rule.
It should be noted that, for the information interaction, execution process, and other contents between the above devices/modules, the specific functions and technical effects of the embodiment of the detection method for an electronic metering device in the present application are based on the same concept, and specific reference may be made to the section of the embodiment of the detection method for an electronic metering device, which is not described herein again.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the foregoing function distribution may be performed by different functional modules according to needs, that is, the internal structure of the detection method of the electronic metering device is divided into different functional modules to perform all or part of the above-described functions. Each functional module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the application. The specific working process of each functional module in the above description may refer to the corresponding process in the foregoing detection method embodiment of the electronic metering device, and is not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device 400 according to a third embodiment of the present application. As shown in fig. 4, the electronic device 400 includes: a processor 402, a memory 401, and a computer program 403 stored in the memory 401 and executable on the processor 402. The number of the processors 402 is at least one, and fig. 4 takes one as an example. The processor 402 executes the computer program 403 to implement the steps of the detection method of the electronic metering device, i.e. the steps shown in fig. 1 or fig. 2.
The specific implementation process of the electronic device 400 can be referred to the above detection method embodiment of the electronic metering device.
Illustratively, the computer program 403 may be partitioned into one or more modules/units that are stored in the memory 401 and executed by the processor 402 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 403 in the terminal device 400.
The electronic device 400 may be a desktop computer, a notebook, a palm computer, a main control device, or other computing devices, or may be a camera, a mobile phone, or other devices having an image acquisition function and a data processing function, or may be a touch display device. The electronic device 400 may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that fig. 4 is merely an example of an electronic device 400 and does not constitute a limitation of electronic device 400 and may include more or fewer components than shown, or combine certain components, or different components, e.g., electronic device 400 may also include input-output devices, network access devices, buses, etc.
The Processor 402 may be a CPU (Central Processing Unit), other general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 401 may be an internal storage unit of the electronic device 400, such as a hard disk or a memory. The memory 401 may also be an external storage device of the terminal device 400, such as a plug-in hard disk, SMC (Smart Media Card), SD (Secure Digital Card), Flash Card, or the like provided on the electronic device 400. Further, the memory 401 may also include both an internal storage unit and an external storage device of the electronic device 400. The memory 401 is used for storing an operating system, application programs, a boot loader, data, and other programs, such as program codes of the computer program 403. The memory 401 may also be used to temporarily store data that has been output or is to be output.
The present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program can implement the steps in the above embodiment of the detection method for an electronic metering device.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the embodiment of the detection method for an electronic metering device described above may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiment of the detection method for an electronic metering device described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, ROM (Read-Only Memory), RAM (Random Access Memory), electrical carrier wave signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种交流充电桩批量检定装置及其方法