CN103616632B - Photoelectric switching circuit test fixture and method of testing - Google Patents
Photoelectric switching circuit test fixture and method of testing Download PDFInfo
- Publication number
- CN103616632B CN103616632B CN201310604014.XA CN201310604014A CN103616632B CN 103616632 B CN103616632 B CN 103616632B CN 201310604014 A CN201310604014 A CN 201310604014A CN 103616632 B CN103616632 B CN 103616632B
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- module
- photoelectric conversion
- signal
- pwm
- 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.)
- Expired - Fee Related
Links
Landscapes
- Testing Of Individual Semiconductor Devices (AREA)
Abstract
一种光电转换电路测试工装及测试方法,包括:单片机、RS-232串口通讯模块、JTAG仿真接口模块、按键控制模块、LED/LCD显示模块、电源模块、光电转换模块、上位机;上电后,单片机通过GPIO单元发出Fault信号测试光电转换板Fault信号转换电路;单片机通过PWM单元发出PWM信号测试光电转换板PWM信号转换电路;单片机通过PWM单元发出PWM模拟温度信号测试光电转换板温度频率转电压电路;单片机将测试结果通过GPIO单元传送给显示模块,显示测试结果;本发明创造简化了光电转换电路的测试方法,连接电路后,只需拨动电源开关上电即可判断电路是否存在异常,大大节省了时间。
A photoelectric conversion circuit test tool and test method, including: single-chip microcomputer, RS-232 serial port communication module, JTAG simulation interface module, button control module, LED/LCD display module, power supply module, photoelectric conversion module, upper computer; after power on , the MCU sends a Fault signal through the GPIO unit to test the Fault signal conversion circuit of the photoelectric conversion board; the MCU sends a PWM signal through the PWM unit to test the PWM signal conversion circuit of the photoelectric conversion board; the MCU sends a PWM analog temperature signal through the PWM unit to test the temperature frequency conversion voltage of the photoelectric conversion board circuit; the single-chip microcomputer transmits the test result to the display module through the GPIO unit, and displays the test result; the present invention simplifies the test method of the photoelectric conversion circuit. Great time savings.
Description
技术领域technical field
本发明属于光电技术领域,特别涉及一种光电转换电路测试工装及测试方法。The invention belongs to the field of optoelectronic technology, and in particular relates to a photoelectric conversion circuit testing tool and testing method.
背景技术Background technique
光电技术是将传统的光学技术与现代电子技术与计算机技术相结合的一种高新技术。随着光电转换技术的不断发展与应用,光电转换技术在人们日常生活中发挥着越来越重要的作用。自光电效应发现至今,光电转换器件获得了突飞猛进的发展,目前各种光电转换技术已广泛地应用在各行各业,但是光电转换电路的测试较为麻烦。已有的测试方法较为繁琐,而且测试过程中会引入人为等不确定因素,增加了测试的难度,降低了数据的准确性。Photoelectric technology is a high-tech that combines traditional optical technology with modern electronic technology and computer technology. With the continuous development and application of photoelectric conversion technology, photoelectric conversion technology is playing an increasingly important role in people's daily life. Since the discovery of the photoelectric effect, photoelectric conversion devices have been developed by leaps and bounds. At present, various photoelectric conversion technologies have been widely used in various industries, but the testing of photoelectric conversion circuits is more troublesome. The existing testing methods are relatively cumbersome, and uncertain factors such as human beings will be introduced in the testing process, which increases the difficulty of testing and reduces the accuracy of data.
发明内容Contents of the invention
为了解决现有技术存在的上述缺陷,本发明提供了一种光电转换电路测试工装及测试方法,主要应用于光电转换板的测试。In order to solve the above-mentioned defects in the prior art, the present invention provides a photoelectric conversion circuit testing tool and testing method, which are mainly used in the testing of photoelectric conversion boards.
为实现上述目的,本发明的技术方案如下:To achieve the above object, the technical scheme of the present invention is as follows:
一种光电转换电路测试工装,包括:单片机、RS-232串口通讯模块、JTAG仿真接口模块、按键控制模块、LED/LCD显示模块、电源模块、光电转换模块、上位机;A photoelectric conversion circuit testing tool, comprising: a single-chip microcomputer, an RS-232 serial communication module, a JTAG simulation interface module, a button control module, an LED/LCD display module, a power supply module, a photoelectric conversion module, and a host computer;
所述的电源模块与单片机、RS-232串口通讯模块、JTAG仿真接口模块、按键控制模块、LED/LCD显示模块、光电转换模块连接;Described power supply module is connected with single-chip microcomputer, RS-232 serial port communication module, JTAG emulation interface module, button control module, LED/LCD display module, photoelectric conversion module;
所述的RS-232串口通讯模块分别与单片机和上位机连接;The RS-232 serial port communication module is connected with the single-chip microcomputer and the host computer respectively;
所述的JTAG仿真接口模块分别与单片机和上位机连接;Described JTAG emulation interface module is connected with single-chip microcomputer and host computer respectively;
所述的按键控制模块、LED/LCD显示模块、光电转换模块均与单片机相连。The key control module, LED/LCD display module and photoelectric conversion module are all connected with the single chip microcomputer.
一种光电转换电路的测试方法,是用上述工装进行测试,步骤如下:A test method for a photoelectric conversion circuit is to use the above-mentioned tooling for testing, and the steps are as follows:
a、上电后,单片机通过GPIO单元发出Fault信号,该信号通过光电转换模块转换成光信号,作为光电转换板Fault信号转换电路的输入,Fault信号转换电路将光信号转换为电信号,输入至单片机中,经单片机的处理单元处理后,将结果记录下来;a. After power on, the microcontroller sends out a Fault signal through the GPIO unit, which is converted into an optical signal by the photoelectric conversion module and used as the input of the Fault signal conversion circuit of the photoelectric conversion board. The Fault signal conversion circuit converts the optical signal into an electrical signal and inputs it to In the single-chip microcomputer, after being processed by the processing unit of the single-chip microcomputer, the result is recorded;
b、单片机通过PWM单元发出PWM信号,作为光电转换板PWM信号转换电路的输入,PWM信号转换电路将电信号转换为光信号,输入至光纤收发器中,经过光纤收发器转换为电信号进入单片机,单片机处理单元处理后,将结果记录下来;b. The single-chip microcomputer sends a PWM signal through the PWM unit, which is used as the input of the PWM signal conversion circuit of the photoelectric conversion board. The PWM signal conversion circuit converts the electrical signal into an optical signal, inputs it into the optical fiber transceiver, and converts the electrical signal into the single-chip microcomputer through the optical fiber transceiver. , after being processed by the processing unit of the single-chip microcomputer, the result is recorded;
c、单片机通过PWM单元发出PWM模拟温度信号,该信号可通过按键控制模块调节输出频率,作为光电转换板温度频率转电压电路的输入,单片机接收光电转换板温度频率转电压电路输出的反馈电信号,电信号进入单片机后,经过单片机A/D单元、处理单元处理后,将结果记录下来;c. The single-chip microcomputer sends a PWM analog temperature signal through the PWM unit, and the signal can adjust the output frequency through the button control module, which is used as the input of the temperature-frequency-to-voltage circuit of the photoelectric conversion board, and the single-chip microcomputer receives the feedback electrical signal output by the temperature-frequency-to-voltage circuit of the photoelectric conversion board , after the electrical signal enters the single-chip microcomputer, after being processed by the single-chip A/D unit and the processing unit, the result is recorded;
d、单片机将测试结果通过GPIO单元传送给显示模块,显示测试结果;d. The single-chip microcomputer transmits the test results to the display module through the GPIO unit, and displays the test results;
所述的光电转换板包括7组相同的光电转换电路,每组光电转换电路包括温度频率转电压电路、PWM信号转换电路和Fault信号转换电路。The photoelectric conversion board includes 7 groups of identical photoelectric conversion circuits, and each group of photoelectric conversion circuits includes a temperature-frequency conversion circuit, a PWM signal conversion circuit and a Fault signal conversion circuit.
所述的单片机采用STM32,RS-232采用MAX3232,电源芯片采用TEN3和LM1117,光纤收发器采用HFBR1521、HFBR2521,LED/LCD显示模块采用LCD1602。The single-chip microcomputer adopts STM32, the RS-232 adopts MAX3232, the power chip adopts TEN3 and LM1117, the optical fiber transceiver adopts HFBR1521 and HFBR2521, and the LED/LCD display module adopts LCD1602.
本发明的有益效果在于:本发明创造简化了光电转换电路的测试方法,连接电路后,只需拨动电源开关上电即可判断电路是否存在异常,大大节省了时间;且在测试过程中排除了人为因素,增加了测试的准确性。The beneficial effect of the present invention is that: the present invention simplifies the testing method of the photoelectric conversion circuit. After the circuit is connected, it is only necessary to toggle the power switch to power on to judge whether there is an abnormality in the circuit, which greatly saves time; Eliminates the human factor and increases the accuracy of the test.
附图说明Description of drawings
本发明共有附图6幅。The present invention has 6 accompanying drawings.
图1为一种光电转换电路测试工装及测试方法框图;Fig. 1 is a kind of photoelectric conversion circuit test equipment and test method block diagram;
图2为本发明中单片机的工作流程图;Fig. 2 is the work flowchart of single-chip microcomputer among the present invention;
图3为本发明中具体实施方式的软件工作框图;Fig. 3 is the software working block diagram of the specific embodiment in the present invention;
图4为电源模块原理图;Figure 4 is a schematic diagram of the power module;
图5为光电转换模块电路原理图;5 is a schematic diagram of the photoelectric conversion module circuit;
图6为每路光信号产生的原理图。Fig. 6 is a schematic diagram of the generation of each optical signal.
具体实施方式detailed description
下面结合本实施例对本发明进一步说明:Below in conjunction with this embodiment the present invention is further described:
一种光电转换电路测试工装,包括:单片机、RS-232串口通讯模块、JTAG仿真接口模块、按键控制模块、LED/LCD显示模块、电源模块、光电转换模块、上位机;A photoelectric conversion circuit testing tool, comprising: a single-chip microcomputer, an RS-232 serial communication module, a JTAG simulation interface module, a button control module, an LED/LCD display module, a power supply module, a photoelectric conversion module, and a host computer;
所述的电源模块与单片机、RS-232串口通讯模块、JTAG仿真接口模块、按键控制模块、LED/LCD显示模块、光电转换模块连接;Described power supply module is connected with single-chip microcomputer, RS-232 serial port communication module, JTAG emulation interface module, button control module, LED/LCD display module, photoelectric conversion module;
所述的RS-232串口通讯模块分别与单片机和上位机连接;The RS-232 serial port communication module is connected with the single-chip microcomputer and the host computer respectively;
所述的JTAG仿真接口模块分别与单片机和上位机连接;Described JTAG emulation interface module is connected with single-chip microcomputer and host computer respectively;
所述的按键控制模块、LED/LCD显示模块、光电转换模块均与单片机相连。The key control module, LED/LCD display module and photoelectric conversion module are all connected with the single-chip microcomputer.
一种光电转换电路的测试方法,是用上述工装进行测试,步骤如下:A test method for a photoelectric conversion circuit is to use the above-mentioned tooling for testing, and the steps are as follows:
a、上电后,单片机通过GPIO单元发出Fault信号,该信号通过光电转换模块转换成光信号,作为光电转换板Fault信号转换电路的输入,Fault信号转换电路将光信号转换为电信号,输入至单片机中,经单片机的处理单元处理后,将结果记录下来;a. After power on, the microcontroller sends out a Fault signal through the GPIO unit, which is converted into an optical signal by the photoelectric conversion module and used as the input of the Fault signal conversion circuit of the photoelectric conversion board. The Fault signal conversion circuit converts the optical signal into an electrical signal and inputs it to In the single-chip microcomputer, after being processed by the processing unit of the single-chip microcomputer, the result is recorded;
b、单片机通过PWM单元发出PWM信号,作为光电转换板PWM信号转换电路的输入,PWM信号转换电路将电信号转换为光信号,输入至光纤收发器中,经过光纤收发器转换为电信号进入单片机,单片机处理单元处理后,将结果记录下来;b. The single-chip microcomputer sends a PWM signal through the PWM unit, which is used as the input of the PWM signal conversion circuit of the photoelectric conversion board. The PWM signal conversion circuit converts the electrical signal into an optical signal, inputs it into the optical fiber transceiver, and converts the electrical signal into the single-chip microcomputer through the optical fiber transceiver. , after being processed by the processing unit of the single-chip microcomputer, the result is recorded;
c、单片机通过PWM单元发出PWM模拟温度信号,该信号可通过按键控制模块调节输出频率,作为光电转换板温度频率转电压电路的输入,单片机接收光电转换板温度频率转电压电路输出的反馈电信号,电信号进入单片机后,经过单片机A/D单元、处理单元处理后,将结果记录下来;c. The single-chip microcomputer sends a PWM analog temperature signal through the PWM unit, and the signal can adjust the output frequency through the button control module, which is used as the input of the temperature-frequency-to-voltage circuit of the photoelectric conversion board, and the single-chip microcomputer receives the feedback electrical signal output by the temperature-frequency-to-voltage circuit of the photoelectric conversion board , after the electrical signal enters the single-chip microcomputer, after being processed by the single-chip A/D unit and the processing unit, the result is recorded;
d、单片机将测试结果通过GPIO单元传送给显示模块,显示测试结果;d. The single-chip microcomputer transmits the test results to the display module through the GPIO unit, and displays the test results;
所述的光电转换板包括7组相同的光电转换电路,每组光电转换电路包括温度频率转电压电路、PWM信号转换电路和Fault信号转换电路,所述的PWM信号转换电路为两个。The photoelectric conversion board includes 7 groups of identical photoelectric conversion circuits, each group of photoelectric conversion circuits includes a temperature-frequency conversion circuit, a PWM signal conversion circuit and a Fault signal conversion circuit, and there are two PWM signal conversion circuits.
所述的单片机采用STM32,RS-232采用MAX3232,电源芯片采用TEN3和LM1117,光纤收发器采用HFBR1521、HFBR2521,LED/LCD显示模块采用LCD1602。The single-chip microcomputer adopts STM32, the RS-232 adopts MAX3232, the power chip adopts TEN3 and LM1117, the optical fiber transceiver adopts HFBR1521 and HFBR2521, and the LED/LCD display module adopts LCD1602.
使用时,拨动电源开关上电,通过显示结果判断电路是否存在异常。When in use, flip the power switch to power on, and judge whether the circuit is abnormal by displaying the results.
软件运行的步骤为:The steps to run the software are:
1、初始化:LED与PWM信号IO初始化,Fault信号IO初始化,温度信号IO初始化,DMA、ADC初始化;1. Initialization: LED and PWM signal IO initialization, Fault signal IO initialization, temperature signal IO initialization, DMA, ADC initialization;
2、Fault信号测试:单片机发出Fault信号,接收并判断光电转换板中的7组Fault反馈信号是否合格,记录其结果;2. Fault signal test: the single chip microcomputer sends a fault signal, receives and judges whether the 7 groups of fault feedback signals in the photoelectric conversion board are qualified, and records the result;
3、PWM信号测试:单片机发出PWM信号,接收并判断光电转换板中的PWM反馈信号是否合格,记录其结果,共测试14组PWM信号。3. PWM signal test: The microcontroller sends out PWM signals, receives and judges whether the PWM feedback signals in the photoelectric conversion board are qualified, records the results, and tests 14 sets of PWM signals in total.
4、PWM模拟温度信号测试:单片机发出PWM模拟温度信号,接收并判断光电转换板中的PWM模拟温度反馈信号是否在设定范围内,记录其结果,共测试7组温度信号。4. PWM analog temperature signal test: The microcontroller sends out PWM analog temperature signals, receives and judges whether the PWM analog temperature feedback signals in the photoelectric conversion board are within the set range, records the results, and tests 7 groups of temperature signals.
用LED亮灭显示测试结果:亮表示合格,灭表示不合格。The test result is displayed with the LED on and off: on means qualified, off means unqualified.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310604014.XA CN103616632B (en) | 2013-11-23 | 2013-11-23 | Photoelectric switching circuit test fixture and method of testing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310604014.XA CN103616632B (en) | 2013-11-23 | 2013-11-23 | Photoelectric switching circuit test fixture and method of testing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103616632A CN103616632A (en) | 2014-03-05 |
| CN103616632B true CN103616632B (en) | 2016-05-11 |
Family
ID=50167336
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310604014.XA Expired - Fee Related CN103616632B (en) | 2013-11-23 | 2013-11-23 | Photoelectric switching circuit test fixture and method of testing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103616632B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015169524A (en) * | 2014-03-06 | 2015-09-28 | 株式会社アドバンテスト | Test device, calibration device, calibration method, and test method |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011166431A (en) * | 2010-02-09 | 2011-08-25 | Anritsu Corp | Apparatus and method of measuring error rate |
| CN102710330A (en) * | 2012-05-22 | 2012-10-03 | 青岛四方车辆研究所有限公司 | Compact type PWM (pulse-width modulation) optical fiber converter |
| CN202565155U (en) * | 2012-05-21 | 2012-11-28 | 永济新时速电机电器有限责任公司 | Insulated gate bipolar transistor driving circuit |
| CN103064012A (en) * | 2012-12-31 | 2013-04-24 | 深圳安博电子有限公司 | Chip detector for digital electronic watches |
| CN203151495U (en) * | 2012-10-23 | 2013-08-21 | 众达光通科技(苏州)有限公司 | Detection device for optical transceiver module |
| CN103389453A (en) * | 2012-05-10 | 2013-11-13 | 鸿富锦精密工业(深圳)有限公司 | Photovoltaic conversion chip testing device and method |
-
2013
- 2013-11-23 CN CN201310604014.XA patent/CN103616632B/en not_active Expired - Fee Related
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011166431A (en) * | 2010-02-09 | 2011-08-25 | Anritsu Corp | Apparatus and method of measuring error rate |
| CN103389453A (en) * | 2012-05-10 | 2013-11-13 | 鸿富锦精密工业(深圳)有限公司 | Photovoltaic conversion chip testing device and method |
| CN202565155U (en) * | 2012-05-21 | 2012-11-28 | 永济新时速电机电器有限责任公司 | Insulated gate bipolar transistor driving circuit |
| CN102710330A (en) * | 2012-05-22 | 2012-10-03 | 青岛四方车辆研究所有限公司 | Compact type PWM (pulse-width modulation) optical fiber converter |
| CN203151495U (en) * | 2012-10-23 | 2013-08-21 | 众达光通科技(苏州)有限公司 | Detection device for optical transceiver module |
| CN103064012A (en) * | 2012-12-31 | 2013-04-24 | 深圳安博电子有限公司 | Chip detector for digital electronic watches |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103616632A (en) | 2014-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107526029A (en) | The detecting system and detection method of a kind of circuit board | |
| CN103616632B (en) | Photoelectric switching circuit test fixture and method of testing | |
| CN205067682U (en) | Integrated form intelligent test system of photovoltaic inverter integrated circuit board | |
| CN204028696U (en) | Testing device and system for air conditioner wire controller | |
| CN204362085U (en) | Industrial controlling intelligent gateway | |
| CN100458966C (en) | Integrated testing system for hard disk | |
| CN204013555U (en) | A kind of interchangeability testing apparatus of power information acquisition terminal telecommunication unit | |
| CN203941449U (en) | A safety and stability control device for electric power test and research system | |
| CN203084104U (en) | OTP burning and upper/lower-limit voltage detecting system of liquid crystal display module | |
| CN209182411U (en) | A signal verification device | |
| CN103293406B (en) | Intelligent temperature rise test system for electric appliance product and control method thereof | |
| CN203351177U (en) | OLED panel electrical property detection device based on modularization | |
| CN202661912U (en) | Portable programmable power supply device | |
| CN207557362U (en) | A kind of full production cycle automatic test device of distribution terminal | |
| CN205485608U (en) | Automatic testing arrangement of converter control panel | |
| CN207742298U (en) | A kind of chip ageing test device | |
| CN206479629U (en) | A kind of intelligent electric meter integration testing equipment | |
| CN210605391U (en) | A simulation test and training platform for uranium enrichment high-power intermediate frequency power control system | |
| CN203746391U (en) | LCM testing device based on virtual instrument | |
| CN204177955U (en) | The self-service calibrating installation of a kind of three-phase electric energy meter based on man-machine touth-interactive | |
| CN206420948U (en) | A kind of device of cabinet capacitor of frequency converter voltage detecting | |
| CN205880093U (en) | Extension test circuit structure of connector tester | |
| CN209231782U (en) | A multi-channel portable test device for servo system | |
| CN202160096U (en) | Power conversion board with non-standard interface | |
| CN209746377U (en) | ARM + FPGA-based electric energy quality universal control platform |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160511 |