CN113076032A - Non-touch type elevator car key detection method and key panel - Google Patents

Non-touch type elevator car key detection method and key panel Download PDF

Info

Publication number
CN113076032A
CN113076032A CN202110491750.3A CN202110491750A CN113076032A CN 113076032 A CN113076032 A CN 113076032A CN 202110491750 A CN202110491750 A CN 202110491750A CN 113076032 A CN113076032 A CN 113076032A
Authority
CN
China
Prior art keywords
coordinate
axis
coordinates
touch
touch point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110491750.3A
Other languages
Chinese (zh)
Other versions
CN113076032B (en
Inventor
张耀光
刘德田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lingyun Technology Co ltd
Original Assignee
Shenzhen Lingyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lingyun Technology Co ltd filed Critical Shenzhen Lingyun Technology Co ltd
Priority to CN202110491750.3A priority Critical patent/CN113076032B/en
Publication of CN113076032A publication Critical patent/CN113076032A/en
Application granted granted Critical
Publication of CN113076032B publication Critical patent/CN113076032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The disclosure provides a non-touch type elevator car key detection method and a key panel. The non-touch type elevator car key detection method comprises the following steps: establishing a vertical xy coordinate system in the detection area, and calculating an X-axis coordinate X0 and a coordinate X1 of the center of the touch point; calculating an oblique line intersecting the center of the touch point according to the offset distance in oblique scanning and the vertical distance between the transmitting tube and the receiving tube, and calculating a Y coordinate Y1 of the oblique line at X0; scanning point by point along the x-axis direction at a symmetrical inclination angle, and calculating a central coordinate Y2 of a touch point; and calculating the average value of the coordinate Y1 and the coordinate Y2, determining the coordinate Y0, and determining the elevator key corresponding to the coordinate. The detection of coordinates in two directions in a preset area can be realized only by arranging the detection element extending along the direction of the infrared detection line in the elevator car, the structure of the non-touch elevator car is simplified, and the installation and transformation cost of the non-touch elevator car key panel is reduced.

Description

Non-touch type elevator car key detection method and key panel
Technical Field
The disclosure belongs to the field of elevator equipment, and particularly relates to a non-touch type elevator car key detection method and a key panel.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The non-contact type transformation of the existing elevator car key panel generally adopts the mode that an infrared correlation pipe group arranged along the horizontal direction and an infrared correlation pipe group arranged along the vertical direction are additionally arranged on the basis of the original elevator car key panel and are used for detecting the position of the horizontal direction and the position of the vertical direction in a preset area. However, the construction difficulty of installing two rows of infrared correlation tube sets is higher, and the transformation operation difficulty of the elevator car is higher.
Disclosure of Invention
In view of the above, it is necessary to provide a non-touch type elevator car key detection method and a key panel to implement a non-touch type key function.
Therefore, the disclosure firstly provides a non-touch type elevator car key detection method, which comprises the following steps:
establishing an xy coordinate system in the detection area, scanning along the X-axis direction, detecting an X-axis coordinate X0 of the center position of the touch point projected on the X-axis along the direction vertical to the X-axis direction, and detecting an X-axis coordinate X1 of the center position of the touch point projected on the X-axis along the direction oblique to the X-axis direction;
the parameters of the equation along the oblique line extending in the direction oblique to the x-axis and intersecting the center of the touch point are calculated according to the following formula:
k=d/dx
b=d–k*X1
wherein k is the slope of the oblique line, d is the vertical distance between the transmitting tube and the receiving tube, and dx is the offset distance relative to the transmitter; from the equation for the slope, the Y-coordinate Y1 at X0 for the slope is calculated according to:
Y1=k*X0+b;
and according to the coordinates (X0, Y1) of the touch point, determining the elevator key corresponding to the coordinates.
Preferably, after calculating the Y coordinate Y1 of the oblique line at X0, further comprising:
scanning point by point along the opposite direction of the X-axis direction, and acquiring an X-axis coordinate X2 of the central position of the touch point projected on the X-axis along the direction oblique to the X-axis direction;
the parameters of the equation along the back-slope line extending in the direction oblique to the x-axis and intersecting the center of the touch point are calculated as follows:
k=d/dx;
b=d-k*X1;
the reverse oblique line and the oblique line are symmetrical relative to the y-axis direction, k is the slope of the reverse oblique line, d is the vertical distance between the transmitting tube and the receiving tube, and dx is the offset distance relative to the transmitter;
according to the equation of the back-slope line, the Y-axis coordinate Y2 of the back-slope line at X0 is calculated according to the following formula:
Y2=k*X0+b;
determining coordinates (X0, Y0) of the touch point according to an average value of the coordinates Y1 and Y2 as a Y-axis coordinate Y0 of the touch point;
and according to the coordinates (X0, Y0) of the touch point, determining the elevator key corresponding to the coordinates.
Preferably, detecting a center position of the touch point projected on the x-axis in a direction perpendicular to the x-axis comprises:
acquiring a sampling value of a trigger state of at least a preset region of a detection line, performing quadratic curve fitting on the sampling value to calculate an initial X0 ', and performing second-order filtering on the initial X0' to obtain a coordinate X0;
acquiring a sampling value of a trigger state of at least a preset region of the detection line, performing quadratic curve fitting on the sampling value to calculate an initial X1 ', and performing second-order filtering on the initial X1' to obtain a coordinate X1;
and acquiring a sampling value of the trigger state of at least a preset region of the detection line, performing quadratic curve fitting on the sampling value to calculate an initial X2 ', and performing second-order filtering on the initial X2' to obtain a coordinate X2.
Preferably, the X-axis coordinate X0 for detecting the center position of the touch point projected on the X-axis along the direction perpendicular to the X-axis includes:
jumping and scanning to the center position of the touch point projected on the x axis along the direction vertical to the x axis at the nth time by a preset interval;
if n >1, acquiring X-axis coordinates X (n-1) and X (n-2) of n-1 th and n-2 th times before the n-th time to a center position of the touch point projected on the X-axis along a direction perpendicular to the X-axis;
calculating the moving speed V of the touch point along the X-axis direction according to the following formula:
V=(X(n-1)-X(n-2))/△T
wherein Δ T is the time interval between the Xth (n-1) and X (n-2) scans;
the coordinates X0 are determined by scanning point by point within a predetermined distance D from the center position as a center, the predetermined distance D being calculated according to the following equation:
D=((T(n)-T(n-1))*V);
wherein T (n) is the time of the nth scanning, and T (n-1) is the time of the nth-1 scanning;
if n is 1 or the designated distance D is less than or equal to a preset distance, the coordinates X0 are determined by scanning point by point within the preset distances on both sides of the center position in the X-axis direction, respectively, with the center position as the center. Preferably, determining the coordinate X0 further comprises:
acquiring coordinates X0 'of a plurality of touch points, and inputting the coordinates X0' into a sliding filter window;
if the coordinate X0 'input to the sliding filter window is greater than or equal to a preset value of the capacity of the sliding filter window, an average of a plurality of coordinates X0' is calculated as the coordinate X0.
Preferably, after inputting the X0' into the sliding filter window, the method further includes: deleting the value of the first coordinate X0' input into the sliding filter window;
when the coordinate X0 ' input to the sliding filter window is greater than or equal to a preset value of the capacity of the sliding filter window, deleting the maximum and minimum values of the plurality of input coordinates X0 ' and taking the average value of the remaining coordinates X0 ' as the coordinate X0.
Preferably, after determining the coordinates (X0, Y0) of the touch point, the method further comprises:
and obtaining the coordinates of the touch point through second-order filtering, and determining the elevator key corresponding to the touch point according to the coordinates after the second-order filtering.
Preferably, after the central coordinate point X0 of the touch point is detected, scanning is started at a position where the deviation distance is greater than dx around X0 to obtain the coordinate X1 and the coordinate X2.
Preferably, if any one of Y1 and Y2 is out of a preset range, it is determined that the touch point is located beyond a predetermined detection area.
A non-touch elevator car keypad comprising:
an infrared detection line including a plurality of infrared receivers arranged in a first direction for receiving infrared rays propagating in a direction perpendicular to an x-axis and infrared rays propagating in a direction oblique to the x-axis;
and the controller is connected with the infrared detection line and executes the non-touch type elevator car key detection method when an infrared receiver of the infrared detection line is triggered.
Compared with the prior art, the non-touch type elevator car key detection method and the key panel establish an xy coordinate system in the detection preset area, and the X-axis coordinate X0 of the central position of the touch point projected on the X axis along the direction perpendicular to the X axis and the X-axis coordinate X1 of the central position projected on the X axis along the direction oblique to the X axis are detected by scanning along the X axis, so that the coordinates of the touch point can be calculated according to the coordinates X0 and the coordinates X1 to determine the elevator key corresponding to the coordinates. Like this, only need set up the detecting element that extends along infrared detection line direction in elevator car and can realize the detection to the coordinate of two directions in the predetermined region, no longer need dispose detecting element along vertical direction and horizontal direction simultaneously, simplified non-touch elevator car's structure, reduced non-touch elevator car button panel's installation and transformation cost.
Drawings
In order to illustrate the embodiments more clearly, the drawings that will be needed in the description of the embodiments will be briefly described below, it being apparent that the drawings in the following description are some examples of the disclosure, and that other drawings may be derived from those drawings by a person skilled in the art without inventive effort.
Fig. 1 is a schematic structural diagram of a non-touch type elevator car key panel.
Fig. 2 is a schematic structural diagram of infrared detection lines and infrared emission lines of a non-contact type elevator car key panel.
Fig. 3 is a schematic diagram of a non-touch elevator car key detection method location coordinate X0.
Fig. 4 is a schematic diagram of positioning Y1 during oblique scanning in the non-touch elevator car key detection method.
Fig. 5 is a schematic diagram of positioning Y2 during oblique scanning in the non-touch elevator car key detection method.
Fig. 6 is a schematic diagram illustrating detection of a touch point in a preset area.
Fig. 7 is a schematic diagram of a non-touch type elevator car key detection method when a touch point exceeds a set area.
Description of the main elements
Figure BDA0003052598750000041
Figure BDA0003052598750000051
The following detailed description will further illustrate the disclosure in conjunction with the above-described figures.
Detailed Description
In order that the above objects, features and advantages of the present disclosure can be more clearly understood, a detailed description of the present disclosure will be given below with reference to the accompanying drawings and detailed description. In addition, the embodiments and features of the embodiments of the present application may be combined with each other without conflict. In the following description, numerous specific details are set forth to provide a thorough understanding of the present disclosure, and the described embodiments are merely a subset of the embodiments of the present disclosure, rather than a complete embodiment. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.
In various embodiments, for convenience in description and not limitation of the disclosure, the term "coupled" as used in the specification and claims of the present disclosure is not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships are changed accordingly.
This openly can realize non-contact button operation function through increase a set of correlation formula in elevator car, effectively improved ground elevator car efficiency of construction, reduced non-contact elevator car keypad's cost. For example, in the embodiment shown in the drawings, the correlation photoelectric tube is arranged in a horizontal direction, however, those skilled in the art understand that the infrared light propagation direction of the correlation photoelectric tube may be a vertical direction shown in the drawings, a horizontal direction or other directions with an inclined angle, and those skilled in the art may determine the angle of the infrared light according to the actual construction environment. Similarly, in some preferred embodiments, the area covered by the non-contact key detection may be the area where the physical elevator car key panel is located, but may also be the area with the indication icon or other preset area 30, which is not limited by the present disclosure.
Fig. 1 is a schematic structural diagram of a non-touch type elevator car key panel. As shown in fig. 1, in the present embodiment, the opposed photoelectric switches are mounted on the upper and lower sides of the preset area 30, specifically, the infrared emission lines 10 are mounted on the upper side of the preset area 30, and the infrared detection lines 20 are mounted on the lower side. The infrared emission line 10 is used to emit infrared rays toward the infrared detection line 20. The infrared detection line 20 includes a plurality of infrared receivers 21 arranged in a horizontal direction for receiving the above two infrared rays, and acquires corresponding coordinate values according to the positions of the triggered infrared receivers 21 to calculate coordinate values of the positions of the touch points.
Fig. 2 is a schematic structural diagram of infrared detection lines 20 and infrared emission lines 10 of a non-contact type elevator car key panel. As shown in fig. 2, the infrared emission line 10 is provided with a plurality of infrared emitters vertically arranged in the X-axis direction, and the infrared detection line 20 is provided with a plurality of infrared receivers vertically arranged in the X-axis direction. Each infrared transmitter has a certain emission angle, and as shown in the infrared transmitter 11 in fig. 2, infrared rays emitted by the infrared transmitter 11 form a taper with a certain angle, and irradiate within a certain width range of the infrared detection line 20, so that a plurality of infrared receivers can be triggered simultaneously. For example, the infrared emitter 11 may illuminate the infrared receivers 21, 22, 23 on the infrared detection line 20 simultaneously. In the embodiment, the taper of the infrared emitter for emitting infrared rays can be utilized to provide oblique infrared rays for oblique scanning, so that a group of oblique infrared emitters can be omitted.
Fig. 3 is a schematic diagram of a non-touch elevator car key detection method location coordinate X0. As shown in fig. 3, the infrared emission tubes provide infrared rays extending in the Y-axis direction in a preset area so that touch points in the preset area trigger the infrared receivers for detection by blocking reception of infrared rays, and the infrared emitters light up the emission tubes one by one in the x-axis forward direction, projecting the infrared rays toward the infrared detection lines 10. The receiver receives the infrared rays one by one according to the same sequence, when the X-axis coordinate of the center position of the projection of the touch point on the X axis along the direction vertical to the X axis is detected, all receiving tubes on the detection line are read, then the sampling value of the trigger state of the receiving tubes of the detection line is obtained, the secondary curve fitting is carried out on the data of the received sampling value, and the coordinates X0, X1 and X2 of the center position of the touch position are determined.
Preferably, the infrared transmitter lights every other receiving tube in a manner of spacing a preset area, for example, in a jumping manner, and by adopting the scheme, the first touch point can be detected as soon as possible without the touch point.
Preferably, as mentioned above, after the infrared emitter does not detect a valid touch point in the first skip scanning, the infrared emitter changes the starting position of the skip scanning and continues to scan the position which was not scanned last time.
Preferably, after detecting the valid touch point, the transmitter does not continue to scan in a jumping manner, but a tracking scanning method is adopted, and the method includes recording the central position of the last scanning triggering multiple infrared receivers, and then, in the last scanning, the central position of the last touch point is taken as the center, and scanning the two sides of the central position by preset distances respectively to find the coordinate X0 of the central position of the touch point. According to the scheme, the latest position of the touch point can be quickly determined under the condition that the touch point exists, and the efficiency of scanning the X-axis coordinate of the touch point is improved.
Specifically, the determination method of the specified distance scanned from the center position of the infrared receivers triggered at the previous time to both sides is as follows: if the center position scanned last time is the first detected center position, the specified distance D scanned this time may be a fixed preset distance, for example, 2 cm. If the last scanned point is not the first detected point, the moving speed of the touch point along the X-axis direction is calculated according to the coordinate of the last coordinate X (n-1), the coordinate X (n-2) and the scanning time interval DeltaT of X (n-1) and X (n-2)
V=(X(n-1)-X(n-2))/△T
Based on the time T (n-1) of the previous scan, the time T (n) of the current scan, and the touch point movement data V, the predetermined distance D ═ ((T (n) -T (n-1)) × V) estimated at the time of the current scan can be calculated. And if the D is smaller than the preset distance of 2cm, the specified distance of the current scanning is still fixed to be 2 cm.
Preferably, the initial center coordinate X0' of the touch point is obtained through the above steps, and the coordinate is input to a sliding filter for filtering, so as to obtain a relatively accurate coordinate X0, and then the start position and the end position of the oblique scanning are calculated according to the coordinate X0.
The touch coordinate is filtered by adopting an improved sliding filtering algorithm, the algorithm has a good suppression effect on periodic interference, and meanwhile, the real-time performance is higher compared with that of a traditional sliding filtering algorithm. The specific implementation mode is as follows: obtaining a plurality of coordinates X0 ', inputting the coordinate X0' into a sliding filter window, removing the earliest data in the sliding window, calculating the sum of effective data when the effective data in the sliding window is larger than or equal to a preset value, such as half of the window capacity, subtracting the maximum value and the minimum value in the effective data, and then calculating the average value of the sum divided by the number of the effective data to be used as the coordinate X0. The sliding filtering method can also be applied to data processing of the coordinate X1 and the coordinate X2, and will not be described herein again.
Fig. 4 is a schematic diagram of positioning Y1 during oblique scanning in the non-touch elevator car key detection method. As shown in fig. 4, the infrared ray emitted from the infrared emitter has a diagonal line inclined with respect to the X-axis coordinate, the infrared emitters are turned on one by one from a position (e.g., the starting point 12 shown in fig. 4) located at a distance greater than dx from the left of X0 in the X-axis direction, and the infrared receivers receive the infrared rays one by one in the same order starting from a position shifted by dx with respect to the emitters, and the X-axis coordinate of the center position of the touch point projected on the X-axis in the direction inclined with respect to the X-axis direction is detected. After all the infrared receivers are read, curve fitting is carried out on the received data, and the coordinate X1 of the central position of the projection area blocked by the touch point is determined. The parameters of the equation of the oblique line can be determined by the vertical distance from the infrared emitter to the infrared detection line, the offset distance between the infrared receiver and the infrared emitter during scanning, and the coordinate X1, so that the y-axis coordinate corresponding to the coordinate X0 can be determined according to the equation of the oblique line.
Specifically, the coordinate Y1' of the touch point in the Y-axis direction is calculated by the following formula:
k=d/dx
b=d–k*X1
Y1’=k*X0+b
where k is the slope of the slope, d is the transmitter-to-receiver vertical distance, and dx is the offset distance from the infrared transmitter. Then, sliding filtering is carried out on the Y1' to obtain an accurate Y-axis coordinate Y1.
Fig. 5 is a schematic diagram of positioning Y2 during oblique scanning in the non-touch elevator car key detection method. As shown in fig. 5, the infrared emitters are turned on one by one from a position at a distance greater than dx to the right of X0, and the emitted infrared rays form a reverse oblique line symmetrical to the oblique line in the y-axis direction. And the infrared receivers start to receive the infrared rays one by one at the position shifted by dx relative to the transmitter according to the same sequence, after all the receiving tubes are read by the infrared receivers, the sampling value of the projection area of the touch point on the X axis is detected, quadratic curve fitting is carried out on the sampling value to calculate the initial X2 ', second-order filtering is carried out on the initial X2', and the coordinate X2 is obtained. The coordinate Y2 of the touch point in the Y-axis direction can be calculated by the following formula:
k=-d/dx
b=d–k*X2
Y2’=k*X0+b
where k is the slope of the back-slope, d is the transmitter-to-receiver vertical distance, and dx is the offset distance from the infrared transmitter. Then, sliding filtering is carried out on the Y2' to obtain an accurate Y-axis coordinate Y2.
Preferably, after obtaining Y1 and Y2, an average value of Y1 and Y2 is taken as an initial ordinate Y0' of the touch point in the Y-axis direction to improve calculation accuracy. Preferably, the initial center coordinate Y0' of the touch point is obtained through the above steps, and the coordinate is input into a sliding filter for filtering, so that a relatively accurate Y0 is obtained, and finally the center coordinate (X0, Y0) of the touch point is obtained. Preferably, the center coordinates (X0, Y0) can be input to a sliding filter for secondary filtering, so that more stable and accurate coordinate values can be obtained. Then, the accurate coordinates (X0, Y0) are corresponding to the specific elevator virtual keys, software jitter elimination filtering is carried out on the virtual keys, and instability caused by jitter and detection errors during touch is effectively solved through the virtual keys after jitter elimination.
Fig. 6 is a schematic diagram of the detection of the touch point in the preset area, and 5 points X0, X1, X2, Y1, and Y2 are calculated according to the above method, and the coordinates X0 of the center position of the touch point are obtained after averaging and filtering.
Wherein the averaging is according to:
Y0’=(Y1+Y2)/2
and averaging to obtain the current touch point coordinate (X0, Y0'), wherein the coordinate has a certain error, and filtering the coordinate by adopting the sliding filter to obtain the accurate touch point coordinate (X0, Y0).
Fig. 7 is a schematic diagram of a non-touch type elevator car key detection method when a touch point exceeds a set area. As shown in fig. 7, the schematic diagram of detecting that the touch point exceeds the preset area only can calculate X0, and the center position of the touch point cannot be determined, and at this time, it is determined that the touch point is located beyond the predetermined detection area. Similarly, if any one or more of the 5 coordinates X0, X1, X2, Y1, and Y2 fails to be calculated, it is determined that no valid touch point exists in the current detection area or the touch point is located beyond the predetermined detection area.
The xy coordinate system is established in the detection preset area by the non-touch type elevator car key detection method and the key panel, by scanning along the X-axis direction to detect the X-axis coordinate X0 of the center of the projection of the touch point on the X-axis along the direction perpendicular to the X-axis, and detecting an X-axis coordinate X1 of a center position of the touch point projected on the X-axis along a direction oblique to the X-axis, therefore, the coordinates of the touch points can be calculated according to the coordinates X0 and X1 to determine the elevator keys corresponding to the coordinates, the detection of the coordinates in two directions in the preset area can be realized only by arranging the detection elements extending along the direction of the infrared detection line in the elevator car, the detection elements do not need to be configured in the vertical direction and the horizontal direction at the same time, the structure of the non-touch elevator car is simplified, and the installation and transformation cost of the non-touch elevator car key panel is reduced.
In several embodiments provided in the present disclosure, it will be apparent to those skilled in the art that the present disclosure is not limited to the details of the above-described exemplary embodiments, and can be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the disclosure being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. The terms first, second, etc. are used to denote names, but not any particular order.
Although the present disclosure has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the present disclosure.

Claims (10)

1. A non-touch type elevator car key detection method is characterized by comprising the following steps:
establishing an xy coordinate system in the detection area, scanning along the X-axis direction, detecting an X-axis coordinate X0 of the center position of the touch point projected on the X-axis along the direction vertical to the X-axis direction, and detecting an X-axis coordinate X1 of the center position of the touch point projected on the X-axis along the direction oblique to the X-axis direction;
the parameters of the equation along the oblique line extending in the direction oblique to the x-axis and intersecting the center of the touch point are calculated according to the following formula:
k=d/dx
b=d–k*X1
wherein k is the slope of the oblique line, d is the vertical distance between the transmitting tube and the receiving tube, and dx is the offset distance relative to the transmitter;
from the equation for the slope, the Y-coordinate Y1 at X0 for the slope is calculated according to:
Y1=k*X0+b;
and according to the coordinates (X0, Y1) of the touch point, determining the elevator key corresponding to the coordinates.
2. The non-touch elevator car key detection method of claim 1, further comprising, after calculating the Y-coordinate Y1 of the oblique line at X0:
scanning point by point along the opposite direction of the X-axis direction, and acquiring an X-axis coordinate X2 of the central position of the touch point projected on the X-axis along the direction oblique to the X-axis direction;
the parameters of the equation along the back-slope line extending in the direction oblique to the x-axis and intersecting the center of the touch point are calculated as follows:
k=d/dx;
b=d-k*X1;
the reverse oblique line and the oblique line are symmetrical relative to the y-axis direction, k is the slope of the reverse oblique line, d is the vertical distance between the transmitting tube and the receiving tube, and dx is the offset distance relative to the transmitter;
according to the equation of the back-slope line, the Y-axis coordinate Y2 of the back-slope line at X0 is calculated according to the following formula:
Y2=k*X0+b;
determining coordinates (X0, Y0) of the touch point according to an average value of the coordinates Y1 and Y2 as a Y-axis coordinate Y0 of the touch point;
and according to the coordinates (X0, Y0) of the touch point, determining the elevator key corresponding to the coordinates.
3. The method of claim 2, wherein detecting a center position of a touch point projected on an x-axis along a direction perpendicular to the x-axis comprises:
acquiring a sampling value of a trigger state of at least a preset region of a detection line, performing quadratic curve fitting on the sampling value to calculate an initial X0 ', and performing second-order filtering on the initial X0' to obtain a coordinate X0;
acquiring a sampling value of a trigger state of at least a preset region of the detection line, performing quadratic curve fitting on the sampling value to calculate an initial X1 ', and performing second-order filtering on the initial X1' to obtain a coordinate X1;
and acquiring a sampling value of the trigger state of at least a preset region of the detection line, performing quadratic curve fitting on the sampling value to calculate an initial X2 ', and performing second-order filtering on the initial X2' to obtain a coordinate X2.
4. The method of claim 3, wherein detecting an X-axis coordinate X0 of a center position of a touch point projected on an X-axis along a direction perpendicular to the X-axis comprises:
jumping and scanning to the center position of the touch point projected on the x axis along the direction vertical to the x axis at the nth time by a preset interval;
if n >1, acquiring X-axis coordinates X (n-1) and X (n-2) of n-1 th and n-2 th times before the n-th time to a center position of the touch point projected on the X-axis along a direction perpendicular to the X-axis;
calculating the moving speed V of the touch point along the X-axis direction according to the following formula:
V=(X(n-1)-X(n-2))/△T
wherein Δ T is the time interval between the Xth (n-1) and X (n-2) scans;
the coordinates X0 are determined by scanning point by point within a predetermined distance D from the center position as a center, the predetermined distance D being calculated according to the following equation:
D=((T(n)-T(n-1))*V);
wherein T (n) is the time of the nth scanning, and T (n-1) is the time of the nth-1 scanning;
if n is 1 or the designated distance D is less than or equal to a preset distance, the coordinates X0 are determined by scanning point by point within the preset distances on both sides of the center position in the X-axis direction, respectively, with the center position as the center.
5. The non-touch elevator car key detection method of claim 4, wherein determining the coordinate X0 further comprises:
acquiring coordinates X0 'of a plurality of touch points, and inputting the coordinates X0' into a sliding filter window;
if the coordinate X0 'input to the sliding filter window is greater than or equal to a preset value of the capacity of the sliding filter window, an average of a plurality of coordinates X0' is calculated as the coordinate X0.
6. The method of claim 5, wherein inputting the X0' into the sliding filter window further comprises: deleting the value of the first coordinate X0' input into the sliding filter window;
when the coordinate X0 ' input to the sliding filter window is greater than or equal to a preset value of the capacity of the sliding filter window, deleting the maximum and minimum values of the plurality of input coordinates X0 ' and taking the average value of the remaining coordinates X0 ' as the coordinate X0.
7. The non-touch elevator car key detection method of claim 6, wherein after determining the coordinates (X0, Y0) of the touch point, further comprising:
and obtaining the coordinates of the touch point through second-order filtering, and determining the elevator key corresponding to the touch point according to the coordinates after the second-order filtering.
8. The method of claim 7, wherein the coordinates X1 and X2 are obtained by starting scanning at a position where the deviation distance is greater than dx around X0 after detecting the center coordinate X0 of the touched point.
9. The non-touch elevator car key detection method of claim 8, wherein if any one of Y1 and Y2 is out of a preset range, it is determined that the touch point is located beyond a predetermined detection area.
10. A non-touch elevator car keypad comprising:
an infrared detection line including a plurality of infrared receivers arranged in a first direction for receiving infrared rays propagating in a direction perpendicular to an x-axis and infrared rays propagating in a direction oblique to the x-axis;
a controller connected to the infrared detection lines, performing the non-touch elevator car key detection method of any one of claims 1-9 when an infrared receiver of the infrared detection lines is triggered.
CN202110491750.3A 2021-05-06 2021-05-06 Non-touch type elevator car key detection method and key panel Active CN113076032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110491750.3A CN113076032B (en) 2021-05-06 2021-05-06 Non-touch type elevator car key detection method and key panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110491750.3A CN113076032B (en) 2021-05-06 2021-05-06 Non-touch type elevator car key detection method and key panel

Publications (2)

Publication Number Publication Date
CN113076032A true CN113076032A (en) 2021-07-06
CN113076032B CN113076032B (en) 2022-12-09

Family

ID=76616356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110491750.3A Active CN113076032B (en) 2021-05-06 2021-05-06 Non-touch type elevator car key detection method and key panel

Country Status (1)

Country Link
CN (1) CN113076032B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114972825A (en) * 2022-07-19 2022-08-30 天津七一二移动通信有限公司 Method for realizing automatic detection of MMI key icon matrix

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819490A (en) * 2009-02-27 2010-09-01 索尼公司 Reflection detection apparatus, display apparatus, electronic apparatus, and reflection detection method
CN101901085A (en) * 2010-07-07 2010-12-01 深圳创维-Rgb电子有限公司 Method for enhancing stability of infrared touch system
JP2011065410A (en) * 2009-09-17 2011-03-31 Seiko Epson Corp Optical position detection device, and display device with position detection function
US20110096030A1 (en) * 2009-10-26 2011-04-28 Seiko Epson Corporation Optical position detecting device and display device with position detecting function
CN102087562A (en) * 2011-02-28 2011-06-08 鸿富锦精密工业(深圳)有限公司 Light path structure for infrared touch screen
CN102280566A (en) * 2010-06-09 2011-12-14 北京汇冠新技术股份有限公司 Infrared emission tube and touch screen
CN102693048A (en) * 2012-05-31 2012-09-26 安徽大学 Infrared touch screen
US20150067540A1 (en) * 2013-09-02 2015-03-05 Samsung Electronics Co., Ltd. Display apparatus, portable device and screen display methods thereof
CN111078045A (en) * 2019-11-29 2020-04-28 京东方科技集团股份有限公司 Display device and touch detection method thereof
CN111362083A (en) * 2020-04-02 2020-07-03 深圳市呤云科技有限公司 Non-contact type outbound panel and elevator
CN111392533A (en) * 2020-04-16 2020-07-10 深圳市呤云科技有限公司 Simulation elevator button device and elevator system
US20200241745A1 (en) * 2019-01-29 2020-07-30 Boe Technology Group Co., Ltd. Touch detection method and apparatus, touch device, computer device and readable medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819490A (en) * 2009-02-27 2010-09-01 索尼公司 Reflection detection apparatus, display apparatus, electronic apparatus, and reflection detection method
JP2011065410A (en) * 2009-09-17 2011-03-31 Seiko Epson Corp Optical position detection device, and display device with position detection function
US20110096030A1 (en) * 2009-10-26 2011-04-28 Seiko Epson Corporation Optical position detecting device and display device with position detecting function
CN102280566A (en) * 2010-06-09 2011-12-14 北京汇冠新技术股份有限公司 Infrared emission tube and touch screen
CN101901085A (en) * 2010-07-07 2010-12-01 深圳创维-Rgb电子有限公司 Method for enhancing stability of infrared touch system
CN102087562A (en) * 2011-02-28 2011-06-08 鸿富锦精密工业(深圳)有限公司 Light path structure for infrared touch screen
CN102693048A (en) * 2012-05-31 2012-09-26 安徽大学 Infrared touch screen
US20150067540A1 (en) * 2013-09-02 2015-03-05 Samsung Electronics Co., Ltd. Display apparatus, portable device and screen display methods thereof
US20200241745A1 (en) * 2019-01-29 2020-07-30 Boe Technology Group Co., Ltd. Touch detection method and apparatus, touch device, computer device and readable medium
CN111078045A (en) * 2019-11-29 2020-04-28 京东方科技集团股份有限公司 Display device and touch detection method thereof
CN111362083A (en) * 2020-04-02 2020-07-03 深圳市呤云科技有限公司 Non-contact type outbound panel and elevator
CN111392533A (en) * 2020-04-16 2020-07-10 深圳市呤云科技有限公司 Simulation elevator button device and elevator system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张明: "抗强光干扰的高精度红外触摸屏设计与实现", 《中国优秀博硕士学位论文全文数据库(硕士)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114972825A (en) * 2022-07-19 2022-08-30 天津七一二移动通信有限公司 Method for realizing automatic detection of MMI key icon matrix
CN114972825B (en) * 2022-07-19 2022-12-13 天津七一二移动通信有限公司 Method for realizing automatic detection of MMI key icon matrix

Also Published As

Publication number Publication date
CN113076032B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
US7903097B2 (en) Coordinate position detecting apparatus and control method thereof
JP3827450B2 (en) Optical scanning touch panel
JP5942281B2 (en) Multi-touch screen device
JPS6244653B2 (en)
US5003505A (en) Touchscreen/keyboard scanner
EP2746809A1 (en) Distance measurement apparatus, and distance measurement method
US9292132B2 (en) Multitouch recognizing device
WO2012068933A1 (en) Infrared touch screen multi-point recognizing method and infrared touch screen
CN1433557A (en) Apparatus and method to improve resolution of infrared touch systems
US6529854B2 (en) Coordinate position detecting method and display apparatus using the same
CN113076032B (en) Non-touch type elevator car key detection method and key panel
KR102229791B1 (en) Non-touch type selection device for an elevator
US20060178815A1 (en) Apparatus and method for correcting location information of mobile body, and computer-readable media storing computer program for controlling the apparatus
CN106406638B (en) Touch point contour generation method and equipment
WO2008154792A1 (en) Infrared touch screen and multi-point touch positioning method
US20110080371A1 (en) Resistive touch controlling system and sensing method
JP3846981B2 (en) Information display device with optical position detector
US9766753B2 (en) Optical touch system and method having image sensors to detect objects over a touch surface
CN113740818B (en) Radar state detection method and device, electronic equipment and storage medium
US20110304586A1 (en) Infrared type handwriting input apparatus and scanning method
TWI416391B (en) Infrared type handwriting input apparatus and scanning method
KR101323196B1 (en) Multi-touch on touch screen apparatus
CN113050103A (en) Ground detection method, device, electronic equipment, system and medium
JP2001175416A (en) Method for detecting coordinate position and display device using the same
KR20200077022A (en) Method removing ghost phenomenon in multi-touch implementation of infrared touch screen

Legal Events

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