[go: up one dir, main page]

CN218006205U - Optical acquisition and amplification circuit and device - Google Patents

Optical acquisition and amplification circuit and device Download PDF

Info

Publication number
CN218006205U
CN218006205U CN202222342402.2U CN202222342402U CN218006205U CN 218006205 U CN218006205 U CN 218006205U CN 202222342402 U CN202222342402 U CN 202222342402U CN 218006205 U CN218006205 U CN 218006205U
Authority
CN
China
Prior art keywords
module
amplification
terminal
output
operational amplifier
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
CN202222342402.2U
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.)
Xi'an Biolab Biotechnology Co ltd
Original Assignee
Xi'an Biolab Biotechnology 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 Xi'an Biolab Biotechnology Co ltd filed Critical Xi'an Biolab Biotechnology Co ltd
Priority to CN202222342402.2U priority Critical patent/CN218006205U/en
Application granted granted Critical
Publication of CN218006205U publication Critical patent/CN218006205U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Amplifiers (AREA)

Abstract

提供一种光学采集放大电路及装置,属于电子技术领域。该光学采集放大电路包括光电转换模块、一级放大模块、二级放大模块、模数转换模块以及增益调节模块;该光电转换模块的输出端与该一级放大模块的输入端连接,该一级放大模块的输出端与该二级放大模块的输入端连接,该二级放大模块的输出端与该模数转换模块的输入端连接,该模数转换模块的输出端用于连接微控制单元,该增益调节模块的输入端用于连接该微控制单元连接,该增益调节模块的控制端与该二级放大模块的控制端连接;该增益调节模块用于调整该二级放大模块的放大增益倍数;该二级放大模块的低通滤波频率小于该一级放大模块的低通滤波频率。可以达到提高光学检验的可靠性和适用性的效果。

Figure 202222342402

An optical acquisition and amplification circuit and device are provided, which belong to the field of electronic technology. The optical acquisition and amplification circuit includes a photoelectric conversion module, a first-stage amplification module, a second-stage amplification module, an analog-to-digital conversion module, and a gain adjustment module; the output end of the photoelectric conversion module is connected to the input end of the first-stage amplification module. The output end of the amplification module is connected to the input end of the secondary amplification module, the output end of the secondary amplification module is connected to the input end of the analog-to-digital conversion module, and the output end of the analog-to-digital conversion module is used to connect to the micro control unit, The input end of the gain adjustment module is used to connect to the micro control unit, the control end of the gain adjustment module is connected to the control end of the secondary amplification module; the gain adjustment module is used to adjust the amplification gain of the secondary amplification module ; The low-pass filtering frequency of the secondary amplification module is lower than the low-pass filtering frequency of the primary amplification module. The effect of improving the reliability and applicability of optical inspection can be achieved.

Figure 202222342402

Description

光学采集放大电路及装置Optical acquisition and amplification circuit and device

技术领域technical field

本申请涉及电子技术领域,具体而言,涉及一种光学采集放大电路及装置。The present application relates to the field of electronic technology, in particular, to an optical collection and amplification circuit and device.

背景技术Background technique

随着科学技术的发展,各种各样的电子设备也进入到了人们的工作生活中。比如,人们常常会利用一些电子设备来对一些样本进行光学检验。With the development of science and technology, various electronic devices have also entered people's work and life. For example, people often use some electronic equipment to perform optical inspection on some samples.

相关技术中,一般地,在对这些样本进行光学检验时,经常会使用多路不同光源照射这些样本,然后可以通过相应的电子设备来采集这些样本反射出的光线,并将采集到的光信号转换成电信号,由于样本反射出的光线强度一般都比较弱,那么还需要在电子设备中设置相应的放大电路对电信号进行放大,然后将放大后的电信号输出到微控制单元(Microcontroller Unit,简称MCU),以供MCU对这些电信号进行识别并进行相应的数据处理。In related technologies, generally, when performing optical inspection on these samples, multiple different light sources are often used to irradiate these samples, and then the light reflected by these samples can be collected by corresponding electronic equipment, and the collected optical signals Converted into an electrical signal, since the light intensity reflected by the sample is generally relatively weak, it is necessary to set up a corresponding amplifier circuit in the electronic device to amplify the electrical signal, and then output the amplified electrical signal to the Microcontroller Unit (Microcontroller Unit) , referred to as MCU), for the MCU to identify these electrical signals and perform corresponding data processing.

然而,相关技术的方案中的放大电路存在放大效果较差、无法适用于在多路光源下进行光学检验的问题,会导致光学检验的可靠性和适用性较差的问题。However, the amplification circuit in the solution of the related art has the problem of poor amplification effect and cannot be applied to optical inspection under multi-channel light sources, which will lead to problems of poor reliability and applicability of optical inspection.

实用新型内容Utility model content

本申请的目的在于提供一种光学采集放大电路,可以达到提高光学检验的可靠性和适用性的效果。The purpose of this application is to provide an optical acquisition and amplification circuit, which can achieve the effect of improving the reliability and applicability of optical inspection.

本申请的实施例是这样实现的:The embodiment of the application is realized like this:

本申请实施例的第一方面,提供一种光学采集放大电路,所述光学采集放大电路包括光电转换模块、一级放大模块、二级放大模块、模数转换模块以及增益调节模块;According to the first aspect of the embodiments of the present application, an optical acquisition and amplification circuit is provided, and the optical acquisition and amplification circuit includes a photoelectric conversion module, a primary amplification module, a secondary amplification module, an analog-to-digital conversion module, and a gain adjustment module;

所述光电转换模块的输出端与所述一级放大模块的输入端连接,所述一级放大模块的输出端与所述二级放大模块的输入端连接,所述二级放大模块的输出端与所述模数转换模块的输入端连接,所述模数转换模块的输出端用于连接微控制单元,所述增益调节模块的输入端用于连接所述微控制单元,所述增益调节模块的控制端与所述二级放大模块的控制端连接;The output end of the photoelectric conversion module is connected to the input end of the first-level amplification module, the output end of the first-level amplification module is connected to the input end of the second-level amplification module, and the output end of the second-level amplification module It is connected with the input end of the analog-to-digital conversion module, the output end of the analog-to-digital conversion module is used to connect the micro control unit, the input end of the gain adjustment module is used to connect the micro control unit, and the gain adjustment module The control terminal is connected to the control terminal of the secondary amplification module;

所述光电转换模块用于采集待检测物体的反射光线,并根据所述反射光线输出电流信号到所述一级放大模块;The photoelectric conversion module is used to collect the reflected light of the object to be detected, and output a current signal to the first-stage amplification module according to the reflected light;

所述一级放大模块用于将所述电流信号转换为电压信号,并对所述电压信号进行滤波和放大,并将放大后的电压信号输出到所述二级放大模块;所述二级放大模块用于对所述放大后的电压信号进行滤波和放大,并向所述模数转换模块输出与所述放大后的电压信号匹配的模拟电信号;所述模数转换模块用于将所述模拟电信号转换为供所述微控制单元识别的数字电信号;所述增益调节模块用于调整所述二级放大模块的放大增益倍数。The primary amplification module is used to convert the current signal into a voltage signal, filter and amplify the voltage signal, and output the amplified voltage signal to the secondary amplification module; the secondary amplification The module is used to filter and amplify the amplified voltage signal, and output an analog electrical signal matching the amplified voltage signal to the analog-to-digital conversion module; the analog-to-digital conversion module is used to convert the The analog electrical signal is converted into a digital electrical signal recognized by the micro control unit; the gain adjustment module is used to adjust the amplification gain of the secondary amplification module.

所述二级放大模块的低通滤波频率小于所述一级放大模块的低通滤波频率。The low-pass filtering frequency of the secondary amplification module is lower than the low-pass filtering frequency of the primary amplification module.

可选地,所述一级放大模块包括第一运算放大器、第一电阻、第一电容;Optionally, the primary amplification module includes a first operational amplifier, a first resistor, and a first capacitor;

所述第一电阻的第一端分别与所述光电转换模块的输出端和所述第一运算放大器的反相输入端连接,所述第一电阻的第二端分别与所述第一运算放大器的输出端和所述二级放大模块的输入端连接;The first end of the first resistor is respectively connected to the output end of the photoelectric conversion module and the inverting input end of the first operational amplifier, and the second end of the first resistor is respectively connected to the first operational amplifier The output terminal is connected to the input terminal of the secondary amplification module;

所述第一运算放大器的正电源端用于输入工作电压,所述第一运算放大器的正相输入端和负电源端接地;The positive power supply terminal of the first operational amplifier is used to input an operating voltage, and the positive phase input terminal and the negative power supply terminal of the first operational amplifier are grounded;

所述第一电阻和所述第一电容并联。The first resistor and the first capacitor are connected in parallel.

可选地,所述一级放大模块还包括至少一个第二电容;Optionally, the primary amplification module further includes at least one second capacitor;

各所述第二电容的第一极板与所述第一运算放大器的正电源端连接,各所述第二电容的第二极板接地。The first plate of each second capacitor is connected to the positive power supply terminal of the first operational amplifier, and the second plate of each second capacitor is grounded.

可选地,所述二级放大模块包括第二运算放大器、第二电阻;Optionally, the secondary amplification module includes a second operational amplifier and a second resistor;

所述第二运算放大器的正相输入端与所述一级放大模块的输出端连接,所述第二运算放大器的反相输入端与所述第二电阻的第一端连接,所述第二电阻的第二端接地,所述第二运算放大器的输出端与所述模数转换模块的输入端连接;The non-inverting input terminal of the second operational amplifier is connected to the output terminal of the first-stage amplification module, the inverting input terminal of the second operational amplifier is connected to the first terminal of the second resistor, and the second The second end of the resistor is grounded, and the output end of the second operational amplifier is connected to the input end of the analog-to-digital conversion module;

所述第二运算放大器的反相输入端与输出端之间还用于连接所述增益调节模块。The gain adjustment module is also connected between the inverting input terminal and the output terminal of the second operational amplifier.

可选地,所述增益调节模块的输入端用于连接所述微控制单元的控制端,所述增益调节模块的第一端分别与所述第二运算放大器的负相输入端和所述第二电阻的第一端连接,所述增益调节模块的第二端与所述第二运算放大器的输出端连接。Optionally, the input end of the gain adjustment module is used to connect to the control end of the micro control unit, and the first end of the gain adjustment module is respectively connected to the negative phase input end of the second operational amplifier and the second operational amplifier. The first ends of the two resistors are connected, and the second end of the gain adjustment module is connected with the output end of the second operational amplifier.

可选地,所述增益调节模块包括第一芯片;Optionally, the gain adjustment module includes a first chip;

所述第一芯片用于通过改变所述第一芯片的第一端和第二端之间的阻值来调整所述二级放大模块的放大增益倍数。The first chip is used to adjust the amplification gain of the secondary amplification module by changing the resistance between the first terminal and the second terminal of the first chip.

可选地,所述光学采集放大电路还包括电平转换模块;Optionally, the optical acquisition and amplification circuit further includes a level conversion module;

所述电平转换模块的第一输入端、第二输入端、第三输入端分别与所述微控制单元的控制端连接,所述电平转换模块的第一输出端与所述增益调节模块的使能端连接,所述电平转换模块的第二输出端与所述增益调节模块的输入端连接,所述电平转换模块的第二输出端与所述增益调节模块的复位控制端连接;The first input end, the second input end, and the third input end of the level conversion module are respectively connected to the control end of the micro control unit, and the first output end of the level conversion module is connected to the gain adjustment module The enabling end of the level conversion module is connected, the second output end of the level conversion module is connected to the input end of the gain adjustment module, and the second output end of the level conversion module is connected to the reset control end of the gain adjustment module ;

所述电平转换模块用于转换所述微控制单元输出到所述电平转换模块的各输入端上电压的电压等级,并将转换后的电压从所述电平转换模块的各输出端输出到所述增益调节模块对应的端口。The level conversion module is used to convert the voltage level of the voltage output from the micro control unit to each input terminal of the level conversion module, and output the converted voltage from each output terminal of the level conversion module to the port corresponding to the gain adjustment module.

可选地,所述光学采集放大电路还包括滤波模块;Optionally, the optical acquisition and amplification circuit further includes a filtering module;

所述滤波模块的输入端与所述一级放大模块的输出端连接,所述滤波模块的输出端与所述二级放大模块的输入端连接。The input end of the filtering module is connected to the output end of the first-stage amplification module, and the output end of the filtering module is connected to the input end of the second-stage amplification module.

可选地,所述滤波模块包括第三电阻和第三电容;Optionally, the filter module includes a third resistor and a third capacitor;

所述第三电阻的第一端与所述一级放大模块的输出端连接,所述第三电阻的第二端分别与所述二级放大模块的输入端和所述第三电容的第一极板连接,所述第三电容的第二极板接地。The first end of the third resistor is connected to the output end of the first-stage amplification module, and the second end of the third resistor is respectively connected to the input end of the second-stage amplification module and the first end of the third capacitor. The plates are connected, and the second plate of the third capacitor is grounded.

本申请实施例的另一方面,提供一种光学采集放大装置,所述光学采集放大装置包括供电模块、微控制单元以及至少一个如上述第一方面所述的光学采集放大电路;Another aspect of the embodiments of the present application provides an optical acquisition and amplification device, the optical acquisition and amplification device includes a power supply module, a micro control unit, and at least one optical acquisition and amplification circuit as described in the first aspect above;

所述微控制单元用于识别数字电信号,以确定待检测物体的属性信息,并输出与所述属性信息匹配的电信号。The micro control unit is used to identify digital electrical signals to determine attribute information of the object to be detected, and output an electrical signal matching the attribute information.

本申请实施例的有益效果包括:The beneficial effects of the embodiments of the present application include:

本申请实施例提供的一种光学采集放大电路,通过至少一路光源照射该待检测物体的情况下,可以通过该光电转换模块来采集该待检测物体反射的光线或光信号,并由该光电转换模块将采集到的光线或光信号转换为电流信号并输出到该一级放大模块的输入端,然后由该一级放大模块将该电流信号转换为电压信号,并对该电压信号进行宽频带低通滤波,并将滤波后的电压信号进行初步放大,将初步放大后的电压信号输出到该二级放大模块,再由该增益调节模块在该微控制单元的控制下调整该二级放大模块的放大增益倍数,该二级放大模块按照该增益调节模块调整的放大增益倍数对初步放大后的电压信号进行进一步宽频带低通滤波和放大,并将放大后的电压信号再输出到该模数转换模块,由该模数转换模块将放大后的电压信号从模拟信号转换为该微控制单元可以识别的数字信号,供该微控制单元对该数字电信号进行相应的分析和处理。In the optical acquisition and amplification circuit provided in the embodiment of the present application, when the object to be detected is irradiated by at least one light source, the light or light signal reflected by the object to be detected can be collected through the photoelectric conversion module, and the photoelectric conversion The module converts the collected light or optical signal into a current signal and outputs it to the input terminal of the first-stage amplification module, and then the first-stage amplification module converts the current signal into a voltage signal, and performs a broadband low-frequency signal on the voltage signal pass filtering, and preliminarily amplify the filtered voltage signal, and output the preliminarily amplified voltage signal to the secondary amplifying module, and then the gain adjustment module adjusts the gain of the secondary amplifying module under the control of the micro control unit. Amplification gain multiple, the secondary amplification module performs further broadband low-pass filtering and amplification on the initially amplified voltage signal according to the amplification gain multiple adjusted by the gain adjustment module, and then outputs the amplified voltage signal to the analog-to-digital conversion module, the analog-to-digital conversion module converts the amplified voltage signal from an analog signal into a digital signal that can be recognized by the micro-control unit, so that the micro-control unit can analyze and process the digital electrical signal accordingly.

值得说明的是,假如要对该光电转换模块输出的电流信号放大一万倍,若仅采用一级放大电路,就需要由这一级放大电路将该电流信号放大一万倍,然而该光学采集放大电路中是采用了一级放大模块和二级放大模块来实现对该电流信号进行放大的,这样,就可以通过将一级放大模块和二级放大模块的放大倍数叠加来实现放大一万倍的目的,比如,一级放大模块将该电流信号转换为该电压信号之后,可以将该电压信号放大一千倍,然后再由二级放大模块将放大一千倍之后的电压信号再放大十倍。It is worth noting that if the current signal output by the photoelectric conversion module is to be amplified ten thousand times, if only one stage of amplification circuit is used, the current signal needs to be amplified ten thousand times by this stage of amplification circuit. However, the optical acquisition In the amplification circuit, the first-level amplification module and the second-level amplification module are used to amplify the current signal, so that the magnification of 10,000 times can be achieved by superimposing the amplification factors of the first-level amplification module and the second-level amplification module. For example, after the primary amplification module converts the current signal into the voltage signal, it can amplify the voltage signal by one thousand times, and then the secondary amplification module can amplify the voltage signal after amplifying one thousand times by ten times .

也就是说,可以降低一级放大模块和二级放大模块单独的放大增益倍数,那么,就可以降低一级放大模块和二级放大模块的偏置电阻的阻值,那么在环境温度发生变化的情况下,由于一级放大模块和二级放大模块的偏置电阻的阻值都较小,那么一级放大模块和二级放大模块的偏置电阻受到温漂的影响也就比较小,因此偏置电阻的阻值变化的幅度就会很小,这样,就可以提高该光电转换模块的放大效果,进而提高使用该光电转换模块进行光学检验的可靠性。That is to say, the individual amplification gain multiples of the first-stage amplifier module and the second-stage amplifier module can be reduced, and then the resistance values of the bias resistors of the first-stage amplifier module and the second-stage amplifier module can be reduced, so when the ambient temperature changes Under normal circumstances, since the resistance values of the bias resistors of the first-stage amplifier module and the second-stage amplifier module are relatively small, the bias resistors of the first-stage amplifier module and the second-stage amplifier module are less affected by temperature drift. The change range of the resistance value of the set resistor will be very small, so that the amplification effect of the photoelectric conversion module can be improved, and then the reliability of using the photoelectric conversion module for optical inspection can be improved.

另外,由于可以通过该增益调节模块来调整该二级放大模块的放大增益倍数,在采用多路不同光源对该待检测物体进行检验、各路光源发射的光线强度存在差异的情况下,就可以通过调节该二级放大模块的放大增益倍数来调整对该光电转换模块输出的电流信号进行放大的倍数,进而可以通过调整对该光电转换模块输出的电流信号进行放大的倍数来补偿由光源的波长、功率等因素造成的光线强度的不同,这样,还可以确保该光学采集放大电路可以在多路光源下进行光学检验时也能产生正确的模拟电信号,进而可以确保该光学采集放大电路可以在多路光源下进行光学检验时也可以向微控制单元输出正确的数字电信号,以确保光学检验的适用性和可靠性。In addition, since the amplification gain of the secondary amplification module can be adjusted through the gain adjustment module, when the object to be detected is inspected by using multiple different light sources, and the light intensity emitted by each light source is different, the By adjusting the amplification gain multiple of the secondary amplification module, the multiple of amplifying the current signal output by the photoelectric conversion module can be adjusted, and then the wavelength of the light source can be compensated by adjusting the multiple of amplifying the current signal output by the photoelectric conversion module. In this way, it can also ensure that the optical acquisition and amplification circuit can also generate correct analog electrical signals when performing optical inspections under multiple light sources, thereby ensuring that the optical acquisition and amplification circuit can be used in When performing optical inspection under multiple light sources, correct digital electrical signals can also be output to the micro control unit to ensure the applicability and reliability of optical inspection.

如此,可以达到提高光学检验的可靠性和适用性的效果。In this way, the effect of improving the reliability and applicability of optical inspection can be achieved.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.

图1为本申请实施例提供的第一种光学采集放大电路的结构示意图;FIG. 1 is a schematic structural diagram of the first optical acquisition and amplification circuit provided by the embodiment of the present application;

图2为本申请实施例提供的第二种光学采集放大电路的结构示意图;FIG. 2 is a schematic structural diagram of a second optical collection and amplification circuit provided in an embodiment of the present application;

图3为本申请实施例提供的第三种光学采集放大电路的结构示意图;FIG. 3 is a schematic structural diagram of a third optical collection and amplification circuit provided in an embodiment of the present application;

图4为本申请实施例提供的第四种光学采集放大电路的结构示意图;FIG. 4 is a schematic structural diagram of a fourth optical collection and amplification circuit provided in an embodiment of the present application;

图5为本申请实施例提供的第五种光学采集放大电路的结构示意图;FIG. 5 is a schematic structural diagram of a fifth optical collection and amplification circuit provided by an embodiment of the present application;

图6为本申请实施例提供的第六种光学采集放大电路的结构示意图。FIG. 6 is a schematic structural diagram of a sixth optical collection and amplification circuit provided by an embodiment of the present application.

附图标记:Reference signs:

100:光学采集放大电路、101:光电转换模块、102:一级放大模块、103:二级放大模块、104:模数转换模块、105:增益调节模块、106:微控制单元、107:电平转换模块、108:滤波模块;100: Optical acquisition amplifier circuit, 101: Photoelectric conversion module, 102: Primary amplifier module, 103: Secondary amplifier module, 104: Analog-to-digital conversion module, 105: Gain adjustment module, 106: Micro control unit, 107: Level Conversion module, 108: filter module;

R1:第一电阻、R2:第二电阻、R3:第三电阻、C1:第一电容、C2:第二电容、C3:第三电容、U1:第一运算放大器、U2:第二运算放大器。R1: first resistor, R2: second resistor, R3: third resistor, C1: first capacitor, C2: second capacitor, C3: third capacitor, U1: first operational amplifier, U2: second operational amplifier.

具体实施方式detailed description

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,或者是该实用新型产品使用时惯常摆放的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In the description of this application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship that is usually placed when the utility model product is used, and is only for the convenience of describing the application and simplifying the description, rather than indicating or Nothing to imply that a referenced device or element must have a particular orientation, be constructed, and operate in a particular orientation should therefore not be construed as limiting the application. In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions, and should not be construed as indicating or implying relative importance.

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

在相关技术中,一般地,在对这些样本进行光学检验时,经常会使用多路不同光源照射这些样本,然后可以通过相应的电子设备来采集这些样本反射出的光线,并将采集到的光信号转换成电信号,由于样本反射出的光线强度一般都比较弱,那么还需要在电子设备中设置相应的放大电路对电信号进行放大,然后将放大后的电信号输出到微控制单元(Microcontroller Unit,简称MCU),以供MCU对这些电信号进行识别并进行相应的数据处理。In related technologies, generally, when optically inspecting these samples, multiple different light sources are often used to irradiate these samples, and then the light reflected by these samples can be collected by corresponding electronic equipment, and the collected light The signal is converted into an electrical signal. Since the light intensity reflected by the sample is generally relatively weak, it is necessary to set up a corresponding amplifier circuit in the electronic device to amplify the electrical signal, and then output the amplified electrical signal to the microcontroller unit (Microcontroller Unit, referred to as MCU), for the MCU to identify these electrical signals and perform corresponding data processing.

然而,相关技术中的放大电路一般仅为一级放大电路,那么在对由光信号转换的电信号进行放大时,就需要设置阻值很大的电阻作为偏置电阻,由于电阻的阻值很大,即使环境温度发生较小变化,在温漂的影响下,电阻的阻值会发生很大的变化,相关技术的方案中的放大电路存在放大效果较差的问题,会导致光学检验的可靠性较差的问题。However, the amplifying circuit in the related art is generally only a one-stage amplifying circuit, so when amplifying the electrical signal converted from an optical signal, it is necessary to set a resistor with a large resistance as a bias resistor, because the resistance of the resistor is very large Even if there is a small change in the ambient temperature, the resistance value of the resistor will change greatly under the influence of temperature drift. The amplification circuit in the solution of the related art has the problem of poor amplification effect, which will lead to the reliability of optical inspection. problem of poor sex.

另外,在进行光学检验时,经常需要用到多路不同的光源对样本进行检验,由于每一路光源的波长不同,并且光源功率、滤光片的性能也可能存在不同,因此,每一路光源发射出的光线强度也存在差异,而相关技术的方案无法调节放大电路的放大增益倍数以对不同光线强度的光线进行适应性处理,因此,相关技术的方案还存在无法适用于在多路光源下进行光学检验的问题,也即,存在光学检验的适用性较差的问题。In addition, when performing optical inspection, it is often necessary to use multiple different light sources to inspect the sample. Since the wavelength of each light source is different, and the power of the light source and the performance of the filter may also be different, therefore, each light source emits There are also differences in the intensity of the emitted light, and the solutions of the related art cannot adjust the amplification gain of the amplifier circuit to perform adaptive processing on the light of different light intensities. The problem of the optical inspection, that is, there is a problem that the applicability of the optical inspection is poor.

为此,本申请实施例提供了光学采集放大电路,该光学采集放大电路包括光电转换模块、一级放大模块、二级放大模块、模数转换模块以及增益调节模块,该光电转换模块的输出端与该一级放大模块的输入端连接,该一级放大模块的输出端与该二级放大模块的输入端连接,该二级放大模块的输出端与该模数转换模块的输入端连接,该模数转换模块的输出端用于连接微控制单元,该增益调节模块的输入端用于连接该微控制单元,该增益调节模块的控制端与该二级放大模块的控制端连接。可以达到提高光学检验的可靠性和适用性的效果。To this end, the embodiment of the present application provides an optical acquisition and amplification circuit, which includes a photoelectric conversion module, a primary amplification module, a secondary amplification module, an analog-to-digital conversion module, and a gain adjustment module. The output terminal of the photoelectric conversion module Connected to the input end of the primary amplification module, the output end of the primary amplification module is connected to the input end of the secondary amplification module, the output end of the secondary amplification module is connected to the input end of the analog-to-digital conversion module, the The output end of the analog-to-digital conversion module is used to connect to the micro control unit, the input end of the gain adjustment module is used to connect to the micro control unit, and the control end of the gain adjustment module is connected to the control end of the secondary amplification module. The effect of improving the reliability and applicability of optical inspection can be achieved.

本申请实施例以应用在医疗领域中进行光学检验的光学采集放大电路为例进行说明。但不表明本申请实施例仅能应用于医疗领域中进行光学检验时的光学采集放大。The embodiment of the present application is described by taking an optical acquisition and amplification circuit applied in the medical field for optical inspection as an example. However, it does not mean that the embodiment of the present application can only be applied to the optical collection and amplification of optical inspection in the medical field.

下面对本申请实施例提供的光学采集放大电路进行详细地解释说明。The optical collection and amplification circuit provided by the embodiment of the present application will be explained in detail below.

图1为本申请提供的一种光学采集放大电路的结构示意图。参见图1,本申请实施例提供一种光学采集放大电路100,该光学采集放大电路100包括:光电转换模块101、一级放大模块102、二级放大模块103、模数转换模块104以及增益调节模块105。FIG. 1 is a schematic structural diagram of an optical collection and amplification circuit provided by the present application. Referring to Fig. 1, an embodiment of the present application provides an optical acquisition and amplification circuit 100, the optical acquisition and amplification circuit 100 includes: a photoelectric conversion module 101, a primary amplification module 102, a secondary amplification module 103, an analog-to-digital conversion module 104 and a gain adjustment Module 105.

该光电转换模块101的输出端与该一级放大模块102的输入端连接,该一级放大模块102的输出端与该二级放大模块103的输入端连接,该二级放大模块103的输出端与该模数转换模块104的输入端连接,该模数转换模块104的输出端用于连接微控制单元106,该增益调节模块105的输入端用于连接该微控制单元106,该增益调节模块105的控制端与该二级放大模块103的控制端连接。The output end of this photoelectric conversion module 101 is connected with the input end of this primary amplification module 102, the output end of this primary amplification module 102 is connected with the input end of this secondary amplification module 103, the output end of this secondary amplification module 103 Connected to the input end of the analog-to-digital conversion module 104, the output end of the analog-to-digital conversion module 104 is used to connect the micro control unit 106, the input end of the gain adjustment module 105 is used to connect the micro control unit 106, the gain adjustment module The control terminal of 105 is connected with the control terminal of the secondary amplification module 103 .

其中,该光电转换模块101可以用于采集待检测物体的反射光线,并根据该反射光线输出电流信号到该一级放大模块102。Wherein, the photoelectric conversion module 101 can be used to collect the reflected light of the object to be detected, and output a current signal to the primary amplification module 102 according to the reflected light.

该一级放大模块102可以用于将该电流信号转换为电压信号,并对该电压信号进行滤波和放大,并将放大后的电压信号输出到该二级放大模块103。The primary amplification module 102 can be used to convert the current signal into a voltage signal, filter and amplify the voltage signal, and output the amplified voltage signal to the secondary amplification module 103 .

该二级放大模块103可以用于对该放大后的电压信号进行滤波和放大,并向该模数转换模块104输出与该放大后的电压信号匹配的模拟电信号。The secondary amplification module 103 can be used to filter and amplify the amplified voltage signal, and output an analog electrical signal matching the amplified voltage signal to the analog-to-digital conversion module 104 .

该模数转换模块104可以用于将该模拟电信号转换为供该微控制单元106识别的数字电信号。The analog-to-digital conversion module 104 can be used to convert the analog electrical signal into a digital electrical signal recognized by the microcontroller unit 106 .

该增益调节模块105可以用于调整该二级放大模块103的放大增益倍数。该放大增益倍数用于指示该二级放大模块103的输出电压与输入电压之间的比值,一般地,该放大增益倍数越大则表明该二级放大模块103的输出电压与输入电压之间的比值越大。The gain adjustment module 105 can be used to adjust the amplification gain of the secondary amplification module 103 . The amplification gain multiple is used to indicate the ratio between the output voltage of the secondary amplification module 103 and the input voltage. Generally, the larger the amplification gain multiple, the greater the ratio between the output voltage of the secondary amplification module 103 and the input voltage. The larger the ratio.

可选地,该二级放大模块103的低通滤波频率小于该一级放大模块102的低通滤波频率。Optionally, the low-pass filtering frequency of the secondary amplification module 103 is lower than the low-pass filtering frequency of the primary amplification module 102 .

可选地,该光电转换模块101具体可以是指将该待检测物体的反射的光信号转换成电流信号的光探测器,比如该光电转换模块101可以是光敏二极管,也即光电二极管。Optionally, the photoelectric conversion module 101 may specifically refer to a photodetector that converts the reflected light signal of the object to be detected into a current signal, for example, the photoelectric conversion module 101 may be a photosensitive diode, that is, a photodiode.

可以由电源或供电模块为该光电转换模块101供电,比如可以由电源或供电模块在该光电转换模块101施加电压,以驱动该光电转换模块101,本申请实施例对此不做限定。The photoelectric conversion module 101 may be powered by a power supply or a power supply module, for example, a voltage may be applied to the photoelectric conversion module 101 by the power supply or a power supply module to drive the photoelectric conversion module 101 , which is not limited in this embodiment of the present application.

另外,还可以将该一级放大模块102的电源端与电源或供电模块连接,以由电源或供电模块为该一级放大模块102供电。In addition, the power supply terminal of the primary amplification module 102 can also be connected to a power supply or a power supply module, so that the power supply or the power supply module supplies power to the primary amplification module 102 .

可选地,该待检测物体可以是任一需要进行光学检验的物体,也可以是任一经检验光源照射的物体,本申请实施例对此不做限定。Optionally, the object to be inspected may be any object requiring optical inspection, or any object irradiated by an inspection light source, which is not limited in this embodiment of the present application.

该模数转换模块104可以是用于将模拟信号转换为数字信号的器件,该模数转换模块104具体可以包括模拟数字转换器(Analog To Digital Converter,简称ADC),也即A/D转换器。The analog-to-digital conversion module 104 may be a device for converting an analog signal into a digital signal, and the analog-to-digital conversion module 104 may specifically include an analog-to-digital converter (Analog To Digital Converter, referred to as ADC), that is, an A/D converter .

该微控制单元106可以用于向该增益调节模块105的输入端输出相应的控制信号,进而可以通过调整该增益调节模块105的参数来调整该二级放大模块103的放大增益倍数。The micro control unit 106 can be used to output a corresponding control signal to the input terminal of the gain adjustment module 105 , and then the amplification gain of the secondary amplification module 103 can be adjusted by adjusting the parameters of the gain adjustment module 105 .

该微控制单元106还可以用于接收由该模数转换模块104发送的数字电信号,并根据该数字电信号进行相应的分析处理,本申请实施例对此不做限定。The micro control unit 106 can also be used to receive the digital electrical signal sent by the analog-to-digital conversion module 104, and perform corresponding analysis and processing according to the digital electrical signal, which is not limited in this embodiment of the present application.

示例性地,该增益调节模块105可以包括第一芯片,该第一芯片可以用于通过改变该第一芯片的第一端和第二端之间的阻值来调整该二级放大模块103的放大增益倍数。在这种情况下,可以由该微控制单元106向该第一信号输出控制信号,来调整该第一芯片的第一端和第二端之间的阻值。Exemplarily, the gain adjustment module 105 may include a first chip, and the first chip may be used to adjust the output of the secondary amplification module 103 by changing the resistance between the first end and the second end of the first chip. Magnification gain multiple. In this case, the microcontroller unit 106 may output a control signal to the first signal to adjust the resistance between the first terminal and the second terminal of the first chip.

例如,该第一芯片可以是型号为MCP4461-503E/ML的四通道数字电位器,也可以是其他任意能够实现调节输出电阻的芯片,本申请实施例对此不做限定。For example, the first chip may be a four-channel digital potentiometer modeled as MCP4461-503E/ML, or any other chip capable of adjusting the output resistance, which is not limited in this embodiment of the present application.

值得注意的是,该光学采集放大电路100的工作原理为:在通过至少一路光源照射该待检测物体的情况下,可以通过该光电转换模块101来采集该待检测物体反射的光线或光信号,并由该光电转换模块101将采集到的光线或光信号转换为电流信号并输出到该一级放大模块102的输入端,然后由该一级放大模块102将该电流信号转换为电压信号,并对该电压信号进行宽频带低通滤波,并将滤波后的电压信号进行初步放大,将初步放大后的电压信号输出到该二级放大模块103,再由该增益调节模块105在该微控制单元106的控制下调整该二级放大模块103的放大增益倍数,该二级放大模块103按照该增益调节模块105调整的放大增益倍数对初步放大后的电压信号进行进一步宽频带低通滤波和放大,并将放大后的电压信号再输出到该模数转换模块104,由该模数转换模块104将放大后的电压信号从模拟信号转换为该微控制单元106可以识别的数字信号,供该微控制单元106对该数字电信号进行相应的分析和处理。It is worth noting that the working principle of the optical acquisition and amplification circuit 100 is: when the object to be detected is irradiated by at least one light source, the light or light signal reflected by the object to be detected can be collected through the photoelectric conversion module 101, And the light or light signal collected is converted into a current signal by the photoelectric conversion module 101 and output to the input end of the primary amplification module 102, and then the current signal is converted into a voltage signal by the primary amplification module 102, and Perform broadband low-pass filtering on the voltage signal, and preliminarily amplify the filtered voltage signal, and output the preliminarily amplified voltage signal to the secondary amplification module 103, and then the gain adjustment module 105 controls the micro-control unit Under the control of 106, the amplification gain multiple of the secondary amplification module 103 is adjusted, and the secondary amplification module 103 performs further broadband low-pass filtering and amplification on the initially amplified voltage signal according to the amplification gain multiple adjusted by the gain adjustment module 105, And the amplified voltage signal is output to the analog-to-digital conversion module 104, and the amplified voltage signal is converted from an analog signal to a digital signal that can be recognized by the micro-control unit 106 by the analog-to-digital conversion module 104 for the micro-control The unit 106 performs corresponding analysis and processing on the digital electrical signal.

值得说明的是,假如要对该光电转换模块101输出的电流信号放大一万倍,若仅采用一级放大电路,就需要由这一级放大电路将该电流信号放大一万倍,然而该光学采集放大电路100中是采用了一级放大模块102和二级放大模块103来实现对该电流信号进行放大的,这样,就可以通过将一级放大模块102和二级放大模块103的放大倍数叠加来实现放大一万倍的目的,比如,一级放大模块102将该电流信号转换为该电压信号之后,可以将该电压信号放大一千倍,然后再由二级放大模块103将放大一千倍之后的电压信号再放大十倍。It is worth noting that if the current signal output by the photoelectric conversion module 101 is to be amplified by ten thousand times, if only one stage of amplification circuit is used, the current signal needs to be amplified by one stage of amplification circuit by ten thousand times. However, the optical In the acquisition and amplification circuit 100, the primary amplification module 102 and the secondary amplification module 103 are used to amplify the current signal. In this way, the amplification factors of the primary amplification module 102 and the secondary amplification module 103 can be superimposed To achieve the purpose of magnifying 10,000 times, for example, after the primary amplification module 102 converts the current signal into the voltage signal, the voltage signal can be amplified by 1,000 times, and then the secondary amplification module 103 will amplify 1,000 times The subsequent voltage signal is then amplified ten times.

也就是说,可以降低一级放大模块102和二级放大模块103单独的放大增益倍数,那么,就可以降低一级放大模块102和二级放大模块103的偏置电阻的阻值,那么在环境温度发生变化的情况下,由于一级放大模块102和二级放大模块103的偏置电阻的阻值都较小,那么一级放大模块102和二级放大模块103的偏置电阻受到温漂的影响也就比较小,因此偏置电阻的阻值变化的幅度就会很小,这样,就可以提高该光电转换模块101的放大效果,进而提高使用该光电转换模块101进行光学检验的可靠性。That is to say, the independent amplification gain multiples of the primary amplification module 102 and the secondary amplification module 103 can be reduced, and then the resistance value of the bias resistors of the primary amplification module 102 and the secondary amplification module 103 can be reduced, so in the environment When the temperature changes, since the resistance values of the bias resistors of the primary amplification module 102 and the secondary amplification module 103 are small, the bias resistors of the primary amplification module 102 and the secondary amplification module 103 are affected by temperature drift. The influence is relatively small, so the resistance value of the bias resistor changes in a small range, thus, the amplification effect of the photoelectric conversion module 101 can be improved, and the reliability of optical inspection using the photoelectric conversion module 101 can be improved.

另外,由于可以通过该增益调节模块105来调整该二级放大模块103的放大增益倍数,在采用多路不同光源对该待检测物体进行检验、各路光源发射的光线强度存在差异的情况下,就可以通过调节该二级放大模块103的放大增益倍数来调整对该光电转换模块101输出的电流信号进行放大的倍数,进而可以通过调整对该光电转换模块101输出的电流信号进行放大的倍数来补偿由光源的波长、功率等因素造成的光线强度的不同,这样,还可以确保该光学采集放大电路可以在多路光源下进行光学检验时也能产生正确的模拟电信号,进而可以确保该光学采集放大电路可以在多路光源下进行光学检验时也可以向微控制单元106输出正确的数字电信号,以确保光学检验的适用性和可靠性。In addition, since the amplification gain of the secondary amplification module 103 can be adjusted by the gain adjustment module 105, when multiple different light sources are used to inspect the object to be detected, and the light intensity emitted by each light source is different, It is possible to adjust the amplification factor of the current signal output by the photoelectric conversion module 101 by adjusting the amplification gain multiple of the secondary amplification module 103, and then adjust the amplification factor of the current signal output by the photoelectric conversion module 101. Compensate for the difference in light intensity caused by factors such as the wavelength and power of the light source. In this way, it can also ensure that the optical acquisition and amplification circuit can also generate correct analog electrical signals when performing optical inspections under multiple light sources, thereby ensuring that the optical The acquisition and amplification circuit can also output correct digital electrical signals to the micro control unit 106 when the optical inspection is performed under multiple light sources, so as to ensure the applicability and reliability of the optical inspection.

如此,可以达到提高光学检验的可靠性和适用性的效果。In this way, the effect of improving the reliability and applicability of optical inspection can be achieved.

一种可能的实现方式中,在图1的基础上,参见图2,该一级放大模块102包括第一运算放大器U1、第一电阻R1、第一电容C1。In a possible implementation manner, referring to FIG. 2 on the basis of FIG. 1 , the primary amplification module 102 includes a first operational amplifier U1 , a first resistor R1 , and a first capacitor C1 .

该第一电阻R1的第一端分别与该光电转换模块101的输出端和该第一运算放大器U1的反相输入端连接,该第一电阻R1的第二端分别与该第一运算放大器U1的输出端和该二级放大模块103的输入端连接。The first terminal of the first resistor R1 is respectively connected to the output terminal of the photoelectric conversion module 101 and the inverting input terminal of the first operational amplifier U1, and the second terminal of the first resistor R1 is respectively connected to the first operational amplifier U1. The output terminal of is connected to the input terminal of the secondary amplification module 103 .

该第一运算放大器U1的正电源端用于输入工作电压,该第一运算放大器U1的正相输入端和负电源端接地。The positive power supply terminal of the first operational amplifier U1 is used for inputting an operating voltage, and the positive phase input terminal and the negative power supply terminal of the first operational amplifier U1 are grounded.

该第一电阻R1和该第一电容C1并联。The first resistor R1 is connected in parallel with the first capacitor C1.

可选地,该第一运算放大器U1可以是任意规格的放大器,一般地,可以选用型号为AD8606的双路放大器或者其他型号的单路、双路、四路放大器作为该第一运算放大器U1,本申请实施例对此不做限定。Optionally, the first operational amplifier U1 can be an amplifier of any specification. Generally, a dual amplifier of AD8606 or a single, dual, or quadruple amplifier of other models can be selected as the first operational amplifier U1. This embodiment of the present application does not limit it.

可选地,可以通过将第一运算放大器U1的正电源端与电源或供电模块连接,以由电源或供电模块为第一运算放大器U1供电,本申请实施例对此不做限定。Optionally, the positive power terminal of the first operational amplifier U1 may be connected to the power supply or the power supply module, so that the power supply or the power supply module supplies power to the first operational amplifier U1, which is not limited in this embodiment of the present application.

可选地,第一电阻R1可以作为该第一运算放大器U1的偏置电阻。Optionally, the first resistor R1 can be used as a bias resistor of the first operational amplifier U1.

第一电阻R1的阻值可以根据实际需要进行设置,比如,可以选用阻值为50兆欧(MΩ)的电阻作为第一电阻R1,本申请实施例对此不做限定。一般地,第一电阻R1的阻值可以较大,但第一电阻R1的阻值不能过大,这样可以确保在环境温度发生变化的情况下第一电阻R1的阻值的变化幅度较小,也即可以降低第一电阻R1受到温漂的影响。The resistance value of the first resistor R1 can be set according to actual needs, for example, a resistor with a resistance value of 50 megohms (MΩ) can be selected as the first resistor R1, which is not limited in this embodiment of the present application. Generally, the resistance value of the first resistor R1 can be relatively large, but the resistance value of the first resistor R1 cannot be too large, so as to ensure that the resistance value of the first resistor R1 has a small change range when the ambient temperature changes, That is, the first resistor R1 can be reduced from being affected by temperature drift.

可选地,第一电容C1的电容量可以设置的较小,比如,可以选用额定电容量为15皮法(pF)的电容器作为第一电容C1。Optionally, the capacitance of the first capacitor C1 can be set relatively small, for example, a capacitor with a rated capacitance of 15 picofarads (pF) can be selected as the first capacitor C1.

另外,第一电容C1可以作为滤波电容,在该光电转换模块101输出电流信号到该一级放大模块102的输入端,也即该第一电阻R1的第一端的情况下,那么第一电容C1开始充电,并且由于电容有对特定频率的等效容抗较小的特性,那么,第一电容C1就可以使得特定频率的电流通过,而阻隔其他频率的电流。这样就可以实现滤出特定频率的电流的目的。In addition, the first capacitor C1 can be used as a filter capacitor. When the photoelectric conversion module 101 outputs a current signal to the input terminal of the primary amplification module 102, that is, the first terminal of the first resistor R1, then the first capacitor C1 begins to charge, and since the capacitor has a characteristic of having a small equivalent capacitive reactance to a specific frequency, the first capacitor C1 can allow the current of a specific frequency to pass, while blocking the current of other frequencies. In this way, the purpose of filtering out the current of a specific frequency can be achieved.

值得说明的是,在该光电转换模块101将采集到的光线或光信号转换为电流信号并输出到第一运算放大器U1的反相输入端、第一电阻R1的第一端和第一电容C1的情况下,第一电阻R1可以将该电流信号转换为电压,并且第一运算放大器U1的输出端与第一运算放大器U1的反馈采样点为同一个点,那么,就形成了第一运算放大器U1的并联电压负反馈。这样,就可以使得一级放大模块102将该电流信号转换为电压信号,还可以实现对该电压信号进行的宽频带低通滤波、提高第一运算放大器U1的放大增益倍数的稳定性、减小初步放大后电压信号的非线性失真、并能抑制干扰和噪声,进而可以提高第一运算放大器U1对该电流信号的放大作用。It is worth noting that the photoelectric conversion module 101 converts the collected light or light signal into a current signal and outputs it to the inverting input terminal of the first operational amplifier U1, the first terminal of the first resistor R1 and the first capacitor C1 In the case of , the first resistor R1 can convert the current signal into a voltage, and the output terminal of the first operational amplifier U1 is at the same point as the feedback sampling point of the first operational amplifier U1, then the first operational amplifier is formed U1 parallel voltage negative feedback. In this way, the primary amplification module 102 can convert the current signal into a voltage signal, and can also realize broadband low-pass filtering of the voltage signal, improve the stability of the amplification gain of the first operational amplifier U1, and reduce the The nonlinear distortion of the voltage signal after preliminary amplification can suppress interference and noise, and then the amplification effect of the first operational amplifier U1 on the current signal can be improved.

一种可能的实现方式中,继续参见图2,该一级放大模块102还包括至少一个第二电容C2。In a possible implementation manner, continuing to refer to FIG. 2 , the primary amplification module 102 further includes at least one second capacitor C2.

各第二电容C2的第一极板与该第一运算放大器U1的正电源端连接,各第二电容C2的第二极板接地。The first plate of each second capacitor C2 is connected to the positive power supply terminal of the first operational amplifier U1, and the second plate of each second capacitor C2 is grounded.

也就是说,各第二电容C2并联。That is to say, each second capacitor C2 is connected in parallel.

值得注意的是,由于第一运算放大器U1的正电源端用于输入工作电压,而工作电压可能存在波动,这样,就可能会导致第一运算放大器U1处于不稳定工作的状态,进而导致影响该光学采集放大电路100的放大性能的问题。It should be noted that since the positive power supply terminal of the first operational amplifier U1 is used to input the operating voltage, and the operating voltage may fluctuate, this may cause the first operational amplifier U1 to be in an unstable working state, thereby affecting the The problem of the amplification performance of the optical acquisition and amplification circuit 100 .

值得注意的是,在电源或供电模块向第一运算放大器U1的正电源端输出电能的同时,电源或供电模块也向各第二电容C2输出电能,各第二电容C2的工作原理是当电源或供电模块的电压高于第二电容C2的电压时,各第二电容C2充电,当电源或供电模块的电压低于各第二电容C2的电压时,各第二电容C2放电。在各第二电容C2充放电的过程中,可以起到稳定输入第一运算放大器U1的正电源端的工作电压的作用,进而可以确保第一运算放大器U1可以稳定工作,进而可以达到确保该光学采集放大电路100的放大性能的效果。It should be noted that when the power supply or power supply module outputs electric energy to the positive power supply terminal of the first operational amplifier U1, the power supply or power supply module also outputs electric energy to each second capacitor C2, and the working principle of each second capacitor C2 is to act as a power supply Or when the voltage of the power supply module is higher than the voltage of the second capacitors C2, each second capacitor C2 is charged; when the voltage of the power supply or the power supply module is lower than the voltage of each second capacitor C2, each second capacitor C2 is discharged. In the process of charging and discharging each second capacitor C2, it can stabilize the working voltage input to the positive power supply terminal of the first operational amplifier U1, thereby ensuring that the first operational amplifier U1 can work stably, thereby ensuring that the optical acquisition The effect of the amplification performance of the amplification circuit 100.

一种可能的实现方式中,在图2的基础上,参见图3,该二级放大模块103包括第二运算放大器U2、第二电阻R2。In a possible implementation manner, referring to FIG. 3 on the basis of FIG. 2 , the secondary amplification module 103 includes a second operational amplifier U2 and a second resistor R2.

该第二运算放大器U2的正相输入端与该一级放大模块102的输出端连接,该第二运算放大器U2的反相输入端与该第二电阻R2的第一端连接,该第二电阻R2的第二端接地,该第二运算放大器U2的输出端与该模数转换模块104的输入端连接。The non-inverting input terminal of the second operational amplifier U2 is connected to the output terminal of the primary amplification module 102, the inverting input terminal of the second operational amplifier U2 is connected to the first end of the second resistor R2, and the second resistor The second end of R2 is grounded, and the output end of the second operational amplifier U2 is connected to the input end of the analog-to-digital conversion module 104 .

该第二运算放大器U2的反相输入端与输出端之间还用于连接该增益调节模块105。The gain adjustment module 105 is also connected between the inverting input terminal and the output terminal of the second operational amplifier U2.

具体地,该增益调节模块105的输入端用于连接该微控制单元106的控制端连接,该增益调节模块105的第一端分别与该第二运算放大器U2的负相输入端和该第二电阻R2的第一端连接,该增益调节模块105的第二端与该第二运算放大器U2的输出端连接。Specifically, the input end of the gain adjustment module 105 is used to connect to the control end of the microcontroller unit 106, and the first end of the gain adjustment module 105 is respectively connected to the negative phase input end of the second operational amplifier U2 and the second operational amplifier U2. The first end of the resistor R2 is connected, and the second end of the gain adjustment module 105 is connected to the output end of the second operational amplifier U2.

可选地,该第二运算放大器U2可以是任意规格的放大器,一般地,可以选用型号为AD8606的双路放大器或者其他型号的单路、双路、四路放大器作为该第二运算放大器U2,本申请实施例对此不做限定。Optionally, the second operational amplifier U2 can be an amplifier of any specification. Generally, a dual amplifier of AD8606 or a single, dual, or quadruple amplifier of other models can be selected as the second operational amplifier U2, This embodiment of the present application does not limit it.

可选地,该第二电阻R2的阻值可以较小,比如,可以将该第二电阻R2的阻值设置为1千欧(kΩ),另外,该第二电阻R2的温漂也较小,一般只有0.1%。一般地,可以根据光学采集放大电路100的实际需要将不同阻值的电阻作为该第二电阻R2,本申请实施例对此不做限定。Optionally, the resistance value of the second resistor R2 can be small, for example, the resistance value of the second resistor R2 can be set to 1 kiloohm (kΩ), in addition, the temperature drift of the second resistor R2 is also small , generally only 0.1%. Generally, resistors with different resistance values can be used as the second resistor R2 according to actual requirements of the optical acquisition and amplification circuit 100 , which is not limited in this embodiment of the present application.

另外,可以将该第二电阻R2视为该第二运算放大器U2的偏置电阻。In addition, the second resistor R2 can be regarded as a bias resistor of the second operational amplifier U2.

值得注意的是,一般地,该第二运算放大器U2的反相输入端与输出端之间需要接入一个反馈电阻,以与第二电阻R2形成该第二运算放大器U2的负反馈电路,具体地,该第二运算放大器U2的负反馈电路可以是串联电压负反馈,这样,不但可以使得该第二运算放大器U2输出的电压更稳定,还可以使得该第二运算放大器U2的放大增益倍数更稳定,进而可以实现提高该第二运算放大器U2的放大性能的效果。如此,可以达到提高光学检验的可靠性的效果。It should be noted that, generally, a feedback resistor needs to be connected between the inverting input terminal and the output terminal of the second operational amplifier U2, so as to form a negative feedback circuit of the second operational amplifier U2 with the second resistor R2, specifically Specifically, the negative feedback circuit of the second operational amplifier U2 can be a series voltage negative feedback. In this way, not only can the voltage output by the second operational amplifier U2 be more stable, but also the amplification gain of the second operational amplifier U2 can be made more stable. Stable, and then the effect of improving the amplification performance of the second operational amplifier U2 can be achieved. In this way, the effect of improving the reliability of the optical inspection can be achieved.

然而,在本申请实施例中,该第二运算放大器U2的反相输入端与输出端之间用于连接增益调节模块105,也就是说,增益调节模块105可以相当于该第二运算放大器U2的反馈电阻。However, in the embodiment of the present application, the gain adjustment module 105 is connected between the inverting input terminal and the output terminal of the second operational amplifier U2, that is to say, the gain adjustment module 105 may be equivalent to the second operational amplifier U2 the feedback resistor.

值得说明的是,由于该第二运算放大器U2的反相输入端与输出端之间用于连接增益调节模块105,增益调节模块105相当于该第二运算放大器U2的反馈电阻,而增益调节模块105可以调整二级放大模块103的放大增益倍数,那么,就可以通过调整增益调节模块105的电阻来调整该第二运算放大器U2的放大增益倍数。这样,就可以实现改变光学采集放大电路100对由光信号转换的电流信号进行放大的倍数,进而可以达到提高光学检验的适用性的效果。It is worth noting that, since the inverting input terminal and the output terminal of the second operational amplifier U2 are used to connect the gain adjustment module 105, the gain adjustment module 105 is equivalent to the feedback resistor of the second operational amplifier U2, and the gain adjustment module 105 can adjust the amplification gain of the secondary amplifier module 103 , then the amplification gain of the second operational amplifier U2 can be adjusted by adjusting the resistance of the gain adjustment module 105 . In this way, it is possible to change the amplifying factor of the current signal converted from the optical signal by the optical acquisition and amplification circuit 100, thereby achieving the effect of improving the applicability of the optical inspection.

一种可能的实现方式中,该增益调节模块105包括第一芯片。In a possible implementation manner, the gain adjustment module 105 includes a first chip.

该第一芯片用于通过改变该第一芯片的第一端和第二端之间的阻值来调整该二级放大模块103的放大增益倍数。The first chip is used to adjust the amplification gain of the secondary amplification module 103 by changing the resistance between the first terminal and the second terminal of the first chip.

具体地,可以将该第一芯片的第一端和第二端分别和该第二运算放大器U2的反相输入端与输出端连接,以将该第一芯片的第一端和第二端接入该光学采集放大电路100中以形成该第二运算放大器U2的负反馈电路,进而可以将该第一芯片的第一端和第二端之间的输出电阻作为该第二运算放大器U2的反馈电阻。Specifically, the first terminal and the second terminal of the first chip can be respectively connected to the inverting input terminal and the output terminal of the second operational amplifier U2, so as to connect the first terminal and the second terminal of the first chip to into the optical acquisition amplifier circuit 100 to form the negative feedback circuit of the second operational amplifier U2, and then the output resistance between the first end and the second end of the first chip can be used as the feedback of the second operational amplifier U2 resistance.

可选地,该微控制单元106用于向该第一芯片输出控制信号以调整该第一芯片的第一端和第二端之间的阻值。Optionally, the microcontroller unit 106 is configured to output a control signal to the first chip to adjust the resistance between the first terminal and the second terminal of the first chip.

可选地,该第一芯片可以是任一可以实现调节输出电阻的功能的芯片,比如,该第一芯片可以是型号为MCP4461-503E/ML四通道数字电位器。Optionally, the first chip may be any chip capable of adjusting the output resistance. For example, the first chip may be a four-channel digital potentiometer modeled as MCP4461-503E/ML.

值得注意的是,该第一芯片可以有多个通道,每个通道对应一个第一端和第二端,在将该第一芯片接入该光学采集放大电路100的情况下,可以是将该第一芯片的任意一组通道对应的第一端和第二端分别与该第二运算放大器U2的反相输入端和输出端连接。这样,就可以通过改变该第一芯片的第一端和第二端之间的电阻,来调整第二运算放大器U2的放大增益倍数的目的。It should be noted that the first chip may have multiple channels, and each channel corresponds to a first terminal and a second terminal. When the first chip is connected to the optical acquisition and amplification circuit 100, it may be the The first terminal and the second terminal corresponding to any group of channels of the first chip are respectively connected to the inverting input terminal and the output terminal of the second operational amplifier U2. In this way, the amplification gain of the second operational amplifier U2 can be adjusted by changing the resistance between the first terminal and the second terminal of the first chip.

一种可能的实现方式中,在图3的基础上,参见图4,该光学采集放大电路100还包括电平转换模块107。In a possible implementation manner, on the basis of FIG. 3 , referring to FIG. 4 , the optical acquisition and amplification circuit 100 further includes a level conversion module 107 .

该电平转换模块107的第一输入端、第二输入端、第三输入端分别与该微控制单元106的控制端连接,该电平转换模块107的第一输出端与该增益调节模块105的使能端连接,该电平转换模块107的第二输出端与该增益调节模块105的输入端连接,该电平转换模块107的第二输出端与该增益调节模块105的复位控制端连接。The first input end, the second input end, and the third input end of the level conversion module 107 are respectively connected to the control end of the micro control unit 106, and the first output end of the level conversion module 107 is connected to the gain adjustment module 105 The enabling end of the level conversion module 107 is connected to the input end of the gain adjustment module 105, and the second output end of the level conversion module 107 is connected to the reset control end of the gain adjustment module 105. .

该电平转换模块107用于转换该微控制单元106输出到该电平转换模块107的各输入端上电压的电压等级,并将转换后的电压从该电平转换模块107的各输出端输出到该增益调节模块105对应的端口。The level conversion module 107 is used to convert the voltage level of the voltage output from the microcontroller unit 106 to each input terminal of the level conversion module 107, and output the converted voltage from each output terminal of the level conversion module 107 to the port corresponding to the gain adjustment module 105 .

值得注意的是,由于该微控制单元106的各控制端输出电压的等级与该增益调节模块105的使能端、输入端和/或复位控制端可以识别的电压等级不同,那么就需要将该微控制单元106各控制端输出电压的等级对应转换为与该增益调节模块105的各端口可以识别的电压等级,再将转换后的电压输出到该增益调节模块105对应的端口。这样,就可以确保该增益调节模块105可以准确识别该微控制单元106输出的控制信号,并准确地根据各控制信号进行相应的动作。It should be noted that since the level of the output voltage of each control terminal of the micro control unit 106 is different from the voltage level that can be identified by the enable terminal, input terminal and/or reset control terminal of the gain adjustment module 105, then the The level of the output voltage of each control terminal of the micro control unit 106 is correspondingly converted into a voltage level that can be recognized by each port of the gain adjustment module 105 , and then the converted voltage is output to the corresponding port of the gain adjustment module 105 . In this way, it can be ensured that the gain adjustment module 105 can accurately identify the control signals output by the micro control unit 106, and accurately perform corresponding actions according to each control signal.

例如,在该增益调节模块105为上述四通道数字电位器的情况下,该增益调节模块105可以根据该微控制单元106通过该电平转换模块107输出到复位控制端的控制信号将各通道的第一端和第二端之间的电阻调整为初始电阻,也可以根据该微控制单元106通过该电平转换模块107输出到使能端的控制信号进入使能状态、下电状态或休眠状态,还可以根据该微控制单元106通过该电平转换模块107输出到该增益调节模块105的输入端的控制信号,控制各通道的第一端和第二端之间的电阻阻值。For example, in the case where the gain adjustment module 105 is the above-mentioned four-channel digital potentiometer, the gain adjustment module 105 can output the control signal to the reset control terminal through the level conversion module 107 of the micro control unit 106 to set the first channel of each channel to The resistance between one end and the second end is adjusted to the initial resistance, and the control signal output to the enabling end by the level conversion module 107 from the micro-control unit 106 can also be entered into an enabling state, a power-off state or a dormant state, or The resistance value of the resistance between the first terminal and the second terminal of each channel can be controlled according to the control signal output from the micro control unit 106 to the input terminal of the gain adjustment module 105 through the level conversion module 107 .

如此,就可以通过精确地控制该增益调节模块105来实现准确控制该第二运算放大器U2的放大增益倍数的目的,进而可以提高利用该光学采集放大电路100进行光学检验的可靠性和适配性。In this way, the purpose of accurately controlling the amplification gain of the second operational amplifier U2 can be achieved by precisely controlling the gain adjustment module 105, thereby improving the reliability and adaptability of optical inspection using the optical collection and amplification circuit 100 .

一种可能的实现方式中,在图4的基础上,参见图5,该光学采集放大电路100还包括滤波模块108。In a possible implementation manner, on the basis of FIG. 4 , referring to FIG. 5 , the optical acquisition and amplification circuit 100 further includes a filtering module 108 .

该滤波模块108的输入端与该一级放大模块102的输出端连接,该滤波模块108的输出端与该二级放大模块103的输入端连接。The input end of the filtering module 108 is connected to the output end of the primary amplification module 102 , and the output end of the filtering module 108 is connected to the input end of the secondary amplification module 103 .

值得注意的是,在该一级放大模块102对该电压信号进行宽频带低通滤波,并将滤波后的电压信号进行初步放大之后,该一级放大模块102就需要将初步放大后的电压信号输出到该二级放大模块103。那么,在初步放大后电压信号存在非线性失真或存在杂波的情况下,直接通过该二级放大模块103对初步放大后的电压信号进行再次放大的话,就会导致将放大后电压信号中存在的非线性失真或杂波也进行放大,这样,就会导致该二级放大模块103最终输出的模拟电信号的误差较大。It should be noted that after the primary amplification module 102 performs broadband low-pass filtering on the voltage signal and initially amplifies the filtered voltage signal, the primary amplification module 102 needs to amplify the initially amplified voltage signal output to the secondary amplification module 103. Then, if there is nonlinear distortion or clutter in the voltage signal after the initial amplification, if the voltage signal after the initial amplification is directly amplified again through the secondary amplification module 103, it will result in the presence of The nonlinear distortion or clutter is also amplified, so that the error of the analog electrical signal finally output by the secondary amplification module 103 is relatively large.

值得说明的是,通过将该滤波模块108连接在该一级放大模块102的输出端和该二级放大模块103的输入端之间,那么,就可以利用该滤波模块108对初步放大后电压信号进行滤波,这样,就会确保该二级放大模块103最终输出的模拟电信号的误差较小,进而可以提高利用该光学采集放大电路100进行光学检验的可靠性。It is worth noting that, by connecting the filtering module 108 between the output terminal of the primary amplification module 102 and the input terminal of the secondary amplification module 103, then the filtering module 108 can be used to filter the pre-amplified voltage signal Filtering is performed, so that the error of the analog electrical signal finally output by the secondary amplification module 103 is ensured to be small, thereby improving the reliability of the optical inspection by the optical collection and amplification circuit 100 .

一种可能的实现方式中,在图5的基础上,参见图6,该滤波模块108包括第三电阻R3和第三电容C3。In a possible implementation manner, referring to FIG. 6 on the basis of FIG. 5 , the filtering module 108 includes a third resistor R3 and a third capacitor C3.

该第三电阻R3的第一端与该一级放大模块102的输出端连接,该第三电阻R3的第二端分别与该二级放大模块103的输入端和该第三电容C3的第一极板连接,该第三电容C3的第二极板接地。The first end of the third resistor R3 is connected to the output end of the primary amplification module 102, and the second end of the third resistor R3 is respectively connected to the input end of the secondary amplification module 103 and the first end of the third capacitor C3. The plates are connected, and the second plate of the third capacitor C3 is grounded.

值得说明的是,通过利用第三电阻R3和第三电容C3对初步放大后电压信号进行滤波,这样,就会确保该二级放大模块103最终输出的模拟电信号的误差较小,进而可以提高利用该光学采集放大电路100进行光学检验的可靠性。It is worth noting that, by using the third resistor R3 and the third capacitor C3 to filter the voltage signal after the preliminary amplification, it will ensure that the error of the analog electrical signal finally output by the secondary amplification module 103 is small, thereby improving The reliability of the optical inspection is performed by using the optical acquisition and amplification circuit 100 .

一种可能的方式中,可以通过微控制单元106向该增益调节模块105的输入端输出相应的控制信号来调整该增益调节模块105的阻值。In a possible manner, the resistance value of the gain adjustment module 105 can be adjusted by the micro control unit 106 outputting a corresponding control signal to the input end of the gain adjustment module 105 .

也可以通过在该增益调节模块105上设置其他的机械结构或电器结构来调节整该增益调节模块105的阻值,在这种情况下,该增益调节模块105可以是滑动变阻器或其他的可变电阻,本申请实施例对此不做限定。It is also possible to adjust the resistance value of the gain adjustment module 105 by setting other mechanical structures or electrical structures on the gain adjustment module 105. In this case, the gain adjustment module 105 can be a sliding rheostat or other variable The resistance is not limited in this embodiment of the present application.

本申请实施例还提供一种光学采集放大装置。该光学采集放大装置包括供电模块、微控制单元106以及至少一个如上述实施例中的任一光学采集放大电路100。The embodiment of the present application also provides an optical collection and amplification device. The optical collection and amplification device includes a power supply module, a micro control unit 106 and at least one optical collection and amplification circuit 100 as in any of the above-mentioned embodiments.

该微控制单元106用于识别数字电信号,以确定待检测物体的属性信息,并输出与该属性信息匹配的电信号。The micro-control unit 106 is used to identify digital electrical signals to determine attribute information of the object to be detected, and output an electrical signal matching the attribute information.

可选地,供电模块可以输出5V、6V、12V、24V、36V和/或其他任意可能等级的电压。本申请实施例对此不做限定。Optionally, the power supply module can output voltages of 5V, 6V, 12V, 24V, 36V and/or any other possible levels. This embodiment of the present application does not limit it.

一种可能的方式中,在该光学采集放大装置包括两个或两个以上、四个以下的光学采集放大电路100的情况下,各光学采集放大电路100可以共用同一个增益调节模块,在这种情况下,该增益调节模块可以优先选用型号为MCP4461-503E/ML的四通道数字电位器作为该增益调节模块中的第一芯片。In a possible manner, in the case where the optical collection and amplification device includes two or more than two and less than four optical collection and amplification circuits 100, each optical collection and amplification circuit 100 can share the same gain adjustment module. In this case, the gain adjustment module can preferably use a four-channel digital potentiometer model MCP4461-503E/ML as the first chip in the gain adjustment module.

值得注意的是,由于型号为MCP4461-503E/ML的四通道数字电位器上有四组通道,每组通道分别对应一个第一端和第二端,那么,就可以将每组通道对应的第一端和第二端分别接入各个光学采集放大电路100中的该第二运算放大器U2的反相输入端与输出端之间,然后通过微控制单元106向该型号为MCP4461-503E/ML的四通道数字电位器发送相应的控制信号,以改变各组通道的第一端和第二端之间的输出电阻,也即,改变接入各个光学采集放大电路100中的第二运算放大器U2的反相输入端与输出端之间的电阻。It is worth noting that since there are four groups of channels on the four-channel digital potentiometer model MCP4461-503E/ML, and each group of channels corresponds to a first terminal and a second terminal, then the corresponding first terminal of each group of channels can be One end and the second end are respectively connected between the inverting input end and the output end of the second operational amplifier U2 in each optical acquisition amplifier circuit 100, and then the model is MCP4461-503E/ML through the micro control unit 106 The four-channel digital potentiometer sends corresponding control signals to change the output resistance between the first end and the second end of each group of channels, that is, to change the second operational amplifier U2 connected to each optical acquisition amplifier circuit 100. Resistance between inverting input and output.

这样,就可以达到提高该光学采集放大装置的可靠性和适用性的效果。In this way, the effect of improving the reliability and applicability of the optical collection and amplification device can be achieved.

以上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the application, and should be covered Within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.

Claims (10)

1.一种光学采集放大电路,其特征在于,所述光学采集放大电路包括光电转换模块、一级放大模块、二级放大模块、模数转换模块以及增益调节模块;1. An optical acquisition and amplification circuit, characterized in that, the optical acquisition and amplification circuit includes a photoelectric conversion module, a primary amplification module, a secondary amplification module, an analog-to-digital conversion module and a gain adjustment module; 所述光电转换模块的输出端与所述一级放大模块的输入端连接,所述一级放大模块的输出端与所述二级放大模块的输入端连接,所述二级放大模块的输出端与所述模数转换模块的输入端连接,所述模数转换模块的输出端用于连接微控制单元,所述增益调节模块的输入端用于连接所述微控制单元,所述增益调节模块的控制端与所述二级放大模块的控制端连接;The output end of the photoelectric conversion module is connected to the input end of the first-level amplification module, the output end of the first-level amplification module is connected to the input end of the second-level amplification module, and the output end of the second-level amplification module It is connected with the input end of the analog-to-digital conversion module, the output end of the analog-to-digital conversion module is used to connect the micro control unit, the input end of the gain adjustment module is used to connect the micro control unit, and the gain adjustment module The control terminal is connected to the control terminal of the secondary amplification module; 所述光电转换模块用于采集待检测物体的反射光线,并根据所述反射光线输出电流信号到所述一级放大模块;The photoelectric conversion module is used to collect the reflected light of the object to be detected, and output a current signal to the first-stage amplification module according to the reflected light; 所述一级放大模块用于将所述电流信号转换为电压信号,并对所述电压信号进行滤波和放大,并将放大后的电压信号输出到所述二级放大模块;所述二级放大模块用于对所述放大后的电压信号进行滤波和放大,并向所述模数转换模块输出与所述放大后的电压信号匹配的模拟电信号;所述模数转换模块用于将所述模拟电信号转换为供所述微控制单元识别的数字电信号;所述增益调节模块用于调整所述二级放大模块的放大增益倍数;The primary amplification module is used to convert the current signal into a voltage signal, filter and amplify the voltage signal, and output the amplified voltage signal to the secondary amplification module; the secondary amplification The module is used to filter and amplify the amplified voltage signal, and output an analog electrical signal matching the amplified voltage signal to the analog-to-digital conversion module; the analog-to-digital conversion module is used to convert the The analog electrical signal is converted into a digital electrical signal recognized by the micro control unit; the gain adjustment module is used to adjust the amplification gain of the secondary amplification module; 所述二级放大模块的低通滤波频率小于所述一级放大模块的低通滤波频率。The low-pass filtering frequency of the secondary amplification module is lower than the low-pass filtering frequency of the primary amplification module. 2.如权利要求1所述的光学采集放大电路,其特征在于,所述一级放大模块包括第一运算放大器、第一电阻、第一电容;2. The optical acquisition and amplification circuit according to claim 1, wherein the primary amplification module comprises a first operational amplifier, a first resistor, and a first capacitor; 所述第一电阻的第一端分别与所述光电转换模块的输出端和所述第一运算放大器的反相输入端连接,所述第一电阻的第二端分别与所述第一运算放大器的输出端和所述二级放大模块的输入端连接;The first end of the first resistor is respectively connected to the output end of the photoelectric conversion module and the inverting input end of the first operational amplifier, and the second end of the first resistor is respectively connected to the first operational amplifier The output terminal is connected to the input terminal of the secondary amplification module; 所述第一运算放大器的正电源端用于输入工作电压,所述第一运算放大器的正相输入端和负电源端接地;The positive power supply terminal of the first operational amplifier is used to input an operating voltage, and the positive phase input terminal and the negative power supply terminal of the first operational amplifier are grounded; 所述第一电阻和所述第一电容并联。The first resistor and the first capacitor are connected in parallel. 3.如权利要求2所述的光学采集放大电路,其特征在于,所述一级放大模块还包括至少一个第二电容;3. The optical acquisition and amplification circuit according to claim 2, wherein the primary amplification module further comprises at least one second capacitor; 各所述第二电容的第一极板与所述第一运算放大器的正电源端连接,各所述第二电容的第二极板接地。The first plate of each second capacitor is connected to the positive power supply terminal of the first operational amplifier, and the second plate of each second capacitor is grounded. 4.如权利要求1所述的光学采集放大电路,其特征在于,所述二级放大模块包括第二运算放大器、第二电阻;4. The optical acquisition and amplification circuit according to claim 1, wherein the secondary amplification module comprises a second operational amplifier and a second resistor; 所述第二运算放大器的正相输入端与所述一级放大模块的输出端连接,所述第二运算放大器的反相输入端与所述第二电阻的第一端连接,所述第二电阻的第二端接地,所述第二运算放大器的输出端与所述模数转换模块的输入端连接;The non-inverting input terminal of the second operational amplifier is connected to the output terminal of the first-stage amplification module, the inverting input terminal of the second operational amplifier is connected to the first terminal of the second resistor, and the second The second end of the resistor is grounded, and the output end of the second operational amplifier is connected to the input end of the analog-to-digital conversion module; 所述第二运算放大器的反相输入端与输出端之间还用于连接所述增益调节模块。The gain adjustment module is also connected between the inverting input terminal and the output terminal of the second operational amplifier. 5.如权利要求4所述的光学采集放大电路,其特征在于,所述增益调节模块的输入端用于连接所述微控制单元的控制端,所述增益调节模块的第一端分别与所述第二运算放大器的负相输入端和所述第二电阻的第一端连接,所述增益调节模块的第二端与所述第二运算放大器的输出端连接。5. The optical acquisition and amplification circuit according to claim 4, wherein the input end of the gain adjustment module is used to connect the control end of the micro control unit, and the first end of the gain adjustment module is respectively connected to the The negative input terminal of the second operational amplifier is connected to the first terminal of the second resistor, and the second terminal of the gain adjustment module is connected to the output terminal of the second operational amplifier. 6.如权利要求5所述的光学采集放大电路,其特征在于,所述增益调节模块包括第一芯片;6. The optical acquisition and amplification circuit according to claim 5, wherein the gain adjustment module comprises a first chip; 所述第一芯片用于通过改变所述第一芯片的第一端和第二端之间的阻值来调整所述二级放大模块的放大增益倍数。The first chip is used to adjust the amplification gain of the secondary amplification module by changing the resistance between the first terminal and the second terminal of the first chip. 7.如权利要求5所述的光学采集放大电路,其特征在于,所述光学采集放大电路还包括电平转换模块;7. The optical acquisition and amplification circuit according to claim 5, wherein the optical acquisition and amplification circuit also includes a level conversion module; 所述电平转换模块的第一输入端、第二输入端、第三输入端分别与所述微控制单元的控制端连接,所述电平转换模块的第一输出端与所述增益调节模块的使能端连接,所述电平转换模块的第二输出端与所述增益调节模块的输入端连接,所述电平转换模块的第二输出端与所述增益调节模块的复位控制端连接;The first input end, the second input end, and the third input end of the level conversion module are respectively connected to the control end of the micro control unit, and the first output end of the level conversion module is connected to the gain adjustment module The enabling end of the level conversion module is connected, the second output end of the level conversion module is connected to the input end of the gain adjustment module, and the second output end of the level conversion module is connected to the reset control end of the gain adjustment module ; 所述电平转换模块用于转换所述微控制单元输出到所述电平转换模块的各输入端上电压的电压等级,并将转换后的电压从所述电平转换模块的各输出端输出到所述增益调节模块对应的端口。The level conversion module is used to convert the voltage level of the voltage output from the micro control unit to each input terminal of the level conversion module, and output the converted voltage from each output terminal of the level conversion module to the port corresponding to the gain adjustment module. 8.如权利要求1-7任一项所述的光学采集放大电路,其特征在于,所述光学采集放大电路还包括滤波模块;8. The optical acquisition and amplification circuit according to any one of claims 1-7, wherein the optical acquisition and amplification circuit further comprises a filtering module; 所述滤波模块的输入端与所述一级放大模块的输出端连接,所述滤波模块的输出端与所述二级放大模块的输入端连接。The input end of the filtering module is connected to the output end of the first-stage amplification module, and the output end of the filtering module is connected to the input end of the second-stage amplification module. 9.如权利要求8所述的光学采集放大电路,其特征在于,所述滤波模块包括第三电阻和第三电容;9. The optical acquisition and amplification circuit according to claim 8, wherein the filtering module comprises a third resistor and a third capacitor; 所述第三电阻的第一端与所述一级放大模块的输出端连接,所述第三电阻的第二端分别与所述二级放大模块的输入端和所述第三电容的第一极板连接,所述第三电容的第二极板接地。The first end of the third resistor is connected to the output end of the first-stage amplification module, and the second end of the third resistor is respectively connected to the input end of the second-stage amplification module and the first end of the third capacitor. The plates are connected, and the second plate of the third capacitor is grounded. 10.一种光学采集放大装置,其特征在于,所述光学采集放大装置包括供电模块、微控制单元以及至少一个如权利要求1至9任一项所述的光学采集放大电路;10. An optical collection and amplification device, characterized in that the optical collection and amplification device comprises a power supply module, a micro control unit and at least one optical collection and amplification circuit according to any one of claims 1 to 9; 所述微控制单元用于识别数字电信号,以确定待检测物体的属性信息,并输出与所述属性信息匹配的电信号。The micro control unit is used to identify digital electrical signals to determine attribute information of the object to be detected, and output an electrical signal matching the attribute information.
CN202222342402.2U 2022-09-01 2022-09-01 Optical acquisition and amplification circuit and device Active CN218006205U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202222342402.2U CN218006205U (en) 2022-09-01 2022-09-01 Optical acquisition and amplification circuit and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202222342402.2U CN218006205U (en) 2022-09-01 2022-09-01 Optical acquisition and amplification circuit and device

Publications (1)

Publication Number Publication Date
CN218006205U true CN218006205U (en) 2022-12-09

Family

ID=84289067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202222342402.2U Active CN218006205U (en) 2022-09-01 2022-09-01 Optical acquisition and amplification circuit and device

Country Status (1)

Country Link
CN (1) CN218006205U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116295986A (en) * 2023-05-24 2023-06-23 无锡卓海科技股份有限公司 Optical signal processing device, method and stress detection system
CN118399907A (en) * 2024-03-28 2024-07-26 江西联创电子有限公司 Gain-adjustable signal amplification circuit, ultrasonic radar and vehicle
CN118737014A (en) * 2024-09-04 2024-10-01 惠科股份有限公司 A gain circuit and method for automatically adjusting light-sensing current, and a display panel

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116295986A (en) * 2023-05-24 2023-06-23 无锡卓海科技股份有限公司 Optical signal processing device, method and stress detection system
CN116295986B (en) * 2023-05-24 2023-08-18 无锡卓海科技股份有限公司 Optical signal processing device, method and stress detection system
CN118399907A (en) * 2024-03-28 2024-07-26 江西联创电子有限公司 Gain-adjustable signal amplification circuit, ultrasonic radar and vehicle
CN118737014A (en) * 2024-09-04 2024-10-01 惠科股份有限公司 A gain circuit and method for automatically adjusting light-sensing current, and a display panel

Similar Documents

Publication Publication Date Title
CN218006205U (en) Optical acquisition and amplification circuit and device
CN201307089Y (en) A Terahertz wave detector and a detection system
CN109523739B (en) Circuit arrangement for a smoke sensor
CN107966167B (en) Optical signal receiving device and photoelectric detection equipment
US11610638B2 (en) Sample holding circuit of reduced complexity and electronic device using the same
CN102075150A (en) Photoelectric signal preconditioning amplifying circuit of auto iris for digital gastrointestinal machine
CN106941340A (en) A kind of collection for improving photosignal signal to noise ratio and process circuit
WO2019233033A1 (en) Terahertz time domain spectrum data acquisition system
CN110471000A (en) Battery Noise Test Set
CN220854614U (en) Detection system and protein analyzer based on filtering and amplifying module
TW201939013A (en) Multi-channel detecting system
CN212965147U (en) Voltage analog signal isolation differential acquisition circuit structure
CN209070058U (en) A kind of transmission line of electricity corona detection device of UAV flight
CN108681270A (en) A kind of signal processing circuit of Linear CCD Detector
CN114244363A (en) Microcurrent IV conversion device and method
CN204789251U (en) Leading treatment circuit of signal of particulate matter on -line monitoring appearance based on mie scattering
CN107817009A (en) A kind of laser detects monitoring device from mixing
CN114487579A (en) Current detection circuit
CN223285820U (en) An isolation circuit for photoelectric detector performance testing
CN217819987U (en) Multi-probe infrared spectrometer
CN115683350B (en) A weak signal acquisition circuit for single-channel lead salt photodetector
CN106124951A (en) Time-frequency mix insulation diagnostic system based on polarization depolarization current method
CN222393972U (en) Magnetic bead concentration detection device
CN220854615U (en) Signal acquisition chip and system based on fluorescence analyzer
CN222837675U (en) Online light intensity detection module

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant