CN110907801A - PCB testing method and device - Google Patents

PCB testing method and device Download PDF

Info

Publication number
CN110907801A
CN110907801A CN201911088355.XA CN201911088355A CN110907801A CN 110907801 A CN110907801 A CN 110907801A CN 201911088355 A CN201911088355 A CN 201911088355A CN 110907801 A CN110907801 A CN 110907801A
Authority
CN
China
Prior art keywords
pcb
test
tested
current
unit
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
CN201911088355.XA
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.)
Huizhou Tuobang Electric Technology Co Ltd
Huizhou Topband Electronic Technology Co Ltd
Original Assignee
Huizhou Tuobang Electric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou Tuobang Electric Technology Co Ltd filed Critical Huizhou Tuobang Electric Technology Co Ltd
Priority to CN201911088355.XA priority Critical patent/CN110907801A/en
Publication of CN110907801A publication Critical patent/CN110907801A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/2806Apparatus therefor, e.g. test stations, drivers, analysers, conveyors

Abstract

The invention is suitable for the technical field of electronics, and provides a PCB testing method and a device, wherein the PCB testing method is applied to a PCB testing device, the PCB testing device comprises a mechanical arm, the mechanical arm is used for testing a PCB by pressing a key on the PCB, and the method comprises the following steps: acquiring a test moving track of a current PCB to be tested; controlling the mechanical arm to move on the current PCB to be tested along the test moving track; receiving test state information fed back by the PCB to be tested currently; and acquiring the test result of the current PCB to be tested according to the test state information. According to the invention, the mechanical arm in the testing device is used for replacing manual pressing of the button in the PCB, so that the button pressing is more accurate, and meanwhile, the accuracy and efficiency of PCB testing are improved.

Description

PCB testing method and device
Technical Field
The invention relates to the technical field of electronics, in particular to a PCB testing method and device.
Background
The electronic lock is an electronic coded lock, and is an electronic product which controls the circuit or chip to work (access control system) through code input so as to control the closing of a mechanical switch and complete the unlocking and locking tasks. Because the electronic lock is convenient to use, an entity key does not need to be configured, and the electronic lock is more and more favored by people.
The locking and unlocking programs and the unlocking circuit of the electronic lock are integrated in the PCB of the electronic lock, and the electronic lock cannot be unlocked due to the fact that a correct password is input when a user uses the electronic lock. And the manufacturer performs qualification test on the PCB of the electronic lock before the electronic lock leaves the factory.
The existing electronic lock PCB test method is that a password is input manually and repeatedly, the unlocking condition is checked, and whether the electronic lock is qualified or not is judged according to the unlocking condition. Because the electronic locks are produced in batches in a factory, the product yield is high, the detection speed is low by adopting a mode of manually inputting the passwords, and the error transmission phenomenon is easy to occur, so that the problems of low detection speed and low accuracy rate of the existing electronic lock PCB test are caused.
Disclosure of Invention
The embodiment of the invention provides a PCB test method and a PCB test device, and aims to solve the problems of low detection speed and low accuracy of an electronic lock PCB test.
The embodiment of the invention is realized in such a way that the PCB testing method is applied to a PCB testing device, the PCB testing device comprises a mechanical arm, and the mechanical arm is used for testing the PCB by pressing a key on the PCB, and the method comprises the following steps:
acquiring a test moving track of a current PCB to be tested;
controlling the mechanical arm to move on the current PCB to be tested along the test moving track;
receiving test state information fed back by the PCB to be tested currently;
and acquiring the test result of the current PCB to be tested according to the test state information.
Furthermore, the PCB testing device also comprises a label identification unit;
the label identification unit is used for identifying a label on the PCB;
the step of obtaining the test movement track of the PCB to be tested comprises the following steps:
acquiring the label of the current PCB to be tested, which is identified by the label identification unit;
determining the label type of the label of the PCB to be tested;
and taking the stored test movement track corresponding to the label type as the test movement track of the PCB to be tested currently.
Furthermore, the PCB comprises an unlocking unit and/or a voice output unit;
the test state information comprises at least one of state information of the unlocking unit and/or voice prompt information of the voice output unit.
Furthermore, the PCB testing device also comprises a current detection unit;
the current detection unit is used for detecting the current of the PCB to be tested;
the step of obtaining the test result of the current PCB to be tested according to the test state information comprises the following steps:
acquiring the current detected by the current detection unit;
and when the current is smaller than a preset threshold value, the test result is that the power consumption test of the current PCB to be tested passes.
Further, the step of obtaining the test result of the current PCB to be tested according to the test status information further includes:
detecting an alarm prompt tone generated by the PCB to be tested currently;
and generating a test result according to the alarm prompt tone.
Further, after the step of obtaining the test result of the current PCB to be tested according to the test status information, the method further includes the steps of:
acquiring the repeated moving times of the mechanical arm moving along the test moving track;
determining the current test type according to the repeated movement times and the movement track;
and recording and displaying the test result of the current PCB to be tested and the current test type correspondingly.
In addition, there is also provided a test apparatus of a PCB, the apparatus including:
the mechanical arm is used for testing the PCB by pressing a key on the PCB;
the test moving track acquiring unit is used for acquiring a test moving track of the current PCB to be tested;
the mechanical arm control unit is used for controlling the mechanical arm to move on the current PCB to be tested along the test moving track;
the test state information receiving unit is used for receiving the test state information fed back by the current PCB to be tested;
and the test result acquisition unit is used for acquiring the test result of the current PCB to be tested according to the test state information.
Still further, the apparatus further comprises:
a label recognition unit for recognizing a label on the PCB;
the test movement trajectory acquisition unit includes:
the label obtaining module is used for obtaining the label of the current PCB to be tested, which is identified by the label identifying unit;
the label type determining module is used for determining the label type of the label of the PCB to be tested;
and the test moving track acquisition module is used for taking the stored test moving track corresponding to the label type as the test moving track of the current PCB to be tested.
Still further, the apparatus further comprises:
the current detection unit is used for detecting the current of the PCB to be tested;
the test result acquisition unit includes:
the current acquisition module is used for acquiring the current detected by the current detection unit;
and the first test result acquisition module is used for obtaining a test result when the current is smaller than a preset threshold value, wherein the test result is that the power consumption test of the current PCB to be tested passes.
Further, the test result obtaining unit further includes:
the prompt tone detection module is used for detecting whether the current PCB to be tested generates an alarm prompt tone;
and the first test result acquisition module is used for generating a test result according to the alarm prompt tone.
Still further, the apparatus further comprises:
a repeated movement number obtaining unit for obtaining the repeated movement number of the mechanical arm moving along the test movement track;
the test type determining unit is used for determining the current test type according to the repeated movement times and the movement track;
and the display unit is used for correspondingly recording and displaying the test result of the current PCB to be tested and the current test type.
Compared with the prior art, the PCB testing device has the advantages that the mechanical arm is arranged in the PCB testing device, and the mechanical arm is used for pressing the button on the PCB so as to test qualified indexes of the PCB, such as product function, product performance, aging and the like. In the PCB testing process, the testing moving track of the current PCB to be tested is obtained, and then the mechanical arm is controlled to move on the PCB to be tested according to the testing moving track. After the mechanical arm moves, the PCB feeds back test state information to a PCB test device according to the pressing of the mechanical arm. After receiving the test state information of the PCB to be tested, the PCB testing device obtains the test result of the PCB to be tested according to the test state information. Utilize the arm among the testing arrangement to replace the manual work to press the button in the PCB, the button is pressed more accurately, has improved the rate of accuracy and the efficiency of PCB test simultaneously.
Drawings
FIG. 1 is a schematic flow chart of a PCB testing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a PCB testing method according to a second embodiment of the present invention;
FIG. 3 is a schematic flow chart of a PCB testing method provided by a third embodiment of the present invention;
FIG. 4 is a schematic block diagram of a PCB testing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic block diagram of a PCB testing apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic block diagram of a PCB testing apparatus according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
Fig. 1 is a schematic flow chart of a PCB testing method according to an embodiment of the present invention, and only a portion related to the embodiment of the present invention is shown for convenience of description. The method comprises the following steps:
and step S10, obtaining the test moving track of the PCB to be tested currently.
And step S20, controlling the mechanical arm to move on the current PCB to be tested along the test movement track.
The Printed Circuit Board (PCB) not only has electronic components and their connection circuits, but also integrates a software program for realizing the product functions, and is a core component of a product. If the PCB of a product is unqualified, the product is also unqualified, so that after the PCB of the product is finished, the PCB is tested, and then the qualified PCB is subjected to production processes such as packaging, decoration, packaging and the like, and finally a complete product is produced, so that the extra production process on the unqualified product can be avoided, and the production efficiency of the product is improved.
The PCB test mainly refers to the test of PCB product function, performance, aging and the like. For example, when a PCB of the smart lock is tested, the password function, the network communication function, the power consumption, the aging test, and the like of the electronic lock are mainly tested.
The PCB testing device adopted in the PCB testing method in the embodiment is provided with the mechanical arm, and the mechanical arm presses the button on the PCB to test the PCB. Because the distribution of the keys on the PCB of each product and different product models is different, different moving tracks are set for different types of PCBs, and the mechanical arm is controlled to move according to the moving tracks so as to achieve the aim of testing the PCBs. Specifically, a test movement track is obtained according to the type of the PCB to be tested placed on the PCB testing device, and the mechanical arm is controlled to move according to the test movement track, so that the press of the button in the PCB is realized.
The test moving track can be drawn in the PCB test device manually by a user before the PCB to be tested starts to be tested; the test moving track corresponding to the PCB to be tested can be stored in the PCB testing device in advance, and before the PCB to be tested starts to be tested, a user stores the test moving track corresponding to the PCB to be tested in the storage; the PCB testing device can also automatically acquire a testing moving track corresponding to the PCB to be tested in the storage according to the label in the PCB; other ways of obtaining the test movement trajectory in the PCB testing apparatus are also possible.
And step S30, receiving the test state information fed back by the PCB to be tested currently.
And step S40, obtaining the test result of the current PCB to be tested according to the test state information.
After the current PCB to be tested is pressed by the mechanical arm, test state information is fed back according to whether the pressed key is correct or not, the test state information is sent to the PCB test device, and after the PCB test device receives the test state information fed back by the current PCB to be tested, a test result is obtained according to the test state information. The test state information includes function state information, performance state information, alarm state information, and the like. Utilize the arm among the testing arrangement to replace the manual work to press the button in the PCB, the button is pressed more accurately, has improved the rate of accuracy and the efficiency of PCB test simultaneously.
And when the test state information is the function state information, the mechanical arm moves on the PCB along the test moving track to test the functions of the PCB. After the PCB is pressed by the mechanical arm, if the PCB is in good function, the fed back test state information is the state of completing the function; if the function is not available in the PCB, no state feedback is available to complete the function. For example, the PCB to be tested is the intelligent lock PCB, the intelligent lock PCB comprises an unlocking unit and/or a voice output unit, and when the PCB of the intelligent lock is tested for the password function and the mechanical arm is pressed, when the unlocking unit state of the PCB of the intelligent lock is the unlocking state of the password lock or the voice output unit outputs the prompt voice that the password lock is opened, the password function of the PCB of the intelligent lock is good; when the state of the unlocking unit of the intelligent lock PCB is not changed, or the voice output unit does not output prompt information for unlocking the coded lock, the situation that the coded function of the intelligent lock PCB is unqualified is indicated. At this time, the test state information fed back by the PCB to be tested is the unlocking unit state information or the prompt information of the voice prompt unit.
In addition, the performance state information includes a current state, a voltage state, a heat dissipation state, a program operation speed, and the like. It should be noted that, according to the requirement of the PCB to be tested, the testing device of the PCB is selectively provided with the current detecting unit, the voltage detecting unit, the temperature detecting unit and other detecting units for detecting the corresponding performance of the PCB. In order to detect the energy consumption of the PCB to be tested, the PCB testing device comprises a current detection unit for detecting the current of the PCB to be tested. After the mechanical arm is pressed, obtaining the current detected by the current detection unit, and when the detected current is smaller than a preset threshold value, obtaining a test result that the power consumption test of the current PCB to be tested passes; and when the detected current is greater than or equal to the preset threshold, the test result indicates that the power consumption test of the current PCB to be tested does not pass and the current PCB to be tested is unqualified. The preset threshold is the maximum current allowed by the PCB to be tested in the working process, and the preset thresholds corresponding to different types of PCBs are different for different products.
In addition, when the alarm function of the PCB is tested, the test state information fed back by the PCB to be tested is alarm state information. After the mechanical arm moves on the PCB to be tested along the test track, detecting test state information of whether the PCB to be tested generates the alarm prompt tone or not, and generating a test result according to whether the alarm prompt tone is generated or not. If the PCB to be tested is detected to generate an alarm prompt tone, the test result is that the alarm function test is passed; if the PCB to be tested is not detected to generate the alarm prompt tone, the test result fails the alarm function test, and the PCB product is unqualified. Wherein, to the PCB of intelligence lock, in the use of intelligence lock, demolish the intelligence lock from the door as someone forces, the intelligence lock sends out warning prompt tone as the alarm. Therefore, when the intelligent lock PCB is tested, the test track of the PCB to be tested is that all keys in the PCB are pressed simultaneously, so that the intelligent lock dismantling scene is simulated by adopting the mechanical arm to press all the keys in the PCB simultaneously, whether the PCB generates an alarm prompt sound or not is detected after the mechanical arm moves, and a test result is generated according to the detection result.
In this embodiment, the mechanical arm is installed in the testing device of the PCB, and the mechanical arm presses the button on the PCB to test the qualified indexes of the PCB, such as product function, product performance, aging, and the like. In the PCB testing process, the testing moving track of the current PCB to be tested is obtained, and then the mechanical arm is controlled to move on the PCB to be tested according to the testing moving track. After the mechanical arm moves, the PCB feeds back test state information to a PCB test device according to the pressing of the mechanical arm. After receiving the test state information of the PCB to be tested, the PCB testing device obtains the test result of the PCB to be tested according to the test state information. Utilize the arm among the testing arrangement to replace the manual work to press the button in the PCB, the button is pressed more accurately, has improved the rate of accuracy and the efficiency of PCB test simultaneously.
Example two
Fig. 2 is a schematic flow chart of a PCB testing method according to a second embodiment of the present invention, and only the relevant parts of the embodiment of the present invention are shown for convenience of description. The second embodiment is different from the first embodiment in that the test apparatus of the PCB further includes a label recognition unit for recognizing a label on the PCB. In step S20 in the first embodiment, the step of obtaining the test movement track of the PCB to be tested includes:
step S21, acquiring the label of the current PCB to be tested identified by the label identification unit.
And step S22, determining the label type of the label of the PCB to be tested currently.
And step S23, taking the stored test movement track corresponding to the label type as the test movement track of the current PCB to be tested.
A label identification unit is arranged on a test device of the PCB and used for identifying the label on the PCB. The label identification unit is arranged corresponding to the type of the label arranged on the PCB, for example, when the label in the PCB is a bar code, a two-dimensional code and other labels, the label identification unit is a bar code gun, a bar code reader and other devices; when the label in the PCB is a radio frequency label, the label identification unit is a corresponding radio frequency identification device. It should be noted that the label types and the corresponding label identification units in the present embodiment are only examples and are not limited.
Drawing test moving tracks corresponding to all PCBs to be tested in a PCB testing device in advance, and correspondingly storing the test moving tracks and the label types of the PCBs to be tested. When the PCB to be tested is tested, the label in the PCB to be tested is identified through the label identification unit, and then the test moving track corresponding to the PCB to be tested is searched from the storage according to the label type of the identified label. The test device can automatically acquire the test moving track corresponding to the PCB, and the test moving track of the PCB is not required to be inquired and selected in the test device when the PCB is tested manually, so that the automation degree of the PCB test is improved, and the technical requirements on test staff are reduced.
In this embodiment, a tag identification unit is installed in a PCB testing apparatus, the tag identification unit is used to identify a tag on a PCB to be tested, and a test movement trajectory corresponding to a tag type is obtained from a memory according to the tag type of the identified tag. And taking the obtained test moving track as the test moving track of the PCB to be tested currently, so as to control the mechanical arm to test the PCB to be tested according to the test moving track. When the PCB to be tested is tested, the label in the PCB to be tested is identified through the label identification unit, and then the test moving track corresponding to the PCB to be tested is searched from the storage according to the label type of the identified label. The test device can automatically acquire the test moving track corresponding to the PCB, and the test moving track of the PCB is not required to be inquired and selected in the test device when the PCB is tested manually, so that the automation degree of the PCB test is improved, and the technical requirements on test staff are reduced.
EXAMPLE III
Fig. 3 is a schematic flow chart of a PCB testing method according to a third embodiment of the present invention, and only the relevant parts of the embodiment of the present invention are shown for convenience of description. The third embodiment differs from the first embodiment in that, after step S40, it further includes:
and step S50, acquiring the repeated moving times of the mechanical arm moving along the test moving track.
And step S60, determining the current test type according to the repeated movement times and the movement track.
And step S70, recording and displaying the test result of the current PCB to be tested and the current test type correspondingly.
The aging test of the PCB refers to that the PCB is repeatedly operated for many times, and the functional integrity of the PCB is checked after the repeated operation for many times. Therefore, in the aging test and the functional test, the test tracks corresponding to the same PCB are the same. When a PCB testing device is used for testing the PCB, the repeated moving times of the mechanical arm along the testing moving track are obtained, and when the repeated moving times are more than a certain number, the current testing type of the PCB is classified as an aging test; and when the repeated moving times are less than or equal to a certain time, classifying the current PCB test type as a functional test. And after the test is finished, recording and displaying the test result corresponding to the test type. The method is convenient for carrying out follow-up statistics on the test results corresponding to various test types, and is used for guiding a product manufacturer to check defects and repair leakage according to the test results, improving the production process of the product according to the frequently-occurring unqualified types, and controlling the production qualification rate of the product from the production source. Provides unqualified product types, modifies the production process in a targeted manner, improves the qualification rate of the products and reduces the production cost of the products.
In addition, compared with the traditional test process of storing the aging test in the control board of the PCB, the program of the aging test is stored in the storage medium of the test device in the embodiment, so that the storage space of the PCB is saved, and the production cost of the product is reduced.
The display of the test result comprises display in modes of an indicator light and/or a display screen and the like. The test device is provided with an indicator light, and when the indicator light is used for displaying a test result, the color of the indicator light can be controlled to indicate whether the test passes or fails. For example, the test passes, the indicator light shows a green light; the test failed and the indicator light displayed red. A display screen is arranged in the testing device, and a testing result can be directly displayed in the display screen. In addition, the testing device can also have a communication function, the testing result is sent to the display terminal, and the testing result is displayed through the display unit of the display terminal.
Further, after the testing of a batch of PCBs is finished, the testing type of the current testing and the testing result corresponding to the testing type, which are stored in the PCB testing device, are obtained. And carrying out statistics on the qualification rate of the PCB on the test result. For example, the password function, the power consumption and the aging of the intelligent lock PCB are tested, and the passing number and the failing number of the password function, the passing number and the failing number of the power consumption and the passing number and the failing number of the aging test are recorded in the testing process. And after the test is finished, counting the passing rates of different test types according to the recorded test types and the test results corresponding to the test types. The PCB passing the test results of all test types was counted as a pass. In addition, for the statistical method of the PCB qualification rate, the PCB testing device can also transmit the testing type and the testing result to the management terminal, and the qualification rate is counted at the management terminal.
In this embodiment, after the test result of the PCB is obtained according to the test state information fed back by the current PCB to be tested, the number of times of the repeated movement of the mechanical arm along the test movement track is obtained, the current test type is determined according to the number of times of the repeated movement and the movement track, the test result and the test type are recorded correspondingly, and the test result is displayed through the display unit. After the test is finished, the test result and the test type are recorded and displayed correspondingly, so that the test results corresponding to various test types can be counted subsequently, a product manufacturer can be guided to check defects and repair leakage according to the test results, the production process of the product is improved according to the frequently-occurring unqualified types, and the production qualified rate of the product is controlled from the production source. Provides unqualified product types, modifies the production process in a targeted manner, improves the qualification rate of the products and reduces the production cost of the products.
Example four
Fig. 4 is a schematic structural diagram of a PCB testing apparatus according to a fourth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The PCB testing device comprises:
a robot arm 10 for testing the PCB by pressing a button on the PCB;
a test moving track obtaining unit 20, configured to obtain a test moving track of the current PCB to be tested.
And the mechanical arm control unit 30 is used for controlling the mechanical arm to move on the current PCB to be tested along the test movement track.
In this embodiment, the mechanical arm 10 is provided in the PCB testing apparatus for testing the PCB, and the mechanical arm 10 is controlled by the mechanical arm control unit 30 to press the button on the PCB to test the PCB. Since the distribution of the keys on the PCBs of each product and different product types is different, different movement trajectories are set for different types of PCBs, and the robot arm control unit 30 controls the robot arm 10 to move according to the movement trajectories so as to test the PCBs. Specifically, the test movement track obtaining unit 20 obtains the test movement track according to the type of the PCB to be tested mounted on the PCB testing apparatus, and the mechanical arm control unit 30 controls the mechanical arm 10 to move according to the test track, so as to press the button in the PCB.
The test movement trajectory acquired by the test movement trajectory acquiring unit 20 may be drawn manually by a user in the PCB testing apparatus before the test of the PCB to be tested is started; the test moving track corresponding to the PCB to be tested can be stored in the PCB testing device in advance, and before the PCB to be tested starts to be tested, a user stores the test moving track corresponding to the PCB to be tested in the storage; the PCB testing device can also automatically acquire a testing moving track corresponding to the PCB to be tested in the storage according to the label in the PCB; other ways of obtaining the test movement trajectory in the PCB testing apparatus are also possible.
A test state information receiving unit 40, configured to receive test state information fed back by the current PCB to be tested; and
and the test result acquiring unit 50 is configured to acquire a test result of the current PCB to be tested according to the test state information.
After the current PCB to be tested is pressed by the mechanical arm 10, test state information is fed back according to whether the pressed key is correct or not, and the test state information is sent to the test state information receiving unit 40, after the test state information fed back by the current PCB to be tested is received by the test state information receiving unit 40, the test state information is transmitted to the test result obtaining unit 50, and a test result is obtained according to the test state information by the test result obtaining unit 50. The test state information includes function state information, performance state information, alarm state information, and the like. Utilize the arm among the testing arrangement to replace the manual work to press the button in the PCB, the button is pressed more accurately, has improved the rate of accuracy and the efficiency of PCB test simultaneously.
In the case that the test state information is the function state information, the robot arm control unit 30 controls the robot arm to test the function of the PCB while moving on the PCB along the test movement trajectory. After being pressed by the mechanical arm 10, if the PCB is in good function, the fed back test state information is the state of completing the function; if the function is not available in the PCB, no state feedback is available to complete the function. For example, the PCB to be tested is the smart lock PCB, the smart lock PCB includes an unlocking unit and/or a voice output unit, and when the mechanical arm 10 is pressed during testing of the password function of the smart lock PCB, and when the unlocking unit state of the smart lock PCB is the password lock open state or the voice output unit outputs a prompt voice that the password lock is opened, it indicates that the password function of the smart lock PCB is intact; when the state of the unlocking unit of the intelligent lock PCB is not changed, or the voice output unit does not output prompt information for unlocking the coded lock, the situation that the coded function of the intelligent lock PCB is unqualified is indicated. At this time, the test state information fed back by the PCB to be tested is the unlocking unit state information or the prompt information of the voice prompt unit.
In addition, the test apparatus of the PCB further includes:
the current detection unit is used for detecting the current of the PCB to be tested;
the test result acquiring unit 50 further includes:
the current acquisition module is used for acquiring the current detected by the current detection unit;
and the first test result acquisition module is used for obtaining a test result when the current is smaller than a preset threshold value, wherein the test result is that the power consumption test of the current PCB to be tested passes.
The performance status information in this embodiment includes a current status, a voltage status, a heat dissipation status, a program running speed, and the like. It should be noted that, according to the requirement of the PCB to be tested, the testing device of the PCB is selectively provided with the current detecting unit, the voltage detecting unit, the temperature detecting unit and other detecting units for detecting the corresponding performance of the PCB. In order to detect the energy consumption of the PCB to be tested, the PCB testing device comprises a current detection unit for detecting the current of the PCB to be tested. After the mechanical arm is pressed, the current acquisition module acquires the current detected by the current detection unit, and when the detected current is smaller than a preset threshold value, the test result is that the power consumption test of the current PCB to be tested passes; and when the detected current is greater than or equal to the preset threshold, the test result indicates that the power consumption test of the current PCB to be tested does not pass and the current PCB to be tested is unqualified. The preset threshold is the maximum current allowed by the PCB to be tested in the working process, and the preset thresholds corresponding to different types of PCBs are different for different products.
Further, the test result acquisition unit 50 further includes:
the prompt tone detection module is used for detecting whether the current PCB to be tested generates an alarm prompt tone;
and the first test result acquisition module is used for generating a test result according to the alarm prompt tone.
When the alarm function of the PCB is tested, the test state information fed back by the PCB to be tested is alarm state information. After the mechanical arm moves on the PCB to be tested along the test track, detecting test state information of whether the PCB to be tested generates the alarm prompt tone or not, and generating a test result according to whether the alarm prompt tone is generated or not. If the PCB to be tested is detected to generate an alarm prompt tone, the test result is that the alarm function test is passed; if the PCB to be tested is not detected to generate the alarm prompt tone, the test result fails the alarm function test, and the PCB product is unqualified. Wherein, to the PCB of intelligence lock, in the use of intelligence lock, demolish the intelligence lock from the door as someone forces, the intelligence lock sends out warning prompt tone as the alarm. Therefore, when the intelligent lock PCB is tested, the test track of the PCB to be tested is that all keys in the PCB are pressed simultaneously, so that the intelligent lock dismantling scene is simulated by adopting the mechanical arm to press all the keys in the PCB simultaneously, whether the PCB generates an alarm prompt sound or not is detected after the mechanical arm moves, and a test result is generated according to the detection result.
In this embodiment, the mechanical arm is installed in the testing device of the PCB, and the mechanical arm presses the button on the PCB to test the qualified indexes of the PCB, such as product function, product performance, aging, and the like. In the PCB testing process, the testing moving track of the current PCB to be tested is obtained, and then the mechanical arm is controlled to move on the PCB to be tested according to the testing moving track. After the mechanical arm moves, the PCB feeds back test state information to a PCB test device according to the pressing of the mechanical arm. After receiving the test state information of the PCB to be tested, the PCB testing device obtains the test result of the PCB to be tested according to the test state information. Utilize the arm among the testing arrangement to replace the manual work to press the button in the PCB, the button is pressed more accurately, has improved the rate of accuracy and the efficiency of PCB test simultaneously.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a PCB testing apparatus according to a fifth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The PCB testing device further comprises:
a label recognition unit 60 for recognizing a label on the PCB;
the test movement trajectory acquisition unit 20 includes:
the label obtaining module 21 is configured to obtain the label of the current PCB to be tested, which is identified by the label identifying unit;
a tag type determining module 22, configured to determine a tag type of the tag of the current PCB to be tested;
a test movement track obtaining module 23, configured to use the stored test movement track corresponding to the tag type as the test movement track of the current PCB to be tested.
A label recognition unit 60 is provided at the test apparatus of the PCB to recognize the label on the PCB. The tag identification unit 60 is arranged corresponding to the type of the tag arranged on the PCB, for example, when the tag in the PCB is a barcode, a two-dimensional code, or the like, the tag identification unit 60 is a barcode gun, a barcode reader, or the like; when the label in the PCB is a radio frequency label, the label identification unit is a corresponding radio frequency identification device. It should be noted that the label types and the corresponding label identification units 60 in the present embodiment are only examples and are not limited.
Drawing test moving tracks corresponding to all PCBs to be tested in a PCB testing device in advance, and correspondingly storing the test moving tracks and the label types of the PCBs to be tested. When testing the PCB to be tested, the tag obtaining module 21 obtains the tag identified by the tag identifying unit 60, transmits the obtained tag to the tag type determining module 22, and determines the tag type corresponding to the tag through the tag type determining module 22. The test movement track obtaining module 23 obtains the label type determined by the label type determining module 22, and uses the stored test movement track corresponding to the label type as the test movement track of the current PCB to be tested. Therefore, the test device can automatically acquire the test moving track corresponding to the PCB, the test moving track of the PCB is not required to be inquired and selected in the test device when the PCB is tested manually, the automation degree of the PCB test is improved, and the technical requirements on test staff are reduced.
In this embodiment, a tag identification unit is installed in a PCB testing apparatus, the tag identification unit is used to identify a tag on a PCB to be tested, and a test movement trajectory corresponding to a tag type is obtained from a memory according to the tag type of the identified tag. And taking the obtained test moving track as the test moving track of the PCB to be tested currently, so as to control the mechanical arm to test the PCB to be tested according to the test moving track. When the PCB to be tested is tested, the label in the PCB to be tested is identified through the label identification unit, and then the test moving track corresponding to the PCB to be tested is searched from the storage according to the label type of the identified label. The test device can automatically acquire the test moving track corresponding to the PCB, and the test moving track of the PCB is not required to be inquired and selected in the test device when the PCB is tested manually, so that the automation degree of the PCB test is improved, and the technical requirements on test staff are reduced.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a PCB testing apparatus according to a sixth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The PCB testing device further comprises:
a test type determining unit 70, configured to determine a current test type according to the repeated movement times and the movement trajectory;
and the display unit 80 is used for correspondingly recording and displaying the test result of the current PCB to be tested and the current test type.
The aging test of the PCB refers to that the PCB is repeatedly operated for many times, and the functional integrity of the PCB is checked after the repeated operation for many times. Therefore, in the aging test and the functional test, the test tracks corresponding to the same PCB are the same. When the PCB testing device is used for testing the PCB, the repeated moving times of the mechanical arm 10 along the testing moving track are obtained through the testing type determining unit 70, and when the repeated moving times are more than a certain number, the current testing type of the PCB is classified as an aging test; and when the repeated moving times are less than or equal to a certain time, classifying the current PCB test type as a functional test. After the test is completed, the test result is recorded and displayed in correspondence with the test type by the display unit 80. The method is convenient for carrying out follow-up statistics on the test results corresponding to various test types, and is used for guiding a product manufacturer to check defects and repair leakage according to the test results, improving the production process of the product according to the frequently-occurring unqualified types, and controlling the production qualification rate of the product from the production source. Provides unqualified product types, modifies the production process in a targeted manner, improves the qualification rate of the products and reduces the production cost of the products.
In addition, compared with the traditional test process of storing the aging test in the control board of the PCB, the program of the aging test is stored in the storage medium of the test device in the embodiment, so that the storage space of the PCB is saved, and the production cost of the product is reduced.
The display unit 80 includes an indicator light, a display screen, and the like. The test device is provided with an indicator light, and when the indicator light is used for displaying a test result, the color of the indicator light can be controlled to indicate whether the test passes or fails. For example, the test passes, the indicator light shows a green light; the test failed and the indicator light displayed red. A display screen is arranged in the testing device, and a testing result can be directly displayed in the display screen. In addition, the testing device can also have a communication function, the testing result is sent to the display terminal, and the testing result is displayed through the display unit of the display terminal.
Further, the PCB testing apparatus further includes: and the qualification rate counting unit is used for acquiring the test type and the corresponding test result and counting the qualification rate of the PCB according to the test type and the corresponding test result.
And after the test of a batch of PCBs is finished, obtaining the test type of the test and the test result corresponding to the test type, which are stored in the PCB test device. And counting the qualification rate of the PCB on the test result through a qualification rate counting unit. For example, the password function, the power consumption and the aging of the intelligent lock PCB are tested, and the passing number and the failing number of the password function, the passing number and the failing number of the power consumption and the passing number and the failing number of the aging test are recorded in the testing process. And after the test is finished, the passing rate statistical unit is used for counting the passing rates of different test types according to the recorded test types and the test results corresponding to the test types. The PCB passing the test results of all test types was counted as a pass. In addition, for the statistical method of the PCB qualification rate, the PCB testing device can also transmit the testing type and the testing result to the management terminal, and the qualification rate is counted at the management terminal.
In this embodiment, after the test result of the PCB is obtained according to the test state information fed back by the current PCB to be tested, the number of times of the repeated movement of the mechanical arm along the test movement track is obtained, the current test type is determined according to the number of times of the repeated movement and the movement track, the test result and the test type are recorded correspondingly, and the test result is displayed through the display unit. After the test is finished, the test result and the test type are recorded and displayed correspondingly, so that the test results corresponding to various test types can be counted subsequently, a product manufacturer can be guided to check defects and repair leakage according to the test results, the production process of the product is improved according to the frequently-occurring unqualified types, and the production qualified rate of the product is controlled from the production source. Provides unqualified product types, modifies the production process in a targeted manner, improves the qualification rate of the products and reduces the production cost of the products.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (11)

1. A PCB test method is characterized in that the PCB test method is applied to a PCB test device, the PCB test device comprises a mechanical arm, and the mechanical arm is used for testing a PCB by pressing a key on the PCB, and the method comprises the following steps:
acquiring a test moving track of a current PCB to be tested;
controlling the mechanical arm to move on the current PCB to be tested along the test moving track;
receiving test state information fed back by the PCB to be tested currently;
and acquiring the test result of the current PCB to be tested according to the test state information.
2. The PCB testing method of claim 1, wherein the PCB testing apparatus further comprises a tag identification unit;
the label identification unit is used for identifying a label on the PCB;
the step of obtaining the test movement track of the PCB to be tested comprises the following steps:
acquiring the label of the current PCB to be tested, which is identified by the label identification unit;
determining the label type of the label of the PCB to be tested;
and taking the stored test movement track corresponding to the label type as the test movement track of the PCB to be tested currently.
3. The PCB testing method of claim 1, wherein the PCB comprises an unlocking unit and/or a voice output unit;
the test state information comprises at least one of state information of the unlocking unit and/or voice prompt information of the voice output unit.
4. The PCB testing method of claim 1, wherein the PCB testing apparatus further comprises a current detecting unit;
the current detection unit is used for detecting the current of the PCB to be tested;
the step of obtaining the test result of the current PCB to be tested according to the test state information comprises the following steps:
acquiring the current detected by the current detection unit;
and when the current is smaller than a preset threshold value, the test result is that the power consumption test of the current PCB to be tested passes.
5. The PCB testing method of claim 1, wherein the step of obtaining the test result of the current PCB to be tested according to the test status information further comprises:
detecting an alarm prompt tone generated by the PCB to be tested currently;
and generating a test result according to the alarm prompt tone.
6. The PCB testing method of any one of claims 1-5, wherein after the step of obtaining the test result of the PCB currently to be tested according to the test status information, the method further comprises the steps of:
acquiring the repeated moving times of the mechanical arm moving along the test moving track;
determining the current test type according to the repeated movement times and the movement track;
and recording and displaying the test result of the current PCB to be tested and the current test type correspondingly.
7. An apparatus for testing a PCB, the apparatus comprising:
the mechanical arm is used for testing the PCB by pressing a key on the PCB;
the test moving track acquiring unit is used for acquiring a test moving track of the current PCB to be tested;
the mechanical arm control unit is used for controlling the mechanical arm to move on the current PCB to be tested along the test moving track;
the test state information receiving unit is used for receiving the test state information fed back by the current PCB to be tested;
and the test result acquisition unit is used for acquiring the test result of the current PCB to be tested according to the test state information.
8. The apparatus for testing the PCB of claim 7, wherein the apparatus further comprises:
a label recognition unit for recognizing a label on the PCB;
the test movement trajectory acquisition unit includes:
the label obtaining module is used for obtaining the label of the current PCB to be tested, which is identified by the label identifying unit;
the label type determining module is used for determining the label type of the label of the PCB to be tested;
and the test moving track acquisition module is used for taking the stored test moving track corresponding to the label type as the test moving track of the current PCB to be tested.
9. The apparatus for testing the PCB of claim 7, wherein the apparatus further comprises:
the current detection unit is used for detecting the current of the PCB to be tested;
the test result acquisition unit includes:
the current acquisition module is used for acquiring the current detected by the current detection unit;
and the first test result acquisition module is used for obtaining a test result when the current is smaller than a preset threshold value, wherein the test result is that the power consumption test of the current PCB to be tested passes.
10. The apparatus for testing a PCB of claim 7, wherein the test result acquiring unit further comprises:
the prompt tone detection module is used for detecting whether the current PCB to be tested generates an alarm prompt tone;
and the first test result acquisition module is used for generating a test result according to the alarm prompt tone.
11. The apparatus for testing a PCB of any one of claims 7-10, wherein the apparatus further comprises:
a repeated movement number obtaining unit for obtaining the repeated movement number of the mechanical arm moving along the test movement track;
the test type determining unit is used for determining the current test type according to the repeated movement times and the movement track;
and the display unit is used for correspondingly recording and displaying the test result of the current PCB to be tested and the current test type.
CN201911088355.XA 2019-11-08 2019-11-08 PCB testing method and device Pending CN110907801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911088355.XA CN110907801A (en) 2019-11-08 2019-11-08 PCB testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911088355.XA CN110907801A (en) 2019-11-08 2019-11-08 PCB testing method and device

Publications (1)

Publication Number Publication Date
CN110907801A true CN110907801A (en) 2020-03-24

Family

ID=69817088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911088355.XA Pending CN110907801A (en) 2019-11-08 2019-11-08 PCB testing method and device

Country Status (1)

Country Link
CN (1) CN110907801A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105067367A (en) * 2015-08-25 2015-11-18 张泽 Electronic lock testing apparatus and system
CN106324475A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Automatic test method and device for board card
CN108828350A (en) * 2018-05-04 2018-11-16 天地融电子(天津)有限公司 A kind of test method
CN109242119A (en) * 2018-11-07 2019-01-18 福建亿榕信息技术有限公司 A kind of secondary equipment of intelligent converting station automatic detecting method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106324475A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Automatic test method and device for board card
CN105067367A (en) * 2015-08-25 2015-11-18 张泽 Electronic lock testing apparatus and system
CN108828350A (en) * 2018-05-04 2018-11-16 天地融电子(天津)有限公司 A kind of test method
CN109242119A (en) * 2018-11-07 2019-01-18 福建亿榕信息技术有限公司 A kind of secondary equipment of intelligent converting station automatic detecting method and system

Similar Documents

Publication Publication Date Title
US11763443B2 (en) Method for monitoring manufacture of assembly units
CN101672878B (en) Chip testing device and chip testing method
US20100329688A1 (en) Universal remote-control signal transmitting device for controlling ir equipment and a setting method thereof
CN106444659B (en) A kind of production management method and system of press workshop
CN106327605A (en) Inspection method
CN111239589A (en) Electronic lock circuit board testing method, device and system
CN110795817A (en) Laboratory data processing method and processing system
CN113670643A (en) Intelligent air conditioner testing method and system
CN110907801A (en) PCB testing method and device
CN116308423A (en) Traceable checking method for checking data of interphone products
CN106484466A (en) A kind of secondary method for burn-recording of Single Chip Microcomputer (SCM) program
CN209343365U (en) A kind of electric machine controller detection device
CN114740807A (en) Production monitoring method for satellite positioner equipment
CN206877080U (en) A kind of high-potting instrument integrated management system
CN106124812B (en) Single-phase cost control intelligent electric energy meter production management system
CN111507435A (en) Simple and reliable automatic processing method for plasma machine
CN110942124A (en) Intelligent management method and device for electric power safety tools
CN210573877U (en) Desktop formula glassware counting device
CN219293830U (en) Intelligent torque wrench management system
CN214097642U (en) Automatic hardware signal test system of bar code reading equipment
CN113919467B (en) Chip detection method and system based on RFID non-contact smart card
KR102268732B1 (en) Method for tracking record employing QR code marking
KR102151912B1 (en) Video surveillance system and method performed thereat
CN117336199A (en) Equipment remote monitoring system based on Internet of Things
CN208459540U (en) Chip test system with information read functions

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: 20200324

RJ01 Rejection of invention patent application after publication