CN103581663B - The method of testing of circuit board and system - Google Patents

The method of testing of circuit board and system Download PDF

Info

Publication number
CN103581663B
CN103581663B CN201210276046.7A CN201210276046A CN103581663B CN 103581663 B CN103581663 B CN 103581663B CN 201210276046 A CN201210276046 A CN 201210276046A CN 103581663 B CN103581663 B CN 103581663B
Authority
CN
China
Prior art keywords
signal
pixel
circuit board
integral value
value
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.)
Active
Application number
CN201210276046.7A
Other languages
Chinese (zh)
Other versions
CN103581663A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201210276046.7A priority Critical patent/CN103581663B/en
Publication of CN103581663A publication Critical patent/CN103581663A/en
Application granted granted Critical
Publication of CN103581663B publication Critical patent/CN103581663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The method of testing of circuit board and a system, described circuit board is suitable for carrying out demodulation process to the TV signal received, to obtain audio output signal and video output signals; Described method of testing comprises: send scheduled television signal to described circuit board, described scheduled television signal is obtained by predetermined image signal and predetermined audio signal madulation; Described predetermined audio signal is utilized to test the audio output signal that described circuit board exports; Described predetermined image signal is utilized to test the video output signals that described circuit board exports.Technical scheme of the present invention achieves the test of automation, improves testing efficiency and test coverage, reduces testing cost.

Description

电路板的测试方法及系统Circuit board testing method and system

技术领域 technical field

本发明涉及测试技术领域,尤其涉及一种电路板的测试方法及系统。The invention relates to the technical field of testing, in particular to a circuit board testing method and system.

背景技术 Background technique

随着科技的进步,越来越多的电子产品具备了播放模拟电视或数字电视的功能。例如:手机、MP4、车载设备、手持设备、掌上电脑等。电子产品通过其内置的电视芯片,如:数字电视芯片或模拟电视芯片来收看电视节目。一般来讲,电视芯片与电子产品的其他芯片(控制芯片、处理器)会集成在一块电路板上,以手机为例,手机的数字电视芯片与其基带芯片通常集成在一块电路板上,数字电视芯片实现对电视信号的解调,并将解调后的信号交由基带芯片进行后续的处理,如:由基带芯片对解调后的电视信号进行解码等。With the advancement of technology, more and more electronic products have the function of playing analog TV or digital TV. For example: mobile phones, MP4, car equipment, handheld devices, palmtop computers, etc. Electronic products watch TV programs through their built-in TV chips, such as digital TV chips or analog TV chips. Generally speaking, TV chips and other chips (control chips, processors) of electronic products will be integrated on one circuit board. Taking mobile phones as an example, digital TV chips and baseband chips of mobile phones are usually integrated on one circuit board. Digital TV The chip realizes the demodulation of the TV signal, and sends the demodulated signal to the baseband chip for subsequent processing, such as: the baseband chip decodes the demodulated TV signal, etc.

电子产品批量生产时,在生产现场会对电子产品的功能或性能进行测试,以验证所生产的电子产品是否达到预期质量要求,同时也可以发现生产过程中存在的问题及产品在功能、性能方面的缺陷,如芯片是否虚焊、失效等。集成有电视芯片的电路板也不例外,也需要对其进行测试。When electronic products are mass-produced, the function or performance of electronic products will be tested at the production site to verify whether the electronic products produced meet the expected quality requirements. At the same time, problems in the production process and product functions and performance can be found. Defects, such as whether the chip is soldered or invalid. Circuit boards with integrated TV chips are no exception and need to be tested as well.

现有技术中,通常通过如下两种方式对集成有电视芯片的电路板进行测试:In the prior art, the circuit board integrated with the TV chip is usually tested in the following two ways:

第一种:将电视信号发生器通过RF线缆或无线方式与被测电路板连接,由计算机通过被测电路板的主控芯片来读取电视芯片(模拟电视芯片或数字电视芯片)内相关寄存器中的数据以检测电视芯片在接收电视信号强度、解调电视信号等功能方面是否正常。从而判断被测电路板的电视功能是否正常。通过这种方式测试电路板既可以测试电路板的性能也可以测试电路板的功能,且对于电视芯片射频性能的测试比较准确,整个测试过程可以在计算机的控制下自动完成。但是电视信号发生器的价格昂贵,导致测试成本过高,且采用该测试方法无法准确测定电视芯片与主控芯片之间在传输图像数据信号时连接是否正确。The first method: connect the TV signal generator to the circuit board under test through RF cables or wirelessly, and use the computer to read the correlation in the TV chip (analog TV chip or digital TV chip) through the main control chip of the circuit board under test. The data in the register is used to detect whether the TV chip is normal in terms of receiving TV signal strength and demodulating TV signal. In order to judge whether the TV function of the circuit board under test is normal. By testing the circuit board in this way, both the performance and the function of the circuit board can be tested, and the test of the radio frequency performance of the TV chip is relatively accurate, and the entire test process can be automatically completed under the control of the computer. However, the high price of the TV signal generator leads to high test cost, and this test method cannot accurately determine whether the connection between the TV chip and the main control chip is correct when transmitting image data signals.

第二种:采用人工方式进行测试,具体地,通过人工操作如:按键操作等让被测试电路板接收电视台发出的电视信号,使得被测电路板进入“电视播放”状态,通过人眼观察图像、人耳听声音的方式人工判断电路板的电视功能是否正常。采用该方式进行测试虽然省去了配置电视信号发生器所需的成本,但是采用人工测试时,一方面测试覆盖率和测试效率较低、测试结果不准确,另一方面随着待测试电路板数量的增加,测试人员也需要相应的增加,在一定程度上也会导致测试成本的增加。The second method is to test manually. Specifically, the circuit board under test receives the TV signal sent by the TV station through manual operation such as button operation, so that the circuit board under test enters the "TV broadcast" state, and the image is observed by human eyes , The way the human ear listens to the sound manually judges whether the TV function of the circuit board is normal. Although this way of testing saves the cost of configuring the TV signal generator, when using manual testing, on the one hand, the test coverage and test efficiency are low, and the test results are inaccurate; As the number increases, testers also need to increase accordingly, which will also lead to an increase in testing costs to a certain extent.

因此,对于集成有电视芯片的电路板而言,如何能够提供一种测试成本低、测试效率和覆盖率高的测试方法成为目前亟待解决的问题之一。Therefore, for the circuit board integrated with the TV chip, how to provide a test method with low test cost, high test efficiency and high coverage has become one of the problems to be solved urgently.

其他有关电视芯片的相关技术还可以参见公开号为US2009190656A1,发明名称为电视芯片(Television Functionality on a Chip)的美国专利申请。For other related technologies related to TV chips, please refer to the US patent application with the publication number US2009190656A1 and the invention name is Television Functionality on a Chip.

发明内容 Contents of the invention

本发明解决的问题是提供一种测试效率和测试覆盖率高且测试成本低的电路板的测试方法及系统。The problem solved by the invention is to provide a method and system for testing circuit boards with high test efficiency and test coverage and low test cost.

为了解决上述问题,本发明提供了一种电路板的测试方法,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;所述测试方法包括:发送预定电视信号至所述电路板,所述预定电视信号由预定图像信号和预定音频信号调制得到;利用所述预定音频信号对所述电路板输出的音频输出信号进行测试;利用所述预定图像信号对所述电路板输出的视频输出信号进行测试。In order to solve the above problems, the present invention provides a method for testing a circuit board, which is suitable for demodulating a received television signal to obtain an audio output signal and a video output signal; the test method includes: Sending a predetermined TV signal to the circuit board, the predetermined TV signal is modulated by a predetermined image signal and a predetermined audio signal; using the predetermined audio signal to test the audio output signal output by the circuit board; using the predetermined image The signal tests the video output signal output by the circuit board.

可选的,所述利用所述预定音频信号对所述电路板输出的音频输出信号进行测试包括:将所述音频输出信号由时域变换至频域;基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量;计算所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比;比较所述信噪比与预设的信噪比阈值。Optionally, using the predetermined audio signal to test the audio output signal output by the circuit board includes: transforming the audio output signal from the time domain to the frequency domain; The energy of the effective signal and the energy of the noise signal in the audio output signal; calculate the energy ratio of the effective signal and the noise signal to obtain the signal-to-noise ratio of the audio output signal; compare the signal-to-noise ratio with the preset signal Noise Ratio Threshold.

可选的,所述利用所述预定图像信号对所述电路板输出的视频输出信号进行测试包括:利用所述预定图像信号的像素参数对所述视频输出信号进行测试。Optionally, using the predetermined image signal to test the video output signal output by the circuit board includes: using pixel parameters of the predetermined image signal to test the video output signal.

可选的,所述利用所述预定图像信号的像素参数对所述视频输出信号进行测试包括:基于所述视频输出信号中一帧图像的像素参数与所述预定图像信号中对应的像素参数确定误差参数;比较所述误差参数与预设的误差阈值。Optionally, the testing the video output signal by using the pixel parameters of the predetermined image signal includes: determining based on the pixel parameters of a frame of image in the video output signal and the corresponding pixel parameters in the predetermined image signal An error parameter; comparing the error parameter with a preset error threshold.

可选的,所述利用所述预定图像信号对所述电路板输出的视频输出信号进行测试包括:利用所述预定图像信号的特征参数对所述视频输出信号进行测试。Optionally, using the predetermined image signal to test the video output signal output by the circuit board includes: using a characteristic parameter of the predetermined image signal to test the video output signal.

可选的,所述利用所述预定图像信号的特征参数对所述视频输出信号进行测试包括:采用图像识别算法识别所述视频信号中一帧图像的文字和/或图形;匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形。Optionally, the testing of the video output signal by using the characteristic parameters of the predetermined image signal includes: using an image recognition algorithm to identify text and/or graphics of a frame of image in the video signal; matching the recognized text and/or graphics correspond to text and/or graphics in the predetermined image signal.

为解决上述问题,本发明还提供了一种电路板的测试系统,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;所述测试系统包括:发送单元,用于发送预定电视信号至所述电路板,所述预定电视信号由预定图像信号和预定音频信号调制得到;音频测试单元,用于利用所述预定音频信号对所述电路板输出的音频输出信号进行测试;视频测试单元,用于利用所述预定图像信号对所述电路板输出的视频输出信号进行测试。In order to solve the above problems, the present invention also provides a test system for a circuit board, the circuit board is suitable for demodulating the received TV signal to obtain an audio output signal and a video output signal; the test system includes : a sending unit, used to send a predetermined TV signal to the circuit board, the predetermined TV signal is obtained by modulation of a predetermined image signal and a predetermined audio signal; an audio test unit, used to output the predetermined audio signal to the circuit board The audio output signal is tested; the video test unit is used to use the predetermined image signal to test the video output signal output by the circuit board.

与现有技术相比,本发明的技术方案具有以下优点:Compared with the prior art, the technical solution of the present invention has the following advantages:

电路板接收由预定图像信号和预定音频信号调制得到的预定电视信号,进而利用所述预定音频信号即已知的音频信号对电路板解调处理所述预定电路信号后输出的音频输出信号进行测试,利用所述预定视频信号即已知的视频信号对电路板解调处理所述预定电路信号后输出的视频输出信号进行测试,以实现对电路板的音视频功能的测试。由于无需通过电视信号发生器产生电视信号,因此在很大程度上降低了测试成本。且由于无需通过人工的方式来判断电路板的功能是否正常,实现了自动化的测试,同时也提高了测试效率和测试覆盖率。The circuit board receives a predetermined TV signal modulated by a predetermined image signal and a predetermined audio signal, and then uses the predetermined audio signal, that is, a known audio signal, to test the audio output signal output by the circuit board after demodulating and processing the predetermined circuit signal and using the predetermined video signal, that is, a known video signal, to test the video output signal output by the circuit board after demodulating and processing the predetermined circuit signal, so as to realize the test of the audio and video function of the circuit board. Because there is no need to generate TV signals through TV signal generators, the cost of testing is greatly reduced. Moreover, since it is not necessary to judge whether the function of the circuit board is normal through a manual method, automated testing is realized, and testing efficiency and testing coverage are also improved.

利用预定图像信号对电路板输出的视频输出信号进行测试时,既可以通过比对视频图像与预定图像的参数误差来测试电路板,又可以通过匹配视频图像与预定图像的的特征来对电路板进行测试,提高了测试的灵活性。When using the predetermined image signal to test the video output signal output by the circuit board, the circuit board can be tested by comparing the parameter error between the video image and the predetermined image, and the circuit board can be tested by matching the characteristics of the video image and the predetermined image Test, improve the flexibility of the test.

附图说明 Description of drawings

图1是本发明实施方式的电路板的测试方法的流程示意图;Fig. 1 is the schematic flow chart of the testing method of the circuit board of the embodiment of the present invention;

图2是本发明实施方式的电路板的测试系统的结构示意图;Fig. 2 is the structural representation of the test system of the circuit board of the embodiment of the present invention;

图3是本发明实施例一的电路板的测试方法的流程示意图;3 is a schematic flow diagram of a circuit board testing method according to Embodiment 1 of the present invention;

图4是本发明实施例一的电路板的测试系统的结构示意图;4 is a schematic structural diagram of a circuit board testing system according to Embodiment 1 of the present invention;

图5是本发明实施例二的电路板的测试方法的流程示意图;5 is a schematic flow chart of a circuit board testing method according to Embodiment 2 of the present invention;

图6是本发明实施例二的电路板的测试系统的结构示意图。FIG. 6 is a schematic structural diagram of a circuit board testing system according to Embodiment 2 of the present invention.

具体实施方式 Detailed ways

为使本发明的上述目的、特征和优点能够更为明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.

在以下描述中阐述了具体细节以便于充分理解本发明。但是本发明能够以多种不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似推广。因此本发明不受下面公开的具体实施方式的限制。In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways than those described here, and those skilled in the art can make similar extensions without departing from the connotation of the present invention. Accordingly, the present invention is not limited to the specific embodiments disclosed below.

正如背景技术中所描述的,采用现有的测试方法测试集成有电视芯片的电路板时,测试成本高,测试效率和测试覆盖率较低。因此,发明人考虑,是否可以不采用电视信号发生器来产生预定的电视信号以降低测试成本,并利用预定的电视信号来对待测电路板输出电视信号进行测试,进而在实现自动化测试的同时,提高测试效率和测试覆盖率。As described in the background art, when using the existing test method to test the circuit board integrated with the TV chip, the test cost is high, and the test efficiency and test coverage are low. Therefore, the inventor considers whether it is possible not to use a TV signal generator to generate a predetermined TV signal to reduce the test cost, and to use the predetermined TV signal to test the output TV signal of the circuit board under test, and then realize the automatic test. Improve test efficiency and test coverage.

请参见图1,本发明实施方式的电路板的测试方法的流程示意图,本实施方式中,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;所述电路板的测试方法包括:Please refer to FIG. 1 , a schematic flow chart of a test method for a circuit board according to an embodiment of the present invention. In this embodiment, the circuit board is suitable for demodulating a received TV signal to obtain an audio output signal and a video output signal. ; The testing method of described circuit board comprises:

步骤S11:发送预定电视信号至所述电路板,所述预定电视信号由预定图像信号和预定音频信号调制得到;Step S11: sending a predetermined TV signal to the circuit board, the predetermined TV signal is modulated by a predetermined image signal and a predetermined audio signal;

步骤S12:利用所述预定音频信号对所述电路板输出的音频输出信号进行测试;Step S12: Using the predetermined audio signal to test the audio output signal output by the circuit board;

步骤S13:利用所述预定图像信号对所述电路板输出的视频输出信号进行测试。Step S13: Using the predetermined image signal to test the video output signal output by the circuit board.

本实施方式中,所述预定图像信号具有已知的参数信息,例如图像中像素点的像素值、色度值、亮度值等;所述预定音频信号具有已知的参数信息,例如信号的频率、能量(强度)等。所述预定图像信号和预定音频信号可以通过VCD、DVD、计算机等电子设备产生。所述预定音频信号可以为单音音频信号,也可以为双音多频信号;所述预定图像信号可以为静态图像信号,也可以为动态图像信号。所述预定图像信号和预定音频信号经过电视信号发射设备,如:电视信号发射器调制后以获得预定电视信号并发送至待测的电路板。In this embodiment, the predetermined image signal has known parameter information, such as the pixel value, chrominance value, brightness value, etc. of a pixel point in the image; the predetermined audio signal has known parameter information, such as the frequency of the signal , energy (strength), etc. The predetermined image signal and predetermined audio signal can be generated by VCD, DVD, computer and other electronic equipment. The predetermined audio signal may be a single-tone audio signal, or a dual-tone multi-frequency signal; the predetermined image signal may be a static image signal, or a dynamic image signal. The predetermined image signal and predetermined audio signal are modulated by a television signal transmitting device, such as a television signal transmitter, to obtain a predetermined television signal and sent to the circuit board to be tested.

对应于本发明实施方式的电路板的测试方法,本发明实施方式还提供一种电路板的测试系统,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;请参见图2所示的本发明实施方式的电路板的测试系统的结构示意图,所述电路板的测试系统包括:Corresponding to the circuit board testing method in the embodiment of the present invention, the embodiment of the present invention also provides a circuit board testing system, the circuit board is suitable for demodulating the received TV signal to obtain the audio output signal and Video output signal; please refer to the structural representation of the test system of the circuit board of the embodiment of the present invention shown in Fig. 2, the test system of the circuit board includes:

发送单元11,用于发送预定电视信号至所述电路板10,所述预定电视信号由预定图像信号和预定音频信号调制得到;A sending unit 11, configured to send a predetermined TV signal to the circuit board 10, the predetermined TV signal being modulated by a predetermined image signal and a predetermined audio signal;

音频测试单元12,用于利用所述预定音频信号对所述电路板10输出的音频输出信号进行测试;An audio testing unit 12, configured to use the predetermined audio signal to test the audio output signal output by the circuit board 10;

视频测试单元13,用于利用所述预定图像信号对所述电路板10输出的视频输出信号进行测试。The video test unit 13 is configured to use the predetermined image signal to test the video output signal output by the circuit board 10 .

本实施方式中,所述电路板10可以设置于移动终端中,也可以设置于MP4、车载设备、手持设备、掌上电脑等中。所述发送单元11与所述电路板10通过天线发送和接收电视信号,所述电路板10和所述音频测试单元12、视频测试单元13之间可以通过无线或有线的方式进行通信。所述发送单元11可以包括:音视频信号源和电视信号发送设备,所述音视频信号源可以为DVD、VCD等,所述电视信号发送设备可以为电视信号发射器。电路板10接收到所述发送单元11发送的预定电视信号后,对其进行解调、解码等处理以输出音频输出信号和视频输出信号。所述音频测试单元12对电路板10输出的音频输出信号进行测试,视频测试单元13对电路板10输出的视频输出信号进行测试。所述音频测试单元12、视频测试单元13可以集成在计算机中。In this embodiment, the circuit board 10 may be set in a mobile terminal, and may also be set in an MP4, a vehicle-mounted device, a handheld device, a palmtop computer, and the like. The sending unit 11 and the circuit board 10 send and receive TV signals through an antenna, and the circuit board 10 communicates with the audio test unit 12 and the video test unit 13 in a wireless or wired manner. The sending unit 11 may include: an audio and video signal source and a TV signal sending device, the audio and video signal source may be DVD, VCD, etc., and the TV signal sending device may be a TV signal transmitter. After receiving the predetermined TV signal sent by the sending unit 11 , the circuit board 10 performs processing such as demodulation and decoding on it to output an audio output signal and a video output signal. The audio test unit 12 tests the audio output signal output by the circuit board 10 , and the video test unit 13 tests the video output signal output by the circuit board 10 . The audio testing unit 12 and the video testing unit 13 can be integrated in a computer.

为了更好地说明本发明的技术方案,以下通过具体的实施例对本发明技术方案的电路板的测试方法和测试系统进行详细的说明。以下实施例中,以具有电视功能的移动终端为例(所述电路板设置于移动终端中),具体地,以所述电路板集成有电视芯片和主控芯片为例进行相应的说明。In order to better illustrate the technical solution of the present invention, the circuit board testing method and testing system of the technical solution of the present invention will be described in detail below through specific examples. In the following embodiments, a mobile terminal with a TV function is taken as an example (the circuit board is disposed in the mobile terminal), and specifically, the circuit board is integrated with a TV chip and a main control chip as an example for corresponding description.

实施例一Embodiment one

请参见图3,本发明实施例一的电路板的测试方法的流程示意图,其中,步骤S121~步骤S124对应了图1的步骤S12,用于测试电路板的音频处理功能;步骤S131a~步骤S132a则对应了图1的步骤S13,用于测试电路板的视频处理功能。音频处理功能的测试和视频处理功能的测试可以同时进行。Please refer to FIG. 3 , a schematic flow chart of a circuit board testing method according to Embodiment 1 of the present invention, wherein, step S121 to step S124 correspond to step S12 in FIG. 1 , and are used to test the audio processing function of the circuit board; step S131a to step S132a It corresponds to step S13 in FIG. 1 and is used to test the video processing function of the circuit board. The test of the audio processing function and the test of the video processing function can be carried out simultaneously.

首先,执行步骤S111,发送预定电视信号至所述电路板,所述预定电视信号由预定图像信号和预定音频信号调制得到;本实施例中,可以通过音视频信号源,如DVD产生预定图像信号和预定音频信号,并经由电视信号发送设备,如电视信号发射器调制后发送至待测电路板。为了降低测试的复杂度,本实施例中,所述预定音频信号为单音音频信号,所述预定图像信号为静态图像信号。First, step S111 is executed to send a predetermined TV signal to the circuit board, and the predetermined TV signal is modulated by a predetermined image signal and a predetermined audio signal; in this embodiment, the predetermined image signal can be generated by an audio and video signal source, such as a DVD and a predetermined audio signal, and sent to the circuit board under test after being modulated by a TV signal sending device, such as a TV signal transmitter. In order to reduce the complexity of the test, in this embodiment, the predetermined audio signal is a monophonic audio signal, and the predetermined image signal is a static image signal.

待测的电路板接收所述预定电视信号,由集成在其上的电视芯片对所述预定电视信号进行解调,然后由主控芯片进行后续的处理,分离出音频输出信号和视频输出信号。所述主控芯片包括基带芯片。The circuit board to be tested receives the predetermined TV signal, and the TV chip integrated on it demodulates the predetermined TV signal, and then the main control chip performs subsequent processing to separate the audio output signal and the video output signal. The main control chip includes a baseband chip.

执行步骤S121,将所述电路板输出的音频输出信号由时域变换至频域。本实施例中,若待测电路板输出的音频信号为模拟音频信号,则所述步骤S121还包括:将待测电路板输出的模拟音频信号转换为数字音频信号,如:采用模数转换器(ADC,Analog-to-Digital Converter)以将所述模拟音频信号数字化,而由时域变换至频域的音频信号则为数字音频信号。将模拟信号数字化,以使得后续可以采用数字信号处理方式实现测试自动化。Step S121 is executed to transform the audio output signal output by the circuit board from the time domain to the frequency domain. In this embodiment, if the audio signal output by the circuit board to be tested is an analog audio signal, the step S121 further includes: converting the analog audio signal output by the circuit board to be tested into a digital audio signal, such as using an analog-to-digital converter (ADC, Analog-to-Digital Converter) to digitize the analog audio signal, and the audio signal converted from the time domain to the frequency domain is a digital audio signal. Digitize the analog signal so that the subsequent test automation can be realized by digital signal processing.

将音频输出信号由时域变换至频域,可以先在时域对所述数字音频信号乘以一个窗函数,然后通过快速傅里叶变换(FFT,Fast FourierTransformation),将加窗后的数字音频信号变换至频域,得到频域信息,根据信号处理的方法,可以尽量减少信号的频谱旁瓣。To transform the audio output signal from the time domain to the frequency domain, the digital audio signal can be multiplied by a window function in the time domain first, and then the windowed digital audio can be converted to The signal is transformed into the frequency domain to obtain frequency domain information, and according to the method of signal processing, the spectral sidelobe of the signal can be reduced as much as possible.

接着执行步骤S122,基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量。由于预定音频信号的频率是已知的,因此在数字音频信号的频谱图中,取所述预定音频信号的频率主瓣范围内的信号的能量为有效信号的能量,取所述预定音频信号的频率范围外的信号的能量为噪声信号的能量。Next, step S122 is executed to obtain the energy of the effective signal and the energy of the noise signal in the audio output signal based on the frequency of the predetermined audio signal. Since the frequency of the predetermined audio signal is known, in the spectrogram of the digital audio signal, the energy of the signal within the frequency main lobe range of the predetermined audio signal is taken as the energy of the effective signal, and the energy of the predetermined audio signal is taken as The energy of the signal outside the frequency range is the energy of the noise signal.

接着执行步骤S123,计算所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比。将有效信号的能量除以噪声信号的能量,获得信噪比。Next, step S123 is executed to calculate the energy ratio of the effective signal and the noise signal, so as to obtain the signal-to-noise ratio of the audio output signal. The signal-to-noise ratio is obtained by dividing the energy of the effective signal by the energy of the noise signal.

接着执行步骤S124,比较所述信噪比与预设的信噪比阈值。一般来讲,若待测的电路板功能正常的话,电路板的音频输出信号的信噪比应当较高,例如大于预设的信噪比阈值。在实际应用中,预设的信噪比阈值可以根据实际应用要求设定,对音频质量的要求越高,信噪比阈值可以设定得越大,通过比较计算得到的信噪比和信噪比阈值,以检测待测电路板的音频处理功能。本实施例中,所述信噪比阈值为10dB,当待测电路板输出的音频输出信号的信噪比大于或等于10dB时,则可以认为待测电路板的音频处理功能正常。Next, step S124 is executed to compare the SNR with a preset SNR threshold. Generally speaking, if the function of the circuit board to be tested is normal, the signal-to-noise ratio of the audio output signal of the circuit board should be relatively high, for example greater than a preset signal-to-noise ratio threshold. In practical applications, the preset signal-to-noise ratio threshold can be set according to the actual application requirements. The higher the requirement for audio quality, the larger the signal-to-noise ratio threshold can be set. By comparing the calculated signal-to-noise ratio with the Ratio thresholds to detect the audio processing capabilities of the board under test. In this embodiment, the signal-to-noise ratio threshold is 10 dB, and when the signal-to-noise ratio of the audio output signal output by the circuit board to be tested is greater than or equal to 10 dB, it can be considered that the audio processing function of the circuit board to be tested is normal.

执行步骤S131a:基于所述电路板输出的视频输出信号中一帧图像的像素参数与所述预定图像信号中对应的像素参数确定误差参数;接着步骤S132a:比较所述误差参数与预设的误差阈值,以检测待测电路板的视频处理功能。其中,视频输出信号中的一帧图像可以为视频输出信号中的任意一帧图像,由计算机从视频流(视频输出信号)中抓取一帧视频图像,将该帧图像的像素参数与对应的预定图像的像素参数比对,可以得到误差参数。Execute step S131a: determine the error parameter based on the pixel parameters of a frame of image in the video output signal output by the circuit board and the corresponding pixel parameters in the predetermined image signal; then step S132a: compare the error parameter with the preset error Threshold to detect the video processing capabilities of the board under test. Wherein, a frame of image in the video output signal can be any frame of image in the video output signal, a frame of video image is captured by the computer from the video stream (video output signal), and the pixel parameters of the frame of image are compared with the corresponding The error parameters can be obtained by comparing the pixel parameters of the predetermined image.

所述像素参数包括:像素点的像素值、像素行的积分值和像素列的积分值中的至少一种,对应地,所述误差参数包括:像素值最大绝对误差、像素值均方误差、行积分值最大绝对误差、行积分值均方误差、列积分值最大绝对误差和列积分值均方误差中的至少一种;对应地,所述误差阈值包括:像素值最大绝对误差阈值、像素值均方误差阈值、行积分值最大绝对误差阈值、行积分值均方误差阈值、列积分值最大绝对误差阈值和列积分值均方误差阈值中的至少一种。The pixel parameters include: at least one of the pixel value of the pixel point, the integral value of the pixel row, and the integral value of the pixel column. Correspondingly, the error parameters include: the maximum absolute error of the pixel value, the mean square error of the pixel value, At least one of the maximum absolute error of the row integral value, the mean square error of the row integral value, the maximum absolute error of the column integral value, and the mean square error of the column integral value; correspondingly, the error threshold includes: the maximum absolute error threshold of the pixel value, the pixel value At least one of a value mean square error threshold, a row integral value maximum absolute error threshold, a row integral value mean square error threshold, a column integral value maximum absolute error threshold, and a column integral value mean square error threshold.

其中,所述像素值最大绝对误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值绝对误差的最大值。Wherein, the maximum absolute error of the pixel value is the maximum value of the absolute error between the pixel value of a pixel of a frame of image in the video signal and the pixel value of a corresponding pixel in the predetermined image signal.

所述像素值均方误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值之差平方的平均值。The pixel value mean square error is an average value of squares of differences between pixel values of a frame of image in the video signal and pixel values of corresponding pixel points in the predetermined image signal.

所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值。The integral value of the pixel row is the integral value of pixel values of a row of pixel points in one frame of image in the video signal.

所述行积分值最大绝对误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值绝对误差的最大值。The maximum absolute error of the row integral value is the maximum value of the absolute error between the integral value of the pixel row of one frame image in the video signal and the integral value of the corresponding pixel row in the predetermined image signal.

所述行积分值均方误差为所述视频信号中一帧图像的像素行的行积分值与所述预定图像信号中的对应像素行的积分值之差平方的平均值。The mean square error of the line integral value is the average value of the square of the difference between the line integral value of the pixel line of a frame image in the video signal and the integral value of the corresponding pixel line in the predetermined image signal.

所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值。The integral value of the pixel column is the integral value of the pixel values of a column of pixel points in one frame of image in the video signal.

所述列积分值最大绝对误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值绝对误差的最大值。The maximum absolute error of the column integral value is the maximum value of the absolute error between the integral value of the pixel column of one frame image in the video signal and the integral value of the corresponding pixel column in the predetermined image signal.

所述列积分值均方误差为所述视频信号中一帧图像的像素列的列积分值与所述预定图像信号中的对应像素列的积分值之差平方的平均值。The mean square error of the column integral value is an average value of squares of differences between the column integral value of a pixel column of a frame image in the video signal and the integral value of a corresponding pixel column in the predetermined image signal.

具体地,若所述像素参数包括像素点的像素值,则误差参数包括像素值最大绝对误差和像素值均方误差中的至少一种。举例来说,视频输出信号中一帧图像的各个像素点的像素值分别为:p1、p2、p3、…、pn,预定图像中对应的像素点的像素值分别为:p10、p20、p30、…、pn0,n为一帧图像中像素点的总数,则当所有像素点的绝对误差:|p1–p10|、|p2–p20|、|p3–p30|、...、|pn–pn0|中的最大值小于像素值最大绝对误差阈值T1时;或者,当像素值均方误差:[(p1–p10)2+(p2–p20)2+(p3–p30)2+…+(pn–pn0)2]/n小于像素值均方误差阈值T2时,可以确定待测电路板的视频处理功能正常。或者,也可以是当像素值最大绝对误差小于像素值最大绝对误差阈值T1且像素值均方误差小于像素值均方误差阈值T2,则确定待测电路板的视频处理功能正常。其中,所述像素值最大绝对误差阈值、像素值均方误差阈值由实际应用和检测需求而定,例如,T1的取值范围可以是5~30,T2的取值范围可以是10~100。Specifically, if the pixel parameter includes a pixel value of a pixel point, the error parameter includes at least one of a maximum absolute error of a pixel value and a mean square error of a pixel value. For example, the pixel values of each pixel in a frame of image in the video output signal are respectively: p 1 , p 2 , p 3 , ..., p n , and the pixel values of corresponding pixel points in the predetermined image are respectively: p 10 , p 20 , p 30 ,..., p n0 , n is the total number of pixels in a frame of image, then when the absolute error of all pixels: |p 1 –p 10 |, |p 2 –p 20 |, |p 3 –p 30 |, ..., |p n –p n0 | is smaller than the pixel value maximum absolute error threshold T1; or, when the pixel value mean square error: [(p 1 –p 10 ) 2 + When (p 2 –p 20 ) 2 +(p 3 –p 30 ) 2 +…+(p n –p n0 ) 2 ]/n is less than the pixel value mean square error threshold T2, the video processing of the circuit board under test can be determined functioning normally. Alternatively, when the maximum absolute error of the pixel value is less than the maximum absolute error threshold T1 and the mean square error of the pixel value is less than the mean square error threshold T2, it is determined that the video processing function of the circuit board under test is normal. Wherein, the pixel value maximum absolute error threshold and pixel value mean square error threshold are determined by actual application and detection requirements, for example, the value range of T1 may be 5-30, and the value range of T2 may be 10-100.

若所述像素参数包括像素行的积分值,则误差参数包括行积分值最大绝对误差和行积分值均方误差中的至少一种。举例来说,视频输出信号中一帧图像的各行像素的积分值分别为:I1、I2、I3、…、Ij,预定图像中对应像素行的积分值分别为:I10、I20、I30、…、Ij0,j为一帧图像的行数,则当所有像素行的绝对误差:|I1–I10|、|I2–I20|、|I3–I30|、…、|Ij–Ij0|中的最大值小于行积分值最大绝对误差阈值T3时;或者,当行积分值均方误差:[(I1–I10)2+(I2–I20)2+(I3–I30)2+…+(Ij–Ij0)2]/j小于行积分值均方误差阈值T4时,可以确定待测电路板的视频处理功能正常。或者,也可以是当行积分值最大绝对误差小于行积分值最大绝对误差阈值T3且行积分值均方误差小于行积分值均方误差阈值T4,则确定待测电路板的视频处理功能正常。其中,所述行积分值最大误差阈值、行积分值均方误差阈值由实际应用和检测需求而定,例如,T3的取值范围可以是5*M~30*M,T4的取值范围可以是10*M~100*M,其中M为一行像素的总个数。If the pixel parameter includes the integral value of the pixel row, the error parameter includes at least one of the maximum absolute error of the row integral value and the mean square error of the row integral value. For example, the integral values of pixels in each row of a frame of image in the video output signal are: I 1 , I 2 , I 3 , ..., I j , and the integral values of corresponding pixel rows in the predetermined image are: I 10 , I 20 , I 30 ,..., I j0 , j is the number of lines of a frame of image, then when the absolute error of all pixel lines: |I 1 –I 10 |, |I 2 –I 20 |, |I 3 –I 30 |, ..., |I j –I j0 | is smaller than the maximum absolute error threshold T3 of the row integral value; or, when the row integral value mean square error: [(I 1 –I 10 ) 2 +(I 2 –I When 20 ) 2 +(I 3 -I 30 ) 2 +...+(I j -I j0 ) 2 ]/j is less than the line integral value mean square error threshold T4, it can be determined that the video processing function of the circuit board under test is normal. Alternatively, when the maximum absolute error of the line integral value is less than the maximum absolute error threshold of the line integral value T3 and the mean square error of the line integral value is less than the line integral value mean square error threshold T4, it is determined that the video processing function of the circuit board to be tested is normal. Wherein, the maximum error threshold of the row integral value and the mean square error threshold of the row integral value are determined by actual application and detection requirements, for example, the value range of T3 can be 5*M~30*M, and the value range of T4 can be It is 10*M~100*M, where M is the total number of pixels in a row.

若所述像素参数包括像素列的积分值,则误差参数包括列积分值最大绝对误差和列积分值均方误差中的至少一种。举例来说,视频输出信号中一帧图像的各列像素的积分值分别为:K1、K2、K3、…、Km,预定图像中对应像素列的积分值分别为:K10、K20、K30、…、Km0,m为一帧图像的列数,则当所有像素列的绝对误差:|K1–K10|、|K2–K20|、|K3–K30|、…、|Km–Km0|中的最大值小于列积分值最大绝对误差阈值T5时;或者,当列积分值均方误差:[(K1–I10)2+(K2–K20)2+(K3–K30)2+…+(Km–Km0)2]/m小于列积分值均方误差阈值T6时,可以确定待测电路板的视频处理功能正常。或者,也可以是当列积分值最大绝对误差小于列积分值最大绝对误差阈值T5且列积分值均方误差小于列积分值均方误差阈值T6,则确定待测电路板的视频处理功能正常。其中,所述列积分值最大绝对误差阈值、列积分值均方误差阈值由实际应用和检测需求而定,例如,T5的取值范围可以是5*J~30*J,T6的取值范围可以是10*J~100*J,其中J为一列像素的总个数。If the pixel parameter includes the integral value of the pixel column, the error parameter includes at least one of the maximum absolute error of the column integral value and the mean square error of the column integral value. For example, the integral values of pixels in each column of a frame of image in the video output signal are: K 1 , K 2 , K 3 , ..., K m , and the integral values of the corresponding pixel columns in the predetermined image are: K 10 , K 20 , K 30 ,..., K m0 , m is the number of columns of a frame of image, then when the absolute error of all pixel columns: |K 1 –K 10 |, |K 2 –K 20 |, |K 3 –K 30 |, ..., |K m –K m0 |The maximum value is less than the maximum absolute error threshold T5 of the column integral value; or, when the mean square error of the column integral value: [(K 1 –I 10 ) 2 +(K 2 When –K 20 ) 2 +(K 3 –K 30 ) 2 +…+(K m –K m0 ) 2 ]/m is less than the column integral value mean square error threshold T6, it can be determined that the video processing function of the circuit board under test is normal . Alternatively, when the maximum absolute error of the column integral value is less than the maximum absolute error threshold of the column integral value T5 and the mean square error of the column integral value is less than the threshold T6 of the column integral value mean square error, it is determined that the video processing function of the circuit board to be tested is normal. Wherein, the maximum absolute error threshold of the column integral value and the mean square error threshold of the column integral value are determined by actual application and detection requirements, for example, the value range of T5 can be 5*J~30*J, and the value range of T6 It can be 10*J~100*J, where J is the total number of pixels in a column.

通过步骤S121~S124测试待测电路板输出的音频输出信号,步骤S131a~S132a测试待测电路板输出的视频输出信号,可以测试待测电路板上的电视芯片、主控芯片是否失效,电视芯片、主控芯片的焊接是否存在虚焊,电视芯片和主控芯片之间的连接是否存在问题,也即实现了对集成有电视芯片的电路板的测试。Test the audio output signal output by the circuit board to be tested through steps S121-S124, and test the video output signal output by the circuit board to be tested in steps S131a-S132a, which can test whether the TV chip and the main control chip on the circuit board to be tested are invalid. 1. Whether there is any false welding in the welding of the main control chip, whether there is a problem in the connection between the TV chip and the main control chip, that is, the test of the circuit board integrated with the TV chip is realized.

对应于上述的电路板的测试方法,本实施例的电路板的测试系统的结构如图4所示,包括:发送单元11、音频测试单元12、视频测试单元13。所述发送单元11、音频测试单元12、视频测试单元13均与电路板10相连。Corresponding to the above-mentioned circuit board testing method, the structure of the circuit board testing system in this embodiment is shown in FIG. 4 , including: a sending unit 11 , an audio testing unit 12 , and a video testing unit 13 . The sending unit 11 , the audio testing unit 12 and the video testing unit 13 are all connected to the circuit board 10 .

其中,所述发送单元11包括:Wherein, the sending unit 11 includes:

音视频信号源110,用于产生预定图像信号和预定音频信号;Audio and video signal source 110, used to generate a predetermined image signal and a predetermined audio signal;

电视信号发送设备111,与所述音视频信号源110相连,用于对所述预定图像信号和预定音频信号进行调制以获得预定电视信号并发送至所述电路板10。The television signal sending device 111 is connected to the audio and video signal source 110 and used for modulating the predetermined image signal and predetermined audio signal to obtain a predetermined television signal and sending it to the circuit board 10 .

本实施例中,所述音视频信号源110可以为DVD、VCD等,所述电视信号发送设备111可以为电视信号发射器。In this embodiment, the audio and video signal source 110 may be DVD, VCD, etc., and the TV signal sending device 111 may be a TV signal transmitter.

所述音频测试单元12包括:Described audio test unit 12 comprises:

转换单元121,用于将所述音频输出信号由时域变换至频域;A conversion unit 121, configured to convert the audio output signal from the time domain to the frequency domain;

获取单元122,与所述转换单元121相连,用于基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量;An acquisition unit 122, connected to the conversion unit 121, configured to acquire the energy of the effective signal and the energy of the noise signal in the audio output signal based on the frequency of the predetermined audio signal;

计算单元123,用于计算所述获取单元122获取的所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比;a calculation unit 123, configured to calculate the energy ratio of the effective signal and the noise signal acquired by the acquisition unit 122, so as to obtain the signal-to-noise ratio of the audio output signal;

第一比较单元124,用于比较所述计算单元123计算得到所述信噪比与预设的信噪比阈值。The first comparison unit 124 is configured to compare the signal-to-noise ratio calculated by the calculation unit 123 with a preset signal-to-noise ratio threshold.

本实施例中,若所述电路板输出的音频信号为模拟音频信号,所述音频测试单元12还包括:模数转换单元(图中未示出),用于数字化所述模拟音频信号以获得数字音频信号;所述转换单元用于将所述数字音频信号由时域变换至频域。所述转换单元采用FFT将所述数字音频信号变换至频域。In this embodiment, if the audio signal output by the circuit board is an analog audio signal, the audio test unit 12 further includes: an analog-to-digital conversion unit (not shown in the figure), which is used to digitize the analog audio signal to obtain A digital audio signal; the conversion unit is used to transform the digital audio signal from the time domain to the frequency domain. The conversion unit transforms the digital audio signal into a frequency domain using FFT.

本实施例中,所述视频测试单元13利用所述预定图像信号的像素参数对所述电路板输出的视频输出信号进行测试。具体地,所述视频测试单元13包括:In this embodiment, the video testing unit 13 uses the pixel parameters of the predetermined image signal to test the video output signal output by the circuit board. Specifically, the video test unit 13 includes:

误差确定单元131a,用于基于所述视频输出信号中一帧图像的像素参数与所述预定图像信号中对应的像素参数确定误差参数;An error determination unit 131a, configured to determine an error parameter based on a pixel parameter of a frame of image in the video output signal and a corresponding pixel parameter in the predetermined image signal;

第二比较单元132a,用于比较所述误差参数与预设的误差阈值。The second comparison unit 132a is configured to compare the error parameter with a preset error threshold.

可选的,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值最大绝对误差;所述误差阈值包括:像素值最大绝对误差阈值;所述像素值最大绝对误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值绝对误差的最大值。Optionally, the pixel parameter includes: a pixel value of a pixel point; the error parameter includes: a maximum absolute error of a pixel value; the error threshold includes: a maximum absolute error threshold of a pixel value; the maximum absolute error of a pixel value is The maximum value of the absolute error between the pixel value of a pixel point of a frame of image in the video signal and the pixel value of a corresponding pixel point in the predetermined image signal.

可选的,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值均方误差;所述误差阈值包括:像素值均方误差阈值;所述像素值均方为误差所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值之差平方的平均值。Optionally, the pixel parameter includes: pixel value of the pixel point; the error parameter includes: pixel value mean square error; the error threshold includes: pixel value mean square error threshold; the pixel value mean square is determined by the error The average value of the square of the difference between the pixel value of a frame of image in the video signal and the pixel value of the corresponding pixel in the predetermined image signal.

可选的,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值最大绝对误差;所述误差阈值包括:行积分值最大绝对误差阈值;所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;所述行积分值最大绝对误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值绝对误差的最大值。Optionally, the pixel parameters include: the integral value of the pixel row; the error parameters include: the maximum absolute error of the row integral value; the error threshold includes: the maximum absolute error threshold of the row integral value; the integral value of the pixel row is the integral value of the pixel value of a row of pixels in one frame of image in the video signal; the maximum absolute error of the row integral value is the integral value of the pixel row in one frame of image in the video signal and the predetermined image signal The maximum value of the absolute error of the integral value of the corresponding pixel row.

可选的,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值均方误差;所述误差阈值包括:行积分值均方误差阈值;所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;所述行积分值均方误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值之差平方的平均值。Optionally, the pixel parameters include: the integral value of the pixel row; the error parameter includes: the mean square error of the row integral value; the error threshold includes: the mean square error threshold of the row integral value; the integral value of the pixel row is the integral value of the pixel value of a row of pixels in a frame of image in the video signal; the mean square error of the row integral value is the integral value of the pixel row in a frame of image in the video signal and The average of the squares of the differences of the integral values of the corresponding pixel rows.

可选的,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值最大绝对误差;所述误差阈值包括:列积分值最大绝对误差阈值;所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;所述列积分值最大绝对误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值绝对误差的最大值。Optionally, the pixel parameters include: the integral value of the pixel column; the error parameter includes: the maximum absolute error of the column integral value; the error threshold includes: the maximum absolute error threshold of the column integral value; the integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; the maximum absolute error of the column integral value is the integral value of the pixel column of a frame image in the video signal and the predetermined image signal The maximum value of the absolute error of the integral value of the corresponding pixel column.

可选的,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值均方误差;所述误差阈值包括:列积分值均方误差阈值;所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;所述列积分值均方误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值之差平方的平均值。Optionally, the pixel parameters include: the integral value of the pixel column; the error parameter includes: the mean square error of the column integral value; the error threshold includes: the mean square error threshold of the column integral value; the integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; the mean square error of the column integral value is the integral value of the pixel column of a frame image in the video signal and the predetermined image signal The average of the squares of the differences of the integral values of the corresponding pixel columns.

以下结合图4对本实施例的电路板的测试系统的工作过程进行简单的说明。本实施例中,发送单元11的音视频信号源110,产生预定图像信号和预定音频信号,电视信号发送设备111将所述预定图像信号和预定音频信号调制后得到的预定电视信号发送至待测的电路板10。待测的电路板10接收到预定电视信号后,对其进行相应的处理以获得音频输出信号和视频输出信号。音频测试单元12基于预定音频信号的频率获取音频输出信号的信噪比,判断所述信噪比是否大于预设的信噪比阈值,若所述信噪比大于信噪比阈值,则待测的电路板的音频信号处理测试通过。视频测试单元13抓取电路板输出的视频输出信号中一帧视频图像,基于该视频图像的像素参数与预定图像的对应的像素参数确定误差参数,判断所述误差参数是否小于预设的误差阈值,若所述误差参数小于误差阈值,则待测的电路板的视频信号处理测试通过。The working process of the circuit board testing system of this embodiment will be briefly described below with reference to FIG. 4 . In this embodiment, the audio and video signal source 110 of the sending unit 11 generates a predetermined image signal and a predetermined audio signal, and the television signal sending device 111 transmits the predetermined television signal obtained by modulating the predetermined image signal and the predetermined audio signal to the circuit board 10 . After the circuit board 10 to be tested receives a predetermined TV signal, it performs corresponding processing to obtain an audio output signal and a video output signal. The audio test unit 12 obtains the signal-to-noise ratio of the audio output signal based on the frequency of the predetermined audio signal, and judges whether the signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold, and if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold, then the The audio signal processing test of the circuit board passed. The video test unit 13 captures a frame of video image in the video output signal output by the circuit board, determines the error parameter based on the pixel parameter of the video image and the corresponding pixel parameter of the predetermined image, and judges whether the error parameter is less than a preset error threshold , if the error parameter is smaller than the error threshold, the video signal processing test of the circuit board to be tested passes.

实施例二Embodiment two

本实施例中,对电路板输出的音频输出信号的测试与实施例一中相同,而对电路板输出的视频输出信号的测试则与实施例一不同。本实施例中利用所述预定图像信号对所述电路板输出的视频输出信号进行测试包括利用所述预定图像信号的特征参数对所述电路板输出的视频输出信号进行测试。此外,需要说明的是,在其他实施例中,也可以结合实施例一和实施例二,利用预定图像信号的像素参数和特征参数对视频输出信号进行测试,以测试电路板的视频处理功能。In this embodiment, the test of the audio output signal output by the circuit board is the same as that in the first embodiment, but the test of the video output signal output by the circuit board is different from the first embodiment. In this embodiment, using the predetermined image signal to test the video output signal output by the circuit board includes using the characteristic parameter of the predetermined image signal to test the video output signal output by the circuit board. In addition, it should be noted that in other embodiments, the first and second embodiments can also be combined, and the video output signal is tested by using the pixel parameters and characteristic parameters of the predetermined image signal, so as to test the video processing function of the circuit board.

请参见图5所示的本发明实施例二的电路板的测试方法的流程示意图,所述电路板的测试方法包括:Please refer to the schematic flow chart of the circuit board testing method according to the second embodiment of the present invention shown in FIG. 5, the circuit board testing method includes:

步骤S111:发送预定电视信号至所述电路板,所述预定电视信号由预定图像信号和预定音频信号调制得到;Step S111: sending a predetermined TV signal to the circuit board, the predetermined TV signal is modulated by a predetermined image signal and a predetermined audio signal;

步骤S121:将所述电路板输出的音频输出信号由时域变换至频域;Step S121: transforming the audio output signal output by the circuit board from the time domain to the frequency domain;

步骤S122:基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量;Step S122: Obtain the energy of the effective signal and the energy of the noise signal in the audio output signal based on the frequency of the predetermined audio signal;

步骤S123:计算所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比;Step S123: Calculate the energy ratio of the effective signal and the noise signal to obtain the signal-to-noise ratio of the audio output signal;

步骤S124:比较所述信噪比与预设的信噪比阈值;Step S124: comparing the SNR with a preset SNR threshold;

步骤S131b:采用图像识别算法识别所述视频输出信号中一帧图像的文字和/或图形;Step S131b: Using an image recognition algorithm to identify the text and/or graphics of a frame of image in the video output signal;

步骤S132b:匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形。Step S132b: matching the recognized text and/or graphics with the corresponding text and/or graphics in the predetermined image signal.

本实施例中,步骤S121~步骤S124对应了图1所示的步骤S12,步骤S131b~步骤S132b则对应了图1所示的步骤S13。以下对步骤S131b~步骤S132b进行详细描述。In this embodiment, step S121 to step S124 correspond to step S12 shown in FIG. 1 , and step S131b to step S132b correspond to step S13 shown in FIG. 1 . Step S131b to step S132b will be described in detail below.

执行步骤S131b,采用图像识别算法识别所述视频输出信号中一帧图像的文字和/或图形。对于一帧图像中的文字而言,在对文字进行识别之前,首先需要对文字区域进行提取,具体地就是进行文字检测和文字分割,本实施例中可以采用现有的基于边缘的检测算法、基于纹理的检测算法、基于区域的检测算法等来对文字进行检测,采用现有的阈值法、基于统计模型的方法、无监督聚类法等来对检测到的文字进行分割,然后采用光学字符识别(OCR,Optical Character Recognition)技术对提取到的文字区域中的文字进行识别。Step S131b is executed, using an image recognition algorithm to identify text and/or graphics of a frame of image in the video output signal. For the text in a frame of images, before the text is recognized, it is first necessary to extract the text area, specifically to perform text detection and text segmentation. In this embodiment, an existing edge-based detection algorithm, Texture-based detection algorithms, region-based detection algorithms, etc. are used to detect text, and the existing threshold method, statistical model-based method, unsupervised clustering method, etc. are used to segment the detected text, and then optical characters are used. Recognition (OCR, Optical Character Recognition) technology recognizes the text in the extracted text area.

对于一帧图像中的图形而言,则可以采用现有的模版匹配算法、贝叶斯分类算法、基于霍夫曼变换的图形检测算法等对图像中的图形进行识别。For the graphics in a frame of image, the existing template matching algorithm, Bayesian classification algorithm, graphics detection algorithm based on Huffman transform, etc. can be used to identify the graphics in the image.

在实际实施时,可以识别一帧图像中的文字,或者识别一帧图像中的图形,或者既识别一帧图像中的文字又识别一帧图像的图形。In actual implementation, it is possible to recognize text in a frame of images, or recognize graphics in a frame of images, or recognize both text in a frame of images and graphics in a frame of images.

执行步骤S132b,匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形,也就是,判断识别出的文字和/或图形与预定图像中对应的文字和/或图形是否匹配。具体地,可以采用现有技术,例如灰度匹配、特征匹配等方式对步骤S131b中识别的文字、图形与所述预定图像信号中对应的文字、图形进行匹配,以确定识别出的视频信号中的一帧图像的文字、图形与预定图像信号中对应帧图像的文字、图形是否相符。若相符(匹配),则待测电路板的视频处理功能正常。Execute step S132b, matching the recognized text and/or graphics with the corresponding text and/or graphics in the predetermined image signal, that is, judging that the recognized text and/or graphics and the corresponding text and/or graphics in the predetermined image Does the graph match. Specifically, the existing technology, such as grayscale matching, feature matching, etc., can be used to match the text and graphics identified in step S131b with the corresponding text and graphics in the predetermined image signal, so as to determine the Whether the text and graphics of a frame of image match the text and graphics of the corresponding frame of image in the predetermined image signal. If they match (match), the video processing function of the circuit board under test is normal.

对应地,本实施例的电路板的测试系统的结构如图6所示,包括:发送单元11、音频测试单元12、视频测试单元13′。所述发送单元11、音频测试单元12、视频测试单元13′均与电路板10相连。Correspondingly, the structure of the circuit board testing system of this embodiment is shown in FIG. 6 , including: a sending unit 11 , an audio testing unit 12 , and a video testing unit 13 ′. The sending unit 11 , the audio testing unit 12 , and the video testing unit 13 ′ are all connected to the circuit board 10 .

其中,所述发送单元11、音频测试单元12与实施例一中类似,具体可以参见实施例一中对其的描述,此处不再赘述。Wherein, the sending unit 11 and the audio testing unit 12 are similar to those in the first embodiment, and for details, please refer to the description in the first embodiment, which will not be repeated here.

本实施例中,所述视频测试单元13′利用所述预定图像信号的特征参数对所述电路板输出的视频输出信号进行测试。所述视频测试单元13′包括:识别单元131b,用于采用图像识别算法识别所述视频输出信号中一帧图像的文字和/或图形;匹配单元132b,用于匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形。In this embodiment, the video test unit 13' uses the characteristic parameters of the predetermined image signal to test the video output signal output by the circuit board. The video test unit 13' includes: a recognition unit 131b, configured to use an image recognition algorithm to recognize the text and/or graphics of a frame of image in the video output signal; a matching unit 132b, used to match the recognized text and/or The graphics correspond to text and/or graphics in the predetermined image signal.

以下结合图6对本实施例的电路板的测试系统的工作过程进行简单的说明。本实施例中,发送单元11的音视频信号源110,产生预定图像信号和预定音频信号,电视信号发送设备111将所述预定图像信号和预定音频信号调制后得到的预定电视信号发送至待测的电路板10。待测的电路板10接收到预定电视信号后,对其进行相应的处理以获得音频输出信号和视频输出信号。音频测试单元12基于预定音频信号的频率获取音频输出信号的信噪比,判断所述信噪比是否大于预设的信噪比阈值,若所述信噪比大于信噪比阈值,则待测的电路板的音频处理测试通过。视频测试单元13′抓取电路板输出的视频输出信号中一帧视频图像,将该视频图像中的文字与预定图像中的特定文字进行匹配,将该视频图像中的图形与预定图像中的特定图形进行匹配,即判断视频图像中是否包含有预定图像中的特定文字或图形,若是,则待测的电路板的视频处理测试通过。The working process of the circuit board testing system of this embodiment will be briefly described below with reference to FIG. 6 . In this embodiment, the audio and video signal source 110 of the sending unit 11 generates a predetermined image signal and a predetermined audio signal, and the television signal sending device 111 transmits the predetermined television signal obtained by modulating the predetermined image signal and the predetermined audio signal to the circuit board 10 . After the circuit board 10 to be tested receives a predetermined TV signal, it performs corresponding processing to obtain an audio output signal and a video output signal. The audio test unit 12 obtains the signal-to-noise ratio of the audio output signal based on the frequency of the predetermined audio signal, and judges whether the signal-to-noise ratio is greater than a preset signal-to-noise ratio threshold, and if the signal-to-noise ratio is greater than the signal-to-noise ratio threshold, then the The audio processing test of the board passed. The video test unit 13' captures a frame of video image in the video output signal output by the circuit board, matches the text in the video image with the specific text in the predetermined image, and matches the graphics in the video image with the specific text in the predetermined image. Graphics matching, that is, judging whether the video image contains specific text or graphics in the predetermined image, and if so, the video processing test of the circuit board to be tested has passed.

综上,本发明实施方式提供的电路板的测试方法和测试系统实现了对电路板的自动化测试,提高了对电路板进行测试的测试效率和测试覆盖率且灵活性高,降低了测试成本,同时也降低了实现电路板的测试系统的难度。To sum up, the circuit board testing method and testing system provided by the embodiments of the present invention realize the automated testing of the circuit board, improve the test efficiency and test coverage of the circuit board test and have high flexibility, and reduce the test cost. At the same time, it also reduces the difficulty of implementing the test system of the circuit board.

本发明虽然已以较佳实施例公开如上,但其并不是用来限定本发明,任何本领域技术人员在不脱离本发明的精神和范围内,都可以利用上述揭示的方法和技术内容对本发明技术方案做出可能的变动和修改,因此,凡是未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化及修饰,均属于本发明技术方案的保护范围。Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention, and any person skilled in the art can use the methods disclosed above and technical content to analyze the present invention without departing from the spirit and scope of the present invention. Possible changes and modifications are made in the technical solution. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention, which do not depart from the content of the technical solution of the present invention, all belong to the technical solution of the present invention. protected range.

Claims (26)

1.一种电路板的测试方法,其特征在于,所述电路板包括电视芯片,所述电视芯片能够实现对电视信号的解调,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;所述测试方法能够对电路板的功能或性能进行测试,所述对电路板的功能或性能进行测试包括:检测电视芯片在接收电视信号强度、解调电信信号功能方面是否正常,所述测试方法包括:1. A method for testing a circuit board, characterized in that, the circuit board comprises a TV chip, the TV chip can realize the demodulation of the TV signal, and the circuit board is suitable for demodulating the TV signal received processing, to obtain audio output signals and video output signals; the test method can test the function or performance of the circuit board, and the test of the function or performance of the circuit board includes: detecting the TV chip when receiving TV signal strength, solution Whether it is normal to adjust the function of the telecommunication signal, the test method includes: 发送预定电视信号,所述预定电视信号由预定图像信号和预定音频信号调制得到,所述预定图像信号为静态图像信号,所述预定音频信号为单音音频信号;Sending a predetermined television signal, the predetermined television signal is modulated by a predetermined image signal and a predetermined audio signal, the predetermined image signal is a static image signal, and the predetermined audio signal is a monophonic audio signal; 所述预定电视信号由电路板接收,所述电路板对接收到的电视信号进行解调处理;The predetermined TV signal is received by a circuit board, and the circuit board demodulates the received TV signal; 所述电路板对接收到的电视信号进行解调处理之后,输出音频输出信号和视频输出信号;After the circuit board demodulates the received TV signal, it outputs an audio output signal and a video output signal; 利用所述预定音频信号对所述电路板输出的音频输出信号进行测试;Using the predetermined audio signal to test the audio output signal output by the circuit board; 利用所述预定图像信号对所述电路板输出的视频输出信号进行测试。The video output signal output by the circuit board is tested by using the predetermined image signal. 2.如权利要求1所述的电路板的测试方法,其特征在于,所述利用所述预定音频信号对所述电路板输出的音频输出信号进行测试包括:2. The testing method of circuit board as claimed in claim 1, is characterized in that, described utilizing described predetermined audio signal to test the audio output signal that described circuit board outputs comprises: 将所述音频输出信号由时域变换至频域;transforming the audio output signal from the time domain to the frequency domain; 基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量;acquiring the energy of a valid signal and the energy of a noise signal in the audio output signal based on the frequency of the predetermined audio signal; 计算所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比;calculating the energy ratio of the effective signal and the noise signal to obtain the signal-to-noise ratio of the audio output signal; 比较所述信噪比与预设的信噪比阈值。Comparing the SNR with a preset SNR threshold. 3.如权利要求2所述的电路板的测试方法,其特征在于,所述电路板输出的音频输出信号为模拟音频信号,所述利用所述预定音频信号对所述电路板输出的音频输出信号进行测试还包括:在将所述音频输出信号由时域变换至频域前数字化所述模拟音频信号。3. The testing method of circuit board as claimed in claim 2, is characterized in that, the audio output signal of described circuit board output is an analog audio signal, and described utilizing described predetermined audio signal to the audio output of described circuit board output Signal testing further includes digitizing the analog audio signal prior to transforming the audio output signal from the time domain to the frequency domain. 4.如权利要求1所述的电路板的测试方法,其特征在于,所述利用所述预定图像信号对所述电路板输出的视频输出信号进行测试包括:利用所述预定图像信号的像素参数对所述视频输出信号进行测试。4. The method for testing a circuit board according to claim 1, wherein said testing the video output signal output by said circuit board using said predetermined image signal comprises: utilizing pixel parameters of said predetermined image signal The video output signal is tested. 5.如权利要求4所述的电路板的测试方法,其特征在于,所述利用所述预定图像信号的像素参数对所述视频输出信号进行测试包括:5. The testing method of circuit board as claimed in claim 4, is characterized in that, described utilizing the pixel parameter of described predetermined image signal to test described video output signal comprises: 基于所述视频输出信号中一帧图像的像素参数与所述预定图像信号中对应的像素参数确定误差参数;determining an error parameter based on a pixel parameter of a frame of image in the video output signal and a corresponding pixel parameter in the predetermined image signal; 比较所述误差参数与预设的误差阈值。The error parameter is compared with a preset error threshold. 6.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值最大绝对误差;所述误差阈值包括:像素值最大绝对误差阈值;6. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the pixel value of pixel point; Described error parameter comprises: pixel value maximum absolute error; Described error threshold comprises: pixel Value Maximum Absolute Error Threshold; 所述像素值最大绝对误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值绝对误差的最大值。The maximum absolute error of the pixel value is the maximum value of the absolute error between the pixel value of a pixel of a frame of image in the video signal and the pixel value of a corresponding pixel in the predetermined image signal. 7.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值均方误差;所述误差阈值包括:像素值均方误差阈值;7. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the pixel value of pixel point; Described error parameter comprises: pixel value mean square error; Described error threshold comprises: pixel value Value Mean Squared Error Threshold; 所述像素值均方误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值之差平方的平均值。The pixel value mean square error is an average value of squares of differences between pixel values of a frame of image in the video signal and pixel values of corresponding pixel points in the predetermined image signal. 8.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值最大绝对误差;所述误差阈值包括:行积分值最大绝对误差阈值;8. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the integral value of pixel line; Described error parameter comprises: line integral value maximum absolute error; Described error threshold comprises: The maximum absolute error threshold of the row integral value; 所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;The integral value of the pixel row is the integral value of the pixel value of a row of pixel points in a frame of image in the video signal; 所述行积分值最大绝对误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值绝对误差的最大值。The maximum absolute error of the row integral value is the maximum value of the absolute error between the integral value of the pixel row of one frame image in the video signal and the integral value of the corresponding pixel row in the predetermined image signal. 9.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值均方误差;所述误差阈值包括:行积分值均方误差阈值;9. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the integral value of pixel line; Described error parameter comprises: row integral value mean square error; Described error threshold comprises: Row integral value mean square error threshold; 所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;The integral value of the pixel row is the integral value of the pixel value of a row of pixel points in a frame of image in the video signal; 所述行积分值均方误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值之差平方的平均值。The mean square error of the row integral value is the average value of the square of the difference between the integral value of the pixel row of a frame of image in the video signal and the integral value of the corresponding pixel row in the predetermined image signal. 10.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值最大绝对误差;所述误差阈值包括:列积分值最大绝对误差阈值;10. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the integral value of pixel column; Described error parameter comprises: column integral value maximum absolute error; Described error threshold comprises: Column integral value maximum absolute error threshold; 所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;The integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; 所述列积分值最大绝对误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值绝对误差的最大值。The maximum absolute error of the column integral value is the maximum value of the absolute error between the integral value of the pixel column of one frame image in the video signal and the integral value of the corresponding pixel column in the predetermined image signal. 11.如权利要求5所述的电路板的测试方法,其特征在于,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值均方误差;所述误差阈值包括:列积分值均方误差阈值;11. The testing method of circuit board as claimed in claim 5, is characterized in that, described pixel parameter comprises: the integral value of pixel column; Described error parameter comprises: column integral value mean square error; Described error threshold comprises: Column integral value mean square error threshold; 所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;The integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; 所述列积分值均方误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值之差平方的平均值。The mean square error of the column integral value is an average value of the square of the difference between the integral value of the pixel column of one frame image in the video signal and the integral value of the corresponding pixel column in the predetermined image signal. 12.如权利要求1所述的电路板的测试方法,其特征在于,所述利用所述预定图像信号对所述电路板输出的视频输出信号进行测试包括:利用所述预定图像信号的特征参数对所述视频输出信号进行测试。12. The method for testing a circuit board according to claim 1, wherein the testing of the video output signal output by the circuit board using the predetermined image signal comprises: using the characteristic parameters of the predetermined image signal The video output signal is tested. 13.如权利要求12所述的电路板的测试方法,其特征在于,所述利用所述预定图像信号的特征参数对所述视频输出信号进行测试包括:13. The testing method of circuit board as claimed in claim 12, is characterized in that, described utilizing the feature parameter of described predetermined image signal to test described video output signal comprises: 采用图像识别算法识别所述视频输出信号中一帧图像的文字和/或图形;Using an image recognition algorithm to recognize the text and/or graphics of a frame of image in the video output signal; 匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形。matching the recognized text and/or graphics with the corresponding text and/or graphics in the predetermined image signal. 14.一种电路板的测试系统,其特征在于,所述电路板包括电视芯片,所述电视芯片能够实现对电视信号的解调,所述电路板适于对接收到的电视信号进行解调处理,以获得音频输出信号和视频输出信号;所述测试系统能够对电路板的功能或性能进行测试,所述对电路板的功能或性能进行测试包括:检测电视芯片在接收电视信号强度、解调电信信号功能方面是否正常,所述测试系统包括:14. A test system for a circuit board, characterized in that the circuit board includes a TV chip, the TV chip can demodulate TV signals, and the circuit board is suitable for demodulating received TV signals processing to obtain audio output signals and video output signals; the test system can test the function or performance of the circuit board, and the test of the function or performance of the circuit board includes: detecting the TV chip when receiving TV signal strength, solving Whether it is normal to adjust the function of the telecommunication signal, the test system includes: 发送单元,用于发送预定电视信号,所述预定电视信号由预定图像信号和预定音频信号调制得到;a sending unit, configured to send a predetermined television signal, the predetermined television signal being modulated by a predetermined image signal and a predetermined audio signal; 所述预定电视信号由电路板接收,所述电路板对接收到的电视信号进行解调处理;The predetermined TV signal is received by a circuit board, and the circuit board demodulates the received TV signal; 所述电路板对接收到的电视信号进行解调处理之后,输出音频输出信号和视频输出信号;After the circuit board demodulates the received TV signal, it outputs an audio output signal and a video output signal; 音频测试单元,用于利用所述预定音频信号对所述电路板输出的音频输出信号进行测试;an audio test unit, configured to use the predetermined audio signal to test the audio output signal output by the circuit board; 视频测试单元,用于利用所述预定图像信号对所述电路板输出的视频输出信号进行测试。A video test unit, configured to use the predetermined image signal to test the video output signal output by the circuit board. 15.如权利要求14所述的电路板的测试系统,其特征在于,所述音频测试单元包括:15. The testing system of circuit board as claimed in claim 14, is characterized in that, described audio frequency testing unit comprises: 转换单元,用于将所述音频输出信号由时域变换至频域;a conversion unit, configured to transform the audio output signal from the time domain to the frequency domain; 获取单元,用于基于所述预定音频信号的频率获取所述音频输出信号中有效信号的能量和噪声信号的能量;an acquisition unit, configured to acquire the energy of an effective signal and the energy of a noise signal in the audio output signal based on the frequency of the predetermined audio signal; 计算单元,用于计算所述有效信号和噪声信号的能量比值,以获得所述音频输出信号的信噪比;a calculation unit, configured to calculate the energy ratio of the effective signal and the noise signal, so as to obtain the signal-to-noise ratio of the audio output signal; 第一比较单元,用于比较所述信噪比与预设的信噪比阈值。A first comparing unit, configured to compare the signal-to-noise ratio with a preset signal-to-noise ratio threshold. 16.如权利要求15所述的电路板的测试系统,其特征在于,所述电路板输出的音频输出信号为模拟音频信号,所述音频测试单元还包括:16. The testing system of circuit board as claimed in claim 15, is characterized in that, the audio output signal of described circuit board output is analog audio signal, and described audio frequency test unit also comprises: 模数转换单元,用于数字化所述模拟音频信号以获得数字音频信号;an analog-to-digital conversion unit for digitizing the analog audio signal to obtain a digital audio signal; 所述转换单元,用于将所述数字音频信号由时域变换至频域。The converting unit is configured to convert the digital audio signal from the time domain to the frequency domain. 17.如权利要求14所述的电路板的测试系统,其特征在于,所述视频测试单元利用所述预定图像信号的像素参数对所述视频输出信号进行测试。17. The circuit board testing system according to claim 14, wherein the video testing unit uses pixel parameters of the predetermined image signal to test the video output signal. 18.如权利要求17所述的电路板的测试系统,其特征在于,所述视频测试单元包括:18. The testing system of circuit board as claimed in claim 17, is characterized in that, described video testing unit comprises: 误差确定单元,用于基于所述视频输出信号中一帧图像的像素参数与所述预定图像信号中对应的像素参数确定误差参数;An error determination unit, configured to determine an error parameter based on a pixel parameter of a frame of image in the video output signal and a corresponding pixel parameter in the predetermined image signal; 第二比较单元,用于比较所述误差参数与预设的误差阈值。The second comparison unit is used to compare the error parameter with a preset error threshold. 19.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值最大绝对误差;所述误差阈值包括:像素值最大绝对误差阈值;19. The test system of circuit board as claimed in claim 18, it is characterized in that, described pixel parameter comprises: the pixel value of pixel point; Described error parameter comprises: pixel value maximum absolute error; Described error threshold comprises: pixel Value Maximum Absolute Error Threshold; 所述像素值最大绝对误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值绝对误差的最大值。The maximum absolute error of the pixel value is the maximum value of the absolute error between the pixel value of a pixel of a frame of image in the video signal and the pixel value of a corresponding pixel in the predetermined image signal. 20.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素点的像素值;所述误差参数包括:像素值均方误差;所述误差阈值包括:像素值均方误差阈值;20. The test system of circuit board as claimed in claim 18, is characterized in that, described pixel parameter comprises: the pixel value of pixel point; Described error parameter comprises: pixel value mean square error; Described error threshold comprises: pixel value Value Mean Squared Error Threshold; 所述像素值均方误差为所述视频信号中一帧图像的像素点的像素值与所述预定图像信号中的对应像素点的像素值之差平方的平均值。The pixel value mean square error is an average value of squares of differences between pixel values of a frame of image in the video signal and pixel values of corresponding pixel points in the predetermined image signal. 21.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值最大绝对误差;所述误差阈值包括:行积分值最大绝对误差阈值;21. The test system of circuit board as claimed in claim 18, it is characterized in that, described pixel parameter comprises: the integral value of pixel line; Described error parameter comprises: line integral value maximum absolute error; Described error threshold comprises: The maximum absolute error threshold of the row integral value; 所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;The integral value of the pixel row is the integral value of the pixel value of a row of pixel points in a frame of image in the video signal; 所述行积分值最大绝对误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值绝对误差的最大值。The maximum absolute error of the row integral value is the maximum value of the absolute error between the integral value of the pixel row of one frame image in the video signal and the integral value of the corresponding pixel row in the predetermined image signal. 22.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素行的积分值;所述误差参数包括:行积分值均方误差;所述误差阈值包括:行积分值均方误差阈值;22. The test system of circuit board as claimed in claim 18, it is characterized in that, described pixel parameter comprises: the integral value of pixel line; Described error parameter comprises: line integral value mean square error; Described error threshold comprises: Row integral value mean square error threshold; 所述像素行的积分值为所述视频信号中一帧图像的一行像素点的像素值的积分值;The integral value of the pixel row is the integral value of the pixel value of a row of pixel points in a frame of image in the video signal; 所述行积分值均方误差为所述视频信号中一帧图像的像素行的积分值与所述预定图像信号中的对应像素行的积分值之差平方的平均值。The mean square error of the row integral value is the average value of the square of the difference between the integral value of the pixel row of a frame of image in the video signal and the integral value of the corresponding pixel row in the predetermined image signal. 23.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值最大绝对误差;所述误差阈值包括:列积分值最大绝对误差阈值;23. The testing system of circuit board as claimed in claim 18, is characterized in that, described pixel parameter comprises: the integral value of pixel column; Described error parameter comprises: column integral value maximum absolute error; Described error threshold comprises: Column integral value maximum absolute error threshold; 所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;The integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; 所述列积分值最大绝对误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值绝对误差的最大值。The maximum absolute error of the column integral value is the maximum value of the absolute error between the integral value of the pixel column of one frame image in the video signal and the integral value of the corresponding pixel column in the predetermined image signal. 24.如权利要求18所述的电路板的测试系统,其特征在于,所述像素参数包括:像素列的积分值;所述误差参数包括:列积分值均方误差;所述误差阈值包括:列积分值均方误差阈值;24. The test system of circuit board as claimed in claim 18, it is characterized in that, described pixel parameter comprises: the integral value of pixel column; Described error parameter comprises: column integral value mean square error; Described error threshold comprises: Column integral value mean square error threshold; 所述像素列的积分值为所述视频信号中一帧图像的一列像素点的像素值的积分值;The integral value of the pixel column is the integral value of the pixel value of a column of pixel points of a frame image in the video signal; 所述列积分值均方误差为所述视频信号中一帧图像的像素列的积分值与所述预定图像信号中的对应像素列的积分值之差平方的平均值。The mean square error of the column integral value is an average value of the square of the difference between the integral value of the pixel column of one frame image in the video signal and the integral value of the corresponding pixel column in the predetermined image signal. 25.如权利要求14所述的电路板的测试系统,其特征在于,所述视频测试单元利用所述预定图像信号的特征参数对所述视频输出信号进行测试。25. The circuit board testing system according to claim 14, wherein the video testing unit uses the characteristic parameters of the predetermined image signal to test the video output signal. 26.如权利要求25所述的电路板的测试系统,其特征在于,所述视频测试单元包括:26. The testing system of circuit board as claimed in claim 25, is characterized in that, described video testing unit comprises: 识别单元,用于采用图像识别算法识别所述视频输出信号中一帧图像的文字和/或图形;A recognition unit, configured to use an image recognition algorithm to recognize text and/or graphics of a frame of image in the video output signal; 匹配单元,用于匹配识别出的文字和/或图形与所述预定图像信号中对应的文字和/或图形。A matching unit, configured to match the recognized text and/or graphics with corresponding text and/or graphics in the predetermined image signal.
CN201210276046.7A 2012-08-03 2012-08-03 The method of testing of circuit board and system Active CN103581663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210276046.7A CN103581663B (en) 2012-08-03 2012-08-03 The method of testing of circuit board and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210276046.7A CN103581663B (en) 2012-08-03 2012-08-03 The method of testing of circuit board and system

Publications (2)

Publication Number Publication Date
CN103581663A CN103581663A (en) 2014-02-12
CN103581663B true CN103581663B (en) 2015-07-29

Family

ID=50052442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210276046.7A Active CN103581663B (en) 2012-08-03 2012-08-03 The method of testing of circuit board and system

Country Status (1)

Country Link
CN (1) CN103581663B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491375B (en) * 2015-12-28 2018-02-16 歌尔股份有限公司 The test system and method and television set of a kind of product circuit plate
CN105704485B (en) * 2016-02-02 2018-05-25 广州视源电子科技股份有限公司 Performance parameter detection method and system of display equipment
CN107483923A (en) * 2017-08-08 2017-12-15 广东长虹电子有限公司 A TV System for Automatic Testing
CN107526029B (en) * 2017-08-21 2024-12-03 集美大学 Circuit board detection system and detection method
CN109166115A (en) * 2018-08-31 2019-01-08 天合光能股份有限公司 A calculation method of copper foil coverage of PCB
CN112333440B (en) * 2020-10-28 2022-09-09 深圳市金锐显数码科技有限公司 TV board card detection method and device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452331A (en) * 2003-04-24 2003-10-29 北京永新同方信息工程有限公司 Digitized real time multi-channel video and audio differential mode detecting method
CN101500175A (en) * 2008-01-31 2009-08-05 联想(北京)有限公司 Test method and apparatus for digital display interface
CN101895602A (en) * 2010-07-27 2010-11-24 青岛海信移动通信技术股份有限公司 Method and system for testing mobile phone mainboard
CN102087366A (en) * 2009-12-03 2011-06-08 通用电气公司 Detector assembly of a digital X-ray detector
CN202033454U (en) * 2011-04-07 2011-11-09 柒拾陆 Automatic circuit board test system
CN102572503A (en) * 2010-12-30 2012-07-11 厦门华侨电子股份有限公司 Automatic test system for functions of television set and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452331A (en) * 2003-04-24 2003-10-29 北京永新同方信息工程有限公司 Digitized real time multi-channel video and audio differential mode detecting method
CN101500175A (en) * 2008-01-31 2009-08-05 联想(北京)有限公司 Test method and apparatus for digital display interface
CN102087366A (en) * 2009-12-03 2011-06-08 通用电气公司 Detector assembly of a digital X-ray detector
CN101895602A (en) * 2010-07-27 2010-11-24 青岛海信移动通信技术股份有限公司 Method and system for testing mobile phone mainboard
CN102572503A (en) * 2010-12-30 2012-07-11 厦门华侨电子股份有限公司 Automatic test system for functions of television set and method thereof
CN202033454U (en) * 2011-04-07 2011-11-09 柒拾陆 Automatic circuit board test system

Also Published As

Publication number Publication date
CN103581663A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103581663B (en) The method of testing of circuit board and system
US9304189B2 (en) Systems and methods for detecting radar signals
Behaine et al. Enhancing the performance of active shape models in face recognition applications
TWI474690B (en) A radio sensor for detecting wireless microphone signals and a method thereof
CN105354535B (en) A kind of special Low Voltage Differential Signal Image Acquisition and processing method
CN108152788A (en) Sound-source follow-up method, sound-source follow-up equipment and computer readable storage medium
CN105376004B (en) A kind of adaptive tuning device and method and FM receiver
US20140152811A1 (en) Apparatus and method for detecting signals
RU174044U1 (en) AUDIO-VISUAL MULTI-CHANNEL VOICE DETECTOR
CN106170139B (en) A kind of frequency spectrum detecting method and system
JP2007248110A (en) Device and method for monitoring electric wave
US8208640B2 (en) TV audio multi-standard detection apparatus and method
US7518661B2 (en) System and method of audio detection
CN114142956B (en) A method for cone scanning tracking demodulation using TDMA signal
CN110958200A (en) Unmanned aerial vehicle identification method based on radio feature extraction
CN104320655A (en) Video decoding chip testing device and method
CN112073347B (en) A DVOR Signal Analysis System Based on Software Defined Radio Technology
JP2002026826A (en) Radio equipment identifying device
CN109061443B (en) Electronic tag sensitivity test method for eliminating clamp influence
JP6669277B2 (en) Audio noise detection device, digital broadcast receiving device, and audio noise detection method
JP2004214817A (en) Radio identification device
CN112668605A (en) Single-point fusion information acquisition method and device based on biological and physical characteristics
US20240283549A1 (en) Methods and systems of phase aligning a replica carrier signal for use in demodulating a subcarrier signal
US20250317342A1 (en) Bpsk subcarrier demodulation using direct filters without down conversion
CN115278216B (en) Radio frequency signal source jam detection method, system, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170214

Address after: 200127 room 3205F, building 707, Zhang Yang Road, Pudong New Area Free Trade Zone, Shanghai, China

Patentee after: Xin Xin Finance Leasing Co.,Ltd.

Address before: Zuchongzhi road in Pudong Zhangjiang hi tech park Shanghai 201203 Lane 2288 Pudong New Area Spreadtrum Center Building 1

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20170707

Address after: 100033 room 2062, Wenstin Executive Apartment, 9 Financial Street, Beijing, Xicheng District

Patentee after: Xin Xin finance leasing (Beijing) Co.,Ltd.

Address before: 200127 room 3205F, building 707, Zhang Yang Road, Pudong New Area Free Trade Zone, Shanghai, China

Patentee before: Xin Xin Finance Leasing Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140212

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Denomination of invention: Testing method for key circuit boards and system

Granted publication date: 20150729

License type: Exclusive License

Record date: 20180626

TR01 Transfer of patent right

Effective date of registration: 20200309

Address after: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 100033 room 2062, Wenstin administrative apartments, 9 Financial Street B, Xicheng District, Beijing.

Patentee before: Xin Xin finance leasing (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200529

Address after: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, No.97 Xiangyu Road, Xiamen area, China (Fujian) free trade zone, Xiamen City, Fujian Province

Patentee after: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Address before: 201203 Zuchongzhi Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai 2288

Patentee before: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

TR01 Transfer of patent right
EC01 Cancellation of recordation of patent licensing contract

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xin Xin finance leasing (Beijing) Co.,Ltd.

Contract record no.: 2018990000163

Date of cancellation: 20210301

EC01 Cancellation of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140212

Assignee: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Assignor: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

Contract record no.: X2021110000010

Denomination of invention: Test method and system of circuit board

Granted publication date: 20150729

License type: Exclusive License

Record date: 20210317

EE01 Entry into force of recordation of patent licensing contract
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 201203 Shanghai city Zuchongzhi road Pudong New Area Zhangjiang hi tech park, Spreadtrum Center Building 1, Lane 2288

Patentee after: SPREADTRUM COMMUNICATIONS (SHANGHAI) Co.,Ltd.

Address before: 361012 unit 05, 8 / F, building D, Xiamen international shipping center, 97 Xiangyu Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Patentee before: Xinxin Finance Leasing (Xiamen) Co.,Ltd.

TR01 Transfer of patent right