Electronic equipment key position identification and pressing device and key position identification and pressing method

By designing an electronic device key recognition and pressing device including an installation mechanism, a key detection mechanism, a key pressing mechanism and a driving mechanism, the problems of low detection efficiency and low space utilization caused by manual operation in the prior art are solved, and automatic identification and pressing of buttons are realized, detection efficiency and compatibility are improved, and space utilization is improved through miniaturized design.

CN115508638BActive Publication Date: 2025-04-22南昌勤胜电子科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211056039.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-30
Publication Date
2025-04-22
Estimated Expiration
2042-08-30

AI Technical Summary

Technical Problem

In the prior art, side key testing of electronic devices requires manual operation, resulting in low detection efficiency and easy visual fatigue, missed detection and misjudgment problems. At the same time, the multi-point positioning mechanism is large in size, reducing the space utilization rate of the equipment.

Method used

An electronic device key recognition and pressing device is designed, including an installation mechanism, a key detection mechanism, a key pressing mechanism, a driving mechanism and a controller. By automatically identifying and pressing the buttons, automatic measurement of the length and spacing of the buttons is realized, and the equipment volume is reduced through a compact structural design.

Benefits of technology

It realizes automatic identification and pressing of key positions, improves detection efficiency and effect, reduces the workload of manual operation, is compatible with various models of electronic equipment, and improves space utilization through miniaturized design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115508638B_ABST
    Figure CN115508638B_ABST
Patent Text Reader

Abstract

The present invention discloses a key position identification and pressing device for an electronic device, comprising a key detection mechanism, a key pressing mechanism, a first driving mechanism, a second driving mechanism and a controller, wherein the key detection mechanism is installed on a first mounting plate and is used to detect keys, and the key pressing mechanism comprises at least two pressing cylinders, and the pressing cylinders are used to press keys; the first driving mechanism is used to drive the key detection mechanism and the key pressing mechanism to reciprocate along a second direction, and during this process, the key position is detected by the key detection mechanism, and in addition, the second driving mechanism is used to drive the second mounting plate to move to adjust the spacing between the pressing cylinders so that the pressing cylinders are opposite to the keys so that the keys can be pressed. The present invention can realize automatic key position identification and pressing, automatic measurement of key length and spacing, and miniaturization of the device. The present invention also discloses a key position identification and pressing method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic equipment automated testing, and in particular to an electronic equipment key position recognition and pressing device and a key position recognition and pressing method. Background Art

[0002] Before electronic devices leave the factory, they must be subjected to various tests, such as using a robot to simulate human hand keystrokes and touch screens, to test whether the electronic devices are qualified. Among them, testing the side keys of electronic devices is an essential process.

[0003] At present, most of the production and testing of the side keys of electronic devices are done manually to align the position of the pressing device with the side keys of the electronic device, and automatic recognition cannot be achieved. Therefore, the detection efficiency is low, and after long-term manual operation of the pressing device for positioning, visual fatigue is likely to occur, resulting in problems such as missed detection and misjudgment. Furthermore, the multi-point positioning mechanism used to realize the side keys is often relatively large, which increases the size of the overall detection equipment and reduces the space utilization rate inside the equipment.

[0004] Therefore, it is necessary to provide an electronic device key position recognition and pressing device that can realize automatic key position recognition and pressing, automatic measurement of key length and spacing, and miniaturization of the device, as well as a key position recognition and pressing method using the device, to solve the above problems. Summary of the invention

[0005] The object of the present invention is to provide an electronic device key position recognition and pressing device capable of realizing automatic key position recognition and pressing, automatic key length and spacing measurement, and device miniaturization.

[0006] Another object of the present invention is to provide a key position recognition and pressing method that can realize automatic recognition and pressing of key positions, and automatic measurement of key lengths and spacings.

[0007] To achieve the above-mentioned purpose, the technical solution of the present invention is as follows: a key position identification and pressing device for an electronic device is provided, which includes a mounting mechanism, a key detection mechanism, a key pressing mechanism, a first driving mechanism, a second driving mechanism and a controller; wherein the mounting mechanism includes a first mounting plate and a second mounting plate connected to each other; the key detection mechanism is mounted on the first mounting plate and is used to detect the key; the key pressing mechanism includes at least two pressing cylinders, which are respectively mounted on the first mounting plate and the second mounting plate and can be extended and retracted along a first direction, and the pressing cylinders are used to press the key; the first driving mechanism is connected to the first mounting plate and is used to drive the first mounting plate to drive the key detection mechanism and the key pressing mechanism to reciprocate along a second direction; the second driving mechanism is connected to the second mounting plate and is used to drive the second mounting plate to move along the second direction to adjust the spacing between the second mounting plate and the first mounting plate; the controller is respectively electrically connected to the key detection mechanism, the key pressing mechanism, the first driving mechanism and the second driving mechanism, and is used to control the operation of the first driving mechanism and the second driving mechanism, and is used to determine the key position according to the detection signal of the key detection mechanism and control the pressing cylinder to extend to press the key.

[0008] Preferably, the key detection mechanism includes a first driving member and a micro switch connected to the first driving member, the first driving member drives the micro switch to reciprocate along the first direction, and the micro switch is electrically connected to the controller and is used to detect the key.

[0009] Preferably, the button pressing mechanism includes at least one first pressing cylinder and at least one second pressing cylinder, the first pressing cylinder is mounted on the first mounting plate, and the second pressing cylinder is mounted on the second mounting plate, and the distance between the first pressing cylinder and the second pressing cylinder is adjusted by adjusting the distance between the first mounting plate and the second mounting plate.

[0010] Preferably, the first driving mechanism includes a first motor, a gear and a rack, the rack is arranged along the second direction and meshes with the gear, the first motor is fixed to the first mounting plate and connected to the gear, and when the first motor drives the gear to rotate, the first motor and the first mounting plate move.

[0011] Preferably, the first mounting plate and the second mounting plate are elastically connected, and the second driving mechanism is installed on the first mounting plate and connected to the second mounting plate, when the first mounting plate moves, it can drive the second driving mechanism and the second mounting plate to move synchronously, and when the first mounting plate is fixed, the second driving mechanism can drive the second mounting plate to move relative to the first mounting plate.

[0012] Preferably, the second driving mechanism includes a second motor, a first connecting rod and a second connecting rod. The second motor is fixed to the first mounting plate and to the first connecting rod. Both ends of the second connecting rod are pivotally connected to the first connecting rod and the second mounting plate, respectively. When the second motor drives the first connecting rod to rotate, the second mounting plate is driven to move through the second connecting rod.

[0013] Preferably, the key position identification and pressing device of the electronic device also includes a groove-shaped photoelectric and a displacement detector, the groove-shaped photoelectric is installed on the first mounting plate and opposite to the first connecting rod, the groove-shaped photoelectric is electrically connected to the controller and is used to detect the position of the first connecting rod, and the distance between the second mounting plate and the first mounting plate is judged according to the detection result of the groove-shaped photoelectric, the displacement detector is installed on the side of the second mounting plate and is electrically connected to the controller, and is used to detect the moving position of the second mounting plate, and the moving distance of the second mounting plate is judged according to the detection result of the displacement detector.

[0014] Preferably, a detection plate facing the displacement detector is provided on the second mounting plate, and when the second mounting plate moves, the distance between the detection plate and the displacement detector changes, and the displacement detector detects the distance between itself and the detection plate.

[0015] Preferably, the electronic device key position identification and pressing device also includes a position detection mechanism, which includes a first optical fiber sensor and a second optical fiber sensor. The first optical fiber sensor and the second optical fiber sensor are respectively installed on both sides of the first mounting plate and the second mounting plate and are electrically connected to the controller for detecting the starting position and the ending position of the first mounting plate and the second mounting plate.

[0016] Preferably, the mounting mechanism also includes a fixed plate and a guide rail installed on one side of the fixed plate, the first mounting plate and the second mounting plate are both slidably connected to the guide rail, the rack is installed on the other side of the fixed plate, the first motor is inserted into the fixed plate and makes the gear mesh with the rack.

[0017] Correspondingly, the present invention also provides a key position recognition and pressing method using the key position recognition and pressing device of the electronic device as described above, which comprises the following steps:

[0018] (1) the controller controls the first driving mechanism to drive the first mounting plate to drive the key detection mechanism and the key pressing mechanism to move along the second direction until the end position, and the key detection mechanism is triggered to output a level signal when it contacts a protruding key during the movement, and the controller identifies the position of each key and calculates the length of each key and the distance between adjacent keys according to the level signal output by the key detection mechanism;

[0019] (2) the controller controls the first driving mechanism to drive the first mounting plate to move in the opposite direction by a certain distance, so that the pressing cylinder on the first mounting plate corresponds to the last button of the electronic device;

[0020] (3) The controller controls the first driving mechanism to maintain the torque, and then controls the second driving mechanism to operate to push the second mounting plate to move away from the first mounting plate. When the distance moved by the second mounting plate is equal to the distance between the last key and the key adjacent to it, the controller controls the second driving mechanism to stop operating and maintain the torque, so that the pressing cylinder on the second mounting plate corresponds to other keys of the electronic device;

[0021] (4) The controller controls each of the pressing cylinders to extend to press each button of the electronic device.

[0022] Preferably, in the above step (1) of the key position recognition and pressing method of the present invention, the controller calculates the length of each key and the distance between adjacent keys according to the following formula:

[0023] Key length L i =n*C b *t i (i=2, 4, 6, ...);

[0024] Key interval L j =n*C b *t j (j=3, 5, 7, ...);

[0025] Wherein, n is the rotation speed of the first motor of the first driving mechanism, in revolutions per second; C b is the circumference of the base ring of the gear of the first driving mechanism, in mm; t1 is the time from the start of the first driving mechanism to the first touch of the key by the key detection mechanism, t i is the duration between adjacent high levels output by the key detection mechanism, t j is the duration between adjacent low levels output by the key detection mechanism, t1, t i ,t j The unit is seconds.

[0026] Preferably, in the above step (2) of the key position recognition and pressing method of the present invention, the retreat distance of the first mounting plate in the reverse direction is L m -L0, where L m =n*C b *t m , t mIt is the time length from when the key detection mechanism detects the last low level to when the first driving mechanism stops running, and L0 is the physical distance between the key detection mechanism and the pressing cylinder on the first mounting plate.

[0027] Compared with the prior art, the electronic device key position recognition and pressing device of the present invention has the following technical effects:

[0028] 1. The first driving mechanism drives the first mounting plate to reciprocate along the second direction to drive the key detection mechanism and the key pressing mechanism to move, so as to detect the key position by using the key detection mechanism, and then press the key by the key pressing mechanism after the key is detected, thereby realizing automatic key position recognition and automatic pressing, reducing the workload of adjusting the pressed key position when pressing the physical key in the existing test method, realizing the flexibility of the test, and greatly improving the detection efficiency and detection effect;

[0029] Second, the key length and the distance between the keys can be calculated by using the key detection mechanism to detect the level signal generated when the key is pressed and the duration between the level signals, combined with the speed at which the first driving mechanism drives the first mounting plate to move;

[0030] 3. The second mounting plate is driven to move along the second direction by the second driving mechanism to adjust the distance between the second mounting plate and the first mounting plate, thereby adjusting the distance between the pressing cylinders, so that the position of the pressing cylinders is relative to the key position, and the multi-point positioning control of the pressing is realized, which not only realizes the precise alignment of the pressing cylinders, but also improves the efficiency of adjusting the pressing key position;

[0031] 4. It can realize the position recognition and pressing of multiple buttons, so it can test various types of electronic devices with good compatibility;

[0032] 5. The overall structure of the key position identification and pressing device of the entire electronic device is compact, which greatly reduces the volume of the mechanism and improves the space utilization rate inside the device. At the same time, the overall device structure is compact, realizing a miniaturized structural design.

[0033] Correspondingly, the key position recognition and pressing method using the key position recognition and pressing device of the electronic device of the present invention also has the above-mentioned technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 The present invention is a schematic structural diagram of the electronic equipment key position identification and pressing device cooperating with the electronic equipment fixture.

[0035] Figure 2 It is a structural schematic diagram of a key position identification and pressing device for an electronic device according to the present invention.

[0036] Figure 3 yes Figure 2 Schematic diagram of the structure from another angle.

[0037] Figure 4 yes Figure 2 Front view of .

[0038] Figure 5 yes Figure 2 It is a structural schematic diagram of the dismantling installation mechanism.

[0039] Figure 6 yes Figure 5 Schematic diagram of the structure from another angle.

[0040] Figure 7 yes Figure 5 Schematic diagram of the structure with the second drive mechanism removed.

[0041] Figure 8 yes Figure 6 Schematic diagram of the structure of the second driving mechanism.

[0042] Fig. 9 It is a schematic diagram of the state of the electronic device key position identification and pressing device of the present invention being in the initial position.

[0043] Fig.10 It is a schematic diagram of the state of the electronic device key position identification and pressing device of the present invention being in the end position.

[0044] Fig.11 It is a schematic diagram of the state of the electronic device key position identification and pressing device of the present invention after the power key is aligned.

[0045] Fig.12 It is a schematic diagram of the state of the electronic device key position identification and pressing device of the present invention after the volume key is aligned.

[0046] Fig.13 It is a schematic diagram of the state of the electronic device key position identification and pressing device of the present invention when pressing the power key and the volume key.

[0047] Fig.14 It is a schematic diagram of the distance traveled in the tangential direction after the gear rotates one circle.

[0048] Fig.15 This is the level timing diagram when testing a two-button mobile phone.

[0049] Fig.16 This is the level timing diagram when testing a three-button mobile phone. DETAILED DESCRIPTION

[0050] The embodiments of the present invention are now described with reference to the accompanying drawings, in which similar element numbers represent similar elements. It should be noted that the orientation descriptions involved in the present invention, such as the orientations or positional relationships indicated by up, down, left, right, front, and back, are all based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the technical solutions of the present application or / and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. The first, second, etc. described are only used to distinguish technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0051] See below first Figure 1 As shown, the electronic device key position identification and pressing device 100 provided by the present invention is arranged on the side of the electronic device fixture 200 and used in conjunction with it, and is used to automatically detect and automatically press the keys of the electronic device fixed on the electronic device fixture 200. Among them, the electronic device fixture 200 and the electronic device to be detected are not specifically limited, and the electronic device fixture 200 is a conventional device in the art, so its specific structure will not be described in detail.

[0052] Combine the following Figure 1-Figure 16 As shown, the electronic device key position recognition and pressing device 100 of the present invention includes a first driving mechanism 110, a second driving mechanism 120, a key detection mechanism 130, a key pressing mechanism 140, a mounting mechanism 150 and a controller.

[0053] Combination Figure 1-Figure 7 As shown, the mounting mechanism 150 includes a first mounting plate 151 and a second mounting plate 152 (see FIG. Figure 7 ), the first mounting plate 151 and the second mounting plate 152 are elastically connected so that the two can move synchronously, and can move relative to each other to separate when subjected to force. The specific connection method will be described later. The key detection mechanism 130 is installed on the first mounting plate 151 and can reciprocate along the first direction (X-axis direction). The key detection mechanism 130 is used to detect keys. The key pressing mechanism 140 includes at least two pressing cylinders, which are respectively installed on the first mounting plate 151 and the second mounting plate 152 and can be extended and retracted along the first direction (X-axis direction). The pressing cylinder is used to press the key.

[0054] Continue to combine Figure 1-Figure 6As shown, the first driving mechanism 110 is connected to the first mounting plate 151, and is used to drive the first mounting plate 151 to drive the key detection mechanism 130 and the key pressing mechanism 140 to reciprocate along the second direction (Y-axis direction), so that the key detection mechanism 130 can detect the key, and the position of the key pressing mechanism 140 can correspond to the key. The second driving mechanism 120 is connected to the second mounting plate 152, and is used to drive the second mounting plate 152 to move along the second direction (Y-axis direction) to adjust the distance between the second mounting plate 152 and the first mounting plate 151, thereby adjusting the distance between the pressing cylinders on the first mounting plate 151 and the second mounting plate 152, so that the position of each pressing cylinder can be respectively opposite to the position of the key.

[0055] In the present invention, the controller is electrically connected to the key detection mechanism 130, the key pressing mechanism 140, the first drive mechanism 110 and the second drive mechanism 120, respectively, and is used to control the operation of the first drive mechanism 110 and the second drive mechanism 120, and is used to determine the key position according to the detection signal of the key detection mechanism 130 and control the pressing cylinder to extend to press the key, as described later.

[0056] Combine the following Figure 2-Figure 7 As shown, in one embodiment of the present invention, the key detection mechanism 130 includes a first driving member 131 and a micro switch 132. The first driving member 131 is fixed to the top of the first mounting plate 151 and connected to the micro switch 132. The micro switch 132 is also electrically connected to the controller. The first driving member 131 drives the micro switch 132 to reciprocate along the first direction (X-axis direction). When the micro switch 132 extends along the first direction, the first mounting plate 151 moves along the second direction (Y-axis direction), and the micro switch 132 is driven to move along the second direction. In the process, the micro switch 132 can contact the protruding key, so it will be triggered to output a high and low level signal, which is the key position identification signal. Therefore, the key position can be detected according to the level signal output by the micro switch 132. During the resetting process of the first mounting plate 151, the first driving member 131 can drive the micro switch 132 to retract along the first direction.

[0057] In the present invention, the first driving member 131 is preferably a cylinder, but is not limited thereto. The first driving member 131 may also adopt other driving mechanisms.

[0058] Continue to combine Figure 2-Figure 7As shown, in the present invention, the number of pressing cylinders of the key pressing mechanism 140 is set correspondingly according to the number of keys of the electronic device to be detected. In one embodiment, the key pressing mechanism 140 includes at least one first pressing cylinder 141 and at least one second pressing cylinder 142, wherein the first pressing cylinder 141 is mounted on the first mounting plate 151, and the second pressing cylinder 142 is mounted on the second mounting plate 152, and the pressing end 1411 of the first pressing cylinder 141 and the pressing end 1421 of the second pressing cylinder 142 are located on the same side as the end 1321 of the aforementioned micro switch 132, and after the key is detected, the first pressing cylinder 141 and the second pressing cylinder 142 extend along the first direction (X-axis direction) to press the key.

[0059] Continue to view Figure 2-Figure 7 As shown, in a specific embodiment, the button pressing mechanism 140 includes a first pressing cylinder 141 and two second pressing cylinders 142, the first pressing cylinder 141 is installed on the first mounting plate 151, and the two second pressing cylinders 142 are installed on the second mounting plate 152 at intervals, and the distance between the two second pressing cylinders 142 is fixed, and the distance between the two second pressing cylinders 142 corresponds to the distance between two buttons of the electronic device to be detected, so that the two second pressing cylinders 142 can correspond to two buttons of the electronic device at one time by moving the second mounting plate 152, thereby shortening the alignment time. This pressing cylinder setting in this specific embodiment can be applied to electronic devices with two buttons and three buttons at the same time, and has stronger compatibility.

[0060] Combine the following Figure 6-Figure 8 As shown, in a specific embodiment of the present invention, the first mounting plate 151 and the second mounting plate 152 are elastically connected, and the second driving mechanism 120 is installed on the first mounting plate 151 and connected to the second mounting plate 152. Specifically, the upper ends of the first mounting plate 151 and the second mounting plate 152 are elastically connected by a spring 155, and the second driving mechanism 120 is connected to the lower end of the second mounting plate 152, so that when the first mounting plate 151 moves in the positive direction along the second direction (Y-axis direction), the second mounting plate 152 can be driven to move synchronously by the second driving mechanism 120, and when the first mounting plate 151 moves in the reverse direction along the second direction (Y-axis direction), the first mounting plate 151 can directly push the second mounting plate 152 to move in the reverse direction along the Y-axis direction. In addition, when the first mounting plate 151 is stationary, the second driving mechanism 120 can drive the second mounting plate 152 to overcome the elastic force of the spring 155 and move relative to the first mounting plate 151 to adjust the distance between the first mounting plate 151 and the second mounting plate 152, and further adjust the distance between the first pressing cylinder 141 and the second pressing cylinder 142.

[0061] It is understandable that the connection between the second driving mechanism 120 and the second mounting plate 152 is not limited to the above-mentioned connection method. For example, in other embodiments, the second driving mechanism 120 may not be installed on the first mounting plate 151, but directly connected to the second mounting plate 152 to drive the second mounting plate 152 to move relative to the first mounting plate 151.

[0062] Combine the following Figure 2-3 , Figure 5-6 As shown, in one embodiment of the present invention, the first driving mechanism 110 includes a first motor 111, a gear 112 and a rack 113, the rack 113 is fixedly arranged along the second direction (Y-axis direction), the gear 112 is meshed with the rack 113 and connected to the first motor 111, and the first motor 111 is fixed to the first mounting plate 151 (see Figure 5 ), therefore, when the first motor 111 drives the gear 112 to rotate, the gear 112 rotates on the rack 113 through the meshing action of the gear 112 and the rack 113 to generate horizontal displacement, thereby moving the first motor 111 connected to the gear 112 and the first mounting plate 151 on which the first motor 111 is mounted.

[0063] More specifically, the first motor 111 in the present invention is preferably a stepper motor, and its rotation speed is n revolutions per second. As for other parameters of the first motor 111, such as frequency, subdivision multiple, etc., no specific limitation is made. Fig.14 As shown, the base ring circumference of the gear 112 in the present invention is C b Therefore, after the gear 112 rotates one circle on the rack 113, the distance traveled by the gear 112 in the tangential direction is equal to the circumference C of its base circle. b Therefore, according to the running time t (in seconds) of the first motor 111, the speed n of the first motor 111 and the base circle circumference C of the gear 112 b , according to the formula L = n * C b *t i The equivalent horizontal distance moved by the first motor 111 after running for t seconds can be calculated. Based on this principle, the controller can calculate the key length and key spacing according to the duration of key recognition and the aforementioned parameters of the first motor 111, as described below.

[0064] See below Figure 2-4 , Figure 6As shown, in the present invention, the mounting mechanism 150 further includes a fixing plate 153 and a guide rail 154 mounted on a side of the fixing plate 153, the guide rail 154 extends along the second direction (Y-axis direction), and the first mounting plate 151 and the second mounting plate 152 are both slidably connected to the guide rail 154. More preferably, a long hole 1531 extending along the second direction (Y-axis direction) is provided on the fixing plate 153, and the long hole 1531 is located below the guide rail 154, and the aforementioned rack 113 is fixed to the side of the fixing plate 153 away from the guide rail 154, that is, the rack 113 and the guide rail 154 are respectively arranged on the two side surfaces of the fixing plate 153, and the first motor 111 is inserted into the long hole 1531 and the gear 112 is meshed with the rack 113. Through the structural arrangement of the fixing plate 153, the space occupied by the first driving mechanism 110 is small, which is conducive to the miniaturization of the device.

[0065] It is understandable that the first driving mechanism 110 is not limited to the driving mode of the first motor 111, the gear 112, and the rack 113. Of course, other driving mechanisms can also be used to drive the first mounting plate 151 to move along the second direction (Y-axis direction).

[0066] Combination Figure 4-6 , Figure 8 As shown, in one embodiment of the present invention, the second driving mechanism 120 includes a second motor 121, a first connecting rod 122 and a second connecting rod 123, wherein the first connecting rod 122 has a first arm 1221 and a second arm 1222 which are at an angle. The second motor 121 is fixed to the first mounting plate 151 and fixed to the first connecting rod 122, the second connecting rod 123 is arranged along the second direction (Y-axis direction) and is located at the bottom of the first mounting plate 151, and one end of the second connecting rod 123 is pivotally connected to the second arm 1222 of the first connecting rod 122, and the other end of the second connecting rod 123 is pivotally connected to the bottom of the second mounting plate 152. Therefore, when the second motor 121 drives the first connecting rod 122 to rotate, the first connecting rod 122 drives the second connecting rod 123 to move along the second direction (Y-axis direction), and then drives the second mounting plate 152 to move through the second connecting rod 123.

[0067] Combine again below Figure 2-Figure 6As shown, in the present invention, the electronic device key position identification and pressing device 100 further includes a position detection mechanism 160. Specifically, the position detection mechanism 160 includes a displacement detector 163 and a slot-shaped photoelectric 164, the slot-shaped photoelectric 164 is installed on the first mounting plate 151 and is opposite to the first arm 1221 of the first connecting rod 122, the displacement detector 163 is installed on the side of the second mounting plate 152, and the displacement detector 163 and the slot-shaped photoelectric 164 are electrically connected to the controller respectively. The slot-shaped photoelectric 164 is used to detect the position of the first connecting rod 122. The distance between the first mounting plate 151 and the second mounting plate 152 can be known according to the detection result of the slot-shaped photoelectric 164. Specifically, when the slot-shaped photoelectric 164 detects the first arm 1221 of the first connecting rod 122, it means that the first mounting plate 151 and the second mounting plate 152 are close, that is, the first pressing cylinder 141 on the first mounting plate 151 and the second pressing cylinder 142 on the second mounting plate 152 are adjacent to each other. Conversely, when the first connecting rod 122 rotates and pushes the second mounting plate 152 to move through the second connecting rod 123, the position of the first arm 1221 of the first connecting rod 122 moves and the slot-shaped photoelectric 164 cannot detect it, which means that the first pressing cylinder 141 on the first mounting plate 151 and the second pressing cylinder 142 on the second mounting plate 152 are spaced apart. In addition, when the second connecting rod 123 pushes the second mounting plate 152 to move, the distance between the second mounting plate 152 and the displacement detector 163 changes. The displacement detector 163 detects the distance between it and the second mounting plate 152, so that the position of the second mounting plate 152 can be obtained. Therefore, the distance between the second mounting plate 152 and the first mounting plate 151 can be controlled, that is, the distance between the first pressing cylinder 141 and the second pressing cylinder 142 can be controlled.

[0068] More preferably, the displacement detector 163 is a laser displacement sensor, but it is not limited thereto, and of course other detection devices can also be used. At the same time, a detection plate 1521 is convexly provided on the second mounting plate 152, and the position of the detection plate 1521 is directly opposite to the position of the displacement detector 163. Therefore, when the second mounting plate 152 moves, the distance between the detection plate 1521 and the displacement detector 163 will change. The position of the first mounting plate 151 can be obtained by detecting the distance between the displacement detector 163 and the detection plate 1521. The position of the second mounting plate 152 is detected, and the purpose is to obtain the position of the second pressing cylinder 142 installed thereon.

[0069] Continue to combine Figure 2-Figure 4As shown, in the present invention, the position detection mechanism 160 further includes a first optical fiber sensor 161 and a second optical fiber sensor 162, which are respectively mounted on both sides of the first mounting plate 151 and the second mounting plate 152 and electrically connected to the controller, and are used to detect the positions of the first mounting plate 151 and the second mounting plate 152. More specifically, the first optical fiber sensor 161 is mounted on one end of the fixed plate 153 close to the displacement detector 163, and is used to detect the starting position of the second mounting plate 152, that is, the starting position of the entire device 100, and the second optical fiber sensor 162 is mounted on the other end of the fixed plate 153, and is used to detect the ending position of the first mounting plate 151, that is, the ending position of the entire device 100. The controller controls the first motor 111 to run or stop according to the detection signals of the first optical fiber sensor 161 and the second optical fiber sensor 162.

[0070] Combine the following Figure 1-16 As shown, the working principle and process of the electronic device key position recognition and pressing device 100 of the present invention are explained.

[0071] First see Figure 1 As shown, the electronic device is placed in the electronic device fixture 200 by the feeding mechanism and positioned, and the electronic device key position identification and pressing device 100 is arranged on one side or both sides of the fixture 200, and the first direction (X-axis direction) is the direction perpendicular to the side of the electronic device, and the second direction (Y-axis direction) is the direction parallel to the side of the electronic device. For example, when the mobile phone 300 is detected, the mobile phone 300 is placed in the fixture 200, and the mobile phone 300 is positioned at the top and the button side. After being close to the positioning surface, the motor drives the pulley to clamp the mobile phone 300. Among them, the side of the mobile phone 300 is provided with a volume button and a power button, and the volume button may be one or two. That is, the volume button and the power button on the side of the mobile phone 300 are arranged along the second direction (Y-axis direction). The structure of the fixture 200 and its positioning method for the mobile phone 300 are conventional methods in the art and will not be described in detail.

[0072] Before starting the measurement, first check whether the electronic device key position recognition and pressing device 100 has returned to the initial position. Figure 2-Figure 4 , Fig. 9 As shown, the first optical fiber sensor 161 installed on the fixing plate 153 detects whether the second mounting plate 152 is in place. When the second mounting plate 152 is detected, it indicates that the entire device 100 is in the starting position.

[0073] When the measurement starts, the controller controls the first driving member 131 of the key detection mechanism 130 to extend, so that the micro switch 132 extends along the first direction (X-axis direction). Fig. 9Then, the first motor 111 of the first driving mechanism 110 is controlled to run, and the first motor 111 drives the gear 112 to rotate. Under the interaction between the gear 112 and the rack 113, the gear 112 rotates on the rack 113, so that the gear 112 produces a horizontal displacement, thereby driving the first motor 111 connected to the gear 112 to move in the positive direction of the second direction (Y-axis direction), and then driving the first mounting plate 151 fixed with the first motor 111 to move in the positive direction of the second direction (Y-axis direction), and the first mounting plate 151 drives the micro switch 132 to move in the positive direction of the second direction (Y-axis direction). During this process, the first mounting plate 151 also drives the second motor 121 installed thereon to move synchronously. Since the second motor 121 is not running, the first connecting rod 122 and the second connecting rod 123 connected thereto cannot rotate, thereby pulling the second mounting plate 152 to move synchronously with the first mounting plate 151 in the positive direction of the second direction (Y-axis direction) until the first mounting plate 151 contacts the second optical fiber sensor 162. At this time, the controller controls the first motor 111 to stop moving, that is, the entire device 100 moves to the stop position. The state at this time is shown in FIG. Fig.10 shown.

[0074] In the above-mentioned moving process, when the end 1321 of the micro switch 132 contacts the protruding key, it will be triggered to output a high-level signal. The high level of this signal is a key signal for key position identification. The controller identifies the position of the key according to the high-level signal; and when the micro switch 132 is separated from the protruding key, it outputs a low-level signal. According to the time length between the high and low-level signals, combined with the speed n of the first motor 111, the circumference C of the base circle of the gear 112 b , the key length and key spacing can be calculated as follows:

[0075] Continue to view Fig. 9 , Fig.10As shown, during the movement of the micro switch 132, the controller records the time interval between the high and low level signals outputted by the micro switch 132. Specifically, the time length between the start of the first motor 111 and the first detection of the rising edge signal by the micro switch 132 is t1, and the first detection of the rising edge means that the micro switch 132 touches the first key for the first time; the time length between the first detection of the rising edge signal by the micro switch 132 and the first detection of the falling edge signal is t2, wherein the first detection of the falling edge signal means that the micro switch 132 is separated from the first key; the time length between the first detection of the falling edge signal by the micro switch 132 and the second detection of the rising edge signal is t3, and the second detection of the rising edge signal means that the micro switch 132 touches the second key; the time length between the second detection of the rising edge signal by the micro switch 132 and the second detection of the falling edge signal is t4, wherein the second detection of the falling edge signal by the micro switch 132 means that the micro switch 132 is separated from the second key; and so on, until the first motor 111 stops running. The units of the aforementioned t1, t2, t3, etc. are all seconds.

[0076] In combination with the above, since the speed of the first motor 111 is n rpm, the circumference of the base ring of the gear 112 is C b Therefore, the controller can calculate the key length, key interval, and key initial position according to the above formula, specifically:

[0077] Key length L i =n*C b *t i (i=2, 4, 6, ...);

[0078] Key interval L j =n*C b *t j (j=3, 5, 7, ...);

[0079] Initial key position L1 = n*C b *t1;

[0080] The initial position of the key is the distance from when the first motor 111 starts to run to when the micro switch 132 first touches the key.

[0081] In addition, according to the above t i The length of time that the corresponding key is pressed can be used to identify which key of the electronic device it is, so as to achieve selective pressing of a specific key.

[0082] Combine the following Figure 9-10 , Figure 14-16 As shown, the above detection and calculation process is further described in detail by taking a mobile phone 300 with three buttons and two buttons on one side as a specific embodiment.

[0083] Combine the following Figure 9-10, Fig.15 As shown, when the mobile phone 300 has two buttons on one side, the two buttons are the power button 310 and the volume button 320, wherein the volume button 320 is longer than the power button 310, and the specific arrangement of the two buttons is the conventional arrangement in the mobile phone 300 industry. During the detection process, when the number of rising edge triggers of the micro switch 132 is equal to 2, the controller starts to calculate, wherein the initial position of the button L1 = n*C b *t1; the length L2 of the volume key 320 = n*C b * t2, the length L4 of the power button 310 = n*C b * t4, the interval between the volume key 320 and the power key 310 L3 = n*C b *t3.

[0084] Furthermore, the volume key 320 and the power key 310 can be respectively identified according to the durations of the aforementioned t2 and t4. Of course, the volume key 320 and the power key 310 can also be respectively identified according to the calculated length L2 of the volume key 320 and the length L4 of the power key 310, so that the power key 310 and the volume key 320 can be respectively pressed according to test needs.

[0085] Combine the following Figure 9-10 , Fig.16 As shown, when the mobile phone 300 has three buttons on one side, the three buttons are the power button 310, the volume-button 320, and the volume+button 330. The lengths of the volume-button 320 and the volume+button 330 are smaller than the lengths of the volume button 320 in the above embodiment. This is a common setting in the industry. When the number of rising edge triggers of the micro switch 132 is equal to 3, the controller starts to calculate the initial position of the button, the length of the button, and the interval between the buttons. Specifically, the initial position of the button L1 = n*C b *t1. The length L2 of the volume+ key 330 = n*C b *t2, the length L4 of the corresponding volume key 320 = n*C b * t4, the length L6 of the power button 310 = n*C b * t6. The interval between the volume + key 330 and the volume - key 320 is L3 = n*C b *t3, correspondingly, the interval L5 between the volume-key 320 and the power key 310 = n*C b *t5.

[0086] Correspondingly, the volume + key 330, volume - key 320, and power key 310 can be respectively identified according to the durations of t2, t4, and t6. Of course, the volume + key 330, volume - key 320, and power key 310 can also be respectively identified according to the calculated length L2 of the volume + key 330, the length L4 of the volume - key 320, and the length L6 of the power key 310, so that the power key 310, volume - key 320, and volume + key 330 can be pressed respectively according to test needs.

[0087] After completing the above key detection, the power key 310 is then aligned. Figure 2-3 , Fig.10 As shown in FIG. 12, the controller controls the first motor 111 to rotate in the reverse direction, so that the first mounting plate 151 moves in the negative direction of the second direction (Y-axis direction), so that the first mounting plate 151 pushes the second mounting plate 152 to retreat synchronously, so as to make the first pressing cylinder 141 on the first mounting plate 15 align with the power button 310 of the mobile phone 300, and the retreat distance is the distance L from the last falling edge detected by the micro switch 132 to the time when the first motor 111 stops running. m To determine. Fig.10 As shown, when the micro switch 132 detects the last falling edge, it indicates that the micro switch 132 is disengaged from the last key, and the time from the last falling edge to the first motor 111 stopping running is t m , also according to the above calculation principle, by formula L m =n*C b *t m The distance traveled by the micro switch 132 from the last key to the time when it stops can be calculated. In addition, there is a physical distance between the end 1321 of the micro switch 132 and the end 1411 of the first pressing cylinder 141, which is a fixed value and is represented by L0. Therefore, the retreat distance of the first mounting plate 151 in the reverse movement is L m -L0, where L m -When L0 is positive, the retreat distance is L m -L0, the first pressing cylinder 141 can be aligned with the power button 310; when L m When -L0 is a negative value, that is, the micro switch 132 detects that it has only moved a small distance after the last descent, then the first mounting plate 151 does not need to be retracted, and the first pressing cylinder 141 can be aligned with the power button 310. Fig.11 shown.

[0088] After the power button 310 is aligned, the volume button is aligned. Figure 4 , Figure 11-12Specifically, after the power button 310 is aligned, the controller controls the torque of the first motor 111 to maintain. At this time, if the slot-shaped photoelectric 164 detects the first arm 1221 of the first connecting rod 122, it means that the first pressing cylinder 141 is close to the second pressing cylinder 142. At this time, the controller first controls the displacement detector 163 to collect the distance information between it and the detection plate 1521. Then, the controller controls the second motor 121 to operate to drive the first connecting rod 122 to rotate synchronously, that is, along Figure 4 When the first connecting rod 122 rotates counterclockwise, it will drive the second connecting rod 123 to move in the negative direction of the second direction (Y-axis direction), and the second mounting plate 152 is pushed to move by the second connecting rod 123, and the second mounting plate 152 is pushed away from the first mounting plate 151. Therefore, the second pressing cylinder 142 on the second mounting plate 152 is pushed out, so as to realize the adjustment of the distance between the first pressing cylinder 141 and the second pressing cylinder 142.

[0089] During the above process, the distance collected by the displacement detector 163 changes continuously. When the change value of the distance collected by the displacement detector 163 is equal to the distance between the last key and the key adjacent thereto, for example, for the mobile phone 300 with three keys, the change value of the above distance is equal to the distance between the power key 310 and the volume key 320, and for the mobile phone 300 with two keys, the change value of the above distance is equal to the distance between the power key 310 and the volume key 320. At this time, the controller controls the second motor 121 to stop running and controls it to maintain torque so that the second pressing cylinder 142 corresponds to the position of the volume key adjacent to the power key 310, as shown in FIG. Fig.12 shown.

[0090] Continue to view Fig.12 It is shown that the distance between the two second pressing cylinders 142 corresponds to the distance between two buttons of the mobile phone 300. More specifically, for a mobile phone 300 with three buttons, the distance between the two second pressing cylinders 142 is equal to the distance between the volume-key 320 and the volume+key 330. For a mobile phone 300 with only two buttons, the distance between the two second pressing cylinders 142 is equal to the interval between the upper and lower ends of the volume key 320. Therefore, after completing the volume key alignment step once, the positions of the two second pressing cylinders 142 have already corresponded to the buttons to be pressed. Fig.12 The figure shows a state where the two second pressing cylinders 142 are opposite to the upper and lower ends of the volume key 320 .

[0091] Finally, the controller controls the first pressing cylinder 141 and the second pressing cylinder 142 to extend to press the power button 310 and the volume button 320, or to press the power button 310, the volume-button 320, and the volume+button 330. Fig.13The figure shows the state where the first pressing cylinder 141 and the second pressing cylinder 142 extend to press the power button 310 and the volume button 320. The present invention is compatible with common mobile phones on the market with a length of 131.5-174.5 mm and a width of 64.2-84.9 mm, and the time for identifying the buttons on one side and completing the spacing adjustment is within 10 seconds.

[0092] After the pressing is completed, the controller controls the second motor 121 to operate to drive the first connecting rod 122 to move along the Figure 4 The controller controls the first motor 111 to rotate in the clockwise direction, driving the second mounting plate 152 to move in the positive direction of the second direction (Y-axis direction) to reset, and then the controller controls the first motor 111 to rotate in the reverse direction, so that the first mounting plate 151 continues to move in the negative direction of the second direction (Y-axis direction), so that the first mounting plate 151 pushes the second mounting plate 152 to continue to move in the negative direction of the second direction (Y-axis direction) until it reaches the initial position, as shown in FIG. Fig. 9 As shown, that is, the first optical fiber sensor 161 detects the second mounting plate 152 and then controls the first motor 111 to stop running to wait for the next detection.

[0093] In summary, the electronic device key position recognition and pressing device 100 of the present invention has the following technical effects:

[0094] 1. The first driving mechanism 110 drives the first mounting plate 151 to reciprocate along the second direction (Y-axis direction) to drive the key detection mechanism 130 and the key pressing mechanism 140 to move, so as to detect the key position by using the key detection mechanism 130. After the key is detected, the key is pressed by the key pressing mechanism 140, thereby realizing automatic key position recognition and automatic pressing, reducing the workload of adjusting the pressed key position when pressing the physical key in the existing test method, realizing the flexibility of the test, and greatly improving the detection efficiency and detection effect;

[0095] Second, the key length and the distance between keys can be calculated by using the level signal generated when the key detection mechanism 130 detects the key and the duration between the level signals, combined with the speed at which the first driving mechanism 110 drives the first mounting plate 151 to move;

[0096] 3. The second drive mechanism 120 drives the second mounting plate 152 to move along the second direction (Y-axis direction) to adjust the distance between the second mounting plate 152 and the first mounting plate 151, thereby adjusting the distance between the pressing cylinders, so that the position of the pressing cylinders is opposite to the key position, and the multi-point positioning of the pressing cylinders is realized, which not only realizes the precise alignment of the pressing cylinders, but also improves the efficiency of adjusting the pressing key position;

[0097] 4. It can realize the position recognition and pressing of multiple buttons, so it can test various types of electronic devices with good compatibility;

[0098] 5. The overall structure of the entire electronic device key position identification and pressing device 100 is compact, which greatly reduces the volume of the mechanism, improves the space utilization rate inside the device, and realizes a miniaturized structural design.

[0099] Correspondingly, the key position recognition and pressing method using the electronic device key position recognition and pressing device 100 of the present invention also has the above technical effects.

[0100] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the scope of the patent application of the present invention are still within the scope covered by the present invention.

Claims

1. A key position recognition and pressing device for an electronic device, characterized in that: include: The mounting mechanism comprises a first mounting plate and a second mounting plate connected to each other; A key detection mechanism, mounted on the first mounting plate, for detecting keys; A button pressing mechanism, comprising at least two pressing cylinders, the pressing cylinders being respectively mounted on the first mounting plate and the second mounting plate and both being extendable and retractable along a first direction, the pressing cylinders being used to press buttons; A first driving mechanism, connected to the first mounting plate, used to drive the first mounting plate to drive the second mounting plate to move synchronously, so as to drive the key detection mechanism and the key pressing mechanism to reciprocate along the second direction; a second driving mechanism connected to the second mounting plate, wherein when the first mounting plate is fixed, the second driving mechanism can drive the second mounting plate to move relative to the first mounting plate along the second direction to adjust the distance between the second mounting plate and the first mounting plate; The controller is electrically connected to the key detection mechanism, the key pressing mechanism, the first drive mechanism and the second drive mechanism, respectively, and is used to control the operation of the first drive mechanism and the second drive mechanism, and is used to determine the key position and calculate the length of each key and the spacing between adjacent keys according to the detection signal of the key detection mechanism, and control the pressing cylinder to extend to press the key.

2. The electronic device key position recognition and pressing device according to claim 1, characterized in that: The key detection mechanism includes a first driving member and a micro switch connected to the first driving member, the first driving member drives the micro switch to move back and forth along the first direction, and the micro switch is electrically connected to the controller and is used to detect the key.

3. The electronic device key position recognition and pressing device according to claim 1, characterized in that: The button pressing mechanism includes at least one first pressing cylinder and at least one second pressing cylinder, the first pressing cylinder is installed on the first mounting plate, and the second pressing cylinder is installed on the second mounting plate. The distance between the first mounting plate and the second mounting plate is adjusted to adjust the distance between the first pressing cylinder and the second pressing cylinder.

4. The electronic device key position recognition and pressing device according to claim 1, characterized in that: The first driving mechanism includes a first motor, a gear and a rack. The rack is arranged along the second direction and meshes with the gear. The first motor is fixed to the first mounting plate and connected to the gear. When the first motor drives the gear to rotate, the first motor and the first mounting plate are moved.

5. The electronic device key position recognition and pressing device according to claim 1, characterized in that: The first mounting plate and the second mounting plate are elastically connected, and the second driving mechanism is installed on the first mounting plate and connected to the second mounting plate. When the first mounting plate moves, it can drive the second driving mechanism and the second mounting plate to move synchronously.

6. The electronic device key position recognition and pressing device according to claim 5, characterized in that: The second driving mechanism includes a second motor, a first connecting rod and a second connecting rod. The second motor is fixed to the first mounting plate and to the first connecting rod. The two ends of the second connecting rod are pivotally connected to the first connecting rod and the second mounting plate respectively. When the second motor drives the first connecting rod to rotate, the second mounting plate is driven to move through the second connecting rod.

7. The electronic device key position recognition and pressing device according to claim 6, characterized in that: It also includes a slot-shaped photoelectric and a displacement detector, wherein the slot-shaped photoelectric is installed on the first mounting plate and opposite to the first connecting rod, the slot-shaped photoelectric is electrically connected to the controller and is used to detect the position of the first connecting rod, and the distance between the second mounting plate and the first mounting plate is judged according to the detection result of the slot-shaped photoelectric, and the displacement detector is installed on the side of the second mounting plate and is electrically connected to the controller, and is used to detect the moving position of the second mounting plate, and the moving distance of the second mounting plate is judged according to the detection result of the displacement detector.

8. The electronic device key position recognition and pressing device according to claim 7, characterized in that: The second mounting plate is provided with a detection plate facing the displacement detector. When the second mounting plate moves, the distance between the detection plate and the displacement detector changes, and the displacement detector detects the distance between the detection plate and the detection plate.

9. The electronic device key position recognition and pressing device according to any one of claims 1 to 8, characterized in that: It also includes a position detection mechanism, which includes a first optical fiber sensor and a second optical fiber sensor. The first optical fiber sensor and the second optical fiber sensor are respectively installed on both sides of the first mounting plate and the second mounting plate and are electrically connected to the controller for detecting the starting position and the ending position of the first mounting plate and the second mounting plate.

10. The electronic device key position recognition and pressing device according to claim 4, characterized in that: The mounting mechanism also includes a fixed plate and a guide rail installed on one side of the fixed plate, the first mounting plate and the second mounting plate are both slidably connected to the guide rail, the rack is installed on the other side of the fixed plate, the first motor is inserted into the fixed plate and enables the gear to mesh with the rack.

11. A key position recognition and pressing method using the key position recognition and pressing device of an electronic device according to any one of claims 1 to 10, characterized in that: The steps include: (1) The controller controls the first driving mechanism to drive the first mounting plate to drive the key detection mechanism and the key pressing mechanism to move along the second direction until the end position. When the key detection mechanism contacts a protruding key during the movement, it is triggered to output a level signal. The controller identifies the position of each key and calculates the length of each key and the distance between adjacent keys according to the level signal output by the key detection mechanism. (2) The controller controls the first driving mechanism to drive the first mounting plate to move in the opposite direction by a certain distance, so that the pressing cylinder on the first mounting plate corresponds to the last button of the electronic device; (3) The controller controls the first driving mechanism to maintain the torque, and then controls the second driving mechanism to operate to push the second mounting plate to move away from the first mounting plate. When the distance moved by the second mounting plate is equal to the distance between the last key and the key adjacent to it, the controller controls the second driving mechanism to stop operating and maintain the torque, so that the pressing cylinder on the second mounting plate corresponds to other keys of the electronic device; (4) The controller controls each of the pressing cylinders to extend to press each button of the electronic device.

12. The key position recognition pressing method according to claim 11, characterized in that: In step (1), the controller calculates the length of each key and the distance between adjacent keys according to the following formula: Key length L i =n*C b *t i (i=2, 4, 6, ...); Key interval L j =n*C b *t j (j=3, 5, 7, ...); Wherein, n is the rotation speed of the first motor of the first driving mechanism, in revolutions per second; C b is the base circle circumference of the gear of the first driving mechanism, in mm; t i is the duration between the rising edge signal and the adjacent falling edge signal outputted sequentially by the key detection mechanism, t j The duration between the falling edge signal and the adjacent rising edge signal outputted by the key detection mechanism in sequence, t i ,t j The unit is seconds.

13. The key position recognition pressing method according to claim 11, characterized in that: In step (2), the retreat distance of the first mounting plate in the reverse direction is L m -L0, where L m = n*C b *t m , t m L is the time from when the key detection mechanism detects the last falling edge to when the first driving mechanism stops running, m is the distance traveled by the key detection mechanism from the time it leaves the last key to the time it stops, and L0 is the physical distance between the micro switch of the key detection mechanism on the first mounting plate and the first pressing cylinder.

Citation Information

Patent Citations

  • An apparatus for detecting key

    CN211504638U