CN114793206A - Remote acquisition module PCBA programming test detection method and system - Google Patents

Remote acquisition module PCBA programming test detection method and system Download PDF

Info

Publication number
CN114793206A
CN114793206A CN202210745240.9A CN202210745240A CN114793206A CN 114793206 A CN114793206 A CN 114793206A CN 202210745240 A CN202210745240 A CN 202210745240A CN 114793206 A CN114793206 A CN 114793206A
Authority
CN
China
Prior art keywords
pcba
upper computer
test
software
programming
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.)
Granted
Application number
CN202210745240.9A
Other languages
Chinese (zh)
Other versions
CN114793206B (en
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.)
Nanjing Zhiyuan Iot Co ltd
Original Assignee
Nanjing Zhiyuan Iot 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 Nanjing Zhiyuan Iot Co ltd filed Critical Nanjing Zhiyuan Iot Co ltd
Priority to CN202210745240.9A priority Critical patent/CN114793206B/en
Publication of CN114793206A publication Critical patent/CN114793206A/en
Application granted granted Critical
Publication of CN114793206B publication Critical patent/CN114793206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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/2805Bare printed circuit boards
    • 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
    • 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/282Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
    • G01R31/2825Testing of electronic circuits specially adapted for particular applications not provided for elsewhere in household appliances or professional audio/video equipment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a remote acquisition module PCBA programming test detection method and a system thereof. The system comprises upper computer software, a handheld code scanning gun, a batch programming test conversion module, batch programming test software and an offline downloader. The system comprises upper computer software, a batch programming test conversion module, a detection tool and a batch programming multi-path switching module, wherein the upper computer software is used for carrying out batch programming test on the PCBA board, and the batch programming test conversion module is carried in the detection tool and comprises a main control MCU and the batch programming multi-path switching module connected with the main control MCU. The invention intelligently carries out batch programming test on the PCBA test through batch programming test software which can be expanded by an upper computer, optimizes the data and information processing of the system, improves the supply quality of an upstream supplier and the manufacturing process of a remote acquisition module, further reduces the overall operation and maintenance cost of products, and has the effects of high efficiency of batch operation, accuracy of data test and informatization tracing to ensure the product quality.

Description

Remote acquisition module PCBA programming test detection method and system
Technical Field
The invention relates to the technical field of PCBA testing, in particular to a method and a system for testing PCBA programming of a remote acquisition module.
Background
The PCBA is a component formed by processing patches and plug-ins of electronic components on an empty circuit board, and is also called a printed circuit board assembly. The remote acquisition module PCBA is a core component of the remote intelligent electric meter, and needs to be installed in a concave groove of an intelligent electric meter shell and forms a complete machine together with a metering component of the intelligent electric meter, so that the complete function of integrating electric energy metering and remote acquisition is realized. When the collection module empty circuit board is subjected to the original device mounting and plug-in procedures, the collection module empty circuit board becomes a remote collection module PCBA, all interfaces, memory chips, the remote dialing module and an internet of things card and a battery in the dialing module of the remote dialing module need to be detected, whether the PCBA can be combined with a metering component of the intelligent electric meter to complete the collection module PCBA, and the collection module empty circuit board supplies goods to customers.
At the present stage, the test flow of the PCBA board is as follows: firstly, a tester downloads a program to a chip on each PCBA through an off-line downloader; then inserting the PCBA into a communication interface of a metering component of the smart meter; the testing personnel configure each PCBA to be tested through the computer and the local serial port of the PCBA; the testing personnel manually tests the function of each PCBA to be tested; the testing personnel judge whether each PCBA is a qualified product or not according to the function test result; and (4) taking off unqualified products from the intelligent electric meter by a tester, and manually counting fault points to maintain.
As described above, in each step, the tester can only operate a single PCBA and cannot perform batch operation, which is inefficient; in the testing process, people have great randomness, which is not beneficial to the statistics of problem points and the tracking of the production quality of the PCBA board; the testing process has no data, can not track the quality of the PCBA, and is not beneficial to optimizing the quality of the product.
Disclosure of Invention
This section is for the purpose of summarizing some aspects of embodiments of the invention and to briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section as well as in the abstract and the title of the application to avoid obscuring the purpose of the section, the abstract and the title of the application, and such simplifications or omissions are not intended to limit the scope of the invention.
The present invention has been made in view of the above-mentioned problems occurring in the conventional PCBA test.
Therefore, the invention provides a remote acquisition module PCBA programming test detection method and a system thereof, wherein a programmable test system and a batch test method are designed for PCBA test, the system intelligently performs batch programming test on PCBA test through batch programming test software which can be expanded by an upper computer, system data and information processing are optimized, and the accuracy, stability and high efficiency of work are improved.
In order to solve the technical problems, the invention provides the following technical scheme: a remote acquisition module PCBA programming test system comprises upper computer software, a handheld code scanning gun, a batch programming test conversion module, batch programming test software and an offline downloader;
the upper computer software is loaded in the upper computer and used for carrying out batch programming test on the PCBAs;
the handheld code scanning gun is connected with the upper computer through the Bluetooth interface and establishes data connection with the upper computer software, and is used for scanning the two-dimensional code on the PCBA, acquiring corresponding data and uploading the data to the upper computer;
the batch programming test conversion module is carried in the detection tool, comprises a main control MCU and a batch programming multi-path switching module connected with the main control MCU, is connected with upper computer software and a PCBA fixed area on the detection tool, is used for fixing a whole board or a single board PCBA and transmitting data, and comprises a serial port interface connected with the serial port expansion module, a meter reading interface connected with the intelligent ammeter module and an SWD programming interface connected with the batch programming multi-path switching module;
batch programming test software for need carry out batch programming to different PCBA's test, carry on in the host computer when batch programming test software uses, host computer software through operating system call with batch programming test software links to each other, and batch programming test software passes through the off-line downloader and links to each other with batch programming test conversion module.
As a preferred scheme of the programming test system for the remote acquisition module PCBA according to the present invention, wherein: the batch programming test conversion module also comprises a batch programming module, a 2-path extended serial port module, a buzzer, a 12V power supply control module, an 8-path programming interface, an 8-path serial port interface, an 8-path 12V power supply interface, an uplink communication interface and a meter reading conversion interface;
the batch programming module is correspondingly connected with the programming interfaces of 8 PCBAs of the tested area through 8 programming interfaces and a test operation unit;
the main control MCU is respectively connected with the batch programming module, the 2-path extended serial port module, the buzzer and the 12V power supply control module;
the buzzer is connected with the main control MCU and used for prompting the completion of the test tool;
the 2-path extended serial port is correspondingly connected with the serial ports of 8 PCBAs of the tested unit through 8-path serial port interfaces and the test operation unit;
the 12V power supply control module is connected with 12V power supply interfaces of 8 PCBAs of the unit to be tested through 8 paths of 12V power supply interfaces and the test operation unit, and provides 12V power supply for the PCBAs;
the meter reading conversion interface is connected with the intelligent electric meter through the meter reading interface, and is connected with the meter reading ports of the 8 PCBAs of the tested unit through the test operation unit, so that data exchange between the PCBAs and the intelligent electric meter is realized.
As a preferred scheme of the remote acquisition module PCBA programming test system of the present invention, wherein: the upper computer software also comprises a database, and the database is used for data caching and data searching and calling operation of the upper computer software;
when the upper computer software is started, detecting whether the current configuration data of the upper computer software is loaded successfully; if the current configuration data of the upper computer software is loaded successfully, reading the connection pairing relationship between the database operation program ID and the database ID from the upper computer software and storing the connection pairing relationship into a cache database to finish database data caching of the upper computer software;
when the upper computer software executes the current functional operation, intercepting a current database operation program ID corresponding to the current functional operation, and searching and calling a matching database ID matched with the current database operation program ID from the cache database; if the matched database ID matched with the current database operation program ID is found in the cache database, the upper computer software operates and calls corresponding database data according to the matched database ID when performing functional operation, and the database data of the upper computer software is searched and called.
As a preferred scheme of the remote acquisition module PCBA programming test system of the present invention, wherein: the upper computer is provided with a COM1 interface, the batch programming test conversion module is provided with a COM2 interface, and the batch programming test conversion module is connected with the upper computer through serial communication.
A detection method of a remote acquisition module PCBA programming test system is a batch test method and comprises the following specific steps:
step S1: opening upper computer software and logging in a system;
step S2: making a production plan and network communication parameters of the current PCBA board;
step S3: opening a switch of the test tool body and a power supply of the intelligent ammeter;
step S4: fixing the current 8 PCBA whole boards in a PCBA fixed area;
step S5: scanning each PCBA two-dimensional code on the current PCBA board through a handheld code scanning gun, acquiring corresponding data and uploading the data to an upper computer;
step S6: the upper computer generates a communication address of each PCBA according to the production plan formulated in the step S2 and the two-dimensional code of each PCBA on the current PCBA whole board;
step S7: the upper computer controls the batch programming test software and the batch programming test conversion module, and the off-line downloader downloads the program of the data of each PCBA;
step S8: the upper computer reads the default communication address of each PCBA through the test tool body and returns the default communication address to the upper computer, and the upper computer verifies whether the default address exists in each PCBA or not and verifies whether the serial port of each PCBA is normal or not;
step S9: the upper computer sets the communication address and the network communication parameters corresponding to each PCBA to the corresponding PCBA through batch programming test software;
step S10: the upper computer sends a hardware restarting command to each PCBA through batch programming test software, and waits for all PCBAs to be restarted;
step S11: the upper computer reads the communication address and the network parameter of each PCBA through batch programming test software, uploads the communication address and the network parameter to the upper computer, and judges whether the address parameter and the network parameter of each PCBA are lost;
step S12: the upper computer tests the remote communication module on each PCBA through batch programming test software, circularly reads the login state of each PCBA, waits for 8 minutes at the maximum time, and verifies whether each PCBA normally logs in the master station;
step S13: the upper computer software reads the CCID identification number of the PCBA of each logged master station through batch programming test software;
step S14: the upper computer software reads the signal intensity of the PCBA of each logged master station through batch programming test software;
step S15: the upper computer software reads voltage data of the intelligent electric meter collected by each PCBA in the PCBA fixed area through batch programming test software and uploads the voltage data to the upper computer, and whether a meter reading port of each PCBA is normal is verified;
step S16: the upper computer software verifies whether the power failure function of each PCBA is normal or not through batch programming test software;
step S17: the upper computer generates a conclusion of good products or defective products according to the test conclusion of each PCBA in the steps S8, S11, S15 and S16, generates a test record and writes the test record into a database;
step S18: the batch programming test software informs a tester of the completion of the test in the current round, the tester attaches a label to the problematic PCBA so as to facilitate maintenance, and the whole PCBA is taken down from the PCBA fixed area;
step S19: and fixing the next PCBA whole board to be tested in the PCBA area, and repeating the steps S5 to S18 until the production planning task is completed.
As a preferred solution of the detection method for the remote acquisition module PCBA programming test system according to the present invention, wherein:
in the step S5, each PCBA two-dimensional code on the current PCBA whole board is scanned by the handheld code scanning gun, and corresponding data is acquired and uploaded to the upper computer, specifically as follows:
step 5.1: a tester uses a handheld code scanning gun to scan the two-dimensional code identification on the current PCBA, the two-dimensional code identification is transmitted to an upper computer, and the next step 5.2 is executed;
and step 5.2: the upper computer judges whether the received two-dimensional code is used or not through the production database, if the two-dimensional code is used, the upper computer prompts a user to replace the two-dimensional code of the current PCBA, and the step 5.1 is executed again; otherwise, executing the next step 5.3;
step 5.3: the upper computer software produces the object to be tested according to the new two-dimensional code, allocates a communication address to the object, writes the object into the database and executes the next step 5.4;
step 5.4: the upper computer software judges whether the two-dimensional code scanning of 8 PCBAs is finished, if not, the tester is prompted to move the code scanning gun to the two-dimensional code of the next PCBA, and the step 5.1 is executed; if the scanning is completed, the flow of step S5 ends.
As a preferred solution of the detection method for the remote acquisition module PCBA programming test system according to the present invention, wherein:
in step S11, the upper computer reads the communication address and the network parameters of each PCBA through batch programming test software, which are as follows:
step 11.1: the upper computer reads the communication address of the PCBA through batch programming test software and transfers the communication address to the upper computer software, and the next step 11.2 is executed;
step 11.2: the upper computer software judges whether the communication address is the same as the communication address distributed to the PCBA by the upper computer software in the step S6; if so, the next step 11.3 is performed; if not, the upper computer software records that the PCBA parameter is lost, and step 11.5 is executed;
step 11.3: the upper computer reads the network communication parameters of the PCBA through batch programming test software and executes the step 11.4;
step 11.4: the upper computer software judges whether the network communication parameters of the PCBA are the same as the network parameters formulated in the step S2, if so, the PCBA parameters are recorded to be correct; otherwise, the loss of the PCBA parameters is recorded. And the next step 11.5 is executed;
step 11.5: 8 PCBA parameters are checked whether the parameter checking is completed; if not, the upper computer parameter verification logic is switched to the next PCBA, and the step 11.1 is executed; if it is completed, the flow ends in step S11.
As a preferred solution of the detection method for the remote acquisition module PCBA programming test system according to the present invention, wherein:
in the step S12, the host computer logs in the master station test method for each remote module of the PCBA through batch programming test software, which specifically includes:
step 12.1: the upper computer software opens a 12V power supply to the current PCBA through batch programming test software, and executes the next step 12.2;
step 12.2: the upper computer software delays for 10 seconds, and the next step 12.3 is executed;
step 12.3: whether the 12V power supplies of the 8 PCBAs are all opened; if yes, executing the next step 12.4; if not, the upper computer software informs that the next PCBA is switched to through the batch programming test software, and the step 12.1 is executed;
step 12.4: the batch programming test software reads the state of 8 PCBAs logging in the master station, transmits the state to the upper computer software, and executes the next step 12.5;
step 12.5: the upper computer software judges whether 8 PCBAs have logged in the master station; if yes, go to step 12.7; if not, executing the next step 12.6;
step 12.6: whether the detection time of the process is reached; if yes, go to the next step 12.7; if not, delaying for 30 seconds, and executing step 12.4;
step 12.7: the upper computer software records the login state of 8 PCBAs and executes the next step 12.8;
step 12.8: the upper computer software reads the CCID identification codes of the internet of things cards in the remote modules of the 8 PCBAs through batch programming test software, and executes the next step 12.9;
step 12.9: the upper computer software reads the ammeter voltage data stored in the 8 PCBAs through batch programming test software, and executes the next step 12.10;
step 12.10: the upper computer software sequentially judges whether voltage data are returned by each PCBA; the upper computer software records that the PCBA meter reading port is normal; if not, the upper computer software records the fault of the PCBA meter reading port, and the test flow of the step S12 is ended.
As a preferred solution of the detection method for the remote acquisition module PCBA programming test system according to the present invention, wherein:
further, in step S17, the method for processing the current 8 PCBA test results by the upper computer software includes the following specific steps:
step 17.1: the upper computer judges whether the test conclusion of the current PCBA in the step S8 is qualified or not; if yes, the next step 17.2 is executed; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.2: the upper computer judges whether the test conclusion of the current PCBA in the step S11 is parameter loss or not; if yes, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7; if not, the next step 17.3 is executed;
step 17.3: the upper computer software judges whether the test conclusion of the current PCBA in the step S12 is that the master station is logged in; if yes, go to next step 17.4; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.4: the upper computer software judges whether the test conclusion of the current PCBA in the step S15 is that the meter reading port is normal; if yes, go to next step 17.5; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.6: the upper computer software judges whether the current PCBA test conclusion in the step S16 is reported successfully; if yes, recording the current PCBA board test conclusion as a good product; and if not, recording the current PCBA board test conclusion as a defective product. The next step 17.7 is performed;
step 17.7: the upper computer judges whether the current test conclusion of the PCBA is good or not; if yes, displaying that the current PCBA board state is green; if not, the current PCBA board state is displayed to be red, and the next step 17.8 is executed;
step 17.8: the upper computer software writes the test data and the test conclusion of the current PCBA into the database, and executes the next step 17.9;
step 17.9, testing whether the PCBA is completely produced or not is judged by 8; if yes, go to the next step 17.10; if not, processing the test conclusion of the next PCBA, and executing the step 17.1;
step 17.10: and (4) the upper computer software reminds the testers through the buzzers of the batch programming test software, and the test flow is finished in the step 17 in the current round.
As a preferred embodiment of the detection method for the remote acquisition module PCBA programming test system according to the present invention, wherein:
in step 7, the upper computer controls the batch programming test software and the batch programming test conversion module to carry out batch programming, and the method specifically comprises the following steps:
step 7.1: the upper computer software informs the batch programming test conversion module of program downloading of the current PCBA, and the next step 7.2 is carried out;
and 7.2: the batch programming test conversion module controls the batch programming switching module, the programming channel is switched to be connected with the programming interface of the current PCBA, and the next step 7.3 is carried out;
step 7.3: the upper computer judges whether the batch programming test module returns the successful information of the current PCBA programming; if yes, executing step 7.5; if not, executing the next step 7.4;
step 7.4: the upper computer judges whether the current programming of the PCBA is overtime or not; if yes, executing the next step 7.5; if not, executing step 7.3;
step 7.5: the upper computer software judges whether the programming of the 8 PCBAs is finished or not; if not, the upper computer programming logic is switched to the next PCBA, and the step 7.1 is executed; after that, the batch programming flow of step S7 ends.
The invention has the beneficial effects that: the invention constructs a programmable test system and a batch test method aiming at the PCBA test, the system intelligently performs batch programming test on the PCBA test through batch programming test software which can be expanded by an upper computer, and optimizes the data and information processing of the system, thereby improving the accuracy, stability and high efficiency of the detection; therefore, the invention not only solves the problems of complex detection process, low efficiency and low detected data informatization degree at the present stage, but also improves the production test efficiency and reduces the overall operation and maintenance cost of the product. In conclusion, the invention has the advantages of high efficiency of batch operation, accuracy of data testing and informatization tracing so as to ensure the effect of product quality.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor. Wherein:
fig. 1 is a schematic diagram of a modular structure of a remote acquisition module PCBA programming test system in embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a remote acquisition module PCBA programming test system performing detection work on an electricity meter in embodiment 1 of the present invention;
FIG. 3 is a schematic diagram of logic structure modularization of a batch programming test conversion module in embodiment 1 of the present invention;
FIG. 4 is a schematic block diagram of a flow of a batch test method in embodiment 2 of the present invention;
FIG. 5 is a block diagram schematically illustrating the flow of step S5 in embodiment 2 of the present invention;
FIG. 6 is a block diagram schematically illustrating the flow of step S11 in embodiment 2 of the present invention;
FIG. 7 is a block diagram schematically illustrating the flow of step S12 in embodiment 2 of the present invention;
FIG. 8 is a block diagram schematically illustrating the flow of step S17 in embodiment 2 of the present invention;
fig. 9 is a schematic block diagram of the flow of batch programming in step S7 in embodiment 2 of the present invention.
The reference numbers in the figures: 10. upper computer software; 20. a code scanning gun is held by a hand; 30. a batch programming test conversion module; 301. a batch programming module; 302. 2-path extended serial port module; 303. a buzzer; 304. a 12V power supply control module; 305. an 8-way programming interface; 306. 8 serial ports; 307. 8-path 12V power supply interfaces; 308. an uplink communication interface; 309. and a meter reading conversion interface.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced otherwise than as specifically described herein, and it will be appreciated by those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the present invention and that the present invention is not limited by the specific embodiments disclosed below.
Furthermore, the references herein to "one embodiment" or "an embodiment" refer to a particular feature, structure, or characteristic that may be included in at least one implementation of the present invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments.
In the technical field of PCBA testing, the load identification module hardware interface detection equipment with the reference of Chinese patent publication (public announcement) No. CN112230095B and the automatic detection method thereof comprise an identification module, a test tool, an upper computer and a code scanner which are connected with each other. The test comprises the following steps:
step (1), opening an upper computer, and logging in an upper computer testing system by a tester;
step (2) placing the identification module in front of a code scanner to scan the SN two-dimensional code;
step (3) fixing the identification module on a test fixture;
step (4) a test switch is turned on, and the upper computer transmits configuration data corresponding to the identification module to the test tool by identifying the SN two-dimensional code;
step 5, the test tool communicates with the identification module according to configuration data issued by the upper computer to test the identification module;
feeding back a test result to the upper computer by the test tool;
step (7), the upper computer displays the test result and stores the test record;
and (6) repeating the steps (2) to (7) until the test of all the identification modules is completed.
Based on the above, the applicant considers that the existing technology is a detection technology for solving the interface of the load identification module, and cannot solve the problems that the program downloading is carried out by the remote acquisition module of the intelligent electric meter, and the detection is carried out on the interface of the remote meter reading module of the intelligent electric meter. In order to solve the reasons existing in the prior art, the invention provides a remote acquisition module PCBA programming test detection method and a system thereof, wherein a programmable test system and a batch test method are constructed aiming at a PCBA test framework.
The present invention is further described in detail by the following embodiments with reference to the accompanying drawings.
Example 1: referring to fig. 1 and 2, an embodiment of the present invention provides a remote acquisition module PCBA programming test system, which includes upper computer software 10, a handheld code scanning gun 20, a batch programming test conversion module 30, batch programming test software 40, and an offline downloader 50. The upper computer software 10 is loaded in the upper computer and used for carrying out batch programming test on the PCBA; the handheld code scanning gun 20 is connected with the upper computer through a Bluetooth interface and is in data connection with the upper computer software 10, and is used for scanning the two-dimensional code on the PCBA, acquiring corresponding data and uploading the data to the upper computer; the batch programming test conversion module 30 is carried in the detection tool and comprises a main control MCU and a batch programming multi-path switching module connected with the main control MCU, the batch programming test conversion module 30 is connected with the upper computer software 10 and a PCBA fixed area on the detection tool in a data connection mode and is used for fixing a PCBA whole board or a single board and transmitting data, and the batch programming test conversion module comprises a serial port interface connected with a serial port expansion module, a meter reading interface connected with an intelligent electric meter module and an SWD programming interface connected with the batch programming multi-path switching module; the batch programming test software 40 is used for batch programming for testing different PCBAs, when the batch programming test software 40 is used, the batch programming test software is loaded in the upper computer, the upper computer software 10 is connected with the batch programming test software 40 through an operating system call, and the batch programming test software 40 is connected with the batch programming test conversion module 30 through the offline downloader 50.
The upper computer of the implementation is provided with a COM1 interface, the batch programming test conversion module 30 is provided with a COM2 interface, and the batch programming test conversion module 30 is connected with the upper computer through serial communication.
Meanwhile, the upper computer software 10 of the embodiment also comprises a database, wherein the database is used for data caching and data searching and calling operation of the upper computer software 10; when the upper computer software 10 is started, detecting whether the current configuration data of the upper computer software 10 is loaded successfully; if the current configuration data of the upper computer software 10 is loaded successfully, reading the connection pairing relationship between the database operation program ID and the database ID from the upper computer software 10 and storing the connection pairing relationship into a cache database to finish the database data cache of the upper computer software 10; when the upper computer software 10 executes the current function operation, intercepting a current database operation program ID corresponding to the current function operation, and searching and calling a matching database ID matched with the current database operation program ID from a buffer database; if the matching database ID matched with the current database operation program ID is found in the cache database, the upper computer software 10 operates and calls corresponding database data according to the matching database ID when executing the functional operation, and the database data searching and calling of the upper computer software 10 are completed.
As shown in fig. 3, the batch programming test conversion module 30 further includes a batch programming module 301, a 2-way extended serial port module 302, a buzzer 303, a 12V power control module 304, an 8-way programming interface 305, an 8-way serial port interface 306, an 8-way 12V power interface 307, an uplink communication interface 308, and a meter reading conversion interface 309;
when the test platform is used, the batch programming module 301 is correspondingly connected with the programming interfaces of 8 PCBAs in a tested area through the 8-way programming interface 305 and the test operation unit; the main control MCU is respectively connected with the batch programming module 301, the 2-path extended serial port module 302, the buzzer 303 and the 12V power supply control module 304; the batch programming module 301 is correspondingly connected with the programming interfaces of 8 PCBAs of the tested area through the 8-way programming interface 305 and the test operation unit; the buzzer 303 is connected with the main control MCU and used for prompting the completion of the test tool; the 2-way extended serial port module 302 is correspondingly connected with the serial ports of 8 PCBAs of the unit to be tested through the 8-way serial port interface 306 and the test operation unit; the 12V power supply control module 304 is connected with 12V power supply interfaces of 8 PCBAs of the unit to be tested through 8 paths of 12V power supply interfaces 307 and the test operation unit, and provides 12V power supply for the PCBAs; the meter reading conversion interface 309 is connected with the intelligent electric meter through a meter reading interface, and is connected with the meter reading ports of 8 PCBAs of the tested unit through the test operation unit, so that data exchange between the PCBAs and the intelligent electric meter is realized.
Based on the foregoing, it can be known that remote acquisition module PCBA programming test system of this embodiment is when using, it can't carry out the procedure download to the remote acquisition module of smart electric meter to have solved at present stage, be difficult to realize carrying out the shortcoming that detects to the remote module interface of checking meter of smart electric meter, the tester logs in host computer test system during operation, the batch programming test software 40 that the accessible host computer can expand, the intellectuality carries out batch programming test to the PCBA test, and improve the data and the information processing of system, the accuracy of work has been improved, stability and high efficiency.
Example 2: as shown in fig. 4, the present embodiment proposes a detection method of the programming test system for the remote acquisition module PCBA based on the programming test system for the remote acquisition module PCBA, where the detection method is a batch test method for PCBA test, and the specific steps are as follows:
step S1: the tester opens the upper computer software 10 and logs in the upper computer;
step S2: making a production test plan and PCBA network communication parameters;
step S3: opening the function of the batch programming test module;
step S4: fixing 8 PCBAs in the PCBA board fixing area;
step S5: a tester scans the two-dimensional code of 8 PCBAs (printed circuit board assembly) by using a handheld code scanning gun 20 and uploads the two-dimensional code to an upper computer;
step S6: the upper computer allocates a unique communication address according to the received PCBA two-dimensional code;
step S7: the upper computer software 10 controls the batch programming test conversion module 30 and the batch programming test software 40, and downloads programs of 8 PCBAs through an offline downloader 50;
step S8: the upper computer reads the default communication addresses of 8 PCBAs through the 8-path serial port interface 306 of the batch programming test conversion module 30, and judges whether the serial port communication of the PCBAs is normal or not; normally, the step S9 is performed after the test in this step is completed; if not, recording communication faults and waiting for the completion of the test in the current round to perform step S17;
step S9: the upper computer sets the corresponding communication addresses and the network communication parameters of the 8 allocated PCBAs to the corresponding PCBAs through the batch programming test software 40 and the batch programming test conversion module 30;
step S10: the upper computer sends a hardware restart command to 8 PCBAs through the batch programming test software 40 and the batch programming test conversion module 30;
step S11: the upper computer reads whether the communication addresses of 8 PCBAs are consistent with the communication addresses corresponding to the upper computer distribution or not through the batch programming test software 40 and the batch programming test conversion module 30; yes, wait for this step test to proceed to step S12; if not, the step S17 is executed after the test of the current round is finished;
step S12: the upper computer software 10 sequentially turns on 12V power supplies of 8 PCBAs through the batch programming test conversion module 30; monitoring whether the dialing state of the remote communication module of the PCBA is a logged-in main station within 8 minutes at the longest; the logged master station waits for the test completion in the step S13; the master station is not logged in, dialing faults are recorded, and the step S17 is executed after the current test is finished;
step S13: the upper computer software 10 reads the CCID identification code of the Internet of things card in the PCBA remote communication module through the batch programming test conversion module 30;
step S14: the upper computer software 10 reads and records the signal intensity of the PCBA remote communication module through the batch programming test conversion module 30, and after the step is finished, the step S15 is carried out;
step S15: the upper computer software 10 reads the electric meter voltage data in each PCBA through the batch programming test conversion module 30, judges whether the meter reading port of each PCBA is normal or not, records the test result, and performs step S16 after the test in the step is completed;
step S16: the upper computer sequentially turns off 12V power supplies to 8 PCBAs every 10 seconds through the batch programming test conversion module 30; reading a power failure event master station response mark reported by each PCBA through batch programming test software 40, wherein the step is used for judging whether a battery on the PCBA works normally or not;
step S17: the upper computer forms a conclusion of the corresponding PCBA according to the test result of each test step of the 8 PCBAs, writes the test records of the 8 PCBAs into the database, and performs step S18;
step S18: the upper computer gives an alarm by sound through the batch programming test conversion module 30, informs a tester that the test of the wheel is finished, and the tester makes a mark to take down 8 PCBAs of the wheel from the PCBA fixed area to carry out step 19;
step S19: judging whether the plan is tested; if yes, the programming test is finished; and if not, placing 8 PCBAs to be tested in the new round into the PCBA fixed area.
Based on the above, in steps S5 through S17 of the present embodiment, each step can be tested simultaneously for 8 PCBA.
As shown in fig. 5, in step S5 of this embodiment, the handheld code scanning gun 20 scans the two-dimensional code on the PCBA, obtains corresponding data, and uploads the data to the upper computer, specifically as follows:
step 5.1: the tester uses the handheld code scanning gun 20 to scan the two-dimensional code identification on the PCBA, the two-dimensional code identification is transmitted to the upper computer, and the next step 5.2 is executed;
and step 5.2: the upper computer judges whether the received two-dimension code is used or not through the production database, if the two-dimension code is used, the upper computer prompts a user to replace the two-dimension code of the PCBA, and the step 5.1 is executed again; otherwise, executing the next step 5.3;
step 5.3: the upper computer software 10 produces a new object to be tested according to the new two-dimensional code, assigns a communication address to the new object to be tested, writes the communication address into a database, and executes the next step 5.4;
step 5.4: the upper computer software 10 judges whether the two-dimensional code scanning of 8 PCBAs is finished or not, if not, the upper computer software prompts a tester to transplant a code scanning gun to the two-dimensional code of the next PCBA, and the step 5.1 is executed; if the scanning is completed, the flow of step S5 ends.
As shown in fig. 6, in step S11, the upper computer reads the communication address and the network parameters of each PCBA through the batch programming test software 40, which is as follows:
step 11.1: the upper computer reads the communication address of the current PCBA through the batch programming test software 40 and transfers the communication address to the upper computer software 10, and the next step 11.2 is executed;
step 11.2: the upper computer software 10 judges whether the communication address is the same as the communication address allocated to the PCBA by the upper computer software 10 in step S6; if so, the next step 11.3 is performed; if not, the upper computer software 10 records the parameter loss of the PCBA board and executes the step 11.5;
step 11.3: the upper computer reads the network communication parameters of the PCBA through the test body and executes the next step 11.4;
step 11.4: the upper computer software 10 judges whether the network communication parameters of the PCBA are the same as the network parameters formulated in the step S2, and if so, records that the PCBA parameters are correct; otherwise, recording the loss of the PCBA parameters, and executing the next step 11.5;
step 11.5: 8 PCBA parameters are checked whether the parameter checking is completed; if not, the upper computer parameter verification logic is switched to the next PCBA, and the step 11.1 is executed; if it is completed, the flow ends in step S11.
As shown in fig. 7, in step S12 of this embodiment, the upper computer performs a method for testing the remote dialing module on each PCBA through the batch programming test software 40, which includes the following steps:
step 12.1: the upper computer software 10 opens a 12V power supply to the current PCBA through the test tool body, and executes the next step 12.2;
step 12.2: the upper computer software 10 delays for 10 seconds and executes the next step 12.3;
step 12.3, whether 12V power supplies of 8 PCBAs are all opened or not; if yes, executing the next step 12.4; if not, the upper computer software 10 informs the batch programming test software 40 to switch to the next PCBA, and the step 12.1 is executed;
step 12.4: the batch programming test software 40 reads the status of 8 PCBAs logging in the master station, transmits the status to the upper computer software 10, and executes the next step 12.5;
step 12.5: the upper computer software 10 judges whether 8 PCBAs have logged in the main station; if yes, go to step 12.7; if not, executing the next step 12.6;
step 12.6: whether the detection time of the flow is reached; if yes, go to the next step 12.7; if not, delaying for 30 seconds, and executing the step 12.4;
step 12.7: the upper computer software 10 records the login state of 8 PCBAs and executes the next step 12.8;
step 12.8: the upper computer software 10 reads the CCID identification codes of the internet of things cards in the remote modules on the 8 PCBAs through the batch programming test software 40, and executes the next step 12.9;
step 12.9: the upper computer software 10 reads the electric meter voltage data stored in the 8 PCBAs through the batch programming test software 40, and executes the next step 12.10;
step 12.10: the upper computer software 10 sequentially judges whether voltage data are returned by each PCBA; if so, the upper computer software 10 records that the PCBA meter reading port is normal; if not, the upper computer software 10 records the fault of the PCBA meter reading port, and ends the test flow of step S12.
As shown in fig. 8, further, in step S17 of this embodiment, the method for processing the current 8 PCBA test results by the upper computer software 10 specifically includes the following steps:
step 17.1: the upper computer judges whether the test conclusion of the current PCBA step S8 is qualified or not; if yes, the next step 17.2 is executed; if not, recording that the current PCBA test conclusion is a defective product, and executing the step 17.7;
step 17.2: the upper computer judges whether the test conclusion of the current PCBA step S11 is parameter loss or not; if yes, recording that the current PCBA test conclusion is a defective product, and executing a step 17.7; if not, executing the next step 17.3;
step 17.3: the upper computer software 10 judges whether the test conclusion of the current PCBA step S12 is that the master station is logged in; if yes, go to next step 17.4; if not, recording that the current PCBA test conclusion is a defective product, and executing the step 17.7;
step 17.4: the upper computer software 10 judges whether the test conclusion of the current PCBA step S15 is normal; if yes, go to the next step 17.5; if not, recording that the current PCBA test conclusion is a defective product, and executing the step 17.7;
step 17.6: the upper computer software 10 judges whether the current PCBA step S16 test conclusion is successful or not; if yes, recording the current PCBA test conclusion as a good product; if not, recording that the current PCBA test conclusion is a defective product, and executing the next step 17.7;
step 17.7: the upper computer judges whether the current test conclusion of the PCBA is good or not; if yes, displaying the current PCBA position as green; if not, displaying the current PCBA position as red, and executing the next step 17.8;
step 17.8: the upper computer software 10 writes the test data and the test conclusion of the PCBA into the database, and executes the next step 17.9;
step 17.9, judging whether the PCBA test conclusion is finished or not; if yes, go to the next step 17.10; if not, continuing to generate a test conclusion of the next PCBA;
step 17.10: the upper computer software 10 reminds the tester through the buzzer of the batch programming test system, and then the test flow of the step S17 is ended.
As shown in fig. 9, in step S7, the upper computer controls the batch programming test software 40 and the batch programming test conversion module 30 to perform batch programming, which includes the following specific steps:
step 7.1: the upper computer software 10 informs the batch programming test conversion module 30 of program downloading of the current PCBA, and carries out the next step 7.2;
step 7.2: the batch programming test conversion module 30 controls the batch programming switching module to switch the programming channel to be connected with the programming interface of the current PCBA, and the next step 7.3 is carried out;
step 7.3: the upper computer judges whether the batch programming test module returns the success of the current PCBA programming; if yes, executing step 7.5; if not, executing the next step 7.4;
step 7.4: the upper computer judges whether the current programming of the PCBA is overtime or not; if yes, executing the next step 7.5; if not, executing step 7.3;
and 7.5: the upper computer software 10 judges whether the 8 PCBAs are programmed or not; if not, the upper computer programming logic switches the next PCBA, and the step 7.1 is executed; after that, the batch programming flow of step S7 ends.
Based on the above, in the detection method of the embodiment, the handheld code scanning gun is used for scanning the two-dimensional codes on the PCBA, corresponding data are obtained and uploaded to the upper computer, and the upper computer reads the communication address and the network parameters of each PCBA board through the batch programming test software 40; the upper computer tests the remote dialing module on each PCBA through batch programming test software 40; the upper computer software 10 processes the current 8 PCBA test results; and the host computer controls the batch programming test software 40 and the batch programming test conversion module 30 to carry out batch programming. The whole operation flow sets up rationally, it is comprehensive and accurate to detect the judgement, quick intelligent the choosing defective products, the efficiency of detection is improved, the real-time recording of detection incident and test record, can classify the problem of filing discovery in the test through data processing, utilize big data to carry out the analysis to the problem of discovery simultaneously, find out the former device that arouses the problem, thereby can optimize the purchase action of former device on the long-range collection module, guarantee product quality, can discover the problem of the manufacturing process of long-range collection module circuit board, optimize research and development work.
In summary, in the embodiments 1 and 2, the programmable test system and the batch test method are constructed for the PCBA test, and the system intelligently performs the batch programming test on the PCBA test through the batch programming test software 40 which can be expanded by the upper computer, optimizes the data and information processing of the system, and improves the accuracy, stability and efficiency of the work; therefore, the invention not only solves the problems of complex detection flow, low efficiency and low detected data informatization degree in the current stage, but also improves the production and test efficiency, improves the supply quality of upstream suppliers and the manufacturing process of remote acquisition modules, and further reduces the overall operation and maintenance cost of products. In conclusion, the invention has the effects of high efficiency of batch operation, accuracy of data testing and source tracing of informatization so as to ensure the product quality.
In addition, in actual practice, the following results were obtained for PCBA production testing using the programmable test system and batch test method of the present invention:
the detection scheme of the invention solves the problems of complex detection flow, low efficiency and low detected data informatization degree at the present stage, improves the production test efficiency, and particularly, the production test efficiency is low by calculating according to 8 hours a day, 60-70 PCBAs can be produced by the present test every day; the invention uses a batch test method, calculates and predicts that more than 300 PCBAs can be produced and tested every day according to 8 hours every day, and can quickly meet the demand of field supply;
the invention can classify the problems found in the filing test, analyze the found problems by utilizing big data, and find out the original device causing the problems, thereby optimizing the purchasing behavior of the original device on the remote acquisition module and ensuring the product quality; the problems of the manufacturing process of the remote acquisition module circuit board can be found, and research and development work is optimized;
in addition, the overall operation and maintenance cost of the product is reduced, and specifically, the PCBA test record storage device has a function of storing the test record of each PCBA and can refer to the historical test record. When the on-site product has problems, the testing link can be traced to, the defects of the production link are found and improved, and the purpose of reducing the manpower and material resources investment of the later on-site operation and maintenance work is achieved.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A programming test detection method for a remote acquisition module PCBA is characterized in that the detection method is a batch test method, and the method comprises the following specific steps:
step S1: opening upper computer software (10) and logging in a system;
step S2: making a production plan and network communication parameters of the current PCBA;
step S3: opening a switch of the test tool body and a power supply of the intelligent ammeter;
step S4: fixing the current 8 PCBA whole plates in a PCBA fixed area;
step S5: scanning a two-dimensional code on the current PCBA board through a handheld code scanning gun (20), acquiring corresponding data and uploading the data to an upper computer;
step S6: the upper computer generates a communication address of each PCBA according to the production plan formulated in the step S2 and the two-dimensional code of each PCBA on the current PCBA whole plate;
step S7: the upper computer controls the batch programming test software (40) and the batch programming test conversion module (30), and the data of each PCBA is downloaded by an offline downloader (50);
step S8: the upper computer reads the default communication address of each PCBA through the test tool body and returns the default communication address to the upper computer, and the upper computer verifies whether the default address exists in each PCBA or not and verifies whether the serial port of each PCBA is normal or not;
step S9: the upper computer sets the communication address and the network communication parameters corresponding to each PCBA to the corresponding PCBA through batch programming test software (40);
step S10: the upper computer sends a hardware restarting command to each PCBA through batch programming test software (40) and waits for all PCBAs to be restarted;
step S11: the upper computer reads the communication address and the network parameters of each PCBA through batch programming test software (40), uploads the communication address and the network parameters to the upper computer, and judges whether the address parameters and the network parameters of each PCBA are lost or not;
step S12: the upper computer software (10) tests the 4G communication module on each PCBA through batch programming test software (40), circularly reads the login state of each PCBA, waits for 8 minutes at the maximum, and verifies whether each PCBA normally logs in the master station;
step S13: the upper computer software (10) reads the CCID identification number of the PCBA of each logged main station through batch programming test software (40);
step S14: the upper computer software (10) reads the signal intensity of the PCBA of each logged master station through batch programming test software (40);
step S15: the upper computer software (10) reads voltage data of the intelligent electric meter collected by each PCBA board in the PCBA fixed area through batch programming test software (40) and uploads the voltage data to the upper computer, and whether a meter reading port of each PCBA is normal is verified;
step S16: the upper computer software (10) verifies whether the power failure function of each PCBA is normal or not through batch programming test software (40);
step S17: the upper computer generates a conclusion of good products or defective products according to the test conclusion of each PCBA in the steps S8, S11, S15 and S16, and generates a test record to write into the database;
step S18: the batch programming test software (40) informs a tester that the test is finished in the current round, the tester attaches a label to the problematic PCBA so as to facilitate maintenance, and the current PCBA board is taken down from the PCBA fixed area;
step S19: and fixing the next PCBA whole board to be tested in the PCBA area, and repeating the steps S5 to S18 until the production planning task is completed.
2. The programming test detection method for the PCBA of the remote acquisition module as recited in claim 1, wherein in step S5, the handheld code scanning gun (20) is used for scanning the two-dimensional code on the current PCBA board, and corresponding data is obtained and uploaded to an upper computer, specifically as follows:
step 5.1: a tester uses a handheld code scanning gun (20) to scan the two-dimensional code identification on the current PCBA, transmits the two-dimensional code identification to an upper computer, and executes the next step 5.2;
and step 5.2: the upper computer judges whether the received two-dimensional code is used or not through the production database, if the two-dimensional code is used, the upper computer prompts a user to replace the two-dimensional code of the current PCBA, and the step 5.1 is executed again; otherwise, executing the next step 5.3;
step 5.3: the upper computer software (10) produces the object to be tested at this time according to the new two-dimensional code, allocates a communication address to the object, writes the object into a database and executes the next step 5.4;
step 5.4: the upper computer software (10) judges whether the two-dimensional code scanning of 8 PCBAs is finished or not, if not, the upper computer software prompts a tester to move the code scanning gun to the next two-dimensional code of the PCBA, and the step 5.1 is executed; if the scanning is completed, the flow of step S5 ends.
3. The programming test detection method for the PCBA of the remote acquisition module according to claim 1, wherein in step S11, the upper computer reads the communication address and the network parameters of each PCBA by the batch programming test software (40), specifically as follows:
step 11.1: the upper computer reads the communication address of the PCBA through the batch programming test software (40) and transfers the communication address to the upper computer software (10), and the next step 11.2 is executed;
step 11.2: the upper computer software (10) judges whether the communication address is the same as the communication address distributed to the PCBA by the upper computer software (10) in the step S6; if so, the next step 11.3 is performed; if not, the upper computer software (10) records the loss of the PCBA parameters and executes the step 11.5;
step 11.3: the upper computer reads the network communication parameters of the PCBA through batch programming test software (40), and executes the step 11.4;
step 11.4: the upper computer software (10) judges whether the network communication parameters of the PCBA are the same as the network parameters formulated in the step S2, if so, the PCBA parameters are recorded to be correct; otherwise, recording the loss of the PCBA parameters; and the next step 11.5 is carried out;
step 11.5: 8 PCBA parameter checks are completed; if not, the upper computer parameter logic is switched to the next PCBA, and the step 11.1 is executed; if so, the flow ends at step S11.
4. A method as claimed in claim 1, wherein in step S12, the host computer logs in a master test method to the remote module of each PCBA via batch programming test software (40), as follows:
step 12.1: the upper computer software (10) turns on a 12V power supply to the current PCBA through batch programming test software (40), and executes the next step 12.2;
step 12.2: the upper computer software (10) delays for 10 seconds and executes the next step 12.3;
step 12.3: whether the 12V power supplies of the 8 PCBAs are all opened; if yes, the next step 12.4 is executed; if not, the upper computer software (10) informs the next PCBA to be switched through the batch programming test software (40), and the step 12.1 is executed;
step 12.4: the batch programming test software (40) reads the status of 8 PCBAs logging in the master station, transmits the status to the upper computer software (10), and executes the next step 12.5;
step 12.5: the upper computer software (10) judges whether 8 PCBAs have logged in the main station; if yes, go to step 12.7; if not, executing the next step 12.6;
step 12.6: whether the detection time of the flow is reached; if yes, go to the next step 12.7; if not, delaying for 30 seconds, and executing the step 12.4;
step 12.7: the upper computer software (10) records the login state of 8 PCBAs and executes the next step 12.8;
step 12.8: the upper computer software (10) reads the CCID identification codes of the Internet of things cards in the remote modules of 8 PCBAs through the batch programming test software (40), and executes the next step 12.9;
step 12.9: the upper computer software (10) reads the electric meter voltage data stored in the 8 PCBAs through the batch programming test software (40), and the next step 12.10 is executed;
step 12.10: the upper computer software (10) sequentially judges whether voltage data are returned by each PCBA; the upper computer software (10) records that the PCBA meter reading port is normal; if not, the upper computer software (10) records the fault of the PCBA meter reading port, and the test flow of the step S12 is ended.
5. The method for detecting the programming test of the PCBA of the remote acquisition module as recited in claim 1, further comprising a method for processing the current PCBA test result by the upper computer in the step S17, specifically as follows:
step 17.1: the upper computer judges whether the test conclusion of the current PCBA in the step S8 is qualified; if yes, go to next step 17.2; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.2: the upper computer judges whether the test conclusion of the current PCBA in the step S11 is parameter loss or not; if yes, recording that the current PCBA board test conclusion is a defective product, and executing a step 17.7; if not, the next step 17.3 is executed;
step 17.3: the upper computer software (10) judges whether the test conclusion of the current PCBA in the step S12 is that the master station is logged in; if yes, go to next step 17.4; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.4: the upper computer software (10) judges whether the test conclusion of the current PCBA in the step S15 is that the meter reading port is normal; if yes, go to next step 17.5; if not, recording that the current PCBA board test conclusion is a defective product, and executing the step 17.7;
step 17.6: the upper computer software (10) judges whether the test conclusion of the current PCBA in the step S16 is successful or not; if so, recording the current PCBA board test conclusion as a good product; if not, recording the current PCBA board test conclusion as a defective product; the next step 17.7 is performed;
step 17.7: the upper computer judges whether the current test conclusion of the PCBA is good or not; if yes, displaying that the current PCBA board state is green; if not, displaying that the current PCBA board state is red, and executing the next step 17.8;
step 17.8: the upper computer software (10) writes the test data and the test conclusion of the current PCBA into the database, and executes the next step 17.9;
step 17.9, testing whether the PCBA is completely produced or not is judged by 8; if yes, go to the next step 17.10; if not, processing the test conclusion of the next PCBA, and executing the step 17.1;
step 17.10: and the upper computer software (10) reminds the tester through the buzzer (303) of the batch programming test software (40), and then the test flow of the step S17 is ended.
6. The method for detecting the programming test of the PCBA of the remote acquisition module as recited in claim 1, wherein in the step S7, the upper computer controls the batch programming test software (40) and the batch programming test conversion module (30) to perform batch programming, and the specific steps are as follows:
step 7.1: the upper computer software (10) informs the batch programming test conversion module (30) that the program downloading of the current PCBA is needed, and the next step 7.2 is carried out;
and 7.2: the batch programming test conversion module (30) controls the batch programming switching module, switches the programming channel to be connected with the programming interface of the current PCBA, and carries out the next step 7.3;
step 7.3: the upper computer judges whether the batch programming test module returns the current PCBA programming success information; if yes, executing step 7.5; if not, executing the next step 7.4;
step 7.4: the upper computer judges whether the current programming of the PCBA is overtime or not; if the time is out, the next step 7.5 is executed; if not, executing step 7.3;
step 7.5: the upper computer software (10) judges whether the programming of the 8 PCBAs is finished or not; if not, the upper computer programming logic is switched to the next PCBA, and the step 7.1 is executed; after that, the batch programming flow of step S7 ends.
7. The system for the remote acquisition module PCBA programming test detection method as recited in any one of claims 1-6, comprising upper computer software (10), a hand-held code scanning gun (20), a batch programming test conversion module (30), batch programming test software (40) and an off-line downloader (50);
the upper computer software (10) is loaded in the upper computer and used for carrying out batch programming test on the PCBA;
the handheld code scanning gun (20) is connected with an upper computer through a Bluetooth interface and is in data connection with the upper computer software (10) and used for scanning the two-dimensional code on the PCBA board, acquiring corresponding data and uploading the data to the upper computer;
the batch programming test conversion module (30) is carried in the detection tool and comprises a main control MCU and a batch programming multi-path switching module connected with the main control MCU, and the batch programming test conversion module (30) is connected with the upper computer software (10) in a data connection mode; the test tool is also provided with a PCBA fixed area, the PCBA fixed area is used for fixing a PCBA whole board or a single PCBA and transmitting data, and the PCBA fixed area comprises a serial port interface connected with a serial port expansion module, a meter reading interface connected with an intelligent electric meter module and an SWD programming interface connected with the batch programming multi-way switching module;
the test device comprises batch programming test software (40) used for performing batch programming on test requirements of the PCBA board, when the batch programming test software (40) is used, the batch programming test software is loaded in an upper computer, the upper computer software (10) is connected with the batch programming test software (40) through an operating system call, and the batch programming test software (40) is connected with a batch programming test conversion module (30) through an offline downloader (50).
8. The system for detecting the programming test of the PCBA of the remote acquisition module as recited in claim 7, wherein the batch programming test conversion module (30) further comprises a batch programming module (301), a 2-way extended serial port module (302), a buzzer (303), a 12V power control module (304), an 8-way programming interface (305), an 8-way serial port interface (306), an 8-way 12V power interface (307), an uplink communication interface (308), and a meter reading conversion interface (309);
the batch programming module (301) is correspondingly connected with the programming interfaces of 8 PCBAs in the tested area through an 8-way programming interface (305) and a test operation unit;
the main control MCU is respectively connected with the batch programming module (301), the 2-way extended serial port module (302), the buzzer (303) and the 12V power supply control module (304);
the batch programming module (301) is correspondingly connected with the programming interfaces of 8 PCBAs of the tested area through the 8-way programming interface (305) and the test operation unit;
the buzzer (303) is connected with the master control MCU and used for prompting the completion of the test flow in the round;
the 2-path extended serial port module (302) is correspondingly connected with the serial ports of 8 PCBAs of the unit to be tested through 8-path serial port interfaces (306) and the test operation unit;
the 12V power supply control module (304) is connected with 12V power supply interfaces of 8 PCBAs of the unit to be tested through 8 paths of 12V power supply interfaces (307) and the test operation unit, and provides 12V power supply for the PCBAs;
the meter reading conversion interface (309) is connected with the intelligent electric meter through the meter reading interface, and is connected with the meter reading ports of 8 PCBAs of the tested unit through the test operation unit, so that data exchange between the PCBAs and the intelligent electric meter is realized.
9. The system for the remote acquisition module PCBA programming test detection method as recited in claim 7, wherein the upper computer software (10) further comprises a database, the database is used for data caching and data searching and calling operation of the upper computer software (10);
when the upper computer software (10) is started, detecting whether the current configuration data of the upper computer software (10) is loaded successfully; if the current configuration data of the upper computer software (10) is loaded successfully, reading the connection pairing relationship between the database operation program ID and the database ID from the upper computer software (10) and storing the connection pairing relationship into a cache database to finish the database data cache of the upper computer software (10);
when the upper computer software (10) executes the current function operation, intercepting a current database operation program ID corresponding to the current function operation, and searching and calling a matching database ID matched with the current database operation program ID from the cache database; if the matching database ID matched with the current database operation program ID is found in the cache database, the upper computer software (10) operates and calls corresponding database data according to the matching database ID when executing functional operation, and database data searching and calling of the upper computer software (10) are completed.
10. The system for the programming test detection of the PCBA of the remote acquisition module as recited in claim 7, characterized in that the upper computer is provided with a COM1 interface, the batch programming test conversion module (30) is provided with a COM2 interface, and the batch programming test conversion module (30) is connected to the upper computer through serial communication.
CN202210745240.9A 2022-06-29 2022-06-29 Remote acquisition module PCBA programming test detection method and system Active CN114793206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210745240.9A CN114793206B (en) 2022-06-29 2022-06-29 Remote acquisition module PCBA programming test detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210745240.9A CN114793206B (en) 2022-06-29 2022-06-29 Remote acquisition module PCBA programming test detection method and system

Publications (2)

Publication Number Publication Date
CN114793206A true CN114793206A (en) 2022-07-26
CN114793206B CN114793206B (en) 2022-09-09

Family

ID=82463382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210745240.9A Active CN114793206B (en) 2022-06-29 2022-06-29 Remote acquisition module PCBA programming test detection method and system

Country Status (1)

Country Link
CN (1) CN114793206B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016090908A1 (en) * 2014-12-12 2016-06-16 国家电网公司 Memory simulation testing board system and testing method for embedded application of intelligent electric meter
CN106443418A (en) * 2016-11-30 2017-02-22 青岛元启智能机器人科技有限公司 Automatic testing device for intelligent electricity meter PCBA (printed circuit board assembly)
CN107894579A (en) * 2017-09-30 2018-04-10 广东博立科技有限公司 The production technology of intelligent electric meter
CN109342929A (en) * 2018-11-12 2019-02-15 卡斯柯信号有限公司 A kind of CVC-200T hardware intelligent test system and method
CN110780902A (en) * 2019-10-25 2020-02-11 上海信耀电子有限公司 Method for upgrading embedded equipment network in batch
CN111398887A (en) * 2020-04-14 2020-07-10 宁夏隆基宁光仪表股份有限公司 Multi-epitope FCT function detection method and system for intelligent electric meter
CN112230095A (en) * 2020-12-10 2021-01-15 江苏智臻能源科技有限公司 Load identification module hardware interface detection equipment and automatic detection method thereof
CN113791373A (en) * 2021-08-06 2021-12-14 深圳市科陆电子科技股份有限公司 Ammeter testing method and system, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016090908A1 (en) * 2014-12-12 2016-06-16 国家电网公司 Memory simulation testing board system and testing method for embedded application of intelligent electric meter
CN106443418A (en) * 2016-11-30 2017-02-22 青岛元启智能机器人科技有限公司 Automatic testing device for intelligent electricity meter PCBA (printed circuit board assembly)
CN107894579A (en) * 2017-09-30 2018-04-10 广东博立科技有限公司 The production technology of intelligent electric meter
CN109342929A (en) * 2018-11-12 2019-02-15 卡斯柯信号有限公司 A kind of CVC-200T hardware intelligent test system and method
CN110780902A (en) * 2019-10-25 2020-02-11 上海信耀电子有限公司 Method for upgrading embedded equipment network in batch
CN111398887A (en) * 2020-04-14 2020-07-10 宁夏隆基宁光仪表股份有限公司 Multi-epitope FCT function detection method and system for intelligent electric meter
CN112230095A (en) * 2020-12-10 2021-01-15 江苏智臻能源科技有限公司 Load identification module hardware interface detection equipment and automatic detection method thereof
CN113791373A (en) * 2021-08-06 2021-12-14 深圳市科陆电子科技股份有限公司 Ammeter testing method and system, electronic equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
倪晨鸿等: ""智能电表PCBA模块的功能性测试设备"", 《电子测试》 *
华伟等: ""一种中央空调主控板PCBA全自动在线功能测试平台的开发"", 《机电工程技术》 *
朱肖谣等: ""基于WinCC的PCBA模块监控系统研究"", 《青岛大学学报(工程技术版)》 *
李永利: ""基于柔性测试技术的PCBA功能测试优化"", 《机电工程技术》 *

Also Published As

Publication number Publication date
CN114793206B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN110308385A (en) A kind of PCBA Online Transaction Processing and method
CN110492906A (en) A kind of HPLC carrier module performance fast automatic detecting method
CN105652183A (en) Vehicle-mounted system PCB mainboard automated testing method
CN101859266B (en) Backplane test method
CN108508877A (en) A kind of T-BOX test devices and test method
CN111161445A (en) Electric power inspection system
CN102095448A (en) Automatic testing system of production line of vehicle information terminal and testing method of system
CN101210952A (en) Multi-test point semiconductor test machine station automated setting method
CN106841886A (en) A kind of BMS burn-in tests monitoring system and its application apparatus
CN112014788B (en) Load identification module detection method based on wave recording file playback
CN112118149B (en) Device testing method, electronic device, and storage medium
CN109189407A (en) Statistical method, system, device and the storage medium of a kind of pair of multi-chip burning
CN117421217B (en) Automatic software function test method, system, terminal and medium
CN111751143A (en) Intelligent lock testing system, method, device and storage medium
CN111260378B (en) Quality tracing method and system based on MES
CN114793206B (en) Remote acquisition module PCBA programming test detection method and system
CN111212434B (en) WIFI module quality prediction method, device, equipment and storage medium
CN114826993B (en) Simulation test system for electric energy meter module
CN107346128A (en) Automated testing method and system for lock control plate
CN105675992B (en) Auto-Test System and its test method
CN115408834A (en) Vehicle-mounted radar testing continuous integration platform based on radio frequency front-end analog signal simulation injection
CN214669306U (en) Non-invasive load identification module detection device
CN110906979B (en) Price tag production inspection batch test method and system thereof
CN108983083A (en) Electric tool switch debugging control program, apparatus and system
CN110865324B (en) Automatic setting method and system for line fault indicator

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
GR01 Patent grant
GR01 Patent grant