Disclosure of Invention
Aiming at the problems, the invention aims to provide a key durability test device which can efficiently and accurately realize a pressing test on a key type device to be tested.
In a first aspect, the present invention provides a key endurance test apparatus, comprising: the device comprises a controller, a fixed seat, a positioning assembly movably arranged on the fixed seat and a test head connected with the positioning assembly in a linked manner;
the controller is electrically connected with the positioning assembly;
the test head comprises a force transducer, a rigid piece and a pressing piece;
the sensing end of the force transducer is connected with the pressing piece through the rigid piece;
the load cell is electrically connected with the controller;
the controller includes a processor and a memory having executable code stored therein, the executable code being executable by the processor to perform the steps of:
controlling the rigid piece to move from a preset initial position to an object to be detected;
when the stress of the force sensor reaches a preset target stress, acquiring the measured moving distance of the rigid piece;
and controlling the rigid piece to move from the preset initial position to the region to be tested of the object to be tested according to the moving distance, so that the rigid piece is subjected to pressing test.
In a first possible implementation manner of the first aspect, the steps are as follows: and controlling the rigid piece to move from the preset initial position to the region to be tested of the object to be tested according to the moving distance, so that the rigid piece performs a pressing test, and specifically comprising:
repeating the following steps until the feedback signal is an abnormal signal or the preset pressing times are reached:
controlling the rigid piece to move the moving distance from the preset initial position to a to-be-measured area of the to-be-measured object, so that the rigid piece presses the to-be-measured device;
acquiring a feedback signal; wherein the feedback signal is sent by the load cell of the rigid piece or the object to be detected;
judging whether the feedback signal is abnormal or not according to the feedback signal;
recording the pressing times and updating the moving distance;
and controlling the rigid piece to move to the preset initial position in the direction away from the object to be detected.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the acquiring a feedback signal specifically includes:
acquiring the actual pressing force of the rigid piece acquired by the sensing end of the force sensor;
Generating a feedback signal according to the actual pressing force and the preset target pressing force; and generating an abnormal feedback signal when the actual pressing force does not accord with the preset target pressing force.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes setting a sound sensor opposite to the object to be measured, where the sound sensor is electrically connected to the controller, and the acquiring the feedback signal specifically includes:
acquiring a sound change signal, which is acquired by the sound sensor and generated by the object to be detected according to the pressing operation of the rigid piece;
and determining a feedback signal of the object to be detected according to the sound change signal.
With reference to the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method further includes a light sensor disposed opposite to the touch screen of the object to be measured, and the light sensor is electrically connected to the controller, and the acquiring the feedback signal specifically includes:
acquiring a screen brightness change signal generated by the object to be tested according to the pressing operation of the rigid piece;
and determining a feedback signal of the object to be detected according to the screen brightness change signal.
With reference to the first possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes a spatial displacement sensor disposed relative to the object to be measured, and the spatial displacement sensor is electrically connected to the controller, and the acquiring the feedback signal specifically includes:
acquiring a spatial displacement signal, which is acquired by the spatial displacement sensor and generated by the object to be detected according to the pressing operation of the rigid piece;
and determining a feedback signal of the object to be detected according to the space displacement signal.
In a sixth possible implementation manner of the first aspect, the positioning assembly includes: the X-axis sliding component is movably arranged on the X axis of the fixed seat, the Y-axis sliding component is movably arranged on the Y axis of the fixed seat, and the Z-axis sliding component is movably arranged on the Z axis of the fixed seat;
the X-axis sliding component is connected with a sample supporting seat of the object to be detected;
the Y-axis sliding assembly is connected with the Z-axis sliding assembly;
the Z-axis sliding assembly is coupled to the test head.
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect, the sliding assembly includes: the device comprises a supporting seat, a motor driver, a motor, a guide rail arranged on the supporting seat and a connecting piece which can slide on the guide rail;
The supporting seat is connected with the fixing seat;
the motor driver is electrically connected with the controller, and the motor driver is electrically connected with the motor;
the motor is connected with the connecting piece;
the X-axis sliding assembly is connected with the sample supporting seat of the object to be detected through the connecting piece; the Y-axis sliding assembly is connected with the Z-axis sliding assembly through the connecting piece; the Z-axis sliding assembly is coupled to the test head through the tie.
With reference to the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the infrared sensor is further included;
the infrared sensor is arranged at a preset X position on the support seat of the X-axis sliding assembly, the infrared sensor is arranged at a preset Y position on the support seat of the Y-axis sliding assembly, and the infrared sensor is arranged at a preset Z position on the support seat of the Z-axis sliding assembly; wherein the preset X position, the preset Y position and the preset Z position are homing positions;
the infrared sensor is electrically connected with the controller;
the steps further comprise:
when the rigid piece is detected to start or stop operation, receiving feedback information of the infrared sensor at the homing position;
When the feedback information indicates that the pressing piece is not detected, moving the pressing piece in a preset direction; the preset direction is the direction in which the pressing piece points to the homing position.
In a ninth possible implementation manner of the first aspect, before the controlling the rigid member to move from the preset initial position to the object to be measured, the method further includes:
obtaining a stress coefficient factor of a force transducer connected with the rigid piece after calibrating the force transducer;
and correcting the stress value of the rigid piece detected by the force sensor according to the stress coefficient factor.
One of the above technical solutions has the following advantages: the movable setting of locating component is on the fixing base, locating component hookup test head, the controller electricity is connected locating component under locating component's drive, the test head can remove, the test head includes force transducer, rigidity spare and push piece, because force transducer's sensing end passes through the rigidity spare hookup push piece, so solved and adjusted the pressing force size that acts on the part through adjusting the choke valve aperture, the problem of bringing: the air pressure fluctuation of the air source is large, the stability of the air pressure value of the air source cannot be ensured, the pressing force value of the key parts during pressing and loosening actions cannot be ensured, the requirement of test precision cannot be met, and the adjustment difficulty of the opening of the throttle valve is high; and solve the problem that uses the elastic component to bring: the elastic piece has limitation to the moving distance, different elastic pieces and the different beard coefficients caused by the long use time of the same elastic piece are needed to be measured before each test, the adjustment difficulty is high, the beard coefficient of the elastic piece is unstable, the elastic piece is easy to deform, and the requirement on precision cannot be met.
And when the force applied by the force sensor reaches the preset target force, the moving distance of the rigid piece obtained by measurement is obtained, and the rigid piece is controlled to move from the preset initial position to the region to be tested of the object according to the moving distance, so that the rigid piece is subjected to the pressing test. The acquisition of the moving distance before measurement and the movement of the acquired moving distance during the test are started from the same initial position, the same distance is moved, the pressing force of an object to be measured can be ensured to be consistent, the whole test process only needs to acquire the moving distance, the automatic pressing test can be carried out by inputting the acquired moving distance, the operation is simple and easy, and of course, the implementation of any product of the invention does not necessarily need to achieve all the advantages at the same time.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a key durability test device which is used for performing accurate and efficient automatic pressing test and is respectively described in detail below.
Referring to fig. 1, in a first embodiment, a key durability test apparatus 100 is provided, including: the device comprises a controller 1, a fixed seat 2, a positioning assembly 3 movably arranged on the fixed seat and a test head 4 connected with the positioning assembly;
the controller 1 is electrically connected with the positioning assembly 3;
the test head 4 comprises a load cell 41, a rigid member 42 and a pressing member 43;
the sensing end of the load cell 41 is coupled to the pressing piece 43 through the rigid piece 42;
the load cell 41 is electrically connected to the controller 1.
In the present embodiment, the fixing base 2 includes two fixing legs 21 and a bracket 22, and a sample support base 23 is disposed between the two fixing legs 21 for placing an object to be measured. A positioning support plate 24 is arranged on the support 22, and the positioning assembly 3 is arranged on the positioning support plate 24.
Preferably, the positioning assembly 3 comprises: an X-axis sliding component 31 movably arranged on the X-axis of the fixed seat, a Y-axis sliding component 32 movably arranged on the Y-axis of the fixed seat and a Z-axis sliding component 33 movably arranged on the Z-axis of the fixed seat;
the X-axis sliding component 31 is connected with the sample supporting seat 23 of the object to be tested;
the Y-axis sliding assembly 32 is coupled to the Z-axis sliding assembly 33;
the Z-axis slide assembly 33 is coupled to the test head 4.
Preferably, the sliding assembly 30 includes: a supporting seat 301, a motor driver 302, a motor 303, a guide rail 304 arranged on the supporting seat and a connecting piece 305 which can slide on the guide rail;
the supporting seat 301 is connected with the fixed seat 2; wherein the support base 301 is coupled to the stand 22.
The motor driver 302 is electrically connected to the controller 1, and the motor driver 302 is electrically connected to the motor 303;
the motor 303 is coupled to the lead 305;
wherein the X-axis sliding assembly 31 is coupled to the sample support 23 of the object to be measured through the stay 3051; the Y-axis sliding assembly 32 is coupled to the Z-axis sliding assembly 33 via the tie 3052; the Z-axis slide assembly 33 is coupled to the test head 4 via the lead 3053, the lead 3053 being coupled to the load cell 41.
Wherein the dragging member 305 may be a slider, and the X-axis sliding assembly 31 is coupled to the sample support 23 of the object to be tested through the slider; the Y-axis sliding component 32 is connected with a supporting seat of the Z-axis sliding component 33 through the sliding block.
The motor driver 302 has 6 input ports, see fig. 2, 2 of which are power input ports, which are respectively connected to the positive power VCC (12V) and the negative power GND to provide working power for the driver and the motor; the other 4 are signal input ports, namely a stepping pulse signal PUL+port 1, a stepping pulse signal PUL-port 2, a direction level signal DIR+port 3 and a direction level signal DIR-port 4.
Control of the motor movement direction of the motor driver 302: the port 3 is connected with 5V voltage, and when the controller 1 controls the port 4 to output high level, the motor driver 302 drives the motor 303 to rotate clockwise; when the controller 1 controls the port 4 to output a low level, the motor driver 302 drives the motor 303 to rotate counterclockwise.
Control of motor movement speed of motor driver 302: the port 1 is connected with 5V voltage, the controller 1 controls the port 2 to output a pulse, and when the pulse period is shorter, the motor driver 302 drives the motor 303 to rotate at a higher speed, the motor 303 is connected with the connecting piece 305, and the movement speed is faster; as the pulse period is longer, the motor driver 302 drives the motor 303 to rotate at a smaller speed, the moving speed of the link 305 to which the motor 303 is coupled is slower.
Positioning of the motor 303 movement position: first let the controller 1 outputN pulses, measuring the distance S that the motor 303 drives the dragging member 305 to move under the driving of the N pulses, and calculating a pulse driving coefficient k=s/N; then measuring the distance S between the pressing area of the test object and the initial position of the pressing piece 0 Will S 0 The distance S in the X-axis, Y-axis and Z-axis directions is decomposed x0 ,S y0 ,S z0 The method comprises the steps of carrying out a first treatment on the surface of the The number N of pulses required by the motor 303 in the X-axis, the Y-axis and the Z-axis is obtained x =S x0 /k,N y =S y0 /k,N z =S z0 K; finally, a control program is written to enable the controller 1 to output the pulse numbers Nx, ny, nz to the X-axis driver, the Y-axis driver and the Z-axis driver, respectively, so as to enable the motor 303 to drive the pressing member 43 to be positioned to the target position.
The whole working process is as follows: in this embodiment, the controller 1 controls the motor driver 3021 of the X-axis sliding assembly 31 to move, the motor driver 3021 drives the motor 3031 of the X-axis sliding assembly 31 to move (not shown), so that the motor 3031 (not shown) rotates to drive the pulling member 3051 of the X-axis sliding assembly 31, and the sample support 23 of the object to be measured coupled to the pulling member 3051 moves to a preset distance and is positioned to a preset initial X position; then the controller 1 controls the motor driver 3022 of the Y-axis sliding assembly 32 to move, the motor driver 3022 drives the motor 3032 of the Y-axis sliding assembly 32 to move, the motor 3032 rotates to drive the pulling member 3052 of the Y-axis sliding assembly 32, and the Z-axis sliding assembly 33 coupled to the pulling member 3052 moves to a preset distance and is positioned to a preset initial Y position; finally, the controller 1 controls the motor driver 3023 of the Z-axis sliding assembly 33 to move, the motor driver 3023 drives the motor 3033 of the Z-axis sliding assembly 33 to move, the motor 3033 rotates to drive the pulling member 3053 of the Z-axis sliding assembly 33, and the test head 4 coupled to the pulling member 3053 moves to a preset distance and is positioned to a preset initial Z position, so that the entire test head is positioned to the initial position. After the initial position is determined, the motor 3033 on the Z axis is driven, so that the test head 4 connected with the motor is moved to the direction of the object to be tested by a preset distance.
Referring to fig. 3, the controller 1 includes a processor and a memory, wherein executable code is stored in the memory, and the executable code can be executed by the processor to implement the following steps:
referring to fig. 4, the load cell 41 is calibrated and calibrated prior to performing the compression test:
s101, obtaining a stress coefficient factor of a force transducer connected with the rigid piece after calibrating the force transducer;
referring to fig. 5 to 6, the calibration process of the load cell 41 is as follows:
firstly, the force sensor is electrically connected with a display screen through the force sensor 41, a calibrated digital force meter with an order of magnitude higher precision than the force sensor 41 is selected, the digital force meter applies force to a force bearing point of the force sensor 41, and then the force value reading of the force sensor 41 is displayed on the display screen;
then, recording the force value readings of the force measuring sensor 41 and the digital force measuring meter;
finally, a force value curve is drawn according to the recorded force value readings of the force sensor 41 and the digital dynamometer, and the force coefficient factor of the force sensor 41 is calculated according to the curve value.
S102, correcting the stress value of the rigid piece detected by the force sensor according to the stress coefficient factor;
when the controller 1 receives the output force value of the load cell 41, the output force value is corrected according to the stress coefficient factor, so as to increase the accuracy of the output force value of the load cell 41.
After the load cell is calibrated with high precision, the acquisition of the moving distance is started:
s10, controlling the rigid piece to move from a preset initial position to an object to be detected;
wherein, the initial position is the initial position of the rigid member 42 moving toward the object to be measured, the initial position of the rigid member 42 is adjusted according to the requirement, and the pressing member is aligned to the object to be measured. After the initial position of the rigid element 42, i.e. the initial position of the pressing element 43, is determined.
After the pressing member 43 moves to the initial position, the controller 1 continuously outputs a pulse, and the Z-axis motor driver 3023 drives the motor 3033 to rotate according to the pulse, and the drawing member 3053 coupled thereto moves with the test head 4 by a distance corresponding to the pulse under the rotation of the motor 3033.
S11, when the stress of the force sensor reaches a preset target stress, acquiring the measured moving distance of the rigid piece;
wherein the sensing end of the load cell 41 is coupled to the pressing member 43 through the rigid member 42, and the pressing force value of the pressing member 43 is identical to the pressure value sensed by the load cell 41 due to the force interaction.
The controller 1 acquires the stress value output by the force sensor 41 in real time, and stops moving the pressing member 43 when detecting that the stress value reaches a preset target stress, that is, the controller stops outputting pulses to measure the moving distance of the rigid member 42, or measure the moving distance of the bottommost end of the pressing member 43, where the moving distance of the rigid member 42 is equal to the moving distance of the pressing member 43.
The measurement of the moving distance may be a manual measurement of a tester, or may be a measurement by an instrument such as a displacement sensor, a laser range finder, or the like, which is not particularly limited in this embodiment.
The preset modes of the target pressing force can be two modes:
in a first pressure preset mode, the key endurance test equipment is provided with a touch screen, a pressure setting interface is provided through the touch screen, and the set target test pressure is directly received, namely, the target test pressure is directly set by a tester.
The second pressure presetting mode is to provide a pressure setting interface to receive the pressure test range and the pressure test step. Specifically, a pressure setting interface can be provided on the display screen, and a tester can operate to input a pressure test range and a pressure test step. The pressure test step is a constant increment, and the test pressure value is continuously increased from 0 by the pressure test step, so that the feedback effect of the object to be tested can be detected under various test pressures.
The pressure test range may be (0, 2000 g), and the test steps may be set according to the pressure level to be measured, which is not particularly limited in this embodiment.
Then, a target test pressure is calculated according to the pressure test range and the pressure test step. Specifically, in the pressure test range, starting from 0, the pressure value is increased in pressure test steps and is taken as the target pressing force. According to the user-defined setting of the test pressure, the pressure test of each level can be carried out on the object to be tested. For example, the preset pressure test step is 10g, and the tap test pressure range is (0, 20 g). At this time, when the target test pressure is 10g or 20g, the tapping level pressure test is performed within the tapping test pressure range. After different target pressing forces are input, measuring moving distance values corresponding to the different target pressing forces, and acquiring the acquired measured moving distances.
S12, controlling the rigid piece to move from the preset initial position to a region to be tested of the object to be tested according to the moving distance, so that the rigid piece is subjected to a pressing test;
when the moving distance is measured and the pressing test is performed, the pulse periods output by the controller 1 are the same, so that the moving speeds of the rigid members 42 are the same, and the movement of the pressing members 43 driven by the rigid members 42 is ensured to be uniform.
When the movement distance is collected, the initial position of the movement of the rigid member 42 is controlled to be identical to the initial position of the movement of the rigid member 42 when the pressing test is performed, and the movement of the pressing member 43 is uniform, it is ensured that the pressing force applied when the movement distance is collected is identical to the pressing force applied to the pressing member 43 when the pressing test is performed at the same distance, and the pressing force applied to the object to be measured is identical due to the interaction of the forces.
In one specific implementation, referring to fig. 7, the steps are as follows: and controlling the rigid piece to move from the preset initial position to the region to be tested of the object to be tested according to the moving distance, so that the rigid piece performs a pressing test, and specifically comprising:
Repeating the following steps until the feedback signal is an abnormal signal or the preset pressing times are reached:
s21, controlling the rigid piece to move the moving distance from the preset initial position to a to-be-measured area of the to-be-measured object, so that the rigid piece presses the to-be-measured device;
the collected movement distance and the corresponding pressing force value are input into the controller 1 at the same time, the controller 1 outputs the corresponding pulse number according to the movement distance, and the controller 1 records the pulse number corresponding to the movement distance and the corresponding pressure value.
In order to ensure accuracy of the test result, when the moving distance is collected, the pressing member 43 is controlled to move toward the region to be tested of the object to be tested, and when the pressing test is performed, the pressing member is also controlled to move toward the region to be tested of the object to be tested, so that points where the force acts are consistent.
S22, acquiring a feedback signal; wherein the feedback signal is sent by the load cell of the rigid piece or the object to be detected;
s23, judging whether the feedback signal is abnormal or not according to the feedback signal;
s24, recording the pressing times and updating the moving distance;
S25, controlling the rigid piece to move to the preset initial position in the direction away from the object to be detected.
The rigid member 41 may be controlled to move away from the object to be tested by the movement distance, so as to return to the initial position, or an infrared sensor may be installed at the initial position, until a certain portion of the test head 4 touches the emitting line of the infrared sensor, the movement of the test head 4 may be stopped, and only the relationship between the touching position and the initial position of the test head may be determined, which is not limited in this embodiment.
Wherein the slide assembly 30 further comprises an infrared sensor 34;
the infrared sensor 341 is disposed at a preset X position on the support seat of the X-axis sliding assembly 31, the infrared sensor 342 is disposed at a preset Y position on the support seat of the Y-axis sliding assembly 32, and the infrared sensor 343 is disposed at a preset Z position on the support seat of the Z-axis sliding assembly 33; wherein the preset X position, the preset Y position and the preset Z position are homing positions;
the infrared sensor 34 is electrically connected with the controller 1;
referring to fig. 8, the steps further include:
S31, when the rigid piece is detected to start or stop operation, receiving feedback information of the infrared sensor at the homing position;
it should be noted that the homing position and the initial position may be selectively set to coincide, which is not particularly limited in this embodiment.
The starting operation is that the key durability test equipment performs measurement acquisition of the moving distance or operation at the beginning of a pressing test; the stopping operation is an operation when the feedback signal is received as an abnormal signal, the pressing times reach the preset pressing times or the rigid piece is controlled to move to the preset initial position in the direction away from the object to be detected after the initial position is set to be consistent with the homing position.
S32, when the feedback information is that the pressing piece is not detected, moving the rigid piece in a preset direction; the preset direction is the direction in which the pressing piece points to the homing position.
Specifically, the infrared sensor 341 is disposed on a side of the moving part 3051, the infrared sensor 342 is disposed on a side of the moving part 3052, the infrared sensor 343 is disposed on a side of the moving part 3053, and according to a specific situation, when the pressing part is not detected by the infrared sensor, it is assumed that the infrared sensor 341 is disposed on a left side of the moving part 3051, and when the pressing part is not detected by the feedback information, the moving part 3051 is controlled to move leftwards until the pressing part 43 is detected by the infrared sensor 341.
The implementation of the embodiment has the following technical effects:
the movable setting of locating component is on the fixing base, locating component hookup test head, the controller electricity is connected locating component under locating component's drive, the test head can remove, the test head includes force transducer, rigidity spare and push piece, because force transducer's sensing end passes through the rigidity spare hookup push piece, so solved and adjusted the pressing force size that acts on the part through adjusting the choke valve aperture, the problem of bringing: the air pressure fluctuation of the air source is large, the stability of the air pressure value of the air source cannot be ensured, the pressing force value of the key parts during pressing and loosening actions cannot be ensured, the requirement of test precision cannot be met, and the adjustment difficulty of the opening of the throttle valve is high; reliable equipment assurance is provided for high-efficiency and accurate pressing test, dependence of a traditional cylinder actuating mode on an air source is eliminated, and movement is facilitated. And solve the problem that uses the elastic component to bring: the elastic piece has limitation to the moving distance, different elastic pieces and the different beard coefficients caused by the long use time of the same elastic piece are needed to be measured before each test, the adjustment difficulty is high, the beard coefficient of the elastic piece is unstable, the elastic piece is easy to deform, and the requirement on precision cannot be met. The device lays a firm foundation for testing the requirement of repeatability and high precision, has high equipment reliability, can perform high-strength repeatability work, and is efficient and accurate. The sliding assembly is divided into X, Y and a Z axis, and can be positioned to the object to be tested more accurately, so that the pressing test is convenient to carry out.
And when the force applied by the force sensor reaches the preset target force, the moving distance of the rigid piece obtained by measurement is obtained, and the rigid piece is controlled to move from the preset initial position to the region to be tested of the object according to the moving distance, so that the rigid piece is subjected to the pressing test. The collecting of the moving distance before measurement and the moving distance during test are both from the same initial position, the same distance is moved, the pressing force of an object to be measured can be ensured to be consistent, the Peak coefficient calculation is needed to be carried out relative to the elastic piece, the whole test process of the embodiment only needs to collect the moving distance, the collecting moving distance is input, the automatic pressing test can be carried out, the operation is simple and easy, and the operation is efficient and accurate. The automatic homing can be carried out before and after the test, and the method is simple, convenient and humanized. And, of course, not all of the advantages described above need be achieved at the same time in the practice of any one of the products of the invention.
The second embodiment differs from the first embodiment in that: referring to fig. 9, the acquiring the feedback signal specifically includes:
S41, acquiring the actual pressing force of the rigid piece acquired by the sensing end of the force sensor;
s42, generating a feedback signal according to the actual pressing force and the preset target pressing force; and generating an abnormal feedback signal when the actual pressing force does not accord with the preset target pressing force.
Specifically, the controller 1 compares the actual pressing force value of the rigid member 42 acquired by the sensing end of the load cell 41 with a preset target pressing force value in real time, generates a feedback signal as normal within a preset error range, and generates the feedback signal as an abnormal signal when the feedback signal exceeds the preset error range.
The implementation of the embodiment has the following technical effects:
the working condition of the object to be detected and the working condition of the key durability test equipment are determined by comparing the actual pressing force of the object to be detected with the preset target pressing, so that an abnormal alarm function is realized, the pressing test can be more accurately performed, the high efficiency of the whole flow is ensured, and the time and cost waste for pressing test when the object to be detected is abnormal is avoided. And, of course, not all of the advantages described above need be achieved at the same time in the practice of any one of the products of the invention.
Embodiment three differs from embodiment one in that: referring to fig. 10, further including a sound sensor disposed opposite to the object to be measured, where the sound sensor is electrically connected to the controller, the acquiring the feedback signal specifically includes:
s51, acquiring a sound change signal, which is acquired by the sound sensor and generated by the object to be detected according to the pressing operation of the rigid piece;
s52, determining a feedback signal of the object to be detected according to the sound change signal.
And when the sound change signal is detected, generating the feedback signal as a normal signal.
Specifically, the pressing member 43 is controlled to press the touch screen of the object to be tested, if the object to be tested works normally and the key endurance test device works normally, the external horn of the object to be tested or the built-in horn of the object to be tested will emit sound, and when the sound sensor collects the sound emitted by the horn, the sound signal is converted into an electrical signal and output to the controller, if the sound sensor does not detect the sound after the pressing member is controlled to press the object to be tested, it is possible that the key endurance test device cannot be pressed in place, the object to be tested cannot respond normally to the pressing operation or the horn cannot emit the sound due to a problem. The accuracy of each test is ensured by the feedback signal. In order to distinguish noise, the sound generator of the device to be detected may be tuned to the maximum, and when the sound signal collected by the sound sensor exceeds a preset decibel value, the feedback signal is generated as a normal signal, where the preset decibel value is determined according to a specific situation, and the comparison of this embodiment is not limited specifically.
The implementation of the embodiment has the following technical effects:
the working condition of the object to be detected and the working condition of the key durability test equipment are determined through the collection of the sound of the object to be detected, so that the function of abnormal alarm is realized, the pressing test can be more accurately carried out, the high efficiency of the whole flow is ensured, and the time and cost waste for pressing test when the object to be detected is abnormal is avoided. And, of course, not all of the advantages described above need be achieved at the same time in the practice of any one of the products of the invention.
The fourth embodiment differs from the first embodiment in that: referring to fig. 11, further including a light sensor disposed opposite to the touch screen of the object to be detected, where the light sensor is electrically connected to the controller, the obtaining the feedback signal specifically includes:
s61, acquiring a screen brightness change signal generated by the object to be tested according to the pressing operation of the rigid piece;
s62, determining a feedback signal of the object to be detected according to the screen brightness change signal.
The touch screen generates the feedback signal as a normal signal when the touch screen detects that the brightness of the screen acquired by two times is different.
Specifically, when a pressing test is prepared, the controller acquires screen brightness acquired by the optical sensor, outputs a voltage value V0 according to the screen brightness value, acquires the screen brightness acquired by the optical sensor when the pressing piece presses the object to be tested, outputs a voltage value V1 according to the screen brightness value, compares whether the difference value between the voltage value V0 and the voltage value V1 is in a preset error range, and generates the feedback signal as a normal signal when detecting that the screen brightness acquired by two times before and after is different from the error range; if the difference between the voltage values V0 and V1 is within the error range, it is detected that the screen brightness acquired two times before and after is the same, that is, the touch screen of the object to be measured does not respond to the pressing, it is possible that the pressing device presses the object to be measured with errors or the object to be measured cannot work normally, and the feedback signal is generated as an abnormal signal.
It should be noted that, the pressing time needs to be determined according to the brightness display time of the touch screen of the object to be measured, and if it takes 3 seconds to start to light up to completely dark the screen of the object to be measured, the screen time difference of pressing the object to be measured twice before and after the pressing piece needs to be controlled to be more than 3 seconds.
The implementation of the embodiment has the following technical effects:
the working condition of the object to be detected and the working condition of the key durability test equipment are determined through the acquisition of the screen brightness of the object to be detected after the pressing operation, so that the function of abnormal alarm is realized, the pressing test can be more accurately performed, the high efficiency of the whole flow is ensured, and the time and cost waste for pressing test when the object to be detected is abnormal is avoided. And, of course, not all of the advantages described above need be achieved at the same time in the practice of any one of the products of the invention.
The fifth embodiment differs from the first embodiment in that: referring to fig. 12, the device further includes a spatial displacement sensor disposed opposite to the object to be measured, and the spatial displacement sensor is electrically connected to the controller, and the acquiring the feedback signal specifically includes:
s71, acquiring a spatial displacement signal, which is acquired by the spatial displacement sensor and generated by the object to be detected according to the pressing operation of the rigid piece;
s72, determining a feedback signal of the object to be detected according to the space displacement signal.
When the object to be detected is monitored to generate space displacement according to the pressing operation of the rigid piece, the feedback signal is generated as a normal feedback signal.
In one implementation manner, the spatial displacement sensor may be a distance sensor, and if the distance sensor detects that the object to be measured is close to the object to be measured when the object to be measured is pressed to move downwards, the distance sensor generates a signal, and the controller acquires the signal of the distance sensor to determine that the object to be measured is spatially displaced according to the pressing operation of the rigid member.
In another implementation manner, the spatial displacement sensor may be a displacement sensor, where an electronic circuit in the electronic bin generates an initial pulse, and when the initial pulse is transmitted in the waveguide wire, a rotating magnetic field advancing along the direction of the waveguide wire is generated at the same time, and when the magnetic field meets a permanent magnetic field in an object to be measured, a magnetostriction effect is generated, so that the waveguide wire is twisted, and the twist is sensed by an energy pick-up mechanism installed in the electronic bin and converted into a corresponding current pulse, and a time difference between the two pulses is calculated by the electronic circuit, so that the measured displacement can be accurately measured. And the controller reads the displacement values before and after pressing, compares the displacement value differences, and generates a feedback signal as a normal signal according to the spatial displacement of the object to be detected generated by the pressing operation of the rigid piece when the displacement value differences exceed a preset range value.
The implementation of the embodiment has the following technical effects:
the working condition of the object to be detected and the working condition of the key durability test equipment are determined through the spatial position change of the object to be detected after the pressing operation, so that the function of abnormal alarm is realized, the pressing test can be more accurately performed, the high efficiency of the whole flow is ensured, and the time and cost waste for pressing test when the object to be detected is abnormal is avoided. And, of course, not all of the advantages described above need be achieved at the same time in the practice of any one of the products of the invention.
Referring to fig. 13, fig. 13 is a schematic diagram of a terminal device according to a sixth embodiment of the present invention, and is used for executing a pressing test method according to an embodiment of the present invention, where, as shown in fig. 13, the terminal device for pressing test includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being for enabling connected communication between these components. The user interface 13 may optionally include a USB interface, as well as other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface, as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, the memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
an operating system 151 containing various system programs for implementing various basic services and handling hardware-based tasks;
program 152.
Specifically, the processor 11 is configured to invoke the program 152 stored in the memory 15 to execute the press test method described in the above embodiment.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is a control center of the key endurance test apparatus, connecting various interfaces and lines to various parts of the entire key endurance test apparatus.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the electronic device for the compression test by running or executing the computer program and/or module stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, a text conversion function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the module integrated with the key endurance test apparatus may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a separate product. Based on this understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the actions and simulations referred to are not necessarily required for the present invention.