CN108401156A - A kind of keypad automatic testing method and system - Google Patents
A kind of keypad automatic testing method and system Download PDFInfo
- Publication number
- CN108401156A CN108401156A CN201810066223.6A CN201810066223A CN108401156A CN 108401156 A CN108401156 A CN 108401156A CN 201810066223 A CN201810066223 A CN 201810066223A CN 108401156 A CN108401156 A CN 108401156A
- Authority
- CN
- China
- Prior art keywords
- keypad
- cylinder
- processor
- resistance
- transverse
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
Abstract
The invention discloses a kind of keypad automatic testing method and systems.System includes processor, traversing driver, the first cylinder actuator, the second cylinder actuator, transverse-moving mechanism, the first cylinder, the second cylinder, keypad detection seat, probe, holder.Probe is electrically connected with processor.First cylinder actuator and the first cylinder are electrically connected.Second cylinder actuator and the second cylinder are electrically connected.Traversing driver is electrically connected with transverse-moving mechanism.Transverse-moving mechanism is rack-mount.Keypad detects seat and is equipped with keypad installation position;Probe is located in keypad installation position, and probe is electrically connected with processor;Probe is arranged on the first cylinder.Transverse-moving mechanism controls the movement of cylinder, processor controls the flexible of cylinder, the button to be measured on compression bar pressing keys plate on cylinder, processor receives the voltage value of button output to be measured, voltage value is compared with standard voltage value, judge the quality of keypad, it is efficient, cost of labor is low, fault rate is small.
Description
Technical field
The present invention relates to keypad detection technique field more particularly to a kind of keypad automatic testing method and systems.
Background technology
Generally there are 7 buttons on the keypad of television set, realizes different keypress functions.In order to ensure that television set dispatches from the factory
When, each button using when be intact, need to be detected each button of keypad.Traditional button board detecting method
All it is to go to press each button manually by tester to judge whether button is fine or not;Hand sends out infrared signal by remote controler,
To judge whether remote control reception head is fine or not;The LED light to detect by an unaided eye on keypad whether light on and off.It is tight using artificial detection
The production efficiency for affecting keypad again significantly increases the cost of labor of substrate factory, and inevitably will appear test leakage, erroneous judgement
The case where.
Invention content
In view of the deficiencies of the prior art, the present invention proposes a kind of keypad automatic testing method and system, this method or
The button of processor and keypad to be measured is electrically connected by system by probe, and the movement of cylinder, place are controlled by transverse-moving mechanism
Flexible, the button to be measured on compression bar pressing keys plate on cylinder of device control cylinder is managed, processor receives button output to be measured
Voltage value, voltage value is compared with standard voltage value, judges the quality of keypad, solves traditional keypad detection
The problem that method efficiency is low, cost of labor is big, fault rate is high.
To achieve the goals above, technical solution of the present invention is as follows:
A kind of keypad automatic testing method, includes the following steps:
S1:Several keypads to be measured are fixed on keypad detection seat.
S2:Probe is driven by the first cylinder, by each button of the probe top on each keypad so that on each keypad
Each button is electrically connected with processor.
S3:Transverse-moving mechanism is driven by traversing driver, transverse-moving mechanism shifts to the second cylinder current on each keypad
Button to be measured.
S4:Compression bar is driven to press the current button to be measured on each keypad by the second cylinder.
S5:Receive the voltage value of the current button output to be measured on each keypad respectively by processor.
S6:The voltage value of current button output to be measured on each keypad is compared with the first standard voltage value, is sentenced
Whether the current button to be measured to break on each keypad is normal;Cycle executes S3-S6, until each button on each keypad has detected
Finish.
S7:The testing result of each keypad is shown by display screen.
S8:Drive transverse-moving mechanism, transverse-moving mechanism that the second cylinder is shifted to origin by traversing driver.
Further, it is also comprised the steps of between step S6 and step S7:Compression bar is driven to press by third cylinder distant
Control device;Receive the voltage value of the current remote control infrared receiving terminal output to be measured on each keypad respectively by processor;It will be each
The voltage value of remote control infrared receiving terminal output on keypad is compared with the second standard voltage value, is judged on each keypad
Whether normal it is remotely controlled infrared receiving terminal.
Further, it is also comprised the steps of between step S6 and step S7:By processor respectively on each keypad
The controlling switch of LED light export high and low level;The LED light received respectively by processor on each keypad exists
The first voltage value of LED light output when controlling switch is high level, and the LED light on each keypad is received respectively
The second voltage value of LED light output when controlling switch is low level;By the LED light output on each keypad
The first voltage value is compared with third standard voltage value, by each keypad LED light output second voltage value with
4th standard voltage value is compared, and judges whether the LED light on each keypad is normal.
A kind of keypad automatic checkout system, including processor, traversing driver, the first cylinder actuator, the second cylinder
Driver, transverse-moving mechanism, the first cylinder, the second cylinder, keypad detection seat, probe, holder.
Processor is electrically connected with traversing driver, the first cylinder actuator, the second cylinder actuator respectively.Probe and place
Manage device electrical connection.First cylinder actuator and the first cylinder are electrically connected.Second cylinder actuator electrically connects with the second cylinder
It connects.Traversing driver is electrically connected with transverse-moving mechanism.Transverse-moving mechanism is rack-mount.Keypad detection seat is located at transverse-moving mechanism
Lower section;Keypad detects seat and is equipped with keypad installation position;Probe is located in keypad installation position, and probe is electrical with processor
Connection;Probe is arranged on the first cylinder.
Transverse-moving mechanism is for driving the second cylinder transverse shifting.First cylinder is for driving probe top on each keypad
Each button.Second cylinder is for driving compression bar to press the button on keypad to be measured.
Further, further include third cylinder actuator, third cylinder.Processor passes through third cylinder actuator and third
Cylinder is electrically connected.Third cylinder is used for when the infrared receiving terminal to keypad is detected, and compression bar is driven to press remote controler,
So that remote controler sends out infrared signal.
Further, further include display, transverse-moving mechanism position sensor, loud speaker.Processor respectively with display, cross
Telephone-moving structure position sensor, speaker electrical connection.Display is used for the testing result of display button plate.Loud speaker be used for by
Keypad testing result in the state of, is not sent out prompt.Whether transverse-moving mechanism position sensor is for incuding transverse-moving mechanism
It returns to origin and sends out prompt to processor when induction transverse-moving mechanism returns to origin.
Further, transverse-moving mechanism includes motor module, horizontal slide rail, transmission belt, driven wheel, cylinder carrier.Motor mould
Motor is carried on block.Horizontal slide rail, motor, driven wheel are separately mounted on holder.Transmission belt is mounted on motor and driven wheel;
Motor, driven wheel are located at the both ends of transmission belt.Transmission belt is parallel and horizontal slide rail.Cylinder carrier is slidably mounted on cross
To on sliding rail;Also, cylinder carrier is fixed on the belt.Second cylinder is mounted on cylinder carrier.Traversing driver and electricity
Machine modular electrical connects.
Further, traversing driver includes motor drive direction control unit, motor range control unit, motor switch.
Processor is electrically connected with motor drive direction control unit, motor range control unit, motor switch respectively;Motor side
It is electrically connected respectively by interface J6 and motor module to control unit, motor range control unit, motor switch.Motor drive direction
Control unit includes PNP type triode Q2, resistance R10, R13.The base stage that processor passes through resistance R10 and PNP type triode Q2
It is connected;The grounded collector of PNP type triode Q2;The emitter of PNP type triode Q2 is connected by resistance R13 with interface J6
It connects.Motor range control unit includes PNP type triode Q3, resistance R22, R39.Processor passes through resistance R22 and three pole of positive-negative-positive
The base stage of pipe Q3 is connected;The grounded collector of PNP type triode Q3;The emitter of PNP type triode Q3 by resistance R39 with
Interface J6 is connected.Motor switch unit includes PNP type triode Q4, resistance R42, R45.Processor passes through resistance R42 and PNP
The base stage of type triode Q4 is connected;The grounded collector of PNP type triode Q4;The emitter of PNP type triode Q4 passes through electricity
Resistance R45 is connected with interface J6.
Further, the first cylinder actuator includes NPN type triode QD9, P-channel metal-oxide-semiconductor QD10, capacitance CD54, electricity
Hinder RD59, RD61, RD65, RD66, RD67, R119, interface JP16.
DC power supply DC_24V is connected by resistance R59 with the source electrode of P-channel metal-oxide-semiconductor QD10;P-channel metal-oxide-semiconductor QD10
Drain electrode be connected with interface JP16;The drain electrode of P-channel metal-oxide-semiconductor QD10 is also grounded by resistance R119;Interface JP16 be used for
First cylinder is electrically connected.Resistance R59 also passes sequentially through resistance RD61, RD66 and is connected with the grid of P-channel metal-oxide-semiconductor QD10.
Resistance RD61 is connected with the common node of resistance RD66 with the collector of NPN type triode QD9;The hair of NPN type triode QD9
Emitter grounding.The base stage of NPN type triode QD9 passes sequentially through resistance RD67, RD65 ground connection.Processor and resistance RD67 and resistance
The common node of RD65 is connected.Capacitance CD54 is connected across between the grid and source electrode of P-channel metal-oxide-semiconductor QD10.
Further, loud speaker includes NPN type triode Q6, resistance R63, R79, interface JP13, buzzer.Processor is logical
Resistance R79 is crossed with the base stage of NPN type triode Q6 to be connected;The negative pole end of the collector and interface JP13 of NPN type triode Q6
It is connected;The positive terminal of JP13 is connected by resistance R63 with DC power supply.Interface JP13 is for installing buzzer.
Beneficial effects of the present invention:
The button of processor and keypad to be measured is electrically connected by this method or system by probe, and gas is controlled by transverse-moving mechanism
The movement of cylinder, processor control the flexible of cylinder, the button to be measured on compression bar pressing keys plate on cylinder, and processor reception waits for
The voltage value for surveying button output, voltage value is compared with standard voltage value, judges the quality of keypad, efficient, artificial
It is at low cost, fault rate is small.
Description of the drawings
Fig. 1 is the flow diagram of the keypad automatic testing method of the present invention.
Fig. 2 is the circuit block diagram of the keypad automatic checkout system of the present invention.
Fig. 3 is the circuit diagram of traversing driver 2 in Fig. 2.
Fig. 4 is the circuit diagram of the first cylinder actuator 3 in Fig. 2.
Fig. 5 is the circuit diagram of loud speaker 8 in Fig. 2.
Wherein, the reference numeral of Fig. 1 to Fig. 5 is:Processor 1, traversing driver 2, the first cylinder actuator 3, the second gas
Cylinder driver 4, third cylinder actuator 5, transverse-moving mechanism position sensor 6, display 7, loud speaker 8, splitter 9, cross sliding machine
Structure 10, the first cylinder 11, the second cylinder 12, third cylinder 13;Motor drive direction control unit 21, motor range control unit 22,
Motor switch 23.
Specific implementation mode
With reference to the accompanying drawings and examples, the present invention is further explained.
Embodiment 1:
As shown in Figure 1, a kind of keypad automatic testing method, includes the following steps:
S1:Several keypads to be measured are fixed on keypad detection seat.
S2:Probe is driven by the first cylinder, by each button of the probe top on each keypad so that on each keypad
Each button is electrically connected with processor.
S3:Transverse-moving mechanism is driven by traversing driver, transverse-moving mechanism shifts to the second cylinder current on each keypad
Button to be measured.
S4:Compression bar is driven to press the current button to be measured on each keypad by the second cylinder.
S5:Receive the voltage value of the current button output to be measured on each keypad respectively by processor.
S6:The voltage value of current button output to be measured on each keypad is compared with the first standard voltage value, is sentenced
Whether the current button to be measured to break on each keypad is normal;Cycle executes S3-S6, until on keypad detection seat on each keypad
Each button detection finish.
S7:Each button and remote control infrared receiving terminal on keypad detection seat on each keypad, LED light detection finish
Afterwards, the testing result of each button and remote control infrared receiving terminal, LED light on each keypad is shown by display screen.
S8:Drive transverse-moving mechanism, transverse-moving mechanism that the second cylinder is shifted to origin, prepares next round by traversing driver
Detection.
Further, it is also comprised the steps of between step S6 and step S7:
S61:Compression bar is driven to press to remote controler by third cylinder;It is received respectively by processor current to be measured on each keypad
Remote control infrared receiving terminal output voltage value;By the voltage value and the second mark of the remote control infrared receiving terminal output on each keypad
Quasi- voltage value is compared, and judges whether the remote control infrared receiving terminal on each keypad is normal.
S62:High and low level is exported by the controlling switch of the processor LED light on each keypad respectively;Pass through
Processor receives the first of LED light output of the LED light on each keypad when controlling switch is high level respectively
Voltage value, and the of LED light output of the LED light on each keypad when controlling switch is low level is received respectively
Two voltage values;The first voltage value of LED light output on each keypad is compared with third standard voltage value, it will be each
The second voltage value of LED light output on keypad is compared with the 4th standard voltage value, is judged on each keypad
Whether LED light is normal.
Preferably, in detection process, if any one button or remote control on keypad detection seat on each keypad are infrared
Receive head, LED light testing result do not passed through, then alarm is sent out by loud speaker.
The button of processor and keypad to be measured is electrically connected by this method by probe, and cylinder is controlled by transverse-moving mechanism
Movement, processor controls the flexible of cylinder, the button to be measured on compression bar pressing keys plate on cylinder, and processor receives to be measured
The voltage value of button output, voltage value is compared with standard voltage value, judges the quality of keypad, it is efficient, manually at
This is low, fault rate is small.
Embodiment 2:
As shown in Fig. 2, a kind of keypad automatic checkout system, for realizing method described in embodiment 1, including processor 1, cross
Move driver 2, the first cylinder actuator 3, the second cylinder actuator 4, third cylinder actuator 5, transverse-moving mechanism position sensor
6, display 7, loud speaker 8, splitter 9, transverse-moving mechanism 10, the first cylinder 11, the second cylinder 12, third cylinder 13, keypad
Detect seat, probe, holder.
Traversing driver 2, the first cylinder actuator 3, the second cylinder actuator 4, third cylinder actuator 5, light-emitting diode display
7, loud speaker 8, transverse-moving mechanism position sensor 6 are electrically connected with processor 1 respectively.Probe passes through 1 electricity of splitter 9 and processor
Gas connects.First cylinder actuator 3 and the first cylinder 11 are electrically connected.Second cylinder actuator 4 electrically connects with the second cylinder 12
It connects.Third cylinder actuator 5 is electrically connected with third cylinder 13.Traversing driver 2 is electrically connected with transverse-moving mechanism 10.It is traversing
Mechanism 10 is rack-mount.Keypad detection seat is located at the lower section of transverse-moving mechanism 10;Keypad detects seat and is equipped with keypad
Installation position;Probe is located in keypad installation position, and probe is electrically connected with processor 1;Probe is arranged on the first cylinder 11.
Probe is used to each button on processor 1 and keypad to be measured being electrically connected.Traversing driver 2 is for driving cross
The transverse shifting on holder of telephone-moving structure 10.Transverse-moving mechanism 10 is for driving the second cylinder 12,13 transverse shifting of third cylinder.It is traversing
Mechanism position sensor 6 is for incuding whether transverse-moving mechanism 10 returns to origin, when induction transverse-moving mechanism 10 returns to origin, to processing
Device 1 sends out prompt.First cylinder 11 is for driving each button of the probe top on each keypad.Second cylinder 12 is used for band dynamic pressure
Bar presses the button on keypad to be measured.Third cylinder 13 is used for when the infrared receiving terminal to keypad is detected, and is driven
Compression bar presses remote controler so that remote controler sends out infrared signal, and the infrared receiving terminal of keypad receives the infrared signal.Display
7 are used for the testing result of display button plate.Loud speaker 8 be used for keypad testing result not by by the state of, send out and carry
Show.Splitter 9 detects for realizing the branch of keypad.
Specifically, transverse-moving mechanism 10 includes motor module, horizontal slide rail, transmission belt, driven wheel, cylinder carrier.
Motor is carried on motor module.Horizontal slide rail, motor, driven wheel are separately mounted on holder.Transmission belt is mounted on
On motor and driven wheel;Motor, driven wheel are located at the both ends of transmission belt.Motor, the height of driven wheel are identical so that transmission
With parallel and horizontal slide rail;Transmission belt is located at the lower section of horizontal slide rail.Cylinder carrier is slidably mounted in horizontal slide rail;And
And cylinder carrier is fixed on the belt.Second cylinder 12, third cylinder 13 are separately mounted on cylinder carrier.Traversing driving
Device 2 is electrically connected with motor module.
Further, cylinder carrier is the babinet of bottom opening;Second cylinder 12, third cylinder 13 are separately mounted to cylinder
In the vessel of carrier.Compression bar on second cylinder 12 is straight down.Controller is installed in the vessel of cylinder carrier.Third cylinder
Compression bar on 13 is directed toward a button on remote controler.
Specifically, as shown in figure 3, traversing driver 2 includes motor drive direction control unit 21, motor range control unit
22, motor switch 23.
Processor 1 electrically connects with motor drive direction control unit 21, motor range control unit 22, motor switch 23 respectively
It connects;Motor drive direction control unit 21, motor range control unit 22, motor switch 23 pass through interface J6 and motor module electricity respectively
Gas connects.
Motor drive direction control unit 21 includes PNP type triode Q2, resistance R10, R13.Processor 1 by resistance R10 with
The base stage of PNP type triode Q2 is connected;The grounded collector of PNP type triode Q2;The emitter of PNP type triode Q2 passes through
Resistance R13 is connected with interface J6.
Motor range control unit 22 includes PNP type triode Q3, resistance R22, R39.Processor 1 by resistance R22 with
The base stage of PNP type triode Q3 is connected;The grounded collector of PNP type triode Q3;The emitter of PNP type triode Q3 passes through
Resistance R39 is connected with interface J6.
Motor switch Unit 23 includes PNP type triode Q4, resistance R42, R45.Processor 1 passes through resistance R42 and positive-negative-positive
The base stage of triode Q4 is connected;The grounded collector of PNP type triode Q4;The emitter of PNP type triode Q4 passes through resistance
R45 is connected with interface J6.
For processor 1 to the base stage output signal QG1 of PNP type triode Q2, the height of signal QG1 level determines motor
Direction of rotation.For example, when signal QG1 is high level, the motor on motor module rotates in the forward direction, when signal QG1 is low level
When, the motor on motor module reversely rotates.Base stage output signal QG2 from processor 1 to PNP type triode Q3, signal QG2's
Pulse number determines the rotating cycle of motor.For example, the pulse number of signal QG2 is more, the number of turns of motor rotation is bigger, gas
The distance of cylinder carrier movement is remoter.Processor 1 is to the base stage output signal QG3 of PNP type triode Q4, the height of signal QG3 level
The low work and stopping for determining motor.For example, when signal QG3 is high level, signal is worked as in the motor work on motor module
When QG3 is low level, the motor on motor module is stopped.
Specifically, as shown in figure 4, the first cylinder actuator 3 includes NPN type triode QD9, P-channel metal-oxide-semiconductor QD10, electricity
Hold CD54, resistance RD59, RD61, RD65, RD66, RD67, R119, interface JP16.
DC power supply DC_24V is connected by resistance R59 with the source electrode of P-channel metal-oxide-semiconductor QD10;P-channel metal-oxide-semiconductor QD10
Drain electrode be connected with interface JP16;The drain electrode of P-channel metal-oxide-semiconductor QD10 is also grounded by resistance R119;Interface JP16 be used for
First cylinder 11 is electrically connected.Resistance R59 also passes sequentially through resistance RD61, RD66 and is connected with the grid of P-channel metal-oxide-semiconductor QD10
It connects.Resistance RD61 is connected with the common node of resistance RD66 with the collector of NPN type triode QD9;NPN type triode QD9
Emitter ground connection.The base stage of NPN type triode QD9 passes sequentially through resistance RD67, RD65 ground connection.Processor 1 and resistance RD67
It is connected with the common node of resistance RD65.Capacitance CD54 is connected across between the grid and source electrode of P-channel metal-oxide-semiconductor QD10.
When processor 1 exports high level to the base stage of NPN type triode QD9, NPN type triode QD9 conductings, at this point, P ditches
The grid of road metal-oxide-semiconductor QD10 is low level, the QD10 conductings of P-channel metal-oxide-semiconductor, driving the first cylinder 11 work;Processor 1 is to NPN
When the base stage output low level of type triode QD9, NPN type triode QD9 cut-offs, at this point, the grid of P-channel metal-oxide-semiconductor QD10 is
High level, the QD10 cut-offs of P-channel metal-oxide-semiconductor, the first cylinder actuator 3 do not work.
Second cylinder actuator 4, third cylinder actuator 5 are identical as the structure of the first cylinder actuator 3, no longer tired herein
It states.
Specifically, as shown in figure 5, loud speaker 8 includes NPN type triode Q6, resistance R63, R79, interface JP13, buzzing
Device.
Processor 1 is connected by resistance R79 with the base stage of NPN type triode Q6;The collector of NPN type triode Q6 with
The negative pole end of interface JP13 is connected;The positive terminal of JP13 is connected by resistance R63 with DC power supply+5V_PC.Interface JP13
For installing buzzer.
When keypad testing result is obstructed out-of-date, processor 1 exports high level, NPN type to the base stage of NPN type triode Q6
Triode Q6 conductings, buzzer send out sound prompting.
Operation principle:
Before detection, each keypad to be measured is put into the keypad installation position on keypad detection seat.Each keypad to be measured is side by side
In keypad installation position, to realize the parallel detection of multiple keypads.After startup, processor 1 drives to the first cylinder
3 output signal of device, the first cylinder actuator 3 control the first cylinder 11, the first cylinder 11 inflation, by probe top to button to be measured
The detection port of plate, processor 1 is electrically connected by each button of probe and keypad to be measured.
Traversing driver 2 controls motor rotation, drives cylinder carrier to be slided along horizontal slide rail by transmission belt, by second
Compression bar on cylinder 12 takes the top position of first group of button to be measured to.Then, the second cylinder actuator 4 controls the second cylinder
12, compression bar is pressed to current button to be measured by the inflation of the second cylinder 12.After button is pressed, the detection Port detecting of processor 1
And record the corresponding voltage change of each button currently surveyed.At this point, completing the detection of first group of button to be measured.Then,
Two cylinders 12 are deflated, compression bar retraction, and traversing driver 2 continues to control motor rotation, and cylinder carrier continues to drive the second cylinder 12
It moves forward, the compression bar on the second cylinder 12 is taken to second group of top position to be measured.Then, the second cylinder actuator 4 after
Compression bar is pressed to current button to be measured by the second cylinder 12 of continuous control, the inflation of the second cylinder 12.After button is pressed, processor 1
Detection Port detecting and record the corresponding voltage change of each button for currently being surveyed.And so on, until having surveyed to be measured press
The detection of each button in keypad.
Next, the remote control reception head and LED light to each keypad to be measured are detected.Third cylinder actuator 5
Third cylinder 13 is controlled, third cylinder 13 is inflated, and compression bar presses the remote controler in transverse-moving mechanism, and remote controler sends out infrared remote control
Code.After remote control reception head receives infrared code, the detection Port detecting of processor 1 and the change for recording remote control reception head output voltage
Change.After the detection for completing remote control detector, the pin control to the LED light on each keypad simultaneously of processor 1
Pin exports high and low level, allows LED light that two kinds of variations of on and off occur, by processor 1 the voltage of corresponding on and off
It records, and is compared with standard voltage value.So far, each Function detection of keypad finishes;Traversing driver 2 controls electricity
Machine inverts, and cylinder carrier does drawback movement, and transverse-moving mechanism position sensor 6 is detected the position of cylinder carrier;Cross sliding machine
Structure position sensor 6 sends out signal when sensing that cylinder carrier returns to origin position, to processor 1, and processor 1 controls traversing
Driver 2 is stopped, and motor stops rotating, and waits for the detection of next round.Processor 1 by each detection parameters of record respectively with
The parameter of standard is compared, and is detected, and testing result is shown on the display 7.If each parameter detecting is normal,
The not sounding of loud speaker 8, otherwise loud speaker 8 sends out alarm, while display 7 shows specific abnormal point, and makes a record.
After having detected button, when remote control reception head and LED light to each keypad to be measured are detected, the second cylinder
Compression bar on 12 can keep being pressed in always on last group of button, after the completion of remote control reception head and LED light detection,
Just retract.Keypad can be made preferably to be contacted with probe by the pressure of compression bar in this way.
Processor 1 selects STC12C5A60S2 microcontrollers in the present invention, since microcontroller only has 8 road ADC modulus sampling ends
Mouthful, in parallel detection, if the quantity of keypad to be measured is more than 8 when being less than 16, need that each button could be completed points for 2 times
The detection of the same button of plate is achieved using splitter 9 thus.Processor 1 reserves 232 serial ports, so that device upgrade uses.
The button of processor 1 and keypad to be measured is electrically connected by the system by probe, and gas is controlled by transverse-moving mechanism
The movement of cylinder, processor 1 control the flexible of cylinder, and the button to be measured on compression bar pressing keys plate on cylinder, processor 1 receives
The voltage value of button output to be measured, voltage value is compared with standard voltage value, judges the quality of keypad, efficient, people
Work is at low cost, fault rate is small.
What has been described above is only a preferred embodiment of the present invention, and present invention is not limited to the above embodiments.It is appreciated that this
The other improvement and variation that field technology personnel directly export or associate without departing from the basic idea of the present invention
It is considered as being included within protection scope of the present invention.
Claims (10)
1. a kind of keypad automatic testing method, it is characterised in that:
Include the following steps:
S1:Several keypads to be measured are fixed on keypad detection seat;
S2:Probe is driven by the first cylinder, by each button of the probe top on each keypad so that pressed described in each
Each button in keypad is electrically connected with processor;
S3:Transverse-moving mechanism, the transverse-moving mechanism is driven to shift to the second cylinder on each keypad by traversing driver
Current button to be measured;
S4:Compression bar is driven to press the current button to be measured on each keypad by second cylinder;
S5:Receive the voltage value of the current button output to be measured on each keypad respectively by the processor;
S6:The voltage value of current button output to be measured on each keypad is compared with the first standard voltage value, is sentenced
Whether the current button to be measured to break on each keypad is normal;Cycle executes step S3-S6, until on each keypad
Each button detection finishes;
S7:The testing result of each keypad is shown by display screen;
S8:Drive the transverse-moving mechanism, the transverse-moving mechanism that second cylinder is shifted to origin by the traversing driver.
2. keypad automatic testing method according to claim 1, it is characterised in that:
It is also comprised the steps of between step S6 and step S7:
Compression bar is driven to press remote controler by third cylinder;The remote control on each keypad is received respectively by the processor
The voltage value of infrared receiving terminal output;By the voltage value and second of the remote control infrared receiving terminal output on each keypad
Standard voltage value is compared, and judges whether the remote control infrared receiving terminal on each keypad is normal.
3. keypad automatic testing method according to claim 2 or 3, it is characterised in that:
It is also comprised the steps of between step S6 and step S7:
High and low level is exported by the controlling switch of the processor LED light on each keypad respectively;Pass through
The processor receives the LED of the LED light on each keypad when controlling switch is high level respectively
The first voltage value of indicator light output, and it is low to receive the LED light on each keypad respectively in controlling switch
The second voltage value of LED light output when level;By the institute of the LED light output on each keypad
It states the first voltage value to be compared with third standard voltage value, by the institute of the LED light output on each keypad
It states second voltage value to be compared with the 4th standard voltage value, judges the LED light on each keypad whether just
Often.
4. a kind of keypad automatic checkout system, it is characterised in that:
Including processor, traversing driver, the first cylinder actuator, the second cylinder actuator, transverse-moving mechanism, the first cylinder,
Two cylinders, keypad detection seat, probe, holder;
The processor is electrically connected with the traversing driver, the first cylinder actuator, the second cylinder actuator respectively;
The probe is electrically connected with the processor;
First cylinder actuator is electrically connected with first cylinder;
Second cylinder actuator is electrically connected with second cylinder;
The traversing driver is electrically connected with the transverse-moving mechanism;
The transverse-moving mechanism installation is on the bracket;
The keypad detection seat is located at the lower section of the transverse-moving mechanism;The keypad detection seat is installed equipped with keypad
Position;The probe is located in the keypad installation position, and the probe is electrically connected with processor;The probe is arranged described
On first cylinder;
The transverse-moving mechanism is for driving the second cylinder transverse shifting;
First cylinder is for driving each button of the probe top on each keypad;
Second cylinder is for driving compression bar to press the button on keypad to be measured.
5. keypad automatic checkout system according to claim 4, it is characterised in that:
Further include third cylinder actuator, third cylinder;
The processor is electrically connected by the third cylinder actuator and the third cylinder;
The third cylinder is used for when the infrared receiving terminal to keypad is detected, and compression bar is driven to press remote controler so that
Remote controler sends out infrared signal.
6. keypad automatic checkout system according to claim 4, it is characterised in that:
Further include display, transverse-moving mechanism position sensor, loud speaker;
The processor is connect with the display, transverse-moving mechanism position sensor, speaker electrical respectively;
The display is used for the testing result of display button plate;
The loud speaker be used for keypad testing result not by by the state of, send out prompt;
The transverse-moving mechanism position sensor incudes the transverse-moving mechanism and returns for incuding whether the transverse-moving mechanism returns to origin
When to origin, prompt is sent out to the processor.
7. keypad automatic checkout system according to claim 4, it is characterised in that:
The transverse-moving mechanism includes motor module, horizontal slide rail, transmission belt, driven wheel, cylinder carrier;
Motor is carried on the motor module;
The horizontal slide rail, motor, driven wheel are separately mounted on the holder;
The transmission belt is mounted on the motor and the driven wheel;The motor, driven wheel are located at the transmission belt
Both ends;
The transmission belt is parallel with the horizontal slide rail;
The cylinder carrier is slidably mounted in the horizontal slide rail;Also, the cylinder carrier is fixed on the transmission
It takes;
Second cylinder is mounted on the cylinder carrier;
The traversing driver is electrically connected with the motor module.
8. keypad automatic checkout system according to claim 4, it is characterised in that:
The traversing driver includes motor drive direction control unit, motor range control unit, motor switch;
The processor is electrically connected with the motor drive direction control unit, motor range control unit, motor switch respectively;Institute
Motor drive direction control unit, motor range control unit, motor switch is stated to be electrically connected by interface J6 and motor module respectively;
The motor drive direction control unit includes PNP type triode Q2, resistance R10, R13;
The processor is connected by resistance R10 with the base stage of PNP type triode Q2;The collector of PNP type triode Q2 connects
Ground;The emitter of PNP type triode Q2 is connected by resistance R13 with interface J6;
The motor range control unit includes PNP type triode Q3, resistance R22, R39;
The processor is connected by resistance R22 with the base stage of PNP type triode Q3;The collector of PNP type triode Q3 connects
Ground;The emitter of PNP type triode Q3 is connected by resistance R39 with interface J6;
The motor switch unit includes PNP type triode Q4, resistance R42, R45;
The processor is connected by resistance R42 with the base stage of PNP type triode Q4;The collector of PNP type triode Q4 connects
Ground;The emitter of PNP type triode Q4 is connected by resistance R45 with interface J6.
9. keypad automatic checkout system according to claim 4, it is characterised in that:
First cylinder actuator include NPN type triode QD9, P-channel metal-oxide-semiconductor QD10, capacitance CD54, resistance RD59,
RD61, RD65, RD66, RD67, R119, interface JP16;
DC power supply is connected by resistance R59 with the source electrode of P-channel metal-oxide-semiconductor QD10;The drain electrode of P-channel metal-oxide-semiconductor QD10 with connect
Mouth JP16 is connected;The drain electrode of P-channel metal-oxide-semiconductor QD10 is also grounded by resistance R119;Interface JP16 is used for and the first cylinder electricity
Gas connects;
Resistance R59 also passes sequentially through resistance RD61, RD66 and is connected with the grid of P-channel metal-oxide-semiconductor QD10;
Resistance RD61 is connected with the common node of resistance RD66 with the collector of NPN type triode QD9;NPN type triode QD9
Emitter ground connection;
The base stage of NPN type triode QD9 passes sequentially through resistance RD67, RD65 ground connection;
The processor is connected with the common node of resistance RD67 and resistance RD65;
Capacitance CD54 is connected across between the grid and source electrode of P-channel metal-oxide-semiconductor QD10.
10. keypad automatic checkout system according to claim 4, it is characterised in that:
The loud speaker includes NPN type triode Q6, resistance R63, R79, interface JP13, buzzer;
The processor is connected by resistance R79 with the base stage of NPN type triode Q6;The collector of NPN type triode Q6 with
The negative pole end of interface JP13 is connected;The positive terminal of JP13 is connected by resistance R63 with DC power supply;Interface JP13 is for pacifying
Fill buzzer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066223.6A CN108401156A (en) | 2018-01-24 | 2018-01-24 | A kind of keypad automatic testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810066223.6A CN108401156A (en) | 2018-01-24 | 2018-01-24 | A kind of keypad automatic testing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108401156A true CN108401156A (en) | 2018-08-14 |
Family
ID=63094696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810066223.6A Pending CN108401156A (en) | 2018-01-24 | 2018-01-24 | A kind of keypad automatic testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108401156A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109580049A (en) * | 2018-11-30 | 2019-04-05 | 珠海格力智能装备有限公司 | The pressure detection method and device of remote controller key |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201066379Y (en) * | 2007-06-18 | 2008-05-28 | 比亚迪股份有限公司 | Keyboard tester |
CN201145715Y (en) * | 2007-12-11 | 2008-11-05 | 比亚迪股份有限公司 | Apparatus for testing keyboard |
CN101311741A (en) * | 2007-05-25 | 2008-11-26 | 富港电子(东莞)有限公司 | Automatic test method and its fixture |
CN104134340A (en) * | 2013-04-30 | 2014-11-05 | 鸿富锦精密工业(深圳)有限公司 | Detection device and detection method |
-
2018
- 2018-01-24 CN CN201810066223.6A patent/CN108401156A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101311741A (en) * | 2007-05-25 | 2008-11-26 | 富港电子(东莞)有限公司 | Automatic test method and its fixture |
CN201066379Y (en) * | 2007-06-18 | 2008-05-28 | 比亚迪股份有限公司 | Keyboard tester |
CN201145715Y (en) * | 2007-12-11 | 2008-11-05 | 比亚迪股份有限公司 | Apparatus for testing keyboard |
CN104134340A (en) * | 2013-04-30 | 2014-11-05 | 鸿富锦精密工业(深圳)有限公司 | Detection device and detection method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109580049A (en) * | 2018-11-30 | 2019-04-05 | 珠海格力智能装备有限公司 | The pressure detection method and device of remote controller key |
CN109580049B (en) * | 2018-11-30 | 2021-07-20 | 珠海格力智能装备有限公司 | Pressure detection method and device for remote controller keys |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101437173A (en) | Instrument for detecting flat-plate television failure and detection method thereof | |
CN202443104U (en) | Automatic detection platform for IC card water-meter circuit board | |
JPH0460548B2 (en) | ||
CN205176218U (en) | Micro -gap switch testing arrangement | |
CN108401156A (en) | A kind of keypad automatic testing method and system | |
CN104777377B (en) | Lead-acid battery charger output characteristics detecting system and its detection method | |
CN209459881U (en) | A kind of radiator bracket fixing bolt automatic detection device | |
CN208869805U (en) | Wire breakage detector and sewing machine | |
CN201215554Y (en) | Detection monitoring system for twist degree and broken filament of steel cord | |
CN104571085B (en) | Light rail door control system On-off signal exports automatic test approach | |
CN200993778Y (en) | Fault detecting device | |
CN207096425U (en) | A kind of test system | |
CN209102870U (en) | A kind of automobile-used single-pole double-throw switch (SPDT) performance automatic test system | |
CN210719228U (en) | Automatic test system for electric eye device | |
CN208402035U (en) | A kind of switching controller detecting TV motherboard V-BY-ONE signal | |
CN113533944A (en) | Intelligent equipment main control board testing method | |
CN219834169U (en) | Network abnormity alarm device | |
CN219285324U (en) | Single board testing tool for testing IGBT driving circuit | |
CN114152898B (en) | Cable broken core detection device | |
CN206768757U (en) | A kind of reservoir spillway gate monitoring device | |
CN110264766A (en) | A kind of count down display for road traffic signal of automatic fault selftesting | |
CN211849806U (en) | Intelligent closestool with capacitive proximity switch | |
CN219938370U (en) | Function test equipment based on X_BOXJ interface | |
CN212228183U (en) | Special counter of gas table detects frock | |
CN219497056U (en) | Signal processing integrated device for sorting and acquiring equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180814 |
|
RJ01 | Rejection of invention patent application after publication |