CN112415368A - Circuit board detection method and device, electronic equipment and readable storage medium - Google Patents

Circuit board detection method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112415368A
CN112415368A CN202011344787.5A CN202011344787A CN112415368A CN 112415368 A CN112415368 A CN 112415368A CN 202011344787 A CN202011344787 A CN 202011344787A CN 112415368 A CN112415368 A CN 112415368A
Authority
CN
China
Prior art keywords
detection
circuit board
display screen
preset
read
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
CN202011344787.5A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011344787.5A priority Critical patent/CN112415368A/en
Publication of CN112415368A publication Critical patent/CN112415368A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention relates to the technical field of hardware detection, and discloses a detection method and device of a circuit board, electronic equipment and a readable storage medium. The circuit board is provided with a display screen, and the detection method of the circuit board comprises the following steps: initializing a display screen of the circuit board; detecting whether the display screen is normal or not; when the display screen displays normal, responding to a detection instruction of the circuit board input by a user, and determining a detection item corresponding to the circuit board; and acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program, and displaying a detection result on a display screen. By implementing the invention, automatic detection of each patch on the circuit board is realized, the manual detection cost is reduced, the qualitative and quantitative accurate detection of the circuit board is realized, the detection result is displayed through the display screen on the circuit board, so that the detection result is visually obtained, the test tool and the detection process are reduced, and the production efficiency of the circuit board is improved.

Description

Circuit board detection method and device, electronic equipment and readable storage medium
Technical Field
The invention relates to the technical field of hardware detection, in particular to a method and a device for detecting a circuit board, electronic equipment and a readable storage medium.
Background
A Printed Circuit Board (PCBA) is generally provided with a Central Processing Unit (CPU), a memory chip (Multi-Media Card, MMC), a running memory chip (Double Data Rate, DDR) and other core semiconductor components (ICs), and is also provided with a Liquid Crystal Display (LCD), a wireless module, a bluetooth module, and the like. After accomplishing the PCBA paster, at first need detect PCBA in order to confirm that each components and parts do not have rosin joint and damage scheduling problem, then need detect whether LCD shows normally to whether detect whether wireless module and bluetooth module etc. can normally connect and whether signal strength is up to standard.
At present, for the detection of the PCBA, the detection is usually performed by visual inspection of a detection person or by means of other tools, a plurality of processes are usually required, and the detection capability is limited. For example, whether the cold joint exists or not is observed through naked eyes, then whether each path of voltage of the PCBA board is normal or not is tested through the tool, and whether modules such as a wireless module and a Bluetooth module are normal or not is detected through the tool. However, the conventional manual detection method can only detect the PCBA with obvious defects, is difficult to perform qualitative and quantitative accurate detection on the PCBA, and has high labor cost.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for detecting a circuit board, an electronic device, and a readable storage medium, so as to solve the problems that the conventional detection method is difficult to perform qualitative and quantitative accurate detection on a PCBA board and the labor cost is high.
According to a first aspect, an embodiment of the present invention provides a method for detecting a circuit board, where the circuit board has a display screen, and the method includes the following steps: initializing a display screen of a circuit board, and detecting whether the display screen displays normally; when the display screen displays normal, responding to a detection instruction of the circuit board input by a user, and determining a detection item corresponding to the circuit board; and acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program, and displaying a detection result on the display screen.
The method for detecting the circuit board provided by the embodiment of the invention detects whether the display screen is normal or not by initializing the display screen of the circuit board, determines the detection item corresponding to the circuit board in response to the detection instruction of the circuit board input by a user when the display screen is normal, detects the detection item by a preset detection program, and displays the detection result on the display screen. Each patch on the circuit board is automatically detected through a detection program, so that inaccuracy of manual detection is avoided, qualitative and quantitative accurate detection of the circuit board is realized, and manual detection cost is reduced; the detection result is displayed through the display screen on the circuit board, so that the detection result can be visually obtained, the test tool and the detection process are reduced, and the production efficiency of the circuit board is improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the detection item corresponding to the circuit board includes one or more of a semiconductor element, a serial port, a wireless module, a bluetooth module, and an LED lamp.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, when a detection item corresponding to the circuit board is a semiconductor element, the detecting the detection item based on the preset detection program and displaying a detection result on the display screen includes: reading the configuration information of the semiconductor element to acquire the capacity of the semiconductor element; writing preset data into the semiconductor element, reading the preset data, and acquiring the writing time of the written preset data and the reading time of the read preset data; and determining the reading and writing speed based on the writing time and the reading time, and displaying the capacity and the reading and writing speed on the display screen.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the displaying the capacity and the reading/writing speed on the display screen includes: judging that the read-write speed time meets a preset read-write speed range; when the read-write speed meets the preset read-write speed range, generating first data information corresponding to the read-write speed; and displaying the capacity and the first data information on the display screen.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the displaying the capacity and the reading/writing speed on the display screen further includes: when the read-write speed does not meet the preset read-write speed range, generating second data information corresponding to the read-write speed; and displaying the capacity and the second data information on the display screen.
According to the detection method of the circuit board provided by the embodiment of the invention, when the semiconductor element arranged on the circuit board needs to be detected, the configuration information of the semiconductor element is read, the capacity of the semiconductor element is obtained, the preset data is written into the semiconductor element and read, the writing time for writing the preset data and the reading time for reading the preset data are obtained, and the reading and writing speed is determined based on the writing time and the reading time. When the reading and writing speed meets a preset reading and writing speed range, generating first data information corresponding to the reading and writing speed, and displaying the capacity and the first data information on a display screen; and when the reading and writing speed does not meet the preset reading and writing speed range, generating second data information corresponding to the reading and writing speed, and displaying the capacity and the second data information on a display screen. The method realizes automatic detection of the semiconductor element on the circuit board, does not need manual detection, avoids incomplete manual detection, realizes accurate detection of the semiconductor element, displays the detection result of the semiconductor element through the display screen on the circuit board so that developers can visually obtain the detection result, timely finds and solves problems according to the detection result, and improves the production efficiency of the circuit board on the basis of improving the detection efficiency.
With reference to the first implementation manner of the first aspect, in a fifth implementation manner of the first aspect, when the detection item corresponding to the circuit board is a serial port, the detecting the detection item based on the preset detection program, and displaying a detection result on the display screen, further includes: sending data to a receiving end of the serial port through a sending end of the serial port, and detecting whether the receiving end receives the data sent by the sending end; and when the receiving end receives the data sent by the sending end, judging that the serial port is normal, and displaying the parameter information corresponding to the serial port on the display screen.
According to the detection method of the circuit board, when the serial port arranged on the circuit board needs to be detected, data are sent to the receiving end of the serial port through the sending end of the serial port, whether the receiving end receives the data sent by the sending end is detected, when the receiving end receives the data sent by the sending end, the serial port is judged to be normal, parameter information corresponding to the serial port is displayed on the display screen, automatic detection of serial port communication on the circuit board is achieved, the problem that manual detection of the serial port communication is difficult is solved, the detection result of the serial port is displayed through the display screen on the circuit board, developers can visually obtain the detection result of the serial port, when the problem of the serial port communication is found, the problem can be timely solved, the detection efficiency is improved, and further the production efficiency of the circuit board is improved.
With reference to the first implementation manner of the first aspect, in a sixth implementation manner of the first aspect, when a detection item corresponding to the circuit board is a wireless module and/or a bluetooth module, the detecting the detection item based on the preset detection program and displaying a detection result on the display screen includes: the wireless module and/or the Bluetooth module are/is accessed to a network through the preset detection program; when the wireless module and/or the Bluetooth module is successfully accessed, acquiring the signal intensity corresponding to the wireless module and/or the Bluetooth module; displaying the signal strength on the display screen.
The detection method of the circuit board provided by the embodiment of the invention has the advantages that when the wireless module and/or the Bluetooth module arranged on the circuit board needs to be detected, the wireless module and/or the Bluetooth module is accessed into the network through the preset detection program, when the wireless module and/or the Bluetooth module is successfully accessed, the signal intensity corresponding to the wireless module and/or the Bluetooth module is obtained, the signal intensity is displayed on the display screen, the automatic detection of the wireless module and/or the Bluetooth module on the circuit board is realized, the problem that the signal intensity of the wireless module and/or the Bluetooth module is difficult to detect manually is solved, the detection result of the wireless module and/or the Bluetooth module is displayed through the display screen on the circuit board, so that developers can visually obtain the detection result of the serial port, and the working state of the wireless module and/or the Bluetooth module is convenient to confirm in time, the detection efficiency is improved, and the production efficiency of the circuit board is further improved.
With reference to the first implementation manner of the first aspect, in a seventh implementation manner of the first aspect, when a detection item corresponding to the circuit board is an LED lamp, the detecting the detection item based on the preset detection program and displaying a detection result on the display screen includes: lightening all LED lamps on the circuit board through the preset detection program; judging whether all the LED lamps are lighted; and when all the LED lamps are lightened, judging that the LED lamps are normal, and displaying the parameter information corresponding to the LED lamps on the display screen.
According to the detection method of the circuit board provided by the embodiment of the invention, when the LED lamps arranged on the circuit board need to be detected, all the LED lamps on the circuit board are lightened through a preset detection program, whether all the LED lamps are lightened is judged, when all the LED lamps are lightened, the LED lamps are judged to be normal, and the parameter information corresponding to the LED lamps is displayed on the display screen, so that the automatic detection of the LED lamps on the circuit board is realized, the LED lamps do not need to be manually detected one by one, the detection time is reduced, the detection result without the LED lamps is displayed through the display screen on the circuit board, developers can directly position the LED lamps with problems for adjustment, the detection efficiency is improved, and the production efficiency of the circuit board is further improved.
With reference to the first aspect or any one of the first to seventh embodiments of the first aspect, in an eighth embodiment of the first aspect, the method further includes: and detecting each detection item of the circuit board according to a preset rule through the preset detection program.
According to the detection method of the circuit board, provided by the embodiment of the invention, each detection item of the circuit board is detected according to the preset rule through the preset detection program, so that the circuit board is automatically detected according to the requirements of developers, the repeated detection of the same element is avoided, the detection time is saved, and the detection efficiency is improved.
According to a second aspect, an embodiment of the present invention provides a detection apparatus for a circuit board, including: the initial module is used for initializing a display screen of the circuit board; the first checking module is used for detecting whether the display screen is displayed normally; the response module is used for responding to a detection instruction of the circuit board input by a user when the display screen displays normal and determining a detection item corresponding to the circuit board; and the second detection module is used for acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program and displaying a detection result on the display screen.
The detection device for the circuit board provided by the embodiment of the invention detects whether the display screen is normal or not by initializing the display screen of the circuit board, determines the detection item corresponding to the circuit board in response to the detection instruction of the circuit board input by a user when the display screen is normal, detects the detection item through a preset detection program, and displays the detection result on the display screen. The device can automatically detect each patch on the circuit board through a detection program, so that inaccuracy of manual detection is avoided, qualitative and quantitative accurate detection of the circuit board is realized, and manual detection cost is reduced; the detection result is displayed through the display screen on the circuit board, so that the detection result can be visually obtained, the test tool and the detection process are reduced, and the production efficiency of the circuit board is improved.
According to a third aspect, an embodiment of the present invention provides a detection chip for a circuit board, including: the circuit board detection method comprises a memory and a processor, wherein the memory and the processor are connected in a communication mode, computer instructions are stored in the memory, and the processor executes the computer instructions so as to execute the circuit board detection method of the first aspect or any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute the method for detecting a circuit board according to the first aspect or any embodiment of the first aspect.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method of inspection of a circuit board according to an embodiment of the invention;
FIG. 2 is a flow chart of a method of inspection of a circuit board according to an embodiment of the invention;
fig. 3 is a block diagram of a structure of a detection apparatus of a circuit board according to an embodiment of the present invention;
FIG. 4 is a schematic view of a PCBA board in accordance with an embodiment of the invention;
FIG. 5 is a schematic diagram of an LCD panel displaying the test results according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a detection chip of a circuit board according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the detection of the PCBA is usually performed by visual inspection of a detection person or by means of other tools, a plurality of processes are usually required, and the detection capability is limited. For example, whether the cold joint exists or not is observed through naked eyes, then whether each path of voltage of the PCBA board is normal or not is tested through the tool, and whether modules such as a wireless module and a Bluetooth module are normal or not is detected through the tool. However, the conventional manual detection method can only detect the PCBA with obvious defects, is difficult to perform qualitative and quantitative accurate detection on the PCBA, and has high labor cost.
Based on the method, the device and the system, each paster of the circuit board is detected by burning a preset detection program into the circuit board, so that the automatic detection of the circuit board is realized, the labor cost is saved, and the detection efficiency and the detection accuracy of the circuit board are improved.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for inspecting a circuit board, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown.
In this embodiment, a method for inspecting a circuit board is provided, which can be used for a printed circuit board, and fig. 1 is a flowchart of a method for inspecting a circuit board according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
and S11, initializing the display screen of the circuit board.
The Display screen of the circuit board may be a Liquid Crystal Display (LCD), and the circuit board initializes the LCD by responding to a screen initialization instruction input by a developer. Specifically, the display screen of the circuit board can set a register thereof through a screen initialization instruction to trigger the initialization of the LCD display screen.
And S12, detecting whether the display screen is normal.
And determining whether the display state of the LCD screen is normal or not according to the display state of the LCD screen. Specifically, after the initialization of the LCD display screen is triggered, the LCD display screen can sequentially display black, white, red and the like, and a developer judges whether the display is normal according to the display condition of the LCD display screen. And when the display screen displays normal, executing step S13, otherwise, stopping the detection of the circuit board.
And S13, responding to the detection instruction of the circuit board input by the user, and determining the detection item corresponding to the circuit board.
The user is a developer or inspector of the circuit board. The detection instruction is used for determining the detection items of the circuit board. When the display screen displays normal, the circuit board can respond to a detection instruction input by a developer or a detector to determine subsequent detection items of the circuit board. Wherein, the detection item is each component welded or pasted on the circuit board. For example, one PCBA board includes an LCD display screen, a Wireless Fidelity (WiFi) module, a bluetooth module, a DDR chip, an MMC chip, and the like, and since the above components are all key hardware and chips, these hardware and chips need to be detected, a detection person can input a detection instruction corresponding to the key hardware and chips to the PCBA board, and after receiving the detection instruction, the PCBA board parses the detection instruction to determine a detection item to be detected. Specifically, the circuit board is connected with the computer terminal, when a detection program of the circuit board runs, a selection interface of a detection item can be popped up on a computer screen, a developer or a detector can click the corresponding detection item according to needs and then store the detection item, the detection item is not specifically limited, and a person skilled in the art can determine the detection item according to actual needs.
And S14, acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program, and displaying the detection result on the display screen.
For each detection item, a corresponding detection flow and a detection mode are preset, and a corresponding detection program is developed based on the detection flows and is stored in advance, which is referred to as a preset detection program. The preset detection program is a general program written by developers according to detection requirements, each detection item corresponds to a corresponding detection program, and after the detection items are input by users, the corresponding preset detection programs can be matched according to the detection items, so that corresponding detection can be realized according to each detection item. And burning the preset detection program into a memory of the PCBA after the chip mounting of the PCBA is completed. And detecting each component on the circuit board by executing the preset detection program, determining whether each component is normal or not, and visually displaying the detection result through an LCD display screen of the circuit board. For example, if a WiFi module is on the PCBA board of the product in section a, a WiFi module may be set to be detected when the preset detection program starts to run; and the PCBA board of the product in the section B does not have a WiFi module, so that the WiFi module does not need to be set and detected when the preset detection program starts to run. And after the execution of the preset detection program is finished, the corresponding detection result can be displayed on an LCD display screen.
In the method for detecting a circuit board provided by this embodiment, whether the display screen is normally displayed is detected by initializing the display screen of the circuit board, when the display screen is normally displayed, a detection item corresponding to the circuit board is determined in response to a detection instruction of the circuit board input by a user, the detection item is detected by a preset detection program, and a detection result is displayed on the display screen. Each patch on the circuit board is automatically detected through a detection program, so that inaccuracy of manual detection is avoided, qualitative and quantitative accurate detection of the circuit board is realized, and manual detection cost is reduced; the detection result is displayed through the display screen on the circuit board, so that the detection result can be visually obtained, the test tool and the detection process are reduced, and the production efficiency of the circuit board is improved.
In this embodiment, a method for inspecting a circuit board is provided, which can be used for a printed circuit board, and fig. 2 is a flowchart of a method for inspecting a circuit board according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
and S21, initializing the display screen of the circuit board. For a detailed description, refer to the related description of step S11 corresponding to the above embodiment, and the detailed description is omitted here.
And S22, detecting whether the display screen is normal. For a detailed description, refer to the related description of step S12 corresponding to the above embodiment, and the detailed description is omitted here.
And S23, when the display screen displays normal, responding to the detection instruction of the circuit board input by the user, and determining the detection item corresponding to the circuit board. For a detailed description, refer to the related description of the above embodiment corresponding to S13, and the detailed description is omitted here.
And S24, acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program, and displaying the detection result on the display screen.
Specifically, the detection item corresponding to the circuit board includes one or more of a semiconductor element, a serial port, a wireless module, a bluetooth module, and an LED lamp, which is not specifically limited in this application. The circuit board shown in fig. 4 includes semiconductor elements such as DDR chips and MMC chips, a serial port, a wireless module, a bluetooth module, an LED lamp, and an LED display screen.
When the test item corresponding to the circuit board is a semiconductor element, the step S24 may include the following steps:
s240, the configuration information of the semiconductor device is read to obtain the capacity of the semiconductor device.
The semiconductor element may be a DDR chip, an MMC chip, or another chip, and is not limited to this. The configuration information is parameter information of the semiconductor element, including encoded information of the self-capacity of the semiconductor element. The configuration information of the semiconductor element is read by executing a preset detection program, and the configuration information is analyzed to obtain the capacity of the semiconductor element.
S241, writing preset data into the semiconductor device, reading the preset data, and obtaining a writing time for writing the preset data and a reading time for reading the preset data.
The preset data is any data for testing the read-write speed of the chip. Writing a section of preset data into the semiconductor element through a preset detection program, and recording the writing time of the preset data successfully written into the semiconductor element; and after the preset data is successfully written, controlling the semiconductor element to read the successfully written preset data, and acquiring the successful reading time of the preset data.
And S242, determining the reading and writing speed based on the writing time and the reading time, and displaying the capacity and the reading and writing speed on a display screen.
Based on the occupation space, the writing time, and the reading time of the preset data, the reading and writing speeds of the semiconductor element, i.e., the reading speed and the writing speed, can be determined. After the read-write speed of the semiconductor element is determined, the capacity and the read-write speed of the semiconductor device can be displayed on a display screen.
Specifically, the step S242 may include the following steps:
(1) and judging that the read-write speed time meets a preset read-write speed range.
The predetermined read/write speed range is the read/write speed range of the semiconductor device. The configuration information of the semiconductor element includes encoded information of the read/write speed corresponding thereto, and the read/write speed range corresponding to the semiconductor element can be acquired by reading the configuration information. And comparing the read-write speed determined based on the write-in time and the read-out time of the preset data with the read-write speed range, and determining whether the current read-write speed meets the preset read-write speed range. When the reading and writing speed meets the preset reading and writing speed range, executing the steps (2) to (3); otherwise, executing the steps (4) to (5).
(2) First data information corresponding to the read-write speed is generated.
The first data information comprises current read-write speed and detection information corresponding to the current read-write speed. When the read-write speed meets the preset read-write speed range, the semiconductor element arranged on the PCBA board is normal, and at the moment, the first data information corresponding to the read-write speed can be generated. The detection information may be a green mark to represent that the current read-write speed meets the preset read-write speed range, and may also represent that the current read-write speed meets the preset read-write speed range, for example, "normal". The detection information is not particularly limited here.
(3) And displaying the capacity and the first data information on a display screen.
And displaying the capacity corresponding to the semiconductor element and the first data information on a display screen, so that a developer or a detector can visually determine the detection result of the semiconductor element.
(4) And generating second data information corresponding to the reading and writing speed.
The second data information comprises the current read-write speed and the detection information corresponding to the current read-write speed. When the read/write speed does not satisfy the predetermined read/write speed range, it indicates that the semiconductor element provided on the PCBA board is in an abnormal state, and at this time, second data information corresponding to the read/write speed may be generated. The detection information may be a red mark to represent that the current read-write speed does not satisfy the preset read-write speed range, or a text mark to represent that the current read-write speed satisfies the preset read-write speed range, such as "abnormal". The detection information is not particularly limited here.
(5) And displaying the capacity and the second data information on the display screen.
The capacity corresponding to the semiconductor element and the second data information are displayed on the display screen, so that a developer or a detector can visually determine the detection result of the semiconductor element and adjust or replace the abnormal semiconductor element according to the detection result.
When the test item corresponding to the circuit board is a serial port, the step S24 may include the following steps:
and S243, sending data to a receiving end of the serial port through the sending end of the serial port, and detecting whether the receiving end receives the data sent by the sending end.
The serial port is a Uart serial port communication function, and after the PCBA board finishes the surface mounting or welding of components, the short circuit cap is used for enabling the serial port to be correspondingly connected with a sending end Tx and a receiving end Rx to be in short circuit. The method comprises the steps of controlling a sending end Tx to send data to a receiving end Rx through a preset detection program, and detecting whether the receiving end Rx receives the sending data of the sending end Tx or not. Specifically, when the receiving end Rx receives the transmission data of the transmitting end Tx, the receiving end Rx may generate feedback data and display the feedback data on the display screen, and determine whether the receiving end Rx receives the data transmitted by the transmitting end Tx by detecting whether the receiving end Rx generates the feedback data.
And S244, judging that the serial port is normal, and displaying the parameter information corresponding to the serial port on the display screen.
When the receiving end Rx is determined to receive the data sent by the sending end Tx, the communication of the serial port can be judged to be normal, and at the moment, the parameter information corresponding to the serial port can be displayed on the LCD display screen. The parameter information may include a serial port communication protocol, a serial port model, a normal communication between the transmitting terminal Tx and the receiving terminal Rx, and the like, which is not specifically limited herein.
It should be noted that if the receiving end Rx does not receive the data sent by the sending end Tx, it determines that the serial port is abnormal, and at this time, the abnormal information of the serial port can be displayed on the display screen, so that developers or detectors can replace the serial port in time or take corresponding measures to ensure normal communication of the serial port.
When the detection item corresponding to the circuit board is a wireless module and/or a bluetooth module, the step S24 may include the following steps:
and S245, accessing the wireless module and/or the Bluetooth module to a network through a preset detection program.
And configuring the WiFi module and/or the Bluetooth module on the circuit board to access the local area network where the current space is located through a preset detection program, namely accessing the WiFi module and/or the Bluetooth module on the circuit board to the router. Meanwhile, whether the access of the WiFi module and/or the bluetooth module on the circuit board is successful is detected, and if the access is successful, the step S246 is executed.
And S246, acquiring the signal intensity corresponding to the wireless module and/or the Bluetooth module, and displaying the signal intensity on a display screen.
When the wireless module and/or the Bluetooth module are successfully accessed, the working state of the WiFi module and/or the Bluetooth module on the circuit board is normal, the signal intensity of the WiFi module and/or the Bluetooth module in the current local area network is obtained at the moment, and the signal intensity corresponding to the WiFi module and/or the Bluetooth module is displayed on the LCD display screen, so that developers or detection personnel can conveniently and visually observe the signal intensity.
It should be noted that, if the WiFi module and/or the bluetooth module on the detection circuit board are not successfully accessed, information that the WiFi module and/or the bluetooth module are not successfully accessed may be displayed on the display screen, so that developers or detectors may take corresponding measures in time to ensure that the WiFi module and/or the bluetooth module are successfully accessed.
When the detection item corresponding to the circuit board is an LED lamp, the step S24 may include the following steps:
and S247, turning on all the LED lamps on the circuit board through a preset detection program.
And the LED lamp on the circuit board is controlled to be turned on through a preset detection program. For example, when 1 LED lamp is disposed on the circuit board, the LED lamp is controlled to be turned on by a preset detection program; when being provided with 3 LED lamps on the circuit board, this moment through predetermineeing detection program control these 3 LED lamps and open.
And S248, judging whether all the LED lamps are started or not.
When the LED lamp is successfully turned on, the information of successful turning-on can be fed back to the preset detection program. And the preset detection program determines whether all the LED lamps are started or not according to the received feedback information, and executes the step S249 when all the LED lamps are detected to be started, otherwise, abnormal LED lamps are displayed.
And S249, judging that the LED lamp is normal, and displaying the parameter information corresponding to the LED lamp on a display screen.
When all the LED lamps are started, the LED lamps on the current circuit board can be judged to be normal, and the parameter information corresponding to the LED lamps can be displayed on the LCD display screen at the moment. The parameter information may be information such as the model of the LED lamp, a function start flag, and whether the LED lamp is normal or not.
It should be noted that, when there is an LED lamp that is not turned on, an abnormal LED lamp may be displayed on the LCD display screen, so that a developer or a detector can locate the LED lamp that has a problem, and replace the LED lamp in time or take corresponding measures to ensure the normal turning on of the LED lamp.
Optionally, the method for detecting a circuit board further includes:
and S25, detecting each detection item of the circuit board according to a preset rule through a preset detection program.
The preset rule is the detection sequence of each detection item set by a developer or a detector. A detection item selection interface can be popped up when a preset detection program runs, a detection sequence corresponding to a plurality of detection items can be set through the interface, the preset detection program responds to the detection sequence input by developers or detection personnel, and each detection item is detected according to the detection sequence.
As shown in fig. 5, when the detection items are the DDR chip, the MMC chip, and the WiFi module in sequence, the preset detection program can detect the circuit board according to the detection sequence, and display the detection result on the LCD display screen.
According to the detection method of the circuit board provided by the embodiment of the invention, different detection methods are adopted for different components arranged on the circuit board through the preset detection program, so that the automatic detection of the components of the circuit board is realized, and the inaccuracy of manual detection is avoided. Carry out automated inspection to each components and parts through the testing procedure and realized the accurate detection to semiconductor components and parts to show the testing result through the display screen on the circuit board, so that the developer can obtain the testing result directly perceived, and in time discover the problem and solve the problem according to the testing result, improved the production efficiency of circuit board on the basis of improving detection efficiency. The detection items of the circuit board are detected according to the preset rule through the preset detection program, so that the circuit board is automatically detected according to the requirements of developers, the repeated detection of the same element is avoided, the detection time is saved, and the detection efficiency is improved.
In this embodiment, a device for detecting a circuit board is further provided, and the device is used to implement the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides a detection apparatus for a circuit board, as shown in fig. 3, including:
and the initialization module 31 is used for initializing the display screen of the circuit board. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
The first detection module 32 is configured to detect whether the display screen displays normally. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
The response module 33, when the display screen displays normal, determines the detection item corresponding to the circuit board in response to the detection instruction of the circuit board input by the user. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
And the second detection module 34 is configured to acquire a pre-stored preset detection program corresponding to the detection item, detect the detection item based on the preset detection program, and display a detection result on the display screen. For a detailed description, refer to the corresponding related description of the above embodiments, which is not repeated herein.
The detection device for the circuit board provided by the embodiment of the invention detects whether the display screen is normal or not by initializing the display screen of the circuit board, determines the detection item corresponding to the circuit board in response to the detection instruction of the circuit board input by a user when the display screen is normal, detects the detection item through a preset detection program, and displays the detection result on the display screen. The device can automatically detect each patch on the circuit board through a detection program, so that inaccuracy of manual detection is avoided, qualitative and quantitative accurate detection of the circuit board is realized, and manual detection cost is reduced; the detection result is displayed through the display screen on the circuit board, so that the detection result can be visually obtained, the test tool and the detection process are reduced, and the production efficiency of the circuit board is improved.
The circuit board detection apparatus in this embodiment is in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above-mentioned functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
The embodiment of the invention also provides electronic equipment which is provided with the detection device of the circuit board shown in the figure 3.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a terminal according to an alternative embodiment of the present invention, and as shown in fig. 6, the terminal may include: at least one processor 41, such as a CPU (Central Processing Unit), at least one communication interface 43, memory 44, and at least one communication bus 42. Wherein a communication bus 42 is used to enable the connection communication between these components. The communication interface 43 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 43 may also include a standard wired interface and a standard wireless interface. The Memory 44 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 44 may alternatively be at least one memory device located remotely from the aforementioned processor 41. Wherein the processor 41 may be in connection with the apparatus described in fig. 3, an application program is stored in the memory 44, and the processor 41 calls the program code stored in the memory 44 for performing any of the above-mentioned method steps.
The communication bus 42 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 42 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 44 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 44 may also comprise a combination of the above-mentioned kinds of memories.
The processor 41 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 41 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 44 is also used to store program instructions. Processor 41 may invoke program instructions to implement the circuit board inspection method as shown in the embodiments of fig. 1 and 2 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the processing method of the detection method of the circuit board in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (12)

1. A detection method of a circuit board, wherein the circuit board is provided with a display screen, is characterized by comprising the following steps:
initializing a display screen of the circuit board;
detecting whether the display screen is displayed normally;
when the display screen displays normal, responding to a detection instruction of the circuit board input by a user, and determining a detection item corresponding to the circuit board;
and acquiring a pre-stored preset detection program corresponding to the detection item, detecting the detection item based on the preset detection program, and displaying a detection result on the display screen.
2. The method of claim 1, wherein the detection items corresponding to the circuit board comprise one or more of a semiconductor element, a serial port, a wireless module, a Bluetooth module and an LED lamp.
3. The method of claim 2, wherein when the inspection item corresponding to the circuit board is a semiconductor element, the inspecting the inspection item based on the preset inspection program and displaying the inspection result on the display screen comprises:
reading the configuration information of the semiconductor element to acquire the capacity of the semiconductor element;
writing preset data into the semiconductor element, reading the preset data, and acquiring the writing time of the written preset data and the reading time of the read preset data;
and determining the reading and writing speed based on the writing time and the reading time, and displaying the capacity and the reading and writing speed on the display screen.
4. The method of claim 3, wherein displaying the capacity and the read-write speed on the display screen comprises:
judging that the read-write speed time meets a preset read-write speed range;
when the read-write speed meets the preset read-write speed range, generating first data information corresponding to the read-write speed;
and displaying the capacity and the first data information on the display screen.
5. The method of claim 4, wherein displaying the capacity and the read-write speed on the display screen further comprises:
when the read-write speed does not meet the preset read-write speed range, generating second data information corresponding to the read-write speed;
and displaying the capacity and the second data information on the display screen.
6. The method according to claim 2, wherein when the test item corresponding to the circuit board is a serial port, the test item is tested based on the preset test program, and the test result is displayed on the display screen, further comprising:
sending data to a receiving end of the serial port through a sending end of the serial port, and detecting whether the receiving end receives the data sent by the sending end;
and when the receiving end receives the data sent by the sending end, judging that the serial port is normal, and displaying the parameter information corresponding to the serial port on the display screen.
7. The method according to claim 2, wherein when the detection item corresponding to the circuit board is a wireless module and/or a bluetooth module, the detecting the detection item based on the preset detection program and displaying the detection result on the display screen comprises:
the wireless module and/or the Bluetooth module are/is accessed to a network through the preset detection program;
and when the wireless module and/or the Bluetooth module is successfully accessed, acquiring the signal intensity corresponding to the wireless module and/or the Bluetooth module, and displaying the signal intensity on the display screen.
8. The method according to claim 2, wherein when the detection item corresponding to the circuit board is an LED lamp, the detecting the detection item based on the preset detection program and displaying the detection result on the display screen includes:
turning on all the LED lamps on the circuit board through the preset detection program;
judging whether all the LED lamps are started or not;
when all the LED lamps are started, the LED lamps are judged to be normal, and the parameter information corresponding to the LED lamps is displayed on the display screen.
9. The method according to any one of claims 1-8, further comprising:
and detecting each detection item of the circuit board according to a preset rule through the preset detection program.
10. A detection apparatus for a circuit board, comprising:
the initialization module is used for initializing the display screen of the circuit board;
the first detection module is used for detecting whether the display screen is displayed normally;
the response module is used for responding to a detection instruction of the circuit board input by a user when the display screen displays normal and determining a detection item corresponding to the circuit board;
and the second detection module is used for detecting the detection items through a preset detection program and displaying the detection result on the display screen.
11. A detection chip of a circuit board is characterized by comprising:
a memory and a processor, wherein the memory and the processor are communicatively connected with each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the circuit board detection method according to any one of claims 1 to 9.
12. A computer-readable storage medium storing computer instructions for causing a computer to execute the circuit board inspection method according to any one of claims 1 to 9.
CN202011344787.5A 2020-11-25 2020-11-25 Circuit board detection method and device, electronic equipment and readable storage medium Pending CN112415368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011344787.5A CN112415368A (en) 2020-11-25 2020-11-25 Circuit board detection method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011344787.5A CN112415368A (en) 2020-11-25 2020-11-25 Circuit board detection method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112415368A true CN112415368A (en) 2021-02-26

Family

ID=74842452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011344787.5A Pending CN112415368A (en) 2020-11-25 2020-11-25 Circuit board detection method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112415368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112798036A (en) * 2021-04-13 2021-05-14 立臻科技(昆山)有限公司 Testing device based on short circuit triggering and in-place detection method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101249467B1 (en) * 2013-01-04 2013-04-03 (주)유비프리시젼 Film-type probe block for checking lcd
CN107478980A (en) * 2017-08-04 2017-12-15 深圳市新国都支付技术有限公司 A kind of POS mainboard automated testing method and circuit
CN109117151A (en) * 2018-07-18 2019-01-01 珠海市杰理科技股份有限公司 Fever writes and program burn writing method, apparatus, computer equipment and storage medium
CN109614048A (en) * 2018-12-10 2019-04-12 深圳市硅格半导体有限公司 Data read-write method, device and computer readable storage medium based on flash memory
CN109856528A (en) * 2019-01-09 2019-06-07 深圳巴斯巴科技发展有限公司 A kind of system and method for PCBA board test
CN111143150A (en) * 2019-12-27 2020-05-12 深圳市越疆科技有限公司 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101249467B1 (en) * 2013-01-04 2013-04-03 (주)유비프리시젼 Film-type probe block for checking lcd
CN107478980A (en) * 2017-08-04 2017-12-15 深圳市新国都支付技术有限公司 A kind of POS mainboard automated testing method and circuit
CN109117151A (en) * 2018-07-18 2019-01-01 珠海市杰理科技股份有限公司 Fever writes and program burn writing method, apparatus, computer equipment and storage medium
CN109614048A (en) * 2018-12-10 2019-04-12 深圳市硅格半导体有限公司 Data read-write method, device and computer readable storage medium based on flash memory
CN109856528A (en) * 2019-01-09 2019-06-07 深圳巴斯巴科技发展有限公司 A kind of system and method for PCBA board test
CN111143150A (en) * 2019-12-27 2020-05-12 深圳市越疆科技有限公司 Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SUNG-PIL CHOI ETC.: "EMI analysis of TFT-LCD driver IC", 《2006 17TH INTERNATIONAL ZURICH SYMPOSIUM ON ELECTROMAGNETIC COMPATIBILITY》 *
刘显文等: "某型号单元测试设备单板检测系统的设计与实现", 《现代电子技术》 *
李爱平等: "PCB板检测系统的设计", 《产业与科技论坛》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112798036A (en) * 2021-04-13 2021-05-14 立臻科技(昆山)有限公司 Testing device based on short circuit triggering and in-place detection method
CN112798036B (en) * 2021-04-13 2021-07-02 立臻科技(昆山)有限公司 Testing device based on short circuit triggering and in-place detection method

Similar Documents

Publication Publication Date Title
US8752023B2 (en) System, method and program product for executing a debugger
TWI476587B (en) Testing method and testing apparatus for testing function of electronic apparatus
CN111693089A (en) Product quality control method, device, equipment and storage medium for assembly line
CN114546881B (en) Application software testing method, electronic device and computer readable storage medium
CN112415368A (en) Circuit board detection method and device, electronic equipment and readable storage medium
CN107122305B (en) Software testing device and method
CN113157504A (en) Touch screen equipment testing method and touch screen equipment testing system
CN116049011A (en) Deployment method and device of test environment, electronic equipment and storage medium
CN111538994A (en) System security detection and repair method, device, storage medium and terminal
CN110570897A (en) Memory detection system, memory detection method and error mapping table establishing method
US8131531B2 (en) System and method for simulating a semiconductor wafer prober and a class memory test handler
CN112182586B (en) MCU read-write protection test method, device and system
CN111352780B (en) Method and device for determining state of path and readable storage medium
CN114372003A (en) Test environment monitoring method and device and electronic equipment
CN106708705B (en) Terminal background process monitoring method and system
CN111881073B (en) Method and device for making FPGA compatible with various hardware and electronic equipment
CN113760692A (en) Log obtaining method, device and equipment
CN116185685A (en) Instrument display abnormity optimization method and device
US11070716B2 (en) Image sensor system, image sensor, data generation method of image sensor in image sensor system, and non-transitory computer-readable recording medium
CN112965868B (en) Automatic testing method and device for game controller and readable medium
CN114297009B (en) Method and device for testing server and electronic equipment
CN116303058A (en) Test environment checking method, system, electronic equipment and medium
CN117724921A (en) Server testing method, system, device, equipment and storage medium
CN117250940A (en) Automatic test method and device for vehicle, server and storage medium
CN117667554A (en) Method and system for intelligently switching same physical serial port of communication module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210226

RJ01 Rejection of invention patent application after publication