CN113589147A - Testing device and method for PCBA of smart watch - Google Patents

Testing device and method for PCBA of smart watch Download PDF

Info

Publication number
CN113589147A
CN113589147A CN202110888968.2A CN202110888968A CN113589147A CN 113589147 A CN113589147 A CN 113589147A CN 202110888968 A CN202110888968 A CN 202110888968A CN 113589147 A CN113589147 A CN 113589147A
Authority
CN
China
Prior art keywords
software
test
pcba
bottom plate
checking
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
CN202110888968.2A
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.)
Shenzhen Xiaoju Intelligent Technology Co ltd
Original Assignee
Shenzhen Xiaoju Intelligent 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 Shenzhen Xiaoju Intelligent Technology Co ltd filed Critical Shenzhen Xiaoju Intelligent Technology Co ltd
Priority to CN202110888968.2A priority Critical patent/CN113589147A/en
Publication of CN113589147A publication Critical patent/CN113589147A/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
    • GPHYSICS
    • G04HOROLOGY
    • G04DAPPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES
    • G04D7/00Measuring, counting, calibrating, testing or regulating apparatus
    • G04D7/002Electrical measuring and testing apparatus
    • G04D7/003Electrical measuring and testing apparatus for electric or electronic clocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Security & Cryptography (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a testing device and a testing method of a PCBA (printed circuit board assembly) of an intelligent watch, and the testing device comprises a testing frame (1), wherein a testing jig is arranged on the testing frame (1), the testing jig comprises a top plate (2) and a bottom plate (13), the bottom plate (13) is fixedly arranged on the testing frame (1), an installation cavity is arranged in the testing frame (1), the bottom plate (13) covers the installation cavity, a PCB (3) is arranged in the installation cavity, a thimble (17), a testing bottom plate power supply switch, a testing bottom plate battery charging switch, a main control chip (16), a communication interface (5), a serial port (8), a voltage detection interface (11), a firmware burning interface (10), an I2C expansion interface (6) and a switch interface (7) are arranged on the PCB (3). The invention has simple operation and high efficiency.

Description

Testing device and method for PCBA of smart watch
Technical Field
The invention relates to the field of testing of intelligent watches, in particular to a device and a method for testing a PCBA (printed Circuit Board Assembly) of an intelligent watch.
Background
The intelligent watch PCBA test generally needs the support of test fixture, through giving the test fixture bottom plate programming, drive screen display, button, LCD etc. realize the control and the demonstration of test fixture bottom plate to test PCBA. Because the testing bottom plate is controlled by the single chip microcomputer, the programming difficulty is large, the time is long, the modification is inconvenient, and the flexibility is poor. After the test fixture obtains the PCBA parameters, the parameters of different devices and different batches can not be flexibly set, the test fixture can not automatically judge whether the parameters pass or not, the worker needs to perform key feedback judgment, the worker needs to monitor the test progress all the time, one worker can only operate one test fixture, and the labor cost is high. Therefore, the computer program is easy to develop and maintain, the parameter threshold can be flexibly set in a mode of providing a configuration interface, whether the parameter threshold is successful or not is automatically judged, monitoring and judgment by workers are not needed, the workers only need to place the boards, the boards are sorted according to the result finally prompted by the computer, and operation of the workers is greatly simplified.
The test fixture control system generally takes a single chip microcomputer chip as a main control, and in addition, a key, an indicator light, a buzzer, a screen and the like are added to form a test control system which can be controlled, displayed and simply interacted. The singlechip generally needs to support driving Bluetooth, a serial port, an LED lamp, a key, a buzzer and a screen. The serial port is used for communication data interaction, the test fixture can read configuration from the PCBA and can also send instructions to enable the PCBA to execute test actions, and then test results are obtained. By changing the display color and the flicker frequency of the LED lamp, the running state is fed back to an operator, and a basis is provided for the judgment of the operator. The buzzer sounds or makes a jerky or differently spaced sound, providing a feedback status similar to that of an LED, giving the operator a prompt from the direction of hearing. The key is mainly used for detecting parts with parameter difference caused by batch and other reasons, and the detection of the parts needs to manually judge results. And the testing jig displays the parameters on a screen after obtaining the parameters, and a worker presses the pass/fail key distinguished by red and green according to the standard, and feeds the result back to the testing jig for the testing jig to judge the final testing result. The screen is responsible for displaying comprehensive test information, displaying test items according to a list, and indicating the test result by changing the color of the color block after each test result is obtained. The test system which takes the test fixture system as the main control can interact with the PCBA board, can give feedback to operators from the aspects of vision and hearing, and can meet the basic PCBA test requirement.
The problems of low automation degree, low efficiency and high quality control risk generally exist in some current PCBA testing methods. The automation degree is low, the labor is excessively depended on, high labor expenditure is brought, and the cost is high. Items needing manual judgment are easy to have misjudgment and misjudgment, so that the problems of high rework rate, high quality control risk and waste of working hours are very severe. Limited by monolithic system performance, small display screen size, limited number of test items and inability to display test content in detail. In addition, the single chip microcomputer has a small memory, cannot store a test result, and is inconvenient to summarize and trace.
Disclosure of Invention
The invention aims to solve the technical problem that a device and a method for testing the PCBA of the intelligent watch can solve the problem, rely on a test fixture and a piece of computer software, and support that the software is connected with 4 test fixtures at the same time, so that 4 PCBAs can be tested at the same time. The test fixture is responsible for supplying power to the PCBA; acquiring an MAC address sent when the PCBA is powered on; and testing the PCBA current and feeding the PCBA current back to the computer software. The computer software is responsible for controlling the test items, the test flow, displaying the results and storing the test results; the problems that the conventional PCBA test is incomplete, consumes long time and excessively depends on manual operation, misjudgment and high manual expenditure are caused by manual operation are solved, and the problems that the rework rate is high, the management is disordered and the summary tracing is difficult in the conventional method are solved.
The invention is realized by the following technical scheme: the utility model provides an intelligence wrist-watch PCBA's testing arrangement, including the test jig, install test fixture on the test jig, test fixture is including roof and bottom plate, the bottom plate installation is fixed on the test jig, be provided with the installation cavity in the test jig, the bottom plate covers the installation cavity, install the PCB board in the installation cavity, install the thimble on the PCB board, test bottom plate power switch, test bottom plate battery charging switch, the master control chip, communication interface, the serial ports, the interface is listened to the voltage, the firmware burns the interface, I2C extends the interface, the switch interface, the one end that the test jig was kept away from to the bottom plate is connected with the connecting plate, be provided with a plurality of PCBA standing grooves on the connecting plate, the PCBA standing groove is used for placing PCBA, the thimble inserts to the PCBA standing groove.
As a preferred technical scheme, a test baseboard power supply switch and a test baseboard charging switch are arranged on one side of a baseboard; the bottom plate is provided with a supporting rod, the supporting rod is connected with the top plate, the top plate is provided with a driving assembly, and the driving assembly drives the press cover to ascend or descend.
As the preferred technical scheme, the PCB is fixed on the bottom plate, and the PCB is also provided with a power supply, a charging interface and a wireless transmission module; the bottom plate power supply switch is used for controlling the on-off of the power supply, and when the power supply is full of power, the testing bottom plate battery charging switch is pressed down, and the power supply stops charging.
As the preferred technical scheme, the communication interface is electrically connected with the thimble.
According to a preferable technical scheme, the thimble comprises a VCC thimble and a GND thimble, the serial port comprises a receiving port RX and a transmitting port TX, and the transmitting port TX is connected with external electronic equipment.
As the preferred technical scheme, the main control chip is arranged in the middle of the PCB, and the serial port and the power interface are arranged on the same side of the PCB.
A test method of a PCBA of a smart watch, comprising any one test device of claims 1 to 6, software arranged in an external electronic device, and Bluetooth, wherein the PCBA comprises the following steps: the test method comprises the following steps:
s1, testing the state of the jig, and when the state of the test jig is changed, pushing information to software from the serial port, wherein the software defines the start and the end of the test according to the state; starting a new round of PCBA test when the test fixture is pressed down, and indicating the end when the test fixture is lifted up;
s2, the test fixture detects whether the 1.8V state of the PCBA is stable through the contact pins of the PCBA, when the voltage of the PCBA changes, the test fixture pushes the real-time voltage value to software, the software judges whether the voltage is abnormal according to a set threshold value, if the voltage is abnormal, the PCBA hardware is unqualified, the software actively stops the whole test, and the test result is failed;
s3, RSSI is checked, RSSI is a signal value of Bluetooth, software starts Bluetooth searching after receiving the MAC address, the RSSI signal value of the current equipment is brought back during searching, and the software judges whether the RSSI signal value meets the standard or not according to a set threshold value;
s4, checking equipment information, wherein the checking equipment information comprises a checking equipment ID, and screening whether firmware burning is wrong or mixed;
s5, checking the software version, wherein the checking of the software version comprises detecting the firmware version and screening whether the burning of the firmware version is wrong or fails; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s6, checking the version of the word stock, wherein checking the version of the word stock comprises detecting whether the configuration of the word stock is wrong; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s7, checking the GPS version, and checking whether the GPS version is correct; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s8, checking the algorithm version and the permission, wherein the permission is indicated when the permission flag bit is 1, the software can automatically judge whether the permission is successful or not without setting a threshold value;
s9, checking SN, checking whether SN is empty and whether SN is matched with ID; if the SN is all 0 when set, the generated rule comprises the equipment ID, the software checks whether the SN is all 0 or not, or checks whether the SN passes according to the set equipment ID;
s10, checking the flash equipment, reading information of the flash equipment, indicating that the flash equipment is normal when the flash equipment is read to a flash worker D, and giving a pass; if the reading fails, the flash equipment is abnormal;
s11, checking the flash version, and checking whether the flash version is the same as the set threshold value;
s12, heart rate detection, wherein 4 channel values of the heart rate are read and compared with a set threshold range, the 4 channel values pass through the range, and otherwise, the 4 channel values do not pass through the range;
s13, testing the motor, informing the PCBA to carry out the motor vibration test by the software, and feeding back the result to the software after the PCBA is executed;
s14, testing the Gsense, reading the ID and the x, y and z values of the Gsense, and when the x, y and z values are not 0 values, indicating that the Gsense can normally work;
and S15, detecting the charging state and detecting whether the PCBA board can charge the battery. The software sends a serial port (8) enabling charging instruction to the test fixture, and the test fixture receives the instruction switching circuit, so that the PCBA can charge the battery and reply confirmation to the software; the software receives the confirmation and inquires the charging state of the PCBA through the Bluetooth, if the charging function is normal, the inquired charging state is the charging state or the full charging state, and if the charging function is not charged, the charging function is abnormal;
s16, detecting the charging current, detecting the current charged by the PCBA to the battery, informing the test fixture to enable charging by software, sending a current measuring instruction to the test fixture after the test fixture is confirmed, and receiving the current data; the test fixture actively pushes the measured current data to the software through the serial port; after the software receives 30 current data, the software informs the test fixture to finish the test; after the test is finished, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the charging current is normal;
s17, detecting the standby current, detecting the PCBA standby current, and judging whether the standby power consumption meets the standard according to the current; the software sends an instruction through Bluetooth to enable the PCBA to enter a standby mode, and after a board response is obtained, a measurement current instruction is sent to the test fixture to start measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the standby power consumption is normal;
and S18, detecting the shutdown current, and judging whether the shutdown power consumption meets the standard according to the current. The software sends an instruction through the Bluetooth to shut down the PCBA, sends a measurement current instruction to the test fixture and starts measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the average value with a set threshold value, and if the average value is within the range, indicating that the shutdown power consumption is normal;
and S19, combining the contents of S1 to S18 to make a final summary, and summarizing the final test result, wherein the final result is successful when the test items contained in S1 to S18 are all passed, and is failed otherwise.
As the preferred technical scheme, the test result is stored by distinguishing the types of the equipment, and taking days as a unit; and after the final test result is obtained, reading the result in the table, forming a character string by taking the equipment MAC address as a keyword, and storing the character string in an excel file.
The invention has the beneficial effects that:
1. the method has the advantages of comprehensive test content, high automation degree, high efficiency and comprehensive data acquisition;
2. at present, 19 items including heart rate device detection, Gsensor detection, shutdown current detection and the like are tested, so that the problems of poor devices, poor welding and the like can be solved at the PCBA stage, and the rework rate is greatly reduced; after the computer software is configured, workers only need to press the plates, and sort the products according to software prompts after the results are obtained, and other operations and judgments are not needed. Computer software supports to insert 4 sets of test fixture simultaneously, and 4 boards can be tested simultaneously to a workman, very big improvement production output and reduced the cost of labor. The computer software supports recording the test details of each PCBA for later-stage summary query;
3. the technical scheme has the advantages of comprehensive test content, high automation degree, high efficiency and comprehensive data acquisition;
4. at present, 19 items including heart rate device detection, Gsensor detection, shutdown current detection and the like are tested, so that the problems of poor devices, poor welding and the like can be solved at the PCBA stage, and the rework rate is greatly reduced;
5. after the computer software is configured, workers only need to press the plates, and sort the products according to software prompts after the results are obtained, and other operations and judgments are not needed. The computer software supports the simultaneous access of 4 sets of test fixtures, and one worker can simultaneously test 4 plates, so that the production output is greatly improved, and the labor cost is reduced;
6. and computer software supports recording the test details of each PCBA for later-stage summary query.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system diagram of the present invention showing the structure of a computer software accessing 4 sets of test tools;
FIG. 2 is a view of the mounting of various components on the PCB of the present invention;
FIG. 3 is a perspective view of the present invention;
FIG. 4 is a side view of the present invention;
FIG. 5 is a top view of the present invention;
fig. 6 is a front view of the present invention.
Detailed Description
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
This specification includes any features disclosed in the appended claims, abstract and drawings, which are, unless expressly stated otherwise, replaceable with other equivalent or similarly purposed alternative features. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
In the description of the present invention, it is to be understood that the terms "one end", "the other end", "outside", "upper", "inside", "horizontal", "coaxial", "central", "end", "length", "outer end", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention.
Further, in the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The use of terms such as "upper," "above," "lower," "below," and the like in describing relative spatial positions herein is for the purpose of facilitating description to describe one element or feature's relationship to another element or feature as illustrated in the figures. The spatially relative positional terms may be intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary term "below" can encompass both an orientation of above and below. The device may be otherwise oriented 90 degrees or at other orientations and the spatially relative descriptors used herein interpreted accordingly.
In the present invention, unless otherwise explicitly specified or limited, the terms "disposed," "sleeved," "connected," "penetrating," "plugged," and the like are to be construed broadly, e.g., as a fixed connection, a detachable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1 to 6, including test jig 1, install test fixture on the test jig 1, test fixture is including roof 2 and bottom plate 13, bottom plate 13 installs and fixes on test jig 1, be provided with the installation cavity in the test jig 1, bottom plate 13 covers the installation cavity, install PCB 3 in the installation cavity, install thimble 17 on the PCB 3, test bottom plate power switch, test bottom plate battery charging switch, main control chip 16, communication interface 5, serial ports 8, voltage detection interface 11, firmware burns interface 10, I2C extends interface 6, switch interface 7, the one end that test jig 1 was kept away from to bottom plate 13 is connected with connecting plate 18, be provided with a plurality of PCBA standing grooves on connecting plate 18, the PCBA standing groove is used for placing PCBA, thimble 17 inserts to the PCBA standing groove.
Wherein, the test baseboard power supply switch and the test baseboard charging switch are arranged at one side of the baseboard 13; the bottom plate 13 is provided with a support rod 15, the support rod 15 is connected with the top plate 2, the top plate 2 is provided with a driving assembly, the driving assembly is connected with a press cover 20, the press cover 20 is positioned above the connecting plate 22 and is opposite to the connecting plate 22, and the driving assembly drives the press cover 20 to ascend or descend.
The technical scheme is that the driving assembly can adopt two different structures of an automatic type or a manual type when in use, the automatic type can comprise a cylinder seat arranged on a top plate, a cylinder is fixed on the cylinder seat, a press cover is fixed on a piston rod of the cylinder, and the piston rod of the cylinder is driven to stretch up and down through a switch on the cylinder; the manual structure can be that the handle 23 of slidable mounting at the top plate, handle 23 are connected with connecting rod 26, and the connecting rod is fixed with the pressfitting lid, and the handle slides from top to bottom and has driven the pressfitting lid to slide from top to bottom, is convenient for carry out the pressfitting. The manual formula also can adopt other structures that can drive the gland and reciprocate.
The PCB 3 is fixed on the bottom plate 13, and the PCB 3 is also provided with a power supply and power supply interface 9 and a wireless transmission module; the power supply switch of the bottom plate 13 is used for controlling the on-off of the power supply, and when the power supply is full, the charging switch of the battery of the testing bottom plate is pressed down, and the power supply stops charging.
Wherein, the communication interface 5 is electrically connected to the thimble 17.
The thimble 17 comprises a VCC thimble and a GND thimble, the serial port 8 comprises a receiving port RX and a transmitting port TX, and the transmitting port TX is connected with an external electronic device. VCC and GND thimbles are power supply contact points of the PCBA to be tested. Two thimbles on the top are PCBA charging contacts, the inner side is positive, and the outer side is negative. When the PCBA begins the charge test, the backplane switching circuitry is tested so that the PCBA can charge the backplane battery. The serial port receiving port RX and the serial port transmitting port TX are the transceiving paths for the communication between the PCBA and the serial port of the test base plate. Other thimbles are used when burning firmware at another station.
The main control chip 16 is disposed in the middle of the PCB 3, and the serial port 8 and the power interface 9 are disposed on the same side of the PCB 3. The middle is a main control chip, and other modules are distributed around. The power interface and the serial port are respectively connected with a power supply and a computer serial port through leads, and the power interface and the serial port are arranged on the same side of the bottom plate to facilitate wiring. The thimble and the key need to be connected to each self-control module by connecting wires.
A testing method for a PCBA of an intelligent watch comprises the testing device of any one of claims 1 to 6 and software arranged in external electronic equipment (the computer software is Windows system software and supports serial communication and Bluetooth communication, after receiving an MAC address sent by a testing jig from a serial port, the software starts Bluetooth to search the address, establishes Bluetooth connection after searching, and controls the PCBA to test through Bluetooth communication, wherein the software interface comprises two blocks, namely a testing interface and a setting interface, the testing interface displays testing results of all testing items, the setting interface sets thresholds of all testing items, and the software automatically judges whether the testing is successful or not according to the thresholds), and the Bluetooth, and the testing method comprises the following steps:
s1, testing the state of the jig, and when the state of the test jig is changed, pushing information to software from the serial port (8), wherein the software defines the start and the end of the test according to the state; starting a new round of PCBA test when the test fixture is pressed down, and indicating the end when the test fixture is lifted up;
s2, the test fixture detects whether the 1.8V state of the PCBA is stable through the contact pins of the PCBA, when the voltage of the PCBA changes, the test fixture pushes the real-time voltage value to software, the software judges whether the voltage is abnormal according to a set threshold value, if the voltage is abnormal, the PCBA hardware is unqualified, the software actively stops the whole test, and the test result is failed;
s3, RSSI is checked, RSSI is a signal value of Bluetooth, software starts Bluetooth searching after receiving the MAC address, the RSSI signal value of the current equipment is brought back during searching, and the software judges whether the RSSI signal value meets the standard or not according to a set threshold value;
s4, checking equipment information, wherein the checking equipment information comprises a checking equipment ID, and screening whether firmware burning is wrong or mixed;
s5, checking the software version, wherein the checking of the software version comprises detecting the firmware version and screening whether the burning of the firmware version is wrong or fails; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s6, checking the version of the word stock, wherein checking the version of the word stock comprises detecting whether the configuration of the word stock is wrong; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s7, checking the GPS version, and checking whether the GPS version is correct; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s8, checking the algorithm version and the permission, wherein the permission is indicated when the permission flag bit is 1, the software can automatically judge whether the permission is successful or not without setting a threshold value;
s9, checking SN, checking whether SN is empty and whether SN is matched with ID; if the SN is all 0 when set, the generated rule comprises the equipment ID, the software checks whether the SN is all 0 or not, or checks whether the SN passes according to the set equipment ID;
s10, checking the flash equipment, reading information of the flash equipment, indicating that the flash equipment is normal when reading the flash ID, and giving a pass; if the reading fails, the flash equipment is abnormal;
s11, checking the flash version, and checking whether the flash version is the same as the set threshold value;
s12, heart rate detection, wherein 4 channel values of the heart rate are read and compared with a set threshold range, the 4 channel values pass through the range, and otherwise, the 4 channel values do not pass through the range;
s13, testing the motor, informing the PCBA to carry out the motor vibration test by the software, and feeding back the result to the software after the PCBA is executed;
s14, testing the Gsense, reading the ID and the x, y and z values of the Gsense, and when the x, y and z values are not 0 values, indicating that the Gsense can normally work;
and S15, detecting the charging state and detecting whether the PCBA board can charge the battery. The software sends a serial port (8) enabling charging instruction to the test fixture, and the test fixture receives the instruction switching circuit, so that the PCBA can charge the battery and reply confirmation to the software; the software receives the confirmation and inquires the charging state of the PCBA through the Bluetooth, if the charging function is normal, the inquired charging state is the charging state or the full charging state, and if the charging function is not charged, the charging function is abnormal;
s16, detecting the charging current, detecting the current charged by the PCBA to the battery, informing the test fixture to enable charging by software, sending a current measuring instruction to the test fixture after the test fixture is confirmed, and receiving the current data; the test fixture actively pushes the measured current data to the software through the serial port (8); after the software receives 30 current data, the software informs the test fixture to finish the test; after the test is finished, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the charging current is normal;
s17, detecting the standby current, detecting the PCBA standby current, and judging whether the standby power consumption meets the standard according to the current; the software sends an instruction through Bluetooth to enable the PCBA to enter a standby mode, and after a board response is obtained, a measurement current instruction is sent to the test fixture to start measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the standby power consumption is normal;
and S18, detecting the shutdown current, and judging whether the shutdown power consumption meets the standard according to the current. The software sends an instruction through the Bluetooth to shut down the PCBA, sends a measurement current instruction to the test fixture and starts measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the average value with a set threshold value, and if the average value is within the range, indicating that the shutdown power consumption is normal;
and S19, combining the contents of S1 to S18 to make a final summary, and summarizing the final test result, wherein the final result is successful when the test items contained in S1 to S18 are all passed, and is failed otherwise.
The test result storage is distinguished by equipment types and takes days as a unit; and after the final test result is obtained, reading the result in the table, forming a character string by taking the equipment MAC address as a keyword, and storing the character string in an excel file.
The threshold setting function comprises interface interaction and internal data processing, an interface edit box is used for a client to input data, and QSettings classes are used for realizing data storage and reading inside the interface edit box. And storing the data in a local config.ini file during storage, loading the data in the file to fill an interface when software is started, and storing the data in a memory for comparison and extraction.
This technical scheme is when using, and serial ports connects and bluetooth connects:
the serial port module is realized by adopting QSeriol port class carried by Qt, an interface provided by the QSeriol port class is called, and the serial port is opened after a parity check bit, a baud rate, a stop bit and a data bit of the serial port are set. And monitoring signals of the serial port data, and reading the data from the serial port after receiving the signals. In the method, equipment MAC address information, test fixture state change information, a PCBA board 1.8V voltage value and a current test value are sent to software from a serial port.
The Bluetooth operation adopts the Bluetooth operation class provided by Microsoft, and the search is used
Windows: : devices: : enumeration: : DeviceWatcher, connected as
Windows: : devices: : bluetooth (2): : bluetooth LEDevice. After receiving the MAC address information of the serial port, starting Bluetooth to search the address, and starting connection after the address is searched. And after the connection is successful, the specified service and the characteristic information are sequentially acquired, and the data interaction is realized by reading and writing the characteristic words.
When the technical scheme is used: the method comprises a set of intelligent test tools and a set of computer software. The test fixture main control chip is Apollo 3.5, programming is carried out by adopting C language, and the programming software is Keil. The computer software is Windows system software, adopts C + + language programming, and the programming software is Qt Creator, and software can support 4 test tools simultaneously at most, and the efficiency of testing is high.
As shown in the figure 1, the test fixture adopts a double-serial-port mode, one serial port is used for connecting PCBA communication, and the other serial port is connected with a computer and is a connecting bridge of the PCBA and computer software. After the computer software obtains the MAC address sent by the test fixture from the serial port, the computer software establishes Bluetooth connection with the PCBA to directly control the PCBA test.
The overall test flow is as follows:
1, placing PCBA into the fixture groove position, and pressing the test frame
2. The test jig detects that a board exists, the PCBA 1.8V voltage is started to be detected, and voltage data are sent to computer software from a serial port.
And 3, the PCBA is in contact with the power supply pins of the test rack, the test rack is charged and started, and the MAC address information is actively sent to the test rack from the serial port.
4. The test jig obtains the MAC address information and forwards the MAC address information to computer software from the serial port.
5. After obtaining the MAC address information, the computer software starts to use the Bluetooth to search the PCBA with the MAC address, and after the PCBA is searched, the RSSI signal quality of the PCBA is checked and the Bluetooth connection is established.
6. The computer software and the PCBA establish Bluetooth connection, and send an equipment information inquiry instruction to inquire the PCBA information.
7. After the software finishes one test, the next test is executed according to the sequence until all the test items are finished
8. Summarize whether all test items passed, show the final results.
9. And lifting the test frame and taking away the PCBA to complete the test.
In this technical solution, as shown in fig. 3 to 6, each test rack includes an independent card slot and a control switch, which are functionally independent from each other. Each test jig comprises two control keys which are respectively a bottom plate battery charging switch and a bottom plate power supply switch. The power supply voltage of the bottom plate is 5V, the battery power supply function is added during design, and the power can be supplied to the bottom plate without a power supply. The battery charges when the bottom plate is connected with the power supply, a battery charging switch button is added for protecting the battery, and the battery can be disconnected for charging when being fully charged so as to prolong the service life of the battery. The bottom plate power supply switch is used for controlling the power supply to be switched on and switched off, and when the bottom plate is abnormal and needs to be switched off and restarted, the button can be used for controlling the power supply to be switched off without plugging a charging wire. The thimble and the key are connected with each module in the testing bottom plate through wires. The vertex angle of the testing bottom plate is provided with a screw fixing position.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that are not thought of through the inventive work should be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.

Claims (8)

1. The utility model provides a testing arrangement of intelligence wrist-watch PCBA, includes test jig (1), its characterized in that: install test fixture on test jig (1), test fixture is including roof (2) and bottom plate (13), bottom plate (13) installation is fixed on test jig (1), be provided with the installation cavity in test jig (1), bottom plate (13) cover the installation cavity, install PCB board (3) in the installation cavity, install thimble (17) on PCB board (3), test bottom plate power switch, test bottom plate battery charging switch, main control chip (16), communication interface (5), serial ports (8), interface (11) are listened to voltage, firmware burns record interface (10), I2C expands interface (6), switch interface (7), the one end that test jig (1) was kept away from in bottom plate (13) is connected with connecting plate (18), be provided with a plurality of PCBA standing grooves on connecting plate (18), the PCBA standing groove is used for placing PCBA, thimble (17) are inserted to the PCBA standing groove.
2. The testing device of the PCBA of the intelligent watch of claim 1, wherein: the test bottom plate power supply switch and the test bottom plate charging switch are arranged on one side of the bottom plate (13); the supporting rod (15) is installed on the bottom plate (13), the supporting rod (15) is connected with the top plate (2), the driving assembly is installed on the top plate (2), the driving assembly is connected with the pressing cover (20), the pressing cover (20) is located above the connecting plate (22) and is opposite to the connecting plate (22), and the driving assembly drives the pressing cover (20) to ascend or descend.
3. The testing device of the PCBA of the intelligent watch of claim 1, wherein: the PCB (3) is fixed on the bottom plate (13), and the PCB (3) is also provided with a power supply and charging interface (9) and a wireless transmission module; the power supply switch of the bottom plate (13) is used for controlling the on-off of the power supply, and when the power supply is full, the battery charging switch of the testing bottom plate (13) is pressed, and the power supply stops charging.
4. The testing device of the PCBA of the intelligent watch of claim 1, wherein: the communication interface (5) is electrically connected with the thimble (17).
5. The testing device of the PCBA of the intelligent watch of claim 1, wherein: the thimble (17) comprises a VCC thimble and a GND thimble, the serial port (8) comprises a receiving port RX and a sending port TX, and the sending port TX is connected with external electronic equipment.
6. The testing device of the PCBA of the intelligent watch of claim 1, wherein: the main control chip (16) is arranged in the middle of the PCB (3), and the serial port (8) and the power interface are arranged on the same side of the PCB (3).
7. A test method of a PCBA of a smart watch, comprising any one test device of claims 1 to 6, software arranged in an external electronic device, and Bluetooth, wherein the PCBA comprises the following steps: the test method comprises the following steps:
s1, testing the state of the jig, and when the state of the test jig is changed, pushing information to software from the serial port (8), wherein the software defines the start and the end of the test according to the state; starting a new round of PCBA test when the test fixture is pressed down, and indicating the end when the test fixture is lifted up;
s2, the test fixture detects whether the 1.8V state of the PCBA is stable through the contact pins of the PCBA, when the voltage of the PCBA changes, the test fixture pushes the real-time voltage value to software, the software judges whether the voltage is abnormal according to a set threshold value, if the voltage is abnormal, the PCBA hardware is unqualified, the software actively stops the whole test, and the test result is failed;
s3, RSSI is checked, RSSI is a signal value of Bluetooth, software starts Bluetooth searching after receiving the MAC address, the RSSI signal value of the current equipment is brought back during searching, and the software judges whether the RSSI signal value meets the standard or not according to a set threshold value;
s4, checking equipment information, wherein the checking equipment information comprises a checking equipment ID, and screening whether firmware burning is wrong or mixed;
s5, checking the software version, wherein the checking of the software version comprises detecting the firmware version and screening whether the burning of the firmware version is wrong or fails; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s6, checking the version of the word stock, wherein checking the version of the word stock comprises detecting whether the configuration of the word stock is wrong; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s7, checking the GPS version, and checking whether the GPS version is correct; software inquires software version information through Bluetooth, and compares the acquired software version information with a threshold value to judge whether the software version information is successful;
s8, checking the algorithm version and the permission, wherein the permission is indicated when the permission flag bit is 1, the software can automatically judge whether the permission is successful or not without setting a threshold value;
s9, checking SN, checking whether SN is empty and whether SN is matched with ID; if the SN is all 0 when set, the generated rule comprises the equipment ID, the software checks whether the SN is all 0 or not, or checks whether the SN passes according to the set equipment ID;
s10, checking the flash equipment, reading information of the flash equipment, indicating that the flash equipment is normal when reading the flash ID, and giving a pass; if the reading fails, the flash equipment is abnormal;
s11, checking the flash version, and checking whether the flash version is the same as the set threshold value;
s12, heart rate detection, wherein 4 channel values of the heart rate are read and compared with a set threshold range, the 4 channel values pass through the range, and otherwise, the 4 channel values do not pass through the range;
s13, testing the motor, informing the PCBA to carry out the motor vibration test by the software, and feeding back the result to the software after the PCBA is executed;
s14, testing the Gsense, reading the Gsense ID and the values x, y and z, and when the values x, y and z are not 0, indicating that the Gsense can normally work;
and S15, detecting the charging state and detecting whether the PCBA board can charge the battery. The software sends a serial port (8) enabling charging instruction to the test fixture, and the test fixture receives the instruction switching circuit, so that the PCBA can charge the battery and reply confirmation to the software; the software receives the confirmation and inquires the charging state of the PCBA through the Bluetooth, if the charging function is normal, the inquired charging state is the charging state or the full charging state, and if the charging function is not charged, the charging function is abnormal;
s16, detecting the charging current, detecting the current charged by the PCBA to the battery, informing the test fixture to enable charging by software, sending a current measuring instruction to the test fixture after the test fixture is confirmed, and receiving the current data; the test fixture actively pushes the measured current data to the software through the serial port (8); after the software receives 30 current data, the software informs the test fixture to finish the test; after the test is finished, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the charging current is normal;
s17, detecting the standby current, detecting the PCBA standby current, and judging whether the standby power consumption meets the standard according to the current; the software sends an instruction through Bluetooth to enable the PCBA to enter a standby mode, and after a board response is obtained, a measurement current instruction is sent to the test fixture to start measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the obtained average value with a set threshold value, and if the average value is within the range, indicating that the standby power consumption is normal;
and S18, detecting the shutdown current, and judging whether the shutdown power consumption meets the standard according to the current. The software sends an instruction through the Bluetooth to shut down the PCBA, sends a measurement current instruction to the test fixture and starts measurement; obtaining data after measurement, sorting the data in an ascending order, removing the minimum two values and the maximum two values, solving an average value, comparing the average value with a set threshold value, and if the average value is within the range, indicating that the shutdown power consumption is normal;
and S19, combining the contents of S1 to S18 to make a final summary, and summarizing the final test result, wherein the final result is successful when the test items contained in S1 to S18 are all passed, and is failed otherwise.
8. The test method of the PCBA of the intelligent watch according to claim 7, wherein the test method comprises the following steps: the test result storage is distinguished by the type of the equipment and takes day as a unit; and after the final test result is obtained, reading the result in the table, forming a character string by taking the equipment MAC address as a keyword, and storing the character string in an excel file.
CN202110888968.2A 2021-08-03 2021-08-03 Testing device and method for PCBA of smart watch Pending CN113589147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110888968.2A CN113589147A (en) 2021-08-03 2021-08-03 Testing device and method for PCBA of smart watch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110888968.2A CN113589147A (en) 2021-08-03 2021-08-03 Testing device and method for PCBA of smart watch

Publications (1)

Publication Number Publication Date
CN113589147A true CN113589147A (en) 2021-11-02

Family

ID=78254780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110888968.2A Pending CN113589147A (en) 2021-08-03 2021-08-03 Testing device and method for PCBA of smart watch

Country Status (1)

Country Link
CN (1) CN113589147A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114088991A (en) * 2021-11-08 2022-02-25 广东乐心医疗电子股份有限公司 Circuit board testing method, device and system
CN114217209A (en) * 2021-12-14 2022-03-22 厦门芯阳科技股份有限公司 Multi-station PCBA board detection method
CN114325317A (en) * 2021-12-27 2022-04-12 深圳市敦实电子有限公司 Method and device for testing PCBA shutdown current of TWS earphone

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108896900A (en) * 2018-05-08 2018-11-27 成都市易冲无线科技有限公司 A kind of wireless charging system device for testing functions and test method
US20200050305A1 (en) * 2018-08-09 2020-02-13 Stmicroelectronics S.R.L. Self-test method, corresponding circuit and device
CN210839586U (en) * 2019-12-31 2020-06-23 杭州妙联物联网技术有限公司 Test fixture
CN111610427A (en) * 2020-04-15 2020-09-01 广东乐心医疗电子股份有限公司 Finished product testing method, circuit board testing method and device
CN216351056U (en) * 2021-08-03 2022-04-19 深圳市骁巨智能科技有限公司 Intelligence wrist-watch PCBA's testing arrangement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108896900A (en) * 2018-05-08 2018-11-27 成都市易冲无线科技有限公司 A kind of wireless charging system device for testing functions and test method
US20200050305A1 (en) * 2018-08-09 2020-02-13 Stmicroelectronics S.R.L. Self-test method, corresponding circuit and device
CN210839586U (en) * 2019-12-31 2020-06-23 杭州妙联物联网技术有限公司 Test fixture
CN111610427A (en) * 2020-04-15 2020-09-01 广东乐心医疗电子股份有限公司 Finished product testing method, circuit board testing method and device
CN216351056U (en) * 2021-08-03 2022-04-19 深圳市骁巨智能科技有限公司 Intelligence wrist-watch PCBA's testing arrangement

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114088991A (en) * 2021-11-08 2022-02-25 广东乐心医疗电子股份有限公司 Circuit board testing method, device and system
CN114217209A (en) * 2021-12-14 2022-03-22 厦门芯阳科技股份有限公司 Multi-station PCBA board detection method
CN114217209B (en) * 2021-12-14 2023-06-30 厦门芯阳科技股份有限公司 Multi-station PCBA board detection method
CN114325317A (en) * 2021-12-27 2022-04-12 深圳市敦实电子有限公司 Method and device for testing PCBA shutdown current of TWS earphone

Similar Documents

Publication Publication Date Title
CN113589147A (en) Testing device and method for PCBA of smart watch
US11612951B2 (en) Universal wireless remote control for welding apparatus in harsh environments
CN110168798B (en) Battery pack and data transmission method between battery pack and electronic device
US20150114942A1 (en) System and method for data exchange and control with a wireless communication terminal on a welding system
CN208018984U (en) A kind of small-sized lithium cell detects screening installation automatically
CN109732553A (en) A kind of intelligent assembly detection boom truck and its application method
CN114487924A (en) Automatic wiring harness testing equipment and testing method thereof
CN211148838U (en) Air conditioner internal unit testing device
CN216351056U (en) Intelligence wrist-watch PCBA's testing arrangement
CN112698244A (en) Wire harness wireless detection system and method
CN114980193A (en) Full-automatic wireless communication module production and test integrated system and method
KR102150808B1 (en) mobile terminal charging box and th Charging control method of the mobile terminal
CN211785736U (en) Laser current analyzer of LO5 module
CN112595957B (en) Test system of circuit board of intelligence cabinet
CN111413608A (en) PCBA test system and method
CN111679946A (en) Novel computer application automatic detection equipment and operation steps thereof
CN111983502A (en) Portable power source detection device
CN215895439U (en) Multifunctional touch screen addressing device
CN220509019U (en) Wire rod detection device
CN213181817U (en) Portable power source lease equipment fault detection device and portable power source lease system
CN209375661U (en) Wireless communication module test device
CN212905384U (en) Simple and easy quick polymorphic type hunting survey line appearance
CN211627740U (en) Testing device for photosensitive detection board
CN220171155U (en) TEB charging module test system
CN221081902U (en) Detection system and material gun clamping groove structure for material part position of chip mounter

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