Measuring device, gap measuring method, surface difference measuring method, and storage medium

文档序号:806341 发布日期:2021-03-26 浏览:21次 中文

阅读说明:本技术 测量装置、间隙测量方法、面差测量方法以及存储介质 (Measuring device, gap measuring method, surface difference measuring method, and storage medium ) 是由 张秀程 江凯 孙玉梅 顾冉 王玉田 于 2020-12-09 设计创作,主要内容包括:本发明公开一种测量装置、间隙测量方法、面差测量方法以及存储介质,其中测量装置包括绝缘本体和两个触碰感应边,绝缘本体为刚性结构,两个触碰感应边分设于绝缘本体的相对两侧,且两个触碰感应边呈夹角设置。本发明中,将测量装置插入待测量间隙或面差内,根据触碰感应边反馈的测量信息,进行进一步计算直接获取待测量间隙尺寸或待测量面差尺寸,而不用工作人员根据经验去进行判断;并且,进行间隙或面差测量时,工作人员只需进行插入测量装置和读取数值,简化工作人员的工作难度,提高测量效率;避免工作人员操作不规范对测量结果造成影响,容错率高,提高测量结果的准确度;并且进行测量时不用在指定环境下进行测量,拓展测量装置的适用范围。(The invention discloses a measuring device, a gap measuring method, a surface difference measuring method and a storage medium, wherein the measuring device comprises an insulating body and two touch sensing edges, the insulating body is of a rigid structure, the two touch sensing edges are respectively arranged on two opposite sides of the insulating body, and the two touch sensing edges are arranged at an included angle. According to the invention, a measuring device is inserted into the gap or surface difference to be measured, and further calculation is carried out according to the measurement information fed back by the touch sensing edge to directly obtain the size of the gap or surface difference to be measured without judgment by workers according to experience; in addition, when the gap or the surface difference is measured, workers only need to insert the measuring device and read the numerical value, the working difficulty of the workers is simplified, and the measuring efficiency is improved; the influence on the measurement result caused by the non-standard operation of workers is avoided, the fault tolerance rate is high, and the accuracy of the measurement result is improved; and the measurement is carried out without the need of carrying out measurement in a specified environment, so that the application range of the measuring device is expanded.)

1. The utility model provides a measuring device, its characterized in that, measuring device includes insulator and two touching response limits, insulator is the rigid structure, two touching response limit branch is located insulator's relative both sides, and two touching response limit is the contained angle setting.

2. The measuring device of claim 1, wherein the touch sensing edge comprises a first resistor, an insulating isolation layer, a second resistor and a scratch-resistant plastic layer which are sequentially arranged from the insulating body to the outside, and the insulating isolation layer comprises a plurality of insulating isolation particles.

3. The measurement device of claim 2, further comprising a calibration connection including a conductive circuit connected between the first and second resistors and a control switch disposed on the conductive circuit.

4. The measurement device of claim 2, further comprising a display screen disposed on the insulator body, the display screen for displaying test data.

5. A gap measuring method applied to the measuring apparatus according to any one of claims 1 to 4, comprising the steps of:

acquiring voltage information between a contact point fed back by two touch sensing edges and a preset starting point in real time;

calculating the spacing distance between the contact point on each touch induction edge and the preset starting point corresponding to the touch induction edge according to the voltage information;

and generating the gap size according to the spacing distance corresponding to each contact and the preset size parameter.

6. The gap measuring method according to claim 5, wherein the step of generating the gap size according to the separation distance corresponding to each contact point and a preset size parameter comprises:

substituting the spacing distance corresponding to each contact point and a preset size parameter into a first preset formula to calculate and obtain the size of the gap;

the first preset formula is as follows: α ═ pi- β)/2;

where | PQ | is the gap size, XAFor the spacing distance between the preset starting points of the two touch induction edgesFrom, LRIs the distance between the contact point on a touch induction edge and the preset starting point corresponding to the touch induction edge, LBThe distance between the contact point on the other touch sensing edge and the preset starting point corresponding to the touch sensing edge is beta, which is the included angle between the two touch sensing edges.

7. The method according to claim 6, wherein the step of calculating the distance between the contact point on each touch sensing edge and the predetermined starting point corresponding to the touch sensing edge according to the voltage information comprises:

judging whether the number of the contact points on each touch induction side is multiple or not according to the voltage information;

if the number of the contact points on the touch sensing edge is multiple, calculating to obtain the length of a multiple contact point interval according to the voltage information between the contact points fed back by the touch sensing edge and a preset starting point, a preset voltage parameter and a preset first resistance length;

substituting the length of the multi-contact interval into a second preset formula to calculate to obtain a first distance, wherein the first distance is the distance between one contact closest to the starting point in the plurality of contact points and the starting point;

the second preset formula is as follows:

wherein L isgIs a first distance, L0Is the length of the first resistor, X0For the length of the multi-contact zone, VSVoltage information between the contact point fed back for touching the sensing edge and a predetermined starting point, VCCFor input voltage, VMIs the voltage across the first resistor.

8. A surface difference measuring method applied to the measuring apparatus according to any one of claims 1 to 4, comprising the steps of:

acquiring the number of contact points on two touch induction sides in real time;

judging whether the two touch induction edges have a plurality of contact points on one touch induction edge;

if so, acquiring voltage information between the contact point fed back by the other touch sensing edge and a preset starting point;

and calculating to obtain a first distance according to the voltage information, wherein the first distance is the distance between the contact point on the single touch induction edge and a preset starting point.

And generating the surface difference size according to the first distance and the preset size parameter.

9. The surface difference measuring method according to claim 9, wherein the step of generating the surface difference size from the first distance and a preset size parameter comprises:

substituting the first distance and the preset size parameter into a third preset formula to calculate and obtain the surface difference size, wherein the third preset formula is as follows: α ═ p- β)/2

Wherein Δ H is the area difference size, XAFor the distance between the preset starting points of the two touch sensing edges, L0Is the length of the first resistor, LBThe first distance is beta, which is an included angle between the two touch sensing edges.

10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the gap measurement method according to one of the claims 5 to 7 and/or the steps of the surface difference measurement method according to claim 8 or 9.

Technical Field

The present invention relates to the field of error detection, and in particular, to a measuring apparatus, a gap measuring method, a surface difference measuring method, and a storage medium.

Background

The detection of the clearance surface difference of the product is an essential link from design to production of various products. The requirements for high efficiency, portability, ease of operation and high tolerance of clearance surface difference measuring devices are also increasing. The products on the market at present have one or more of the disadvantages of low efficiency, large error, large limitation of use places and the like to different degrees.

Therefore, it is necessary to provide a new measuring device, a gap measuring method, a surface difference measuring method, and a storage medium to solve the above-mentioned technical problems.

Disclosure of Invention

The invention mainly aims to provide a measuring device, a gap measuring method, a surface difference measuring method and a storage medium, and aims to solve the problems of low measuring efficiency, large error and large limitation of use places of the existing gap and surface difference measuring device.

In order to achieve the purpose, the measuring device provided by the invention comprises an insulating body and two touch sensing edges, wherein the insulating body is of a rigid structure, the two touch sensing edges are respectively arranged on two opposite sides of the insulating body, and the two touch sensing edges are arranged at an included angle.

Preferably, touch response limit includes certainly first resistance, insulating isolation layer, second resistance and the scratch-resistant plastic layer that sets gradually outwards are outwards included in the insulator, insulating isolation layer includes a plurality of insulating isolation grain.

Preferably, the measuring device further comprises a calibration connector, wherein the calibration connector comprises a conductive circuit connected between the first resistor and the second resistor and a control switch arranged on the conductive circuit.

Preferably, the measuring device further comprises a display screen arranged on the insulating body, and the display screen is used for displaying test data.

In order to achieve the above object, the present invention also provides a gap measuring method applied to the measuring apparatus as described above, the gap measuring method including the steps of:

acquiring voltage information between a contact point fed back by two touch sensing edges and a preset starting point in real time;

calculating the spacing distance between the contact point on each touch induction edge and the preset starting point corresponding to the touch induction edge according to the voltage information;

and generating the gap size according to the spacing distance corresponding to each contact and the preset size parameter.

In an embodiment, the step of generating the gap size according to the separation distance corresponding to each contact point and a preset size parameter includes:

substituting the spacing distance corresponding to each contact point and a preset size parameter into a first preset formula to calculate and obtain the size of the gap;

the first preset formula is as follows: α ═ pi- β)/2;

where | PQ | is the gap size, XAFor the distance between the preset starting points of the two touch sensing edges, LRIs the distance between the contact point on a touch induction edge and the preset starting point corresponding to the touch induction edge, LBThe distance between the contact point on the other touch sensing edge and the preset starting point corresponding to the touch sensing edge is beta, which is the included angle between the two touch sensing edges.

In an embodiment, the step of calculating a distance between a contact point on each touch sensing edge and a preset starting point corresponding to the touch sensing edge according to the voltage information includes:

judging whether the number of the contact points on each touch induction side is multiple or not according to the voltage information;

if the number of the contact points on the touch sensing edge is multiple, calculating to obtain the length of a multiple contact point interval according to the voltage information between the contact points fed back by the touch sensing edge and a preset starting point, a preset voltage parameter and a preset first resistance length;

substituting the length of the multi-contact interval into a second preset formula to calculate to obtain a first distance, wherein the first distance is the distance between one contact closest to the starting point in the plurality of contact points and the starting point;

the second preset formula is as follows:

wherein L isgIs a first distance, L0Is the length of the first resistor, X0For the length of the multi-contact zone, VSVoltage information between the contact point fed back for touching the sensing edge and a predetermined starting point, VCCFor input voltage, VMIs the voltage across the first resistor.

In order to achieve the above object, the present invention also provides a surface difference measuring method applied to the measuring apparatus as described above, including the steps of:

acquiring the number of contact points on two touch induction sides in real time;

judging whether the two touch induction edges have a plurality of contact points on one touch induction edge;

if so, acquiring voltage information between the contact point fed back by the other touch sensing edge and a preset starting point;

and calculating to obtain a first distance according to the voltage information, wherein the first distance is the distance between the contact point on the single touch induction edge and a preset starting point.

And generating the surface difference size according to the first distance and the preset size parameter.

In an embodiment, the step of generating the surface difference size according to the first distance and the preset size parameter includes:

substituting the first distance and the preset size parameter into a third preset formula to calculate and obtain the surface difference size, wherein the third preset formula is as follows: α ═ p- β)/2

Wherein Δ H is the area difference size, XAFor the distance between the preset starting points of the two touch sensing edges, L0Is the length of the first resistor, LBThe first distance is beta, which is an included angle between the two touch sensing edges.

Furthermore, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the gap measurement method as described above, and/or the steps of the surface difference measurement method as described above.

According to the technical scheme, the measuring device is inserted into the gap or surface difference to be measured, the processor is used for further calculating according to the measurement information fed back by the touch sensing edge to directly obtain the size of the gap or surface difference to be measured, and a worker does not need to judge according to experience; in addition, when the gap or the surface difference is measured, workers only need to insert the measuring device and read the numerical value, the working difficulty of the workers is simplified, and the measuring efficiency is improved; the influence on the measurement result caused by the non-standard operation of workers is avoided, the fault tolerance rate is high, and the accuracy of the measurement result is improved; and the measurement is carried out without the need of carrying out measurement in a specified environment, so that the application range of the measuring device is expanded.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.

FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;

FIG. 2 is a schematic structural diagram of a measuring device according to the present invention;

FIG. 3 is a schematic diagram illustrating a structure of a touch sensing edge according to the present invention;

FIG. 4 is a schematic view of the measurement principle of the measuring device of the present invention;

FIG. 5 is a schematic flow chart of a gap measurement method according to a first embodiment of the present invention;

FIG. 6 is a schematic flow chart of a gap measurement method according to a second embodiment of the present invention;

fig. 7 is a flowchart illustrating a surface difference measuring method according to a first embodiment of the present invention.

The reference numbers illustrate:

reference numerals Name (R) Reference numerals Name (R)
100 Measuring device 21 A first resistor
01 Communication module 22 Second resistance
02 Memory device 23 Scratch-resistant plastic layer
03 Processor with a memory having a plurality of memory cells 24 Insulating spacer
10 Insulating body 30 Display screen
20 Touch sensing edge

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a measurement apparatus provided in each embodiment of the present invention. The device comprises a communication module 01, a memory 02, a processor 03 and the like. Those skilled in the art will appreciate that the terminal shown in fig. 1 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components. The processor 03 is connected to the memory 02 and the communication module 01, respectively, and the memory 02 stores a computer program, which is executed by the processor 03 at the same time.

The communication module 01 may be connected to an external device through a network. The communication module 01 may receive data sent by an external device, and may also send data, instructions, and information to the external device, where the external device may be an electronic device such as a mobile phone, a tablet computer, a notebook computer, and a desktop computer.

The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data or information created according to the use of the terminal, or the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The processor 03, which is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02, thereby integrally monitoring the terminal. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03.

As shown in fig. 2 to 4, in an embodiment of the invention, the measuring device includes an insulating body 10 and two touch sensing edges 20, the insulating body 10 is a rigid structure, the two touch sensing edges 20 are respectively disposed on two opposite sides of the insulating body 10, and the two touch sensing edges 20 are disposed at an included angle. In the technical scheme, the measuring device is inserted into the gap or surface difference to be measured, and further calculation is carried out by the processor according to the electric signal information fed back by the touch sensing edge 20 to obtain the size of the gap or surface difference to be measured without the judgment of workers according to experience; in addition, when the gap or the surface difference is measured, workers only need to insert the measuring device and read the numerical value, the working difficulty of the workers is simplified, and the measuring efficiency is improved; the influence on the measurement result caused by the non-standard operation of workers is avoided, the fault tolerance rate is high, and the accuracy of the measurement result is improved; and the measurement is carried out without the need of carrying out measurement in a specified environment, so that the application range of the measuring device is expanded.

The measuring device further comprises a display screen 30 arranged on the insulating body 10, and the display screen 30 is used for displaying test data. Display screen 30 is connected with treater 03, and the last display value that is used for showing measured data that sets up of measuring device makes things convenient for the staff to read to display screen 30 can also show current measurement mode, for example be clearance measurement mode or face poor measurement mode, avoids the staff maloperation to cause the influence to measuring result.

In one embodiment, the touch sensing edge 20 includes a first resistor 21, an insulating isolation layer, a second resistor 22 and a scratch-resistant plastic layer 23, which are sequentially disposed from the insulating body 10, wherein the insulating isolation layer includes a plurality of insulating isolation particles 24. When the measuring device is used for measuring, two touch sensing edges 20 of the measuring device are in contact with two sides of a gap or a surface difference to form sensing contact points, the positions of the anti-scraping plastic layer 23 and the second resistor 22 of the measuring device, which correspond to the sensing contact points, are extruded, so that the second resistor 22 is in contact with the first resistor 21 from the gap between two adjacent insulating isolation particles 24 to conduct a test loop, and the processor processes related electric signals on the test loop to obtain the size of the gap to be measured or the size of the surface difference to be measured. The measuring device in the embodiment obtains the gap size to be measured or the surface difference size to be measured by performing analog-to-digital conversion and related operation on the electric signal on the test circuit, so that the gap measurement and the surface difference measurement are standardized, the influence of the operation of workers on the measurement result is completely eliminated, and the accuracy of the measurement result is further improved. In order to calculate the distance between the contact point and the preset starting point conveniently, various design parameters of the first resistor and the second resistor are consistent, specifically, the design parameters such as the length and the resistance value of the first resistor and the second resistor are consistent.

In an embodiment, the measuring device further comprises a calibration connection comprising a conductive circuit connected between the first resistor 21 and the second resistor 22 and a control switch arranged on the conductive circuit. In the actual use process, before each measurement, calibration operation is required, the first resistor 21 and the second resistor 22 are conducted through the control switch, and relevant parameters are adjusted until the error on the display screen 30 is 0, so that the influence on the measurement result due to long-term error accumulation or power supply voltage change is avoided.

Although not shown in fig. 1, the measuring device may further include a circuit module, and the power module is used for ensuring the normal operation of other components. Those skilled in the art will appreciate that the measuring device configuration shown in FIG. 5 does not constitute a limitation of the measuring device, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.

Various embodiments of the method of the present invention are presented in terms of the above-described hardware architecture.

Referring to fig. 1 and 5, in a first embodiment of the gap measuring method of the present invention, the gap measuring method includes the steps of:

step S10, acquiring voltage information between the contact point fed back by the two touch sensing edges and a preset starting point in real time;

when a certain position on the touch induction edge is extruded by the edge of the gap to be detected, the pressure generated by touch can enable the detection circuit arranged in the two touch induction edges to be switched on, the contact point is the circuit switching-on position on the touch induction edge, the preset starting point is a preset position arranged on the touch induction edge, and the touch induction edge feeds back and outputs a voltage signal corresponding to the distance from the contact point to the preset starting point to the processor.

In an embodiment, the touch sensing edge includes a first resistor, an insulating isolation layer, a second resistor and a scratch-resistant plastic layer, which are sequentially disposed from the insulating body to the outside, and the insulating isolation layer includes a plurality of insulating isolation particles. When a certain position on the touch induction edge is extruded by the edge of the gap to be detected, the first resistor under the pressure generated by touch is in contact conduction with the second resistor from between two adjacent insulating isolation particles, and the contact point is the contact conduction position of the first resistor and the second resistor on the touch induction edge.

Step S20, calculating the distance between the contact point on each touch induction edge and the preset starting point corresponding to the touch induction edge according to the voltage information;

step S30, generating a gap size according to the spacing distance corresponding to each contact and the preset size parameter.

The preset size parameters may include an included angle between two touch sensing edges, a distance between a preset starting point on one touch sensing edge and a preset starting point on the other touch sensing edge, and the like.

In this embodiment, when the measuring device performs gap measurement, two touch sensing edges of the measuring device are in contact with two side edges of the gap, the measuring device is squeezed, the first resistor is in contact with the second resistor to form a contact point, and the test circuit is turned on. The measuring device in the embodiment obtains the gap size to be measured or the surface difference size to be measured by performing analog-to-digital conversion and related operation on the electric signal on the test circuit, so that the gap measurement and the surface difference measurement are standardized, the influence of the operation of workers on the measurement result is completely eliminated, and the accuracy of the measurement result is further improved.

Specifically, the step S30 includes:

substituting the spacing distance corresponding to each contact point and a preset size parameter into a first preset formula to calculate and obtain the size of the gap;

the first preset formula is as follows: α ═ pi- β)/2;

where | PQ | is the gap size, XAFor the distance between the preset starting points of the two touch sensing edges, LRIs the distance between the contact point on a touch induction edge and the preset starting point corresponding to the touch induction edge, LBThe distance between the contact point on the other touch sensing edge and the preset starting point corresponding to the touch sensing edge is beta, which is the included angle between the two touch sensing edges.

In this embodiment, the included angle between the two touch sensing edges and the distance between the preset starting points of the two touch sensing edges are design parameters of the testing device, the distance between the contact point on each touch sensing edge and the preset starting point corresponding to the touch sensing edge is obtained according to a voltage signal fed back by the touch sensing edge, the distance between the contact point on one touch sensing edge and the contact point on the other touch sensing edge is obtained through calculation, the distance between the two contact points is the gap size to be measured, and therefore the gap size is obtained through calculation of a formula and input parameters instead of being judged by a worker according to experience, and the accuracy of a measurement result is improved.

The step S20 includes:

calculating to obtain coordinate information of the contact point on each touch induction edge according to the voltage information;

for convenience of calculation, in this embodiment, a midpoint of a connection line between the preset starting points on the two touch sensing edges is used as an origin, a direction in which the origin points to any one of the preset starting points is used as a horizontal axis, a direction perpendicular to the horizontal axis is used as a vertical axis to establish a rectangular coordinate system, and coordinate information of the touch contacts on the touch sensing edges is coordinate information of the touch contact positions in the rectangular coordinate system. Of course, other reference systems can be set by those skilled in the art as required, and the relative positions of the contact shock and the preset starting point only need to be shown through the reference system.

And calculating according to the coordinate information of the contact point relative to the original point and preset coordinate information to obtain the spacing distance between the contact point on each touch induction edge and the preset starting point corresponding to the touch induction edge.

In this embodiment, a corresponding table of the voltage signal and the coordinate information of the contact point may be prestored, the touch sensing edge feeds back the corresponding voltage signal, and the table is looked up to obtain the coordinate information of each contact point position.

Then, calculating according to the coordinate information of each touch contact position, the included angle between the two touch sensing edges and the interval distance between the preset starting points of the two touch sensing edges to obtain the touch contact on each touch sensing edge and the preset starting point on the touch sensing edgeThe distance between the two touch points can also be directly obtained by the coordinate information of the positions of the two touch points and substituted into a distance formulaThe distance between the two contact points is calculated. Wherein (X)Q,YQ) Is the coordinate of one of the contact points, (X)P,YP) Is the coordinates of another contact point.

Referring to fig. 6, in another embodiment, the step S20 includes:

step S21, judging whether the number of the contact points on each touch induction side is multiple according to the voltage information;

when a touch sensing edge is attached to one side of the gap to be measured, a plurality of contact points for contacting and conducting the test circuit may exist between the first resistor and the second resistor.

Step S22, if the number of the contact points on the touch sensing edge is multiple, calculating to obtain the length of a multiple contact point interval according to the voltage information between the contact points fed back by the touch sensing edge and a preset starting point, a preset voltage parameter and a preset first resistance length;

when V ismIf the current touch sensing edge exceeds the preset threshold voltage, a plurality of point touches (or surface touches) are determined to exist on the current touch sensing edge. Substituting the voltage information between the contact point fed back by the touch sensing edge and the preset starting point, the preset voltage parameter and the preset first resistance length into a preset formulaAnd calculating to obtain the length of the multi-contact section. Specifically, the predetermined formula is based on the relational expressionAnd (5) derivation and obtaining.

Wherein L is0Is the length of the first resistor, X0For the length of the multi-contact zone, VCCFor input voltage, VMIs the voltage across the first resistor, R0Is as followsA resistance value of a resistor.

Step S23, substituting the length of the multi-contact interval into a second preset formula to calculate a first distance, wherein the first distance is the distance between one of the multiple contact points, which is closest to the starting point, and the starting point;

the second preset formula is as follows:

wherein L isgIs a first distance, L0Is the length of the first resistor, X0For the length of the multi-contact zone, VSVoltage information between the contact point fed back for touching the sensing edge and a predetermined starting point, VCCFor input voltage, VMIs the voltage across the first resistor.

And if the number of the contact points on the touch induction edge is single, calculating according to the voltage information between the contact points fed back by the touch induction edge and the preset starting point, the preset voltage parameter and the preset first resistance length to obtain the ground distance between the contact points on the touch induction edge and the preset starting point on the touch induction edge.

In this embodiment, the number of the contact points on the touch sensing edge is determined, the contact manners of the touch sensing edge and the two sides of the gap are determined, and different calculation methods are provided according to different contact manners, so that the distance between the contact point and the preset starting point on the corresponding touch sensing edge when the touch sensing edge and the two sides of the gap are in single-contact or multi-contact is calculated respectively. Therefore, the staff has slight skew posture when placing the measuring meter, and the measuring meter can obtain correct measuring value.

In order to achieve the above object, the present invention further provides a surface difference measuring method, please refer to fig. 7, the surface difference measuring method is applied to the measuring apparatus, the surface difference measuring method includes the following steps:

step S40, acquiring the number of contact points on two touch induction edges in real time;

the position of the contact conduction point between the first resistor and the second resistor is monitored in real time, specifically, the conduction position of the test circuit can be directly monitored, and the number of the corresponding contact points can be obtained through calculation according to a voltage signal fed back by the touch sensing edge.

Step S50, judging whether the two touch induction edges have a plurality of contact points on one touch induction edge;

step S60, if yes, voltage information between the contact point fed back by the other touch sensing edge and a preset starting point is obtained;

when a certain position on the touch induction edge is extruded by the edge of the gap to be detected, the pressure generated by touch can enable the detection circuit arranged in the two touch induction edges to be switched on, the contact point is the circuit switching-on position on the touch induction edge, the preset starting point is a preset position arranged on the touch induction edge, and the touch induction edge feeds back and outputs a voltage signal corresponding to the distance from the contact point to the preset starting point to the processor.

In an embodiment, the touch sensing edge includes a first resistor, an insulating isolation layer, a second resistor and a scratch-resistant plastic layer, which are sequentially disposed from the insulating body to the outside, and the insulating isolation layer includes a plurality of insulating isolation particles. When a certain position on the touch induction edge is extruded by the edge of the gap to be detected, the first resistor is in contact conduction with the second resistor from between two adjacent insulating isolation particles under the pressure generated by touch, and the contact point is the contact conduction position of the first resistor and the second resistor on the touch induction edge

Step S70, calculating to obtain a first distance according to the voltage information, wherein the first distance is the distance between the contact point on the single touch induction edge and a preset starting point;

in step S80, a surface difference size is generated according to the first distance and the preset size parameter.

The preset parameters comprise the spacing distance between preset starting points of the two touch sensing edges, the length of the first resistor and the included angle between the two touch sensing edges.

If not, prompting to adjust the measurement posture.

In the embodiment, by detecting the number of the contact points on the two sides of the surface difference of the touch sensing edge, when a plurality of contact points exist on any touch sensing edge, voltage information between the contact point fed back by the other touch sensing edge and a preset starting point is obtained; when only one contact point exists on each of the two touch sensing edges, the staff is prompted to adjust the measuring posture until a plurality of contact points exist on one touch sensing edge; therefore, when the surface difference is measured, one touch sensing edge is attached to one side of the surface difference, and a contact point is arranged on the other side of the surface difference. And obtaining the dimension of the surface difference to be measured by calculating the distance between the contact point and the touch sensing edge with the multiple contact points. In this embodiment, whether touching response limit and the laminating of the poor one side of face are confirmed through detecting the contact number of touching response limit and the poor both sides of face, avoid the staff to measure the attitude and do not standardize and cause measuring error to guarantee measuring result's accuracy.

In an embodiment, the step of generating the surface difference size according to the first distance and the preset size parameter includes:

substituting the first distance and the preset size parameter into a third preset formula to calculate and obtain the surface difference size, wherein the third preset formula is as follows: α ═ p- β)/2

Wherein Δ H is the area difference size, XAFor the distance between the preset starting points of the two touch sensing edges, L0Is the length of the first resistor, LBThe first distance is beta, which is an included angle between the two touch sensing edges.

In addition, the invention also provides a computer readable storage medium, on which a computer program is stored. The computer-readable storage medium may be the Memory 02 in the terminal of fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several pieces of information for causing the transmission shaft structure to perform the method according to the embodiments of the present invention.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种北斗定位长期监测数据的处理方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!