CN102236064A - Limit power on/off test device for electronic product - Google Patents

Limit power on/off test device for electronic product Download PDF

Info

Publication number
CN102236064A
CN102236064A CN201010153703XA CN201010153703A CN102236064A CN 102236064 A CN102236064 A CN 102236064A CN 201010153703X A CN201010153703X A CN 201010153703XA CN 201010153703 A CN201010153703 A CN 201010153703A CN 102236064 A CN102236064 A CN 102236064A
Authority
CN
China
Prior art keywords
control unit
proving installation
installation according
electronic product
test
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
Application number
CN201010153703XA
Other languages
Chinese (zh)
Inventor
任东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201010153703XA priority Critical patent/CN102236064A/en
Publication of CN102236064A publication Critical patent/CN102236064A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a limit power on/off test device for an electronic product. The limit power on/off test device comprises a micro control unit, an input unit, a display unit and a power management unit, the micro control unit is used for controlling and processing various limit power on/off tests, the input unit is connected with the micro control unit electrically and used for setting the modes and cycle periods of the limit on/off tests, the display unit is connected with the micro control unit electrically and used for displaying types of the limit power on/off tests and residual test times, the power management unit is connected with the micro control unit electrically and is used for supplying voltage for supporting a tested electronic product and the test device to normally work. The test device provided by the invention is not dependent on a computer, a general purpose interface bus (GPIB) card or other test instruments, therefore, the efficiency of hardware test is increased greatly; moreover, the test device is convenient to manufacture and use and has low cost.

Description

Electronic product limit switch apparatus test device
Technical field
The present invention relates to electronic product detection technique field, particularly a kind of electronic product limit switch apparatus test device.
Background technology
The electronic product hardware testing has a very important project exactly its (as mobile phone, wireless communication module) to be carried out tens thousand of times limit switch machine test.Whether purpose is normal by observation switching on and shutting down button (power key) pin and whole hardware circuit work after the frequent switching on and shutting down, also checks that content among the software Flash has or not simultaneously to wipe or chaotic or run the phenomenon that flies.
In the prior art, the limit switch machine test of often adopting needs special switching on and shutting down tester or forms test macro by computer, general purpose interface bus (GPIB) and application software and control power key and draw high and drag down level and test, thereby very big to the dependence of external unit.Under the numerous situation of test event, often, reduced the efficient of test, and then delayed testing progress owing to can't coordinate switching on and shutting down tester or computer or GPIB card, cause project to incur loss through delay.
Summary of the invention
The present invention is intended to solve in the prior art, and is very big to the dependence of external unit when electronic product is tested, technical matterss such as the inefficiency of test.
In view of this, the invention provides a kind of electronic product limit switch apparatus test device, comprising: micro-control unit, the various tests of control and processing limit switching on and shutting down test; Input block electrically connects with described micro-control unit, is used to be provided with the pattern and the cycle period of limit switch machine test; Display unit electrically connects with described micro-control unit, is used to show the type and the residue testing time of limit switch machine test; Power Management Unit electrically connects with described micro-control unit, the voltage of energy operate as normal is provided for tested electronic product and described proving installation.
Further, described micro-control unit also comprises: switching on and shutting down are used to connect the switching on and shutting down button of tested electronic product by key control unit, voltage be provided for described switching on and shutting down button and control retention time of described voltage.
Further, described micro-control unit is 89S51 single-chip microcomputer or 89S52 single-chip microcomputer.
Further, described input block is a keyboard.
Further, described display unit is a charactron.
Further, described charactron is for being total to anode connection or common cathode connection.
Further, described display unit also comprises 8 latchs and 3-8 code translator; Wherein said 8 latchs play digital pipeline section and are elected to be usefulness, and described 3-8 code translator plays the charactron gate action.
Further, described Power Management Unit comprises the power supply input interface, and the power supply output interface.
Further, described switching on and shutting down comprise the multichannel output interface by key control unit, test to control a plurality of tested electronic products.
Further, described proving installation also comprises downloads a mouthful unit, electrically connects with described micro-control unit, is used for described micro-control unit is operated.
Further, described proving installation also comprises the serial ports unit, electrically connects with described micro-control unit, is used for communicating with computing machine.
Therefore, utilize proving installation provided by the invention to need not to rely on computer, general purpose interface bus (GPIB) card or other testing tools, improved the efficient of hardware testing greatly, and its making is easy to use, with low cost.
Description of drawings
Figure 1 shows that the functional block diagram of the electronic product limit switch apparatus test device that one embodiment of the invention provides;
Figure 2 shows that the theory diagram of the electronic product limit switch apparatus test device that one embodiment of the invention provides;
Figure 3 shows that the test procedure process flow diagram of embodiment among the present invention;
The keyboard input block button that Figure 4 shows that embodiment among the present invention is judged subroutine flow chart;
Figure 5 shows that the timer interruption subroutine process flow diagram of embodiment among the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing,,, rather than be used for limiting the scope of the inventive method so that those skilled in the art can be easier to understand method feature of the present invention and functional characteristics in order to describe technical scheme of the present invention in detail.
See also Fig. 1, it is depicted as the functional block diagram of the electronic product limit switch apparatus test device that one embodiment of the invention provides.
This device comprises micro-control unit 110, the various tests of control and processing limit switching on and shutting down test; Input block 120 electrically connects with described micro-control unit 110, is used to be provided with the pattern and the cycle period of limit switch machine test; Display unit 130 electrically connects with described micro-control unit 110, is used to show the type and the residue testing time of limit switch machine test; Power Management Unit 140 electrically connects with described micro-control unit 110, the voltage of energy operate as normal is provided for tested electronic product and described proving installation.
In an embodiment of the present invention, described micro-control unit 110 also comprises: switching on and shutting down are used to connect the switching on and shutting down button of tested electronic product 150 by key control unit, voltage be provided for described switching on and shutting down button and control retention time of described voltage.
In an embodiment of the present invention, described micro-control unit 110 is 89S51 single-chip microcomputer or 89S52 single-chip microcomputer, and interruptable controller and programmable I/O mouth arranged, the single-chip microcomputer of an energy timing, count action or circuit etc. are as long as can realize that the single-chip microcomputer of control function of the present invention or circuit all belong to scope of the present invention.
In an embodiment of the present invention, described input block 120 is a keyboard.The user can be provided with the pattern and the cycle period of limit switch machine test by this Keyboard Control micro-control unit 110 of operation and then operation electronic product limit switch apparatus test device.
In an embodiment of the present invention, described display unit 130 is a charactron.Be used on eight hop count sign indicating number display tubes, showing the pattern and the remaining testing time of the test of limit switch machine, make the user experience more directly perceived.Its charactron can also can be the common cathode connection for being total to the anode connection.
In an embodiment of the present invention, described Power Management Unit 140 be used for to tested electronic product 150 and electronic product limit switch apparatus test device provide can operate as normal voltage.It had both comprised the power supply input interface, comprised the power supply output interface again.The input interface of wherein powering can be the power supply of electronic product limit switch apparatus test device by equipment such as power supply adaptor, digital powers.The power supply output interface provides the lead-in wire of electronic product normal working voltage to be measured (4V) and the lead-in wire of switching on and shutting down button (Power key) high level (4V) low level (0V) output.
In an embodiment of the present invention, described switching on and shutting down comprise the multichannel output interface by key control unit, test to control a plurality of electronic products to be measured.
In an embodiment of the present invention, described electronic product limit switch apparatus test device also comprises downloads a mouthful unit, electrically connects with described micro-control unit 110, be used for to described micro-control unit read and write, wipe, upgrade, operation such as checking data automatically.
In an embodiment of the present invention, described electronic product limit switch apparatus test device also comprises the serial ports unit, electrically connects with described micro-control unit 110, is used for communicating with computing machine.Further exploitation code, expanded function.
See also Fig. 2, it is depicted as the theory diagram of the electronic product limit switch apparatus test device that one embodiment of the invention provides.
In the present embodiment, electronic product limit switch apparatus test device comprises: micro-control unit 210; And the keyboard input block 220, display unit 230 and the Power Management Unit 240 that electrically connect with micro-control unit 210.
What the micro-control unit 210 of electronic product limit switch apparatus test device adopted is the 89S51 single-chip microcomputer.
Display unit 230 is that eight sections charactrons 231 can also can be the common cathode connection for being total to the anode connection.Comprise 8 latchs 232 (74HC374) and 3-8 code translator 233 (74HC138) in the charactron periphery.Wherein 232 sections of 8 latchs are elected to be usefulness, and its LE is that low level latchs, and high level keeps.233 charactron gate actions of 3-8 code translator, the output normality of 3-8 code translator 233 is a high level, chooses to be low level, is used for connecing LE and makes 8 latchs 232 be in hold mode.
Switching on and shutting down in the 89S51 single-chip microcomputer 210 have five road output port P3.3~P3.7 by key control section, can control five electronic products 250 to be measured and test.Port P3.3~P3.7 control can for the high level start effectively or the low level start effectively.Stand-by period behind 210 timer internal T0 gauge tap machine button retention times of 89S51 single-chip microcomputer and the button in addition.
In the present embodiment, Power Management Unit 240 is the 6V power supply adaptor, to give the power supply of electronic product 250 to be measured and electronic product limit switch apparatus test device.
In the present embodiment, described electronic product limit switch apparatus test device also comprises downloads mouthfuls 270, electrically connects with 89S51 single-chip microcomputer 210, be used for to 89S51 single-chip microcomputer 210 read and write, wipe, upgrade, operation such as checking data automatically.
In the present embodiment, described electronic product limit switch apparatus test device also comprises serial ports 260, electrically connects with described 89S51 single-chip microcomputer 210, is used for communicating with computing machine.Further exploitation code, expanded function.
The process that the electronic product limit switch apparatus test device that utilizes present embodiment to provide is tested is please in conjunction with referring to Fig. 2 and Fig. 3.
At first, carry out system initialization, make the port P3.2/INT0 of 89S51 single-chip microcomputer 210 interrupt, make timer T0 produce button retention time, booting wait time, shutdown stand-by period, power down stand-by period etc. as button.Interruption takes place once to overflow in the every 0.2ms of this timer T0.Make IO port P2 initialization.
Judge whether that by port P3.2/INT0 the button of keyboard input block 220 presses then.When judgement has button to press, carry out next step, otherwise, continue to have judged whether that button presses.
Judge whether the button press is the OK key, if then carry out next step, otherwise continue to have judged whether that button presses.
When judging the button of pressing and be the OK key, by the testing time of display unit 230 demonstration test patterns and setting, and the high and low level of gauge tap machine button control signal port P3.3~P3.7 is tested the switching on and shutting down button of electronic product 250 to be measured.
Open the timing that the T0 timer begins to enter the button retention time, control test period.
See also Fig. 4, its keyboard input block 220 buttons that are depicted as embodiment among the present invention are judged subroutine flow chart.
At first produce external interrupt behind keyboard input block 220 buttons and give port INT0.
Give variable P2_temp with port P2 value, indexed variable Flag puts 1.
Delay time then behind the n millisecond.
Whether the value of judging port P2 equals P2_temp, if, then carry out next step, 0 return otherwise put indexed variable Flag.
Who of inquiry port P2 is 0.Wherein P2.2 represents "+" key, and P2.3 represents "-" key, and P2.5 represents the OK key, and P2.6 represents Pause key.
It is 1 that rearmounted corresponding indexed variable is finished in inquiry, for example P2.2 respective flag variable plusflag; P2.3 respective flag variable minusflag; P2.5 respective flag variable okflag; P2.6 respective flag variable startflag.
At last indexed variable Flag being put 0 returns.
See also Fig. 5, it is depicted as the timer interruption subroutine process flow diagram of embodiment among the present invention.
The every 0.2ms of timer T0 takes place once to overflow interruption, has no progeny in overflowing and judges whether total testing time is full.
When total testing time is expired, then output " end ", the timeing closing device, test pattern transfers another kind to.
When total testing time when being discontented, then judge which kind of test pattern, be normal switch machine or improper switching on and shutting down, judge then whether full this stage hold time.
If hold time fullly, then change next stage over to, when the shutdown loitering phase changed next time start key over to and keeps the stage, the testing total number of times subtracted 1, and shows simultaneously.
Discontented if hold time, then return.
In sum, the electronic product limit switch apparatus test device that utilizes the embodiment of the invention to provide need not to rely on external units such as computer, general purpose interface bus (GPIB) card or other testing tools, and can test a plurality of electronic products simultaneously, improved the efficient of hardware testing greatly, and its making is easy to use, with low cost.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking claims person of defining.

Claims (11)

1. an electronic product limit switch apparatus test device is characterized in that, comprising:
Micro-control unit, the various tests of control and processing limit switching on and shutting down test;
Input block electrically connects with described micro-control unit, is used to be provided with the pattern and the cycle period of limit switch machine test;
Display unit electrically connects with described micro-control unit, is used to show the type and the residue testing time of limit switch machine test;
Power Management Unit electrically connects with described micro-control unit, the voltage of energy operate as normal is provided for tested electronic product and described proving installation.
2. proving installation according to claim 1, it is characterized in that, described micro-control unit also comprises: switching on and shutting down are used to connect the switching on and shutting down button of tested electronic product by key control unit, voltage be provided for described switching on and shutting down button and control retention time of described voltage.
3. proving installation according to claim 1 is characterized in that, described micro-control unit is 89S51 single-chip microcomputer or 89S52 single-chip microcomputer.
4. proving installation according to claim 1 is characterized in that, described input block is a keyboard.
5. proving installation according to claim 1 is characterized in that, described display unit is a charactron.
6. proving installation according to claim 5 is characterized in that, described charactron is for being total to anode connection or common cathode connection.
7. proving installation according to claim 5 is characterized in that, described display unit also comprises 8 latchs and 3-8 code translator, and wherein said 8 latchs play digital pipeline section and are elected to be usefulness, and described 3-8 code translator plays the charactron gate action.
8. proving installation according to claim 1 is characterized in that, described Power Management Unit comprises the power supply input interface, and the power supply output interface.
9. proving installation according to claim 2 is characterized in that, described switching on and shutting down comprise the multichannel output interface by key control unit, test to control a plurality of tested electronic products.
10. proving installation according to claim 1 is characterized in that, also comprises downloading a mouthful unit, electrically connects with described micro-control unit, is used for described micro-control unit is operated.
11. proving installation according to claim 1 is characterized in that, also comprises the serial ports unit, electrically connects with described micro-control unit, is used for communicating with computing machine.
CN201010153703XA 2010-04-22 2010-04-22 Limit power on/off test device for electronic product Pending CN102236064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010153703XA CN102236064A (en) 2010-04-22 2010-04-22 Limit power on/off test device for electronic product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010153703XA CN102236064A (en) 2010-04-22 2010-04-22 Limit power on/off test device for electronic product

Publications (1)

Publication Number Publication Date
CN102236064A true CN102236064A (en) 2011-11-09

Family

ID=44886907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010153703XA Pending CN102236064A (en) 2010-04-22 2010-04-22 Limit power on/off test device for electronic product

Country Status (1)

Country Link
CN (1) CN102236064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809106A (en) * 2012-11-15 2014-05-21 佛山市顺德区顺达电脑厂有限公司 Automatic test device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809106A (en) * 2012-11-15 2014-05-21 佛山市顺德区顺达电脑厂有限公司 Automatic test device and method

Similar Documents

Publication Publication Date Title
CN101398776A (en) Automatic powering-on/powering-off test device and method
US20100306592A1 (en) Computer system on and off test apparatus and method
CN102023912B (en) Dormancy wake-up testing system and method
CN103186441B (en) Switching circuit
CN1979439A (en) USB end-port testing device
CN102609072B (en) The method that response button triggers and the portable set that adopts the method
CN203673003U (en) Multi-core cable automatic tester
CN102147652A (en) Shut-down energy-saving system and shut-down energy-saving method
US20130046502A1 (en) Motherboard test device
CN111984479A (en) Method and system for carrying out startup and shutdown and restart tests on Android mainboard based on single chip microcomputer
US20130283066A1 (en) Test system for reset and power on or off of computer
CN202502660U (en) Programmable digital logic circuit basic experiment plate
WO2019227731A1 (en) Display screen lighting-up test device and method
CN101488047A (en) Keyboard with power on/off function
CN105718338B (en) Information processing method and electronic equipment
CN102236064A (en) Limit power on/off test device for electronic product
CN204666786U (en) Scale sequential logic apparatus for testing chip in LTTL/LCMOS type
CN112948186A (en) Detection device and detection method of interface signal
CN201637822U (en) Keyboard test platform
CN101938156B (en) Charging circuit for use in the calibration and test of mobile terminal and implementation method thereof
TWI765421B (en) Product detection device, product detection system and product detection method applied thereto
CN103983864A (en) Device used for graphic-card testing
US20130275632A1 (en) Key detection circuit
CN106406154B (en) debugging system and control method thereof
CN204926765U (en) Automatic regulating electrical resistance's digital regulation resistance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111109