CN211205523U - A photoelectric power meter - Google Patents

A photoelectric power meter Download PDF

Info

Publication number
CN211205523U
CN211205523U CN201922081350.6U CN201922081350U CN211205523U CN 211205523 U CN211205523 U CN 211205523U CN 201922081350 U CN201922081350 U CN 201922081350U CN 211205523 U CN211205523 U CN 211205523U
Authority
CN
China
Prior art keywords
circuit
pin
diode
voltage
resistor
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
Application number
CN201922081350.6U
Other languages
Chinese (zh)
Inventor
袁伟超
姜海明
谢康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201922081350.6U priority Critical patent/CN211205523U/en
Application granted granted Critical
Publication of CN211205523U publication Critical patent/CN211205523U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Amplifiers (AREA)

Abstract

The application discloses photoelectric power meter includes: the photoelectric conversion circuit, the gain selection circuit, the main controller and the display circuit; the photoelectric conversion circuit is used for converting the collected optical signal of the light source to be detected into a voltage signal; the gain selection circuit is used for comparing the voltage signal with a preset reference voltage and selecting the amplification factor for amplifying the voltage signal in the photoelectric conversion circuit according to the comparison result; the main controller is used for measuring the voltage signal amplified by the amplification factor to obtain corresponding optical power; the display circuit is used for displaying optical power, and solves the technical problems that an existing photoelectric power meter for manual gear shifting is troublesome to operate and easily burns out a circuit.

Description

一种光电功率计A photoelectric power meter

技术领域technical field

本申请涉及功率计技术领域,尤其涉及一种光电功率计。The present application relates to the technical field of power meters, and in particular, to an optoelectronic power meter.

背景技术Background technique

随着光通信行业的发展,对光电检测模块提出了较高的要求。对于光功率的检测,一般要求在0dBm到-30dBm甚至更大范围。With the development of the optical communication industry, higher requirements are put forward for the photoelectric detection module. For the detection of optical power, it is generally required to be in the range of 0dBm to -30dBm or even greater.

光电功率计是一种常用的光电检测模块。光电功率一般要求在0dBm到 -30dBm甚至更大范围,而现有利用光电二极管的“光电特性”的光功率计,是用手动换挡位,即改变放大倍数来实现不同功率的光检测。手动换挡的方式,操作麻烦,且容易烧毁电路。Photoelectric power meter is a commonly used photoelectric detection module. The photoelectric power is generally required to be in the range of 0dBm to -30dBm or even larger. However, the existing optical power meters using the "photoelectric characteristics" of photodiodes use manual shifting, that is, changing the magnification to realize photodetection of different powers. The manual shifting method is troublesome to operate, and it is easy to burn the circuit.

实用新型内容Utility model content

有鉴于此,本申请提供了一种光电功率计,解决了现有手动换挡的光电功率计操作麻烦,且容易烧毁电路的技术问题。In view of this, the present application provides an optoelectronic power meter, which solves the technical problems that the existing manual shifting optoelectronic power meter is troublesome to operate and easy to burn out the circuit.

本申请提供了一种光电功率计,包括:光电转换电路、增益选择电路主控制器和显示电路;The application provides a photoelectric power meter, including: a photoelectric conversion circuit, a gain selection circuit main controller and a display circuit;

所述光电转换电路,用于将采集到的待检测光源的光信号转换为电压信号;The photoelectric conversion circuit is used to convert the collected optical signal of the light source to be detected into a voltage signal;

所述增益选择电路,用于对比所述电压信号和预置参考电压,并根据对比结果选择所述光电转换电路中用于放大所述电压信号的放大倍数;The gain selection circuit is used to compare the voltage signal with a preset reference voltage, and select an amplification factor for amplifying the voltage signal in the photoelectric conversion circuit according to the comparison result;

所述主控制器,用于测量经由所述放大倍数放大后的所述电压信号,得到对应的光功率;the main controller, configured to measure the voltage signal amplified by the amplification factor to obtain the corresponding optical power;

所述显示电路,用于显示所述光功率。The display circuit is used for displaying the optical power.

可选地,所述增益选择电路包括:电压比较电路和自锁电路;Optionally, the gain selection circuit includes: a voltage comparison circuit and a self-locking circuit;

所述电压比较电路,用于对比所述电压信号和预置参考电压,得到对比结果;The voltage comparison circuit is used to compare the voltage signal with a preset reference voltage to obtain a comparison result;

所述自锁电路,用于将所述对比结果输入至所述光电转换电路,使得所述光电转换电路,根据所述比较结果选择放大所述电压信号的放大倍数。The self-locking circuit is configured to input the comparison result to the photoelectric conversion circuit, so that the photoelectric conversion circuit selects an amplification factor for amplifying the voltage signal according to the comparison result.

可选地,所述电压比较电路包括:电压比较器U1、继电器RL2和电压比较器U8;Optionally, the voltage comparison circuit includes: a voltage comparator U1, a relay RL2 and a voltage comparator U8;

所述自锁电路包括:第一自锁电路和第二自锁电路;The self-locking circuit includes: a first self-locking circuit and a second self-locking circuit;

所述电压比较器U1的正向输入端连接所述光电转换电路的输出端,输出端通过所述第一自锁电路连接至所述继电器RL2的引脚1;The positive input terminal of the voltage comparator U1 is connected to the output terminal of the photoelectric conversion circuit, and the output terminal is connected to the pin 1 of the relay RL2 through the first self-locking circuit;

所述继电器RL2的引脚2接地,引脚3连接所述光电转换电路的输出端,引脚4连接所述电压比较器U8的正向输入端;The pin 2 of the relay RL2 is grounded, the pin 3 is connected to the output end of the photoelectric conversion circuit, and the pin 4 is connected to the forward input end of the voltage comparator U8;

所述电压比较器U8的输出端通过所述第二自锁电路连接所述光电转换电路。The output end of the voltage comparator U8 is connected to the photoelectric conversion circuit through the second self-locking circuit.

可选地,所述第一自锁电路包括:继电器RL1、二极管D1、二极管D2、放大器U3和继电器RL5;Optionally, the first self-locking circuit includes: a relay RL1, a diode D1, a diode D2, an amplifier U3 and a relay RL5;

所述继电器RL1的引脚1连接所述电压比较器U1的输出端,引脚2接地,引脚3连接电源电压,引脚4连接所述放大器U3的正向输入端、所述二极管D1的正极和所述继电器RL5的引脚3;The pin 1 of the relay RL1 is connected to the output end of the voltage comparator U1, the pin 2 is grounded, the pin 3 is connected to the power supply voltage, and the pin 4 is connected to the forward input end of the amplifier U3 and the diode D1. Positive pole and pin 3 of the relay RL5;

所述二极管D1的负极连接所述二极管D2的正极;The cathode of the diode D1 is connected to the anode of the diode D2;

所述二极管D2的负极连接所述放大器U3的反向输入端;The cathode of the diode D2 is connected to the reverse input end of the amplifier U3;

所述放大器U3的输出端连接所述继电器RL2的引脚1;The output end of the amplifier U3 is connected to the pin 1 of the relay RL2;

所述继电器RL5的引脚1用于输入第一控制信号,引脚5连接所述继电器RL2的引脚1,引脚2和引脚4均接地。Pin 1 of the relay RL5 is used to input the first control signal, pin 5 is connected to the pin 1 of the relay RL2, and both pins 2 and 4 are grounded.

可选地,所述第二自锁电路包括:继电器RL3、二极管D4、二极管D5、放大器U9和继电器RL4;Optionally, the second self-locking circuit includes: relay RL3, diode D4, diode D5, amplifier U9 and relay RL4;

所述继电器RL3的引脚1连接所述电压比较器U8的输出端,引脚2接地,引脚3连接电源电压,引脚4连接所述放大器U9的正向输入端、所述二极管D4的正极和所述继电器RL4的引脚3;The pin 1 of the relay RL3 is connected to the output end of the voltage comparator U8, the pin 2 is grounded, the pin 3 is connected to the power supply voltage, and the pin 4 is connected to the forward input end of the amplifier U9 and the diode D4. Positive pole and pin 3 of the relay RL4;

所述二极管D4的负极连接所述二极管D5的正极;The cathode of the diode D4 is connected to the anode of the diode D5;

所述二极管D5的负极连接所述放大器U9的反向输入端;The cathode of the diode D5 is connected to the reverse input end of the amplifier U9;

所述放大器U9的输出端连接所述光电转换电路;The output end of the amplifier U9 is connected to the photoelectric conversion circuit;

所述继电器RL4的引脚1输入第二控制信号,引脚5连接所述光电转换电路,引脚2和引脚4均接地。Pin 1 of the relay RL4 inputs the second control signal, pin 5 is connected to the photoelectric conversion circuit, and both pins 2 and 4 are grounded.

可选地,还包括:峰值保持电路;Optionally, it also includes: a peak hold circuit;

所述峰值保持电路的输入端连接所述增益选择电路的输出端,输出端连接所述主控制器的输入端;The input end of the peak hold circuit is connected to the output end of the gain selection circuit, and the output end is connected to the input end of the main controller;

所述峰值保持电路,用于保持放大后的所述电压信号的峰值。The peak hold circuit is used for maintaining the peak value of the amplified voltage signal.

可选地,所述峰值保持电路包括:放大器U7、二极管D6、二极管D7、二极管D8、电容C20和电压比较器U10;Optionally, the peak hold circuit includes: an amplifier U7, a diode D6, a diode D7, a diode D8, a capacitor C20, and a voltage comparator U10;

所述放大器U7的正向输入端连接所述增益选择电路的输出端,反向输入端连接所述电压比较器U10的输出端和所述二极管D8的正极,输出端连接所述二极管D8的负极和所述二极管D6的正极;The forward input end of the amplifier U7 is connected to the output end of the gain selection circuit, the reverse input end is connected to the output end of the voltage comparator U10 and the anode of the diode D8, and the output end is connected to the cathode of the diode D8 and the anode of the diode D6;

所述二极管D6的负极连接所述二极管D7的正极;The cathode of the diode D6 is connected to the anode of the diode D7;

所述二极管D7的负极连接所述电容C20的第一端和所述电压比较器U10 的正向输入端;The cathode of the diode D7 is connected to the first end of the capacitor C20 and the forward input end of the voltage comparator U10;

所述电容C20的第二端接地;The second end of the capacitor C20 is grounded;

所述电压比较器U10的反向输入端连接所述电压比较器U10的输出端,输出端连接所述主控制器的输入端。The inverting input terminal of the voltage comparator U10 is connected to the output terminal of the voltage comparator U10, and the output terminal is connected to the input terminal of the main controller.

可选地,所述峰值保持电路还包括:三级管Q4、电阻R19和电阻R20;Optionally, the peak hold circuit further includes: a triode Q4, a resistor R19 and a resistor R20;

所述三级管的集电极连接所述二极管D7的负极,基级连接所述电阻R19 的第一端、电阻R20的第一端,发射极接地;The collector of the triode is connected to the cathode of the diode D7, the base is connected to the first end of the resistor R19 and the first end of the resistor R20, and the emitter is grounded;

所述电阻R20的第二端接地;The second end of the resistor R20 is grounded;

所述电阻R19的第二端用于输入放电信号。The second end of the resistor R19 is used for inputting a discharge signal.

可选地,光电二极管PIN、模拟开关、电阻R1、电阻R2和电阻R3;Optionally, photodiode PIN, analog switch, resistor R1, resistor R2 and resistor R3;

所述光电二极管PIN的输入端用于采集待检测光源的光信号,输出端分别连接所述电阻R1的第一端、所述电阻R2的第一端和所述电阻R3的第一端;The input end of the photodiode PIN is used to collect the light signal of the light source to be detected, and the output end is respectively connected to the first end of the resistor R1, the first end of the resistor R2 and the first end of the resistor R3;

所述电阻R1的第二端、所述电阻R2的第二端和所述电阻R3的第二端分别连接所述模拟开关的第一传输通道、第二传输通道和第三传输通道,其中所述电阻R1、所述电阻R2和所述电阻R3的阻值各不相同;The second end of the resistor R1, the second end of the resistor R2 and the second end of the resistor R3 are respectively connected to the first transmission channel, the second transmission channel and the third transmission channel of the analog switch, wherein the The resistance values of the resistance R1, the resistance R2 and the resistance R3 are different;

所述模拟开关的输入端连接有所述增益选择电路,输出端连接所述电压比较电路和所述主控制器。The input end of the analog switch is connected with the gain selection circuit, and the output end is connected with the voltage comparison circuit and the main controller.

可选地,所述光电转换电路还包括:放大器U4;Optionally, the photoelectric conversion circuit further includes: an amplifier U4;

所述放大器U4的反向输入端连接所述光电二极管PIN的输出端,正向输入端接地,输出端负反馈至所述放大器U4的反向输入端。The reverse input terminal of the amplifier U4 is connected to the output terminal of the photodiode PIN, the forward input terminal is grounded, and the output terminal is negatively fed back to the reverse input terminal of the amplifier U4.

从以上技术方案可以看出,本申请具有以下优点:As can be seen from the above technical solutions, the present application has the following advantages:

本申请提供的一种光电功率计,包括:光电转换电路、增益选择电路主控制器和显示电路;光电转换电路,用于将采集到的待检测光源的光信号转换为电压信号;增益选择电路,用于对比电压信号和预置参考电压,并根据对比结果选择光电转换电路中用于放大电压信号的放大倍数;主控制器,用于测量经由放大倍数放大后的电压信号,得到对应的光功率;显示电路,用于显示光功率。A photoelectric power meter provided by the present application includes: a photoelectric conversion circuit, a main controller of a gain selection circuit, and a display circuit; a photoelectric conversion circuit for converting a collected optical signal of a light source to be detected into a voltage signal; a gain selection circuit , used to compare the voltage signal and the preset reference voltage, and select the amplification factor used to amplify the voltage signal in the photoelectric conversion circuit according to the comparison result; the main controller is used to measure the voltage signal amplified by the amplification factor, and obtain the corresponding optical Power; display circuit for displaying optical power.

本申请中,在光电转换电路将检测到的光信号转换为电压信号后,增益选择电路根据该电压信号和预置参考电压的对比结果,自动地适应性地调整光电转换电路中用于放大电压信号的放大倍数,然后主控制器对放大后的电压信号进行测量的到光功率,最后由显示电路输出该光功率,相较于现有技术中手动换挡的光电功率计,操作简单,且保护了电路结构,从而解决了现有手动换挡的光电功率计操作麻烦,且容易烧毁电路的技术问题。In the present application, after the photoelectric conversion circuit converts the detected optical signal into a voltage signal, the gain selection circuit automatically and adaptively adjusts the voltage used for amplification in the photoelectric conversion circuit according to the comparison result between the voltage signal and the preset reference voltage The amplification factor of the signal, then the main controller measures the optical power of the amplified voltage signal, and finally the optical power is output by the display circuit. Compared with the manual shifting photoelectric power meter in the prior art, the operation is simple, and The circuit structure is protected, thereby solving the technical problems that the existing manual shift photoelectric power meter is troublesome to operate and easy to burn the circuit.

附图说明Description of drawings

图1为本申请实施例中一种光电功率计的结构示意图;1 is a schematic structural diagram of a photoelectric power meter in an embodiment of the application;

图2为本申请实施例中增益选择电路的结构示意图;2 is a schematic structural diagram of a gain selection circuit in an embodiment of the present application;

图3为本申请实施例中峰值保持电路的结构示意图;3 is a schematic structural diagram of a peak hold circuit in an embodiment of the application;

图4为本申请实施例中光电转换电路的结构示意图;4 is a schematic structural diagram of a photoelectric conversion circuit in an embodiment of the application;

图5为本申请实施例中一种光电功率计的应用例的流程示意图。FIG. 5 is a schematic flowchart of an application example of an optoelectronic power meter according to an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例提供了一种光电功率计,解决了现有手动换挡的光电功率计操作麻烦,且容易烧毁电路的技术问题。The embodiment of the present application provides an optoelectronic power meter, which solves the technical problems that the existing manual shifting optoelectronic power meter is troublesome to operate and easy to burn out the circuit.

下面将结合附图对本申请实施例的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请实施例一部分实施例,而不是全部的实施例。基于本申请实施例中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。The technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by persons of ordinary skill in the art without creative work fall within the protection scope of the embodiments of the present application.

在本申请实施例的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请实施例和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请实施例的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the embodiments of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" The orientation or positional relationship indicated by ” etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the embodiments of the present application and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, It is constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the embodiments of the present application. Furthermore, the terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

在本申请实施例的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可更换连接,或一体地连接,可以是机械连接,也可以是电连接,可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请实施例中的具体含义。In the description of the embodiments of the present application, it should be noted that, unless otherwise expressly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it may be a fixed connection or a The interchangeable connection, or the integral connection, can be a mechanical connection, an electrical connection, a direct connection, an indirect connection through an intermediate medium, or an internal communication between two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the embodiments of the present application in specific situations.

以便于理解,下面对本申请提供的一种光电功率计进行详细说明。For ease of understanding, a photoelectric power meter provided by the present application will be described in detail below.

本申请实施例提供一种光电功率计的实施例一,具体请参阅图1。The embodiment of the present application provides a first embodiment of an optoelectronic power meter, and please refer to FIG. 1 for details.

本实施例中的光电功率计,包括:光电转换电路、增益选择电路主控制器和显示电路;光电转换电路,用于将采集到的待检测光源的光信号转换为电压信号;增益选择电路,用于对比电压信号和预置参考电压,并根据对比结果选择光电转换电路中用于放大电压信号的放大倍数;主控制器,用于测量经由放大倍数放大后的电压信号,得到对应的光功率;显示电路,用于显示光功率。The photoelectric power meter in this embodiment includes: a photoelectric conversion circuit, a gain selection circuit main controller and a display circuit; a photoelectric conversion circuit for converting the collected light signal of the light source to be detected into a voltage signal; a gain selection circuit, It is used to compare the voltage signal and the preset reference voltage, and select the amplification factor used to amplify the voltage signal in the photoelectric conversion circuit according to the comparison result; the main controller is used to measure the voltage signal amplified by the amplification factor to obtain the corresponding optical power ; Display circuit for displaying optical power.

本实施例中,在光电转换电路将检测到的光信号转换为电压信号后,增益选择电路根据该电压信号和预置参考电压的对比结果,自动地适应性地调整光电转换电路中用于放大电压信号的放大倍数,然后主控制器对放大后的电压信号进行测量的到光功率,最后由显示电路输出该光功率,相较于现有技术中手动换挡的光电功率计,操作简单,且保护了电路结构,从而解决了现有手动换挡的光电功率计操作麻烦,且容易烧毁电路的技术问题。In this embodiment, after the photoelectric conversion circuit converts the detected optical signal into a voltage signal, the gain selection circuit automatically and adaptively adjusts the signal used for amplification in the photoelectric conversion circuit according to the comparison result between the voltage signal and the preset reference voltage. The amplification factor of the voltage signal, then the main controller measures the optical power of the amplified voltage signal, and finally the optical power is output by the display circuit. Compared with the manual shifting photoelectric power meter in the prior art, the operation is simple, Moreover, the circuit structure is protected, thereby solving the technical problems that the existing manual shifting photoelectric power meter is troublesome to operate and easy to burn the circuit.

以上为本申请实施例提供的一种光电功率计的实施例一,以下为本申请实施例提供的一种光电功率计的实施例二,具体请参阅图1。The above is the first embodiment of an optoelectronic power meter provided by the embodiment of the present application, and the following is the second embodiment of an optoelectronic power meter provided by the embodiment of the present application, please refer to FIG. 1 for details.

本实施例中的光电功率计包括:光电转换电路、增益选择电路主控制器和显示电路;光电转换电路,用于将采集到的待检测光源的光信号转换为电压信号;增益选择电路,用于对比电压信号和预置参考电压,并根据对比结果选择光电转换电路中用于放大电压信号的放大倍数;主控制器,用于测量经由放大倍数放大后的电压信号,得到对应的光功率;显示电路,用于显示光功率。The photoelectric power meter in this embodiment includes: a photoelectric conversion circuit, a gain selection circuit main controller, and a display circuit; a photoelectric conversion circuit for converting the collected optical signal of the light source to be detected into a voltage signal; a gain selection circuit for For comparing the voltage signal and the preset reference voltage, and selecting the amplification factor used to amplify the voltage signal in the photoelectric conversion circuit according to the comparison result; the main controller is used to measure the voltage signal amplified by the amplification factor to obtain the corresponding optical power; Display circuit for displaying optical power.

具体地,如图2所示,增益选择电路包括:电压比较电路和自锁电路;电压比较电路,用于对比电压信号和预置参考电压,得到对比结果;自锁电路,用于将对比结果输入至光电转换电路,使得光电转换电路,根据比较结果选择放大电压信号的放大倍数。Specifically, as shown in FIG. 2 , the gain selection circuit includes: a voltage comparison circuit and a self-locking circuit; a voltage comparison circuit for comparing the voltage signal and a preset reference voltage to obtain a comparison result; a self-locking circuit for comparing the comparison result Input to the photoelectric conversion circuit, so that the photoelectric conversion circuit selects the amplification factor of the amplified voltage signal according to the comparison result.

具体地,如图1和图2所示,电压比较电路包括:电压比较器U1、继电器RL2和电压比较器U8;自锁电路包括:第一自锁电路和第二自锁电路;电压比较器U1的正向输入端连接光电转换电路的输出端,输出端通过第一自锁电路连接至继电器RL2的引脚1;继电器RL2的引脚2接地,引脚3连接光电转换电路的输出端,引脚4连接电压比较器U8的正向输入端;电压比较器 U8的输出端通过第二自锁电路连接光电转换电路。Specifically, as shown in FIG. 1 and FIG. 2 , the voltage comparison circuit includes: a voltage comparator U1, a relay RL2 and a voltage comparator U8; the self-locking circuit includes: a first self-locking circuit and a second self-locking circuit; the voltage comparator The positive input end of U1 is connected to the output end of the photoelectric conversion circuit, and the output end is connected to the pin 1 of the relay RL2 through the first self-locking circuit; the pin 2 of the relay RL2 is grounded, and the pin 3 is connected to the output end of the photoelectric conversion circuit, Pin 4 is connected to the positive input end of the voltage comparator U8; the output end of the voltage comparator U8 is connected to the photoelectric conversion circuit through the second self-locking circuit.

需要说明的是,本实施例中电压比较电路,利用运放构成比较器组成。为了实时了解ADC参考电压和放大电路的大小关系以避免超出量程,故用电压比较电路对比这两者的大小。当放大电压(放大后的电压信号,简称为放大电压)>参考电压时,则输出正向最大不失真电压;当放大电压<参考电压时,则输出反向最大不失真电压。如果采用的是单电源供电运放,即运放的反向供电电源接地。则比较器要么输出最大正向不失真电压,要么输出0,等效输出“0”“1”的数字信号。该种电压比较方式相较于单片机采集并判断的方式,采集时间短,故可以响应于光信号变动较快的情形。It should be noted that, the voltage comparison circuit in this embodiment is composed of an operational amplifier to form a comparator. In order to understand the relationship between the ADC reference voltage and the amplifier circuit in real time to avoid exceeding the range, a voltage comparison circuit is used to compare the size of the two. When the amplified voltage (amplified voltage signal, referred to as the amplified voltage for short) > the reference voltage, the maximum forward undistorted voltage is output; when the amplified voltage < the reference voltage, the reverse maximum undistorted voltage is output. If a single power supply op amp is used, the reverse power supply of the op amp is grounded. Then the comparator either outputs the maximum forward undistorted voltage, or outputs 0, which is equivalent to a digital signal of "0" and "1". Compared with the method of collecting and judging by the single-chip microcomputer, this voltage comparison method has a short acquisition time, so it can respond to the situation that the optical signal changes rapidly.

可以理解的是,本实施例中因为三个放大倍数的选择,即反馈电阻有三个,不同的阻值代表不同的放大倍数。而电路的设计思想是,默认情况下,反馈电阻选100K,因为测的是微弱小信号,所以放大倍数要足够大。然后就会进入比较电路,当微弱小信号放大100K倍即105倍时,转换得到的电压高于参考电压,此时不能将电压信号对ADC传输,否则容易使主控制器烧坏,所以就换一个反馈电阻10K的,即转换放大倍数,但是转换得到的电压,如果仍然大于参考电压,则再转为1k的。It can be understood that, because of the selection of three magnifications in this embodiment, that is, there are three feedback resistors, different resistance values represent different magnifications. The design idea of the circuit is that, by default, the feedback resistor is 100K, because the measurement is a weak and small signal, so the magnification should be large enough. Then it will enter the comparison circuit. When the weak and small signal is amplified by 100K times, that is, 105 times, the converted voltage is higher than the reference voltage. At this time, the voltage signal cannot be transmitted to the ADC, otherwise the main controller will be easily burned out, so replace it. A feedback resistor of 10K, that is, the conversion magnification, but if the converted voltage is still greater than the reference voltage, it will be converted to 1k.

在工作时,比较次序是先比较电压比较器U1再比电压比较器U8。因为如果此时转换得到的放大电压高于参考电压时,电压比较器U1输出高电平,自锁电路将其锁住为高电平。这个高电平控制继电器RL2,使电压信号能进入电压比较器U8做进一步比较。During operation, the comparison sequence is to compare the voltage comparator U1 first and then compare the voltage comparator U8. Because if the amplified voltage converted at this time is higher than the reference voltage, the voltage comparator U1 outputs a high level, and the self-locking circuit locks it to a high level. This high level controls relay RL2, enabling the voltage signal to enter voltage comparator U8 for further comparison.

具体地,如图1和图2所示,第一自锁电路包括:继电器RL1、二极管 D1、二极管D2、放大器U3和继电器RL5;继电器RL1的引脚1连接电压比较器U1的输出端,引脚2接地,引脚3连接电源电压,引脚4连接放大器 U3的正向输入端、二极管D1的正极和继电器RL5的引脚3;二极管D1的负极连接二极管D2的正极;二极管D2的负极连接放大器U3的反向输入端;放大器U3的输出端连接继电器RL2的引脚1;继电器RL5的引脚1用于输入第一控制信号,引脚5连接继电器RL2的引脚1,引脚2和引脚4均接地。Specifically, as shown in Figures 1 and 2, the first self-locking circuit includes: a relay RL1, a diode D1, a diode D2, an amplifier U3 and a relay RL5; the pin 1 of the relay RL1 is connected to the output end of the voltage comparator U1, leading to Pin 2 is grounded, pin 3 is connected to the power supply voltage, pin 4 is connected to the forward input of amplifier U3, the positive electrode of diode D1 and pin 3 of relay RL5; the negative electrode of diode D1 is connected to the positive electrode of diode D2; the negative electrode of diode D2 is connected The reverse input end of the amplifier U3; the output end of the amplifier U3 is connected to the pin 1 of the relay RL2; the pin 1 of the relay RL5 is used to input the first control signal, the pin 5 is connected to the pin 1 of the relay RL2, the pin 2 and Pin 4 is both grounded.

第一自锁电路的输出端还连接有电阻R11和电阻R12,放大器U9的反向输入端还连接有电阻R9和电阻R10。The output end of the first self-locking circuit is also connected with a resistor R11 and a resistor R12, and the inverting input end of the amplifier U9 is also connected with a resistor R9 and a resistor R10.

需要说明的是,如图1和图2所示,第二自锁电路包括:继电器RL3、二极管D4、二极管D5、放大器U9和继电器RL4;继电器RL3的引脚1连接电压比较器U8的输出端,引脚2接地,引脚3连接电源电压,引脚4连接放大器U9的正向输入端、二极管D4的正极和继电器RL4的引脚3;二极管 D4的负极连接二极管D5的正极;二极管D5的负极连接放大器U9的反向输入端;放大器U9的输出端连接光电转换电路;继电器RL4的引脚1输入第二控制信号,引脚5连接光电转换电路,引脚2和引脚4均接地。It should be noted that, as shown in Figures 1 and 2, the second self-locking circuit includes: relay RL3, diode D4, diode D5, amplifier U9 and relay RL4; pin 1 of relay RL3 is connected to the output end of voltage comparator U8 , pin 2 is grounded, pin 3 is connected to the power supply voltage, pin 4 is connected to the positive input of amplifier U9, the anode of diode D4 and pin 3 of relay RL4; the cathode of diode D4 is connected to the anode of diode D5; the anode of diode D5 The negative pole is connected to the reverse input end of the amplifier U9; the output end of the amplifier U9 is connected to the photoelectric conversion circuit; the pin 1 of the relay RL4 inputs the second control signal, the pin 5 is connected to the photoelectric conversion circuit, and the pins 2 and 4 are both grounded.

第二自锁电路的输出端还连接有电阻R15和电阻R16,放大器U9的反向输入端还连接有电阻R13和电阻R14。The output end of the second self-locking circuit is also connected with a resistor R15 and a resistor R16, and the inverting input end of the amplifier U9 is also connected with a resistor R13 and a resistor R14.

需要说明的是,当放大电压>参考电压时,电压比较电路输出正向电压,从而改变模拟开关的传输通道,因此这样的结果是脉冲式的。但是模拟开关的通道选择脚需要的是电平式的,因此需要一个“自锁”电路,让其始终为高电平。于是,设计一个“自锁”电路。It should be noted that when the amplified voltage is greater than the reference voltage, the voltage comparison circuit outputs a forward voltage, thereby changing the transmission channel of the analog switch, so the result is pulsed. However, the channel selection pin of the analog switch needs to be level, so it needs a "self-locking" circuit to keep it high all the time. Therefore, a "self-locking" circuit is designed.

当放大电压高于参考电压时,例如电压比较器U8中的正向输入端输入的就是转换得到的电压,如果比反向输入端输入的参考电压高,则电压比较器 U8输出的是该放大器的正电源电压值,即+5V。对于继电器RL3来说,左边形成了通路,于是把衔铁吸引,继电器内部的开关闭合,+5V接入自锁定电路。对于U9来说,反向输入端接入的是经过对5V分压得到的2.5V电压,而U9的正向输入端和反向输入端是通过二极管D4和D5连接的,而二极管导通电压为0.7V左右,所以正向输入端的电压Uin+会比反向输入端Uin-的电压高1.4V左右,即Uin+=Uin-+2*0.7,而U9通过RL4构成正反馈回路,所以会导致U9一直对电压进行放大,直到饱和,即输出正电源电压值5V,对于RL4而言,P1.5是控制这个自锁电路停止工作的。因为当单片机P1.5脚输出高电平时,与地形成通路,于是把RL4的衔铁往下吸引,U9就没有了正反馈,而另外RL3也断开了,所以U9的输出慢慢地降为0V,等待下一次比较。When the amplified voltage is higher than the reference voltage, for example, the input of the forward input terminal of the voltage comparator U8 is the converted voltage. If it is higher than the reference voltage input by the reverse input terminal, the output of the voltage comparator U8 is the amplifier. The positive power supply voltage value, that is, +5V. For the relay RL3, a path is formed on the left side, so the armature is attracted, the switch inside the relay is closed, and +5V is connected to the self-locking circuit. For U9, the reverse input terminal is connected to the 2.5V voltage obtained by dividing 5V, while the forward input terminal and reverse input terminal of U9 are connected through diodes D4 and D5, and the diode conducts voltage is about 0.7V, so the voltage U in+ of the forward input terminal will be about 1.4V higher than the voltage of the reverse input terminal U in- , that is, U in+ =U in- +2*0.7, and U9 forms a positive feedback loop through RL4, Therefore, U9 will always amplify the voltage until saturation, that is, the output positive power supply voltage value is 5V. For RL4, P1.5 controls the self-locking circuit to stop working. Because when the P1.5 pin of the single-chip microcomputer outputs a high level, it forms a path with the ground, so the armature of RL4 is attracted downward, U9 has no positive feedback, and RL3 is also disconnected, so the output of U9 is slowly reduced to 0V, waiting for the next comparison.

需要说明的是,对于峰值保持电路的输入而言,因为放大电压是波动的,所以如果ADC的转换时间不够快,容易导致误判/误测。如图1和图3所示,本实施例中的光电功率计还包括:峰值保持电路;峰值保持电路的输入端连接增益选择电路的输出端,输出端连接主控制器的输入端;峰值保持电路,用于保持放大后的电压信号的峰值。It should be noted that, for the input of the peak hold circuit, because the amplified voltage fluctuates, if the conversion time of the ADC is not fast enough, it is easy to cause misjudgment/misdetection. As shown in FIG. 1 and FIG. 3 , the photoelectric power meter in this embodiment further includes: a peak hold circuit; the input end of the peak hold circuit is connected to the output end of the gain selection circuit, and the output end is connected to the input end of the main controller; A circuit for maintaining the peak value of the amplified voltage signal.

具体地,峰值保持电路包括:放大器U7、二极管D6、二极管D7、二极管D8、电容C20和电压比较器U10;放大器U7的正向输入端连接增益选择电路的输出端,反向输入端连接电压比较器U10的输出端和二极管D8的正极,输出端连接二极管D8的负极和二极管D6的正极;二极管D6的负极连接二极管D7的正极;二极管D7的负极连接电容C20的第一端和电压比较器U10的正向输入端;电容C20的第二端接地;电压比较器U10的反向输入端连接电压比较器U10的输出端,输出端连接主控制器的输入端。Specifically, the peak hold circuit includes: an amplifier U7, a diode D6, a diode D7, a diode D8, a capacitor C20 and a voltage comparator U10; the forward input end of the amplifier U7 is connected to the output end of the gain selection circuit, and the reverse input end is connected to the voltage comparator The output terminal of the device U10 and the anode of the diode D8, the output terminal is connected to the cathode of the diode D8 and the anode of the diode D6; the cathode of the diode D6 is connected to the anode of the diode D7; the cathode of the diode D7 is connected to the first terminal of the capacitor C20 and the voltage comparator U10 The forward input terminal of the capacitor C20 is grounded; the reverse input terminal of the voltage comparator U10 is connected to the output terminal of the voltage comparator U10, and the output terminal is connected to the input terminal of the main controller.

需要说明的是,当输入放大电压时,因为放大器U7的输出脚6脚的电压高于电容C20的电压,二极管D6和二极管D7正向导通,于是对电容C20充电,C20能够充到这个放大电压的大小,当小于输入的放大电压时,即6脚电压低于C20两端的电压,由于二极管的单向导通性,则输入电压不能对电容充电,于是从后面来看,输出的仍是和输入保持不变的放大电压。It should be noted that when the amplified voltage is input, because the voltage of the output pin 6 of the amplifier U7 is higher than the voltage of the capacitor C20, the diode D6 and the diode D7 conduct forward, so the capacitor C20 is charged, and C20 can be charged to this amplified voltage When it is smaller than the input amplifying voltage, that is, the voltage of pin 6 is lower than the voltage across C20, due to the unidirectional conductivity of the diode, the input voltage cannot charge the capacitor, so from the back, the output is still the same as the input. maintain constant amplification voltage.

进一步地,为了防止电容C20上的电压不能及时外泄导致下一次检测有误差,峰值保持电路还包括:三级管Q4、电阻R19和电阻R20;三级管的集电极连接二极管D7的负极,基级连接电阻R19的第一端、电阻R20的第一端,发射极接地;电阻R20的第二端接地;电阻R19的第二端用于输入放电信号。Further, in order to prevent the voltage on the capacitor C20 from not leaking out in time to cause errors in the next detection, the peak hold circuit also includes: a triode Q4, a resistor R19 and a resistor R20; the collector of the triode is connected to the cathode of the diode D7, The base stage is connected to the first end of the resistor R19 and the first end of the resistor R20, and the emitter is grounded; the second end of the resistor R20 is grounded; the second end of the resistor R19 is used to input a discharge signal.

可以理解的是,为了保持电路结构稳定性,峰值保持电路还可以连接有电容C15、电容C16、电容C17、电容C18、电容C19、电阻R17和电阻R18。It can be understood that, in order to maintain the stability of the circuit structure, the peak hold circuit may also be connected with a capacitor C15, a capacitor C16, a capacitor C17, a capacitor C18, a capacitor C19, a resistor R17 and a resistor R18.

需要说明的是,三级管Q4、电阻R19和电阻R20构成放电电路,即P1.7 控制的电阻R19,电阻R20,三级管Q4组成,当P1.7输出放电信号,即高电平时,Q4导通,C20对地放电。It should be noted that transistor Q4, resistor R19 and resistor R20 form a discharge circuit, that is, resistor R19 controlled by P1.7, resistor R20, and transistor Q4. When P1.7 outputs a discharge signal, that is, a high level, Q4 is turned on and C20 is discharged to ground.

需要说明的是,如图4所示,光电转换电路包括:光电二极管PIN、模拟开关、电阻R1、电阻R2和电阻R3;光电二极管PIN的输入端用于采集待检测光源的光信号,输出端分别连接电阻R1的第一端、电阻R2的第一端和电阻R3的第一端;电阻R1的第二端、电阻R2的第二端和电阻R3的第二端分别连接模拟开关的第一传输通道、第二传输通道和第三传输通道,其中电阻 R1、电阻R2和电阻R3的阻值各不相同;模拟开关的输入端连接有增益选择电路,输出端连接电压比较电路和主控制器。It should be noted that, as shown in Figure 4, the photoelectric conversion circuit includes: a photodiode PIN, an analog switch, a resistor R1, a resistor R2 and a resistor R3; the input end of the photodiode PIN is used to collect the optical signal of the light source to be detected, and the output end Connect the first end of the resistor R1, the first end of the resistor R2 and the first end of the resistor R3 respectively; the second end of the resistor R1, the second end of the resistor R2 and the second end of the resistor R3 are respectively connected to the first end of the analog switch. The transmission channel, the second transmission channel and the third transmission channel, wherein the resistance values of the resistance R1, the resistance R2 and the resistance R3 are different; the input end of the analog switch is connected with the gain selection circuit, and the output end is connected with the voltage comparison circuit and the main controller .

进一步地,光电转换电路还包括:放大器U4;放大器U4的反向输入端连接光电二极管PIN的输出端,正向输入端接地,输出端负反馈至放大器U4 的反向输入端。Further, the photoelectric conversion circuit further includes: an amplifier U4; the reverse input terminal of the amplifier U4 is connected to the output terminal of the photodiode PIN, the forward input terminal is grounded, and the output terminal is negatively fed back to the reverse input terminal of the amplifier U4.

需要说明的是,放大器U4连接有负反馈回路,所以具有“虚短”和“虚断”的特性,而正输入端接地,即对地电位为0V。所以,由“虚短”特性可知,反向输入端的电压也为0V。同时,由“虚断”特性得知反向输入端的输入电流也为0A。所以,可得输入电流Iin与输出电压Vout的关系为:It should be noted that the amplifier U4 is connected with a negative feedback loop, so it has the characteristics of "virtual short" and "virtual off", and the positive input terminal is grounded, that is, the potential to ground is 0V. Therefore, according to the "virtual short" characteristic, the voltage at the reverse input terminal is also 0V. At the same time, the input current of the reverse input terminal is also 0A from the "virtual break" characteristic. Therefore, the relationship between the input current I in and the output voltage V out can be obtained as:

Vout=Iin*R,V out =I in *R,

式中,R为选择的反馈电阻对应的阻值。In the formula, R is the resistance value corresponding to the selected feedback resistor.

可以理解的是,如图4所示,为了电路结构稳定,光电转换电路中还连接有电容C7、电容C2和电容C1。It can be understood that, as shown in FIG. 4 , in order to stabilize the circuit structure, a capacitor C7 , a capacitor C2 and a capacitor C1 are also connected to the photoelectric conversion circuit.

具体地,本实施例中的主控制器采用STC12C5A芯片,它是增强版的8051 单片机,具有高速、低功耗、超强抗干扰的优点,而且价格低廉,可降低产品制作成本。Specifically, the main controller in this embodiment adopts the STC12C5A chip, which is an enhanced version of the 8051 single-chip microcomputer, which has the advantages of high speed, low power consumption, and strong anti-interference, and is low in price, which can reduce product manufacturing costs.

具体地,本实施例中的显示电路LCD12864作为显示屏幕,将光功率结果在屏幕上显示。因为二极管的电流对输入光的响应关系是手册上给出的,或者已经自行测量好的。所以程序中只要把所检测的ADC值转换为对应的模拟电压值,然后把模拟电压值除以放大倍数,得到光响应电流值,由对应关系可得光功率。Specifically, the display circuit LCD12864 in this embodiment is used as a display screen to display the optical power result on the screen. Because the response of the diode's current to the input light is given in the manual, or it has been measured by itself. Therefore, in the program, as long as the detected ADC value is converted into the corresponding analog voltage value, and then the analog voltage value is divided by the magnification to obtain the photoresponse current value, and the optical power can be obtained from the corresponding relationship.

如图5所示,本实施例中的光功率计的工作原理为:首先PIN二极管接收到由待检测光源发出的光,响应出相应的光电流。然后光电流就进入放大器U4,因为对模拟开关的传输通道A脚供以正电源,即始终为高电平,所以模拟开关的默认的传输通道为通道1,即选择电阻R3作为反馈电阻,此时经传输通道一输出放大电压。然后进入电压比较器U1,如果放大电压<参考电压Vref,则U1输出为负电源电压数值,而U1的负电源端接地,所以此时输出为低电平0V,模拟开关的传输通道不变。然后放大电压经由峰值保持电路保持稳定,再主控制器进行ADC,从而检测出峰值电压,并显示检测的光功率值。As shown in FIG. 5 , the working principle of the optical power meter in this embodiment is as follows: first, the PIN diode receives the light emitted by the light source to be detected, and responds to the corresponding photocurrent. Then the photocurrent enters the amplifier U4, because the positive power supply is supplied to the transmission channel A pin of the analog switch, that is, it is always high, so the default transmission channel of the analog switch is channel 1, that is, the resistor R3 is selected as the feedback resistor. The amplified voltage is output through a transmission channel. Then enter the voltage comparator U1. If the amplified voltage is less than the reference voltage Vref, the output of U1 is the negative power supply voltage value, and the negative power supply terminal of U1 is grounded, so the output is low level 0V at this time, and the transmission channel of the analog switch remains unchanged. Then the amplified voltage is kept stable through the peak hold circuit, and then the main controller performs ADC to detect the peak voltage and display the detected optical power value.

而如果放大电压>ADC参考电压Vref,电压比较器U1则输出U1的正向电源端电压值即+5V,然后继电器铁芯线圈通电,将衔铁吸引,使5V接入自锁电路。在自锁电路中因为放大器U3引入正反馈,而放大器U3的正向输入端比反向输入端高两个二极管导通电压,所以通过正反馈实现自锁,最终放大器U3输出+5V电压。而放大器U3输出的这个+5V电压输入到模拟开关的引脚控制B脚,从而改变传输通道,模拟开关的通道选择脚“CBA”的电平状况变为011,于是接通了通道3,即选择电阻10K作为反馈电阻。如果没有自锁电路,一旦改变模拟开关的传输通道,电压比较器U1输出的又恢复为低电平则又会导致模拟开关导通的是通道1。所以为了模拟开关的传输通道脚始终得到高电平,于是加了“自锁”电路。“自锁”电路中的运放的反向端电压为0.5VCC,所以当自锁电路没输入时,放大器U3输出的始终为低电平。If the amplified voltage > ADC reference voltage Vref, the voltage comparator U1 outputs the voltage value of the forward power supply terminal of U1, which is +5V, and then the relay core coil is energized to attract the armature, so that 5V is connected to the self-locking circuit. In the self-locking circuit, because the amplifier U3 introduces positive feedback, and the forward input terminal of the amplifier U3 is higher than the reverse input terminal by two diode conduction voltages, the self-locking is realized through positive feedback, and finally the amplifier U3 outputs +5V voltage. The +5V voltage output by the amplifier U3 is input to the pin of the analog switch to control the B pin, thereby changing the transmission channel, and the level status of the channel selection pin "CBA" of the analog switch becomes 011, so the channel 3 is turned on, that is Choose resistor 10K as feedback resistor. If there is no self-locking circuit, once the transmission channel of the analog switch is changed, the output of the voltage comparator U1 returns to a low level, which will cause the analog switch to be turned on again. Therefore, in order to obtain a high level for the transmission channel pin of the analog switch, a "self-locking" circuit is added. The reverse terminal voltage of the op amp in the "self-locking" circuit is 0.5VCC, so when the self-locking circuit has no input, the output of the amplifier U3 is always low.

另外,当放大器U3输出为高电平时,使继电器RL2的铁芯线圈得电,将衔铁吸引,从而进入电压比较器U8。其工作原理同上,当10k作为反馈电阻时,即放大倍数为104,所放大电压高于ADC参考电压Vref,则比较器U8 输出高电平,并使自锁电路输出一直输出高电平,从而使模拟开关的三个通道控制脚“CBA”的电平为111,选择1k电阻作为反馈电阻,即实现放大倍数的再一次调整。通过此方法来实现自适应量程检测。当完成一次检测后,通过单片机控制继电器的放电脚,将“自锁”电路中的运放断开和峰值保持电路中的电容进行放电,从而恢复初始状态。In addition, when the output of the amplifier U3 is a high level, the iron core coil of the relay RL2 is energized, and the armature is attracted, thereby entering the voltage comparator U8. Its working principle is the same as above, when 10k is used as a feedback resistor, that is, the amplification factor is 104, and the amplified voltage is higher than the ADC reference voltage Vref, then the comparator U8 outputs a high level, and the output of the self-locking circuit always outputs a high level, thus The level of the three-channel control pin "CBA" of the analog switch is set to 111, and the 1k resistor is selected as the feedback resistor, that is, the adjustment of the magnification is realized again. Through this method, adaptive range detection is realized. When a test is completed, the discharge pin of the relay is controlled by the single-chip microcomputer, the operational amplifier in the "self-locking" circuit is disconnected and the capacitor in the peak hold circuit is discharged, thereby restoring the initial state.

增益选择电路图中,P2.3和P2.4是检测脚,用来判断ADC结果是在哪一个反馈电阻,即放大倍数下所得到的结果。In the gain selection circuit diagram, P2.3 and P2.4 are detection pins, which are used to determine which feedback resistor the ADC result is in, that is, the result obtained under the amplification factor.

本实施例中,在光电转换电路将检测到的光信号转换为电压信号后,增益选择电路根据该电压信号和预置参考电压的对比结果,自动地适应性地调整光电转换电路中用于放大电压信号的放大倍数,然后主控制器对放大后的电压信号进行测量的到光功率,最后由显示电路输出该光功率,相较于现有技术中手动换挡的光电功率计,操作简单,且保护了电路结构,从而解决了现有手动换挡的光电功率计操作麻烦,且容易烧毁电路的技术问题。In this embodiment, after the photoelectric conversion circuit converts the detected optical signal into a voltage signal, the gain selection circuit automatically and adaptively adjusts the signal used for amplification in the photoelectric conversion circuit according to the comparison result between the voltage signal and the preset reference voltage. The amplification factor of the voltage signal, then the main controller measures the optical power of the amplified voltage signal, and finally the optical power is output by the display circuit. Compared with the manual shifting photoelectric power meter in the prior art, the operation is simple, Moreover, the circuit structure is protected, thereby solving the technical problems that the existing manual shifting photoelectric power meter is troublesome to operate and easy to burn the circuit.

以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (10)

1.一种光电功率计,其特征在于,包括:主控制器、光电转换电路、增益选择电路、主控制器和显示电路;1. a photoelectric power meter, is characterized in that, comprises: main controller, photoelectric conversion circuit, gain selection circuit, main controller and display circuit; 所述光电转换电路,用于将采集到的待检测光源的光信号转换为电压信号;The photoelectric conversion circuit is used to convert the collected optical signal of the light source to be detected into a voltage signal; 所述增益选择电路,用于对比所述电压信号和预置参考电压,并根据对比结果选择所述光电转换电路中用于放大所述电压信号的放大倍数;The gain selection circuit is used to compare the voltage signal with a preset reference voltage, and select an amplification factor for amplifying the voltage signal in the photoelectric conversion circuit according to the comparison result; 所述主控制器,用于测量经由所述放大倍数放大后的所述电压信号,得到对应的光功率;the main controller, configured to measure the voltage signal amplified by the amplification factor to obtain the corresponding optical power; 所述显示电路,用于显示所述光功率。The display circuit is used for displaying the optical power. 2.根据权利要求1所述的光电功率计,其特征在于,所述增益选择电路包括:电压比较电路和自锁电路;2. The photoelectric power meter according to claim 1, wherein the gain selection circuit comprises: a voltage comparison circuit and a self-locking circuit; 所述电压比较电路,用于对比所述电压信号和预置参考电压,得到对比结果;The voltage comparison circuit is used to compare the voltage signal with a preset reference voltage to obtain a comparison result; 所述自锁电路,用于将所述对比结果输入至所述光电转换电路,使得所述光电转换电路,根据所述对比结果选择放大所述电压信号的放大倍数。The self-locking circuit is configured to input the comparison result to the photoelectric conversion circuit, so that the photoelectric conversion circuit selects an amplification factor for amplifying the voltage signal according to the comparison result. 3.根据权利要求2所述的光电功率计,其特征在于,所述电压比较电路包括:电压比较器U1、继电器RL2和电压比较器U8;3. The photoelectric power meter according to claim 2, wherein the voltage comparison circuit comprises: a voltage comparator U1, a relay RL2 and a voltage comparator U8; 所述自锁电路包括:第一自锁电路和第二自锁电路;The self-locking circuit includes: a first self-locking circuit and a second self-locking circuit; 所述电压比较器U1的正向输入端连接所述光电转换电路的输出端,输出端通过所述第一自锁电路连接至所述继电器RL2的引脚1;The positive input terminal of the voltage comparator U1 is connected to the output terminal of the photoelectric conversion circuit, and the output terminal is connected to the pin 1 of the relay RL2 through the first self-locking circuit; 所述继电器RL2的引脚2接地,引脚3连接所述光电转换电路的输出端,引脚4连接所述电压比较器U8的正向输入端;The pin 2 of the relay RL2 is grounded, the pin 3 is connected to the output end of the photoelectric conversion circuit, and the pin 4 is connected to the forward input end of the voltage comparator U8; 所述电压比较器U8的输出端通过所述第二自锁电路连接所述光电转换电路。The output end of the voltage comparator U8 is connected to the photoelectric conversion circuit through the second self-locking circuit. 4.根据权利要求3所述的光电功率计,其特征在于,所述第一自锁电路包括:继电器RL1、二极管D1、二极管D2、放大器U3和继电器RL5;4. The photoelectric power meter according to claim 3, wherein the first self-locking circuit comprises: a relay RL1, a diode D1, a diode D2, an amplifier U3 and a relay RL5; 所述继电器RL1的引脚1连接所述电压比较器U1的输出端,引脚2接地,引脚3连接电源电压,引脚4连接所述放大器U3的正向输入端、所述二极管D1的正极和所述继电器RL5的引脚3;The pin 1 of the relay RL1 is connected to the output end of the voltage comparator U1, the pin 2 is grounded, the pin 3 is connected to the power supply voltage, and the pin 4 is connected to the forward input end of the amplifier U3 and the diode D1. Positive pole and pin 3 of the relay RL5; 所述二极管D1的负极连接所述二极管D2的正极;The cathode of the diode D1 is connected to the anode of the diode D2; 所述二极管D2的负极连接所述放大器U3的反向输入端;The cathode of the diode D2 is connected to the reverse input end of the amplifier U3; 所述放大器U3的输出端连接所述继电器RL2的引脚1;The output end of the amplifier U3 is connected to the pin 1 of the relay RL2; 所述继电器RL5的引脚1用于输入第一控制信号,引脚5连接所述继电器RL2的引脚1,引脚2和引脚4均接地。Pin 1 of the relay RL5 is used to input the first control signal, pin 5 is connected to the pin 1 of the relay RL2, and both pins 2 and 4 are grounded. 5.根据权利要求3所述的光电功率计,其特征在于,所述第二自锁电路包括:继电器RL3、二极管D4、二极管D5、放大器U9和继电器RL4;5. The photoelectric power meter according to claim 3, wherein the second self-locking circuit comprises: a relay RL3, a diode D4, a diode D5, an amplifier U9 and a relay RL4; 所述继电器RL3的引脚1连接所述电压比较器U8的输出端,引脚2接地,引脚3连接电源电压,引脚4连接所述放大器U9的正向输入端、所述二极管D4的正极和所述继电器RL4的引脚3;The pin 1 of the relay RL3 is connected to the output end of the voltage comparator U8, the pin 2 is grounded, the pin 3 is connected to the power supply voltage, and the pin 4 is connected to the forward input end of the amplifier U9 and the diode D4. Positive pole and pin 3 of the relay RL4; 所述二极管D4的负极连接所述二极管D5的正极;The cathode of the diode D4 is connected to the anode of the diode D5; 所述二极管D5的负极连接所述放大器U9的反向输入端;The cathode of the diode D5 is connected to the reverse input end of the amplifier U9; 所述放大器U9的输出端连接所述光电转换电路;The output end of the amplifier U9 is connected to the photoelectric conversion circuit; 所述继电器RL4的引脚1输入第二控制信号,引脚5连接所述光电转换电路,引脚2和引脚4均接地。Pin 1 of the relay RL4 inputs the second control signal, pin 5 is connected to the photoelectric conversion circuit, and both pins 2 and 4 are grounded. 6.根据权利要求1所述的光电功率计,其特征在于,还包括:峰值保持电路;6. The photoelectric power meter according to claim 1, further comprising: a peak hold circuit; 所述峰值保持电路的输入端连接所述增益选择电路的输出端,输出端连接所述主控制器的输入端;The input end of the peak hold circuit is connected to the output end of the gain selection circuit, and the output end is connected to the input end of the main controller; 所述峰值保持电路,用于保持放大后的所述电压信号的峰值。The peak hold circuit is used for maintaining the peak value of the amplified voltage signal. 7.根据权利要求6所述的光电功率计,其特征在于,所述峰值保持电路包括:放大器U7、二极管D6、二极管D7、二极管D8、电容C20和电压比较器U10;7. The photoelectric power meter according to claim 6, wherein the peak hold circuit comprises: an amplifier U7, a diode D6, a diode D7, a diode D8, a capacitor C20 and a voltage comparator U10; 所述放大器U7的正向输入端连接所述增益选择电路的输出端,反向输入端连接所述电压比较器U10的输出端和所述二极管D8的正极,输出端连接所述二极管D8的负极和所述二极管D6的正极;The forward input end of the amplifier U7 is connected to the output end of the gain selection circuit, the reverse input end is connected to the output end of the voltage comparator U10 and the positive electrode of the diode D8, and the output end is connected to the negative electrode of the diode D8 and the anode of the diode D6; 所述二极管D6的负极连接所述二极管D7的正极;The cathode of the diode D6 is connected to the anode of the diode D7; 所述二极管D7的负极连接所述电容C20的第一端和所述电压比较器U10的正向输入端;The cathode of the diode D7 is connected to the first end of the capacitor C20 and the forward input end of the voltage comparator U10; 所述电容C20的第二端接地;The second end of the capacitor C20 is grounded; 所述电压比较器U10的反向输入端连接所述电压比较器U10的输出端,输出端连接所述主控制器的输入端。The inverting input terminal of the voltage comparator U10 is connected to the output terminal of the voltage comparator U10, and the output terminal is connected to the input terminal of the main controller. 8.根据权利要求7所述的光电功率计,其特征在于,所述峰值保持电路还包括:三级管Q4、电阻R19和电阻R20;8. The photoelectric power meter according to claim 7, wherein the peak hold circuit further comprises: a triode Q4, a resistor R19 and a resistor R20; 所述三级管的集电极连接所述二极管D7的负极,基级连接所述电阻R19的第一端、所述电阻R20的第一端,发射极接地;The collector of the triode is connected to the cathode of the diode D7, the base is connected to the first end of the resistor R19 and the first end of the resistor R20, and the emitter is grounded; 所述电阻R20的第二端接地;The second end of the resistor R20 is grounded; 所述电阻R19的第二端用于输入放电信号。The second end of the resistor R19 is used for inputting a discharge signal. 9.根据权利要求1所述的光电功率计,其特征在于,所述光电转换电路包括:光电二极管PIN、模拟开关、电阻R1、电阻R2和电阻R3;9. The photoelectric power meter according to claim 1, wherein the photoelectric conversion circuit comprises: a photodiode PIN, an analog switch, a resistor R1, a resistor R2 and a resistor R3; 所述光电二极管PIN的输入端用于采集待检测光源的光信号,输出端分别连接所述电阻R1的第一端、所述电阻R2的第一端和所述电阻R3的第一端;The input end of the photodiode PIN is used to collect the light signal of the light source to be detected, and the output end is respectively connected to the first end of the resistor R1, the first end of the resistor R2 and the first end of the resistor R3; 所述电阻R1的第二端、所述电阻R2的第二端和所述电阻R3的第二端分别连接所述模拟开关的第一传输通道、第二传输通道和第三传输通道,其中所述电阻R1、所述电阻R2和所述电阻R3的阻值各不相同;The second end of the resistor R1, the second end of the resistor R2 and the second end of the resistor R3 are respectively connected to the first transmission channel, the second transmission channel and the third transmission channel of the analog switch, wherein all the The resistance values of the resistance R1, the resistance R2 and the resistance R3 are different; 所述模拟开关的输入端连接有所述增益选择电路,输出端连接所述电压比较电路和所述主控制器。The input end of the analog switch is connected with the gain selection circuit, and the output end is connected with the voltage comparison circuit and the main controller. 10.根据权利要求9所述的光电功率计,其特征在于,所述光电转换电路还包括:放大器U4;10. The photoelectric power meter according to claim 9, wherein the photoelectric conversion circuit further comprises: an amplifier U4; 所述放大器U4的反向输入端连接所述光电二极管PIN的输出端,正向输入端接地,输出端负反馈至所述放大器U4的反向输入端。The reverse input terminal of the amplifier U4 is connected to the output terminal of the photodiode PIN, the forward input terminal is grounded, and the output terminal is negatively fed back to the reverse input terminal of the amplifier U4.
CN201922081350.6U 2019-11-27 2019-11-27 A photoelectric power meter Expired - Fee Related CN211205523U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922081350.6U CN211205523U (en) 2019-11-27 2019-11-27 A photoelectric power meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922081350.6U CN211205523U (en) 2019-11-27 2019-11-27 A photoelectric power meter

Publications (1)

Publication Number Publication Date
CN211205523U true CN211205523U (en) 2020-08-07

Family

ID=71883874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922081350.6U Expired - Fee Related CN211205523U (en) 2019-11-27 2019-11-27 A photoelectric power meter

Country Status (1)

Country Link
CN (1) CN211205523U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110849477A (en) * 2019-11-27 2020-02-28 广东工业大学 A photoelectric power meter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110849477A (en) * 2019-11-27 2020-02-28 广东工业大学 A photoelectric power meter
CN110849477B (en) * 2019-11-27 2024-09-10 广东工业大学 Photoelectric power meter

Similar Documents

Publication Publication Date Title
CN101378199B (en) Charging circuit for battery
CN208580949U (en) A kind of semiconductor laser device driving circuit of perseverance optical power output
CN105355704B (en) Symmetric double PIN balances photodetector
CN103457673A (en) Method and device for improving saturated light power of APD optical receiver
CN201766284U (en) Light power monitoring circuit of digital light emitter
CN211205523U (en) A photoelectric power meter
CN102412821A (en) Pyroelectric infrared human body approach control switch
CN102957089B (en) Drive circuit of coaxial pigtail laser
CN202330531U (en) Current transfer ration testing device for photoelectric coupler
CN110849477A (en) A photoelectric power meter
CN209170711U (en) Solar street light control device
CN210514957U (en) TEC control circuit
CN109975645B (en) Optical isolation wide voltage range electric leakage monitoring alarm module
CN209913540U (en) Circuit for controlling charging of storage battery
CN102854378B (en) Current testing circuit
CN208621708U (en) A kind of alternating current power-off signal transmission circuit
CN202601624U (en) Automatic compensating device for gain and temperature excursion of avalanche photodiode
CN215221265U (en) Automatic current control system for single-wavelength semiconductor laser
CN201314939Y (en) Route detection device
CN203590236U (en) Automatic optical power control device
CN115037024A (en) High-efficiency milliwatt-level photovoltaic energy collection and energy storage management circuit
CN209102232U (en) A kind of automatic ground temperature of field solar energy power supply monitors system
CN202513837U (en) AC-DC voltage stabilizing protection circuit and chip power conversion circuit
CN102109549A (en) Device for detecting solar energy charging current
CN206728337U (en) LED light source direct current Constant-power drive circuit for photoelectric auto-collimator

Legal Events

Date Code Title Description
GR01 Patent grant
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: 20200807

Termination date: 20211127