CN115237026A - A kind of DC pulse signal acquisition circuit - Google Patents
A kind of DC pulse signal acquisition circuit Download PDFInfo
- Publication number
- CN115237026A CN115237026A CN202210947297.7A CN202210947297A CN115237026A CN 115237026 A CN115237026 A CN 115237026A CN 202210947297 A CN202210947297 A CN 202210947297A CN 115237026 A CN115237026 A CN 115237026A
- Authority
- CN
- China
- Prior art keywords
- resistor
- capacitor
- signal
- unit
- pin
- 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.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 24
- 230000000630 rising effect Effects 0.000 claims abstract description 7
- 239000003990 capacitor Substances 0.000 claims description 123
- 238000001914 filtration Methods 0.000 claims description 29
- 238000002955 isolation Methods 0.000 claims description 13
- 230000003321 amplification Effects 0.000 claims description 6
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000036039 immunity Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/12—Analogue/digital converters
- H03M1/124—Sampling or signal conditioning arrangements specially adapted for A/D converters
- H03M1/1245—Details of sampling arrangements or methods
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24215—Scada supervisory control and data acquisition
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Measurement Of Current Or Voltage (AREA)
- Amplifiers (AREA)
Abstract
Description
技术领域technical field
本公开涉及电气技术领域,具体涉及一种直流脉冲信号采集电路。The present disclosure relates to the field of electrical technology, in particular to a DC pulse signal acquisition circuit.
背景技术Background technique
在控制领域,往往需要计数传感器对执行机构的有效动作进行计数,当前计数传感器普遍采用编码器、位移传感器等类型传感器,其输出信号为脉冲信号;为完成执行机构的动作计数,需要对计数传感器输出的脉冲信号进行采集处理。In the field of control, counting sensors are often required to count the effective actions of the actuators. Currently, sensors of the type such as encoders and displacement sensors are generally used for counting sensors, and their output signals are pulse signals. The output pulse signal is collected and processed.
在以往,通常采用光电耦合器和触发器组合、高速AD转换电路等方式进行计数采集,其中,光电耦合器和触发器组合虽然实现隔离采集,但对于存在尖峰或者抖动的脉冲信号会出现光电耦合器误导通,影响计数精度,而高速AD转换电路高速AD转换能力,可完成脉冲信号电压值的实时采集,经逻辑电路判断后进行计数,但该方法占用大量的硬件和软件处理资源,且隔离采集实现难度大。所以,为满足某型机载设备的需求,完成执行机构的有效动作进行计数,并综合考虑外部电磁环境影响,我们提出一种直流脉冲信号采集电路,用以解决上述问题。In the past, counting acquisition was usually performed by means of a combination of optocouplers and triggers, high-speed AD conversion circuits, etc. Among them, the combination of optocouplers and triggers achieved isolated acquisition, but for pulse signals with spikes or jitters, there would be photocoupling. The high-speed AD conversion circuit has high-speed AD conversion capability, which can complete the real-time acquisition of the voltage value of the pulse signal, and count after being judged by the logic circuit, but this method takes up a lot of hardware and software processing resources, and the isolation Collection is difficult to achieve. Therefore, in order to meet the needs of a certain type of airborne equipment, complete the effective action of the actuator to count, and comprehensively consider the influence of the external electromagnetic environment, we propose a DC pulse signal acquisition circuit to solve the above problems.
发明内容SUMMARY OF THE INVENTION
鉴于现有技术中的上述缺陷或不足,期望提供一种电路简单的能够对执行机构的有效动作进行计数的直流脉冲信号采集电路。In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a DC pulse signal acquisition circuit with a simple circuit that can count the effective actions of the actuator.
第一方面,本申请提供一种直流脉冲信号采集电路,包括:In a first aspect, the present application provides a DC pulse signal acquisition circuit, including:
转换模块,所述转换模块具有第一输入端,所述第一输入端配置用于接收第一差分脉冲信号;所述转换模块配置用于将所述第一差分脉冲信号进行转换,得到第二单端信号;a conversion module, the conversion module has a first input terminal, the first input terminal is configured to receive a first differential pulse signal; the conversion module is configured to convert the first differential pulse signal to obtain a second differential pulse signal single-ended signal;
电压跟随模块,所述电压跟随模块具有第二输入端,所述第二输入端配置用于接收所述第二单端信号,所述电压跟随模块配置用于实现第二单端信号与比较模块输入端信号的阻抗匹配,得到第三单端信号;a voltage follower module, the voltage follower module has a second input terminal, the second input terminal is configured to receive the second single-ended signal, and the voltage follower module is configured to implement the second single-ended signal and a comparison module The impedance of the input signal is matched to obtain the third single-ended signal;
比较模块,所述比较模块具有第三输入端和第四输入端,所述第三输入端配置用于接收第四参考信号,所述第四输入端配置用于接收所述第三单端信号,所述比较模块配置用于将所述第四参考信号和所述第三单端信号进行比较,得到第五电平信号;a comparison module, the comparison module has a third input terminal and a fourth input terminal, the third input terminal is configured to receive a fourth reference signal, and the fourth input terminal is configured to receive the third single-ended signal , the comparison module is configured to compare the fourth reference signal with the third single-ended signal to obtain a fifth level signal;
FPGA模块,所述FPGA模块具有第五输入端和第六输入端,所述第五输入端和所述第六输入端均配置用于接收所述第五电平信号,所述FPGA模块配置用于计算所述第五电平信号上升沿和下降沿的数量。FPGA module, the FPGA module has a fifth input terminal and a sixth input terminal, both the fifth input terminal and the sixth input terminal are configured to receive the fifth level signal, and the FPGA module is configured with for calculating the number of rising edges and falling edges of the fifth level signal.
根据本申请实施例提供的技术方案,所述转换模块包括分压单元,第一限流单元和差分放大单元;According to the technical solutions provided by the embodiments of the present application, the conversion module includes a voltage dividing unit, a first current limiting unit and a differential amplifying unit;
所述分压单元具有输入端,所述分压单元的输入端与所述第一输入端相同,配置用于接收第一差分脉冲信号;所述分压单元配置用于将所述第一差分脉冲信号进行分压处理,得到第一脉冲分压信号;The voltage dividing unit has an input terminal, and the input terminal of the voltage dividing unit is the same as the first input terminal, and is configured to receive a first differential pulse signal; the voltage dividing unit is configured to convert the first differential pulse signal. The pulse signal is subjected to voltage division processing to obtain a first pulse voltage division signal;
所述第一限流单元具有输入端,所述第一限流单元的输入端配置用于接收所述第一脉冲分压信号;所述第一限流单元配置用于将所述第一脉冲分压信号限流,得到限流后的第一脉冲分压信号;The first current limiting unit has an input end, and the input end of the first current limiting unit is configured to receive the first pulse voltage division signal; the first current limiting unit is configured to convert the first pulse The voltage division signal is current-limited, and the first pulse voltage-divided signal after current-limiting is obtained;
所述差分放大单元具有输入端,所述差分放大单元的输入端配置用于接收所述限流后的第一脉冲分压信号;所述差分放大单元配置用于将所述限流后的第一脉冲分压信号进行转换,得到第二单端信号。The differential amplifying unit has an input end, and the input end of the differential amplifying unit is configured to receive the current-limited first pulse voltage-divided signal; the differential amplifying unit is configured to convert the current-limited first pulse signal. A pulse voltage-divided signal is converted to obtain a second single-ended signal.
根据本申请实施例提供的技术方案,所述电压跟随模块包括第二限流单元和电压跟随单元;According to the technical solutions provided by the embodiments of the present application, the voltage follower module includes a second current limiting unit and a voltage follower unit;
所述第二限流单元具有输入端,所述第二限流单元的输入端与所述第二输入端相同,配置用于接收所述第二单端信号;所述第二限流单元配置用于将所述第二单端信号限流处理,得到限流后的第二单端信号;The second current limiting unit has an input end, and the input end of the second current limiting unit is the same as the second input end, and is configured to receive the second single-ended signal; the second current limiting unit is configured used to limit the second single-ended signal to obtain a current-limited second single-ended signal;
所述电压跟随单元具有输入端,所述电压跟随单元的输入端配置用于接收所述限流后的第二单端信号;所述电压跟随单元配置用于实现所述限流后的第二单端信号与比较模块输入端信号的阻抗匹配,得到第三单端信号。The voltage follower unit has an input terminal, and the input terminal of the voltage follower unit is configured to receive the second single-ended signal after the current limit; the voltage follower unit is configured to realize the second current limit signal. The impedance of the single-ended signal and the signal at the input end of the comparison module is matched to obtain a third single-ended signal.
根据本申请实施例提供的技术方案,所述比较模块包括第三限流单元和比较单元;According to the technical solutions provided by the embodiments of the present application, the comparison module includes a third current limiting unit and a comparison unit;
所述第三限流单元具有两个输入端,为所述第三输入端和所述第四输入端,所述第三输入端配置用于接收第四参考信号,所述第四输入端配置用于接收所述第三单端信号;所述第三限流单元配置用于对所述第三单端信号和所述第四参考信号进行限流处理,得到限流后的第三单端信号和限流后的第四参考信号;The third current limiting unit has two input ends, which are the third input end and the fourth input end, the third input end is configured to receive a fourth reference signal, and the fourth input end is configured for receiving the third single-ended signal; the third current limiting unit is configured to perform current limiting processing on the third single-ended signal and the fourth reference signal to obtain a third single-ended current-limited signal and the current-limited fourth reference signal;
所述比较单元具有两个输入端,两个所述比较单元的输入端分别配置用于接收所述第三单端信号和所述限流后的第四参考信号;所述比较单元配置用于将所述限流后的第四参考信号和所述限流后的第三单端信号进行比较,得到第五电平信号。The comparison unit has two input terminals, and the input terminals of the two comparison units are respectively configured to receive the third single-ended signal and the current-limited fourth reference signal; the comparison unit is configured to Comparing the current-limited fourth reference signal with the current-limited third single-ended signal to obtain a fifth level signal.
根据本申请实施例提供的技术方案,还包括:隔离单元,配置用于将所述分压单元的脉冲信号地GND与所述隔离单元的模拟地AGND隔离;According to the technical solutions provided by the embodiments of the present application, the isolation unit further includes: an isolation unit configured to isolate the pulse signal ground GND of the voltage dividing unit from the analog ground AGND of the isolation unit;
滤波单元,其配置用于滤除输出信号的共模干扰;a filtering unit, which is configured to filter out the common mode interference of the output signal;
去耦单元,其配置用于完成连接电源的滤波;a decoupling unit configured to perform filtering of the connected power supply;
电压拉高单元,其配置用于提高电平和提高信号的噪声容限,并增强抗干扰能力。A voltage pull-up unit configured to raise the level and improve the noise tolerance of the signal, as well as enhance immunity to interference.
根据本申请实施例提供的技术方案,所述分压单元包括依次串联的第一电阻R1和第二电阻R2,所述第一电阻R1具有第一端和第二端,所述第一电阻R1的第一端配置接收所述第一差分脉冲信号,所述第二电阻R2具有第一端和第二端,所述第二电阻R2的第一端和第二端分别与第一电容C1两端连接,所述第二电阻R2的第一端与所述第一电阻R1的第二端连接,所述第二电阻R2的第二端配置用于连接脉冲信号地GND;According to the technical solutions provided in the embodiments of the present application, the voltage dividing unit includes a first resistor R1 and a second resistor R2 connected in series in sequence, the first resistor R1 has a first end and a second end, and the first resistor R1 The first end of the second resistor R2 is configured to receive the first differential pulse signal, the second resistor R2 has a first end and a second end, and the first end and the second end of the second resistor R2 are respectively connected to the first capacitor C1. The first end of the second resistor R2 is connected to the second end of the first resistor R1, and the second end of the second resistor R2 is configured to be connected to the pulse signal ground GND;
所述第一限流单元包括第五电阻R5,第四电阻R4和第四电容C4,其均具有第一端和第二端,所述第五电阻R5的第一端与所述第二电阻R2的第一端连接,所述第五电阻R5的第二端与所述第四电容C4的第一端连接,所述第四电容C4的第二端与所述第四电阻R4的第二端连接,所述第四电阻R4的第一端与所述第二电阻R2的第二端连接;The first current limiting unit includes a fifth resistor R5, a fourth resistor R4 and a fourth capacitor C4, each of which has a first end and a second end, the first end of the fifth resistor R5 and the second resistor The first end of R2 is connected, the second end of the fifth resistor R5 is connected to the first end of the fourth capacitor C4, and the second end of the fourth capacitor C4 is connected to the second end of the fourth resistor R4 terminal is connected, and the first terminal of the fourth resistor R4 is connected to the second terminal of the second resistor R2;
所述差分放大单元包括精密仪表放大器N1,所述精密仪表放大器N1具有1脚RG1、2脚IN-、3脚IN+、4脚VS-、5脚REF、6脚OUTPUT,7脚VS+和8脚RG2;所述2脚IN-与所述第四电容C4的第二端连接,所述3脚IN+与所述第四电容C4的第一端连接,所述1脚RG1和所述8脚RG2悬空设置。The differential amplifying unit includes a precision instrumentation amplifier N1, and the precision instrumentation amplifier N1 has 1 pin RG1, 2 pin IN-, 3 pin IN+, 4 pin VS-, 5 pin REF, 6 pin OUTPUT, 7 pin VS+ and 8 pin RG2; the 2-pin IN- is connected to the second end of the fourth capacitor C4, the 3-pin IN+ is connected to the first end of the fourth capacitor C4, the 1-pin RG1 and the 8-pin RG2 Floating setting.
根据本申请实施例提供的技术方案,所述第二限流单元包括第六电阻R6,其具有第一端和第二端,所述第六电阻R6的第一端与所述6脚OUTPUT连接;According to the technical solutions provided in the embodiments of the present application, the second current limiting unit includes a sixth resistor R6, which has a first end and a second end, and the first end of the sixth resistor R6 is connected to the 6-pin OUTPUT ;
所述电压跟随单元包括运算放大器N2A,其具有1脚、2脚、3脚,4脚和8脚;所述运算放大器N2A的3脚与所述第六电阻R6的第二端连接。The voltage follower unit includes an operational amplifier N2A, which has
根据本申请实施例提供的技术方案,所述第三限流单元包括第七电阻R7和第八电阻R8,其均具有第一端和第二端,所述第七电阻R7的第一端配置用于接收第四参考信号,所述第八电阻R8的第一端与所述运算放大器N2A的1脚连接;According to the technical solutions provided by the embodiments of the present application, the third current limiting unit includes a seventh resistor R7 and an eighth resistor R8, each of which has a first end and a second end, and the first end of the seventh resistor R7 is configured For receiving the fourth reference signal, the first end of the eighth resistor R8 is connected to the 1 pin of the operational amplifier N2A;
所述比较单元包括比较器N3A,其具有2脚、3脚、4脚,5脚和12脚;所述比较器N3A的4脚与所述第八电阻R8的第二端连接,所述比较器N3A的5脚与所述第七电阻R7的第二端连接,所述比较器N3A的2脚分别与FPGA模块的第五输入端连接。The comparison unit includes a comparator N3A, which has 2 pins, 3 pins, 4 pins, 5 pins and 12 pins; the 4 pins of the comparator N3A are connected to the second end of the eighth resistor R8, and the
根据本申请实施例提供的技术方案,所述隔离单元包括第三电阻R3,其具有第一端和第二端,所述第三电阻R3的第一端与所述第二电阻R2的第二端连接,所述第三电阻R3的第二端配置用于连接模拟地AGND;According to the technical solutions provided by the embodiments of the present application, the isolation unit includes a third resistor R3 having a first end and a second end, the first end of the third resistor R3 and the second end of the second resistor R2 The second end of the third resistor R3 is configured to be connected to the analog ground AGND;
所述滤波单元包括包括第一滤波单元,第二滤波单元和第三滤波单元;所述第一滤波单元包括第二电容C2,所述第二电容C2具有第一端和第二端,所述第二电容C2的第一端与所述第五电阻R5的第二端连接,所述第二电容C2的第二端配置用于连接模拟地AGND;所述第二滤波单元包括第三电容C3,所述第三电容C3具有第一端和第二端,所述第三电容C3的第一端与所述第四电阻R4的第二端连接,所述第三电容C3的第二端配置用于连接模拟地AGND;所述第三滤波单元包括第九电容C9,所述第九电容C9具有第一端和第二端,所述第九电容C9的第一端与所述第七电阻R7的第二端连接,所述第九电容C9的第二端与所述比较器N3A的12脚连接,并且所述第九电容C9的第二端配置用于连接模拟地AGND;The filtering unit includes a first filtering unit, a second filtering unit and a third filtering unit; the first filtering unit includes a second capacitor C2, the second capacitor C2 has a first end and a second end, the The first end of the second capacitor C2 is connected to the second end of the fifth resistor R5, and the second end of the second capacitor C2 is configured to be connected to the analog ground AGND; the second filter unit includes a third capacitor C3 , the third capacitor C3 has a first end and a second end, the first end of the third capacitor C3 is connected to the second end of the fourth resistor R4, and the second end of the third capacitor C3 is configured Used to connect the analog ground AGND; the third filter unit includes a ninth capacitor C9, the ninth capacitor C9 has a first end and a second end, the first end of the ninth capacitor C9 and the seventh resistor The second end of R7 is connected, the second end of the ninth capacitor C9 is connected to the 12 pin of the comparator N3A, and the second end of the ninth capacitor C9 is configured to be connected to the analog ground AGND;
所述去耦单元包括第一去耦单元、第二去耦单元、第三去耦单元,第四去耦单元和第五去耦单元,所述第一去耦单元包括第六电容C6,其具有第一端和第二端,所述第六电容C6的第一端分别与所述7脚VS+和第一外接+15V电源连接,所述第六电容C6的第二端配置用于连接模拟地AGND;所述第二去耦单元包括第五电容C5,其具有第一端和第二端,所述第五电容C5的第一端与所述5脚REF连接,并且所述第五电容C5的第一端配置用于连接模拟地AGND,所述第五电容C5的第二端分别与所述4脚VS-和第一外接-15V电源连接;所述第三去耦单元包括第七电容C7,其具有第一端和第二端,所述第七电容C7的第一端与所述第六电阻R6的第二端连接,所述第七电容C7的第二端与所述运算放大器N2A的4脚连接,并且所述第七电容C7的第二端配置用于连接模拟地AGND;所述第四去耦单元包括第八电容C8,其具有第一端和第二端,所述第八电容C8的第一端分别与所述运算放大器N2A的8脚和第二外接+15V电源连接,所述第八电容C8的第二端配置用于连接模拟地AGND;所述第五去耦单元包括第十电容C10,其具有第一端和第二端,所述第十电容C10的第一端分别与所述比较器N3A的3脚和第三外接+15V电源连接,所述第十电容C10的第二端配置用于连接模拟地AGND;The decoupling unit includes a first decoupling unit, a second decoupling unit, a third decoupling unit, a fourth decoupling unit and a fifth decoupling unit, the first decoupling unit includes a sixth capacitor C6, which It has a first end and a second end, the first end of the sixth capacitor C6 is respectively connected to the 7-pin VS+ and the first external +15V power supply, and the second end of the sixth capacitor C6 is configured to connect the analog ground AGND; the second decoupling unit includes a fifth capacitor C5, which has a first end and a second end, the first end of the fifth capacitor C5 is connected to the 5-pin REF, and the fifth capacitor The first end of C5 is configured to be connected to the analog ground AGND, and the second end of the fifth capacitor C5 is connected to the 4-pin VS- and the first external -15V power supply respectively; the third decoupling unit includes a seventh A capacitor C7 has a first terminal and a second terminal, the first terminal of the seventh capacitor C7 is connected to the second terminal of the sixth resistor R6, and the second terminal of the seventh capacitor C7 is connected to the
所述电压拉高单元包括第九电阻R9,所述第九电阻R9具有第一端和第二端,所述第九电阻R9的第一端与所述比较器N3A的2脚连接,所述第九电阻R9的第二端与外接+3.3V电源连接。The voltage pulling unit includes a ninth resistor R9, the ninth resistor R9 has a first end and a second end, the first end of the ninth resistor R9 is connected to the 2 pin of the comparator N3A, the The second end of the ninth resistor R9 is connected to an external +3.3V power supply.
综上所述,本技术方案具体地公开了一种直流脉冲信号采集电路,本申请设计有转换模块,转换模块具有第一输入端,第一输入端配置用于接收第一差分脉冲信号;转换模块配置用于将第一差分脉冲信号进行转换,得到第二单端信号;电压跟随模块,电压跟随模块具有第二输入端,第二输入端配置用于接收第二单端信号,电压跟随模块配置用于实现第二单端信号与比较模块输入端信号的阻抗匹配,得到第三单端信号;比较模块,比较模块具有第三输入端和第四输入端,第三输入端配置用于接收第四参考信号,第四输入端配置用于接收第三单端信号,比较模块配置用于将第四参考信号和第三单端信号进行比较,得到第五电平信号;FPGA模块,FPGA模块具有第五输入端和第六输入端,第五输入端和第六输入端均配置用于接收第五电平信号,FPGA模块配置用于计算第五电平信号上升沿和下降沿的数量。To sum up, this technical solution specifically discloses a DC pulse signal acquisition circuit. The present application is designed with a conversion module, the conversion module has a first input terminal, and the first input terminal is configured to receive the first differential pulse signal; conversion The module is configured to convert the first differential pulse signal to obtain a second single-ended signal; the voltage follower module has a second input terminal, and the second input terminal is configured to receive the second single-ended signal, and the voltage follower module It is configured to realize impedance matching between the second single-ended signal and the input terminal signal of the comparison module, and obtain a third single-ended signal; the comparison module, the comparison module has a third input terminal and a fourth input terminal, and the third input terminal is configured to receive the fourth reference signal, the fourth input terminal is configured to receive the third single-ended signal, and the comparison module is configured to compare the fourth reference signal with the third single-ended signal to obtain a fifth level signal; FPGA module, FPGA module It has a fifth input terminal and a sixth input terminal. Both the fifth input terminal and the sixth input terminal are configured to receive a fifth level signal, and the FPGA module is configured to calculate the number of rising edges and falling edges of the fifth level signal.
本方案电路层次简单,电路结构所需元器件少,元器件参数计算简单,无需繁琐电路,可有效滤除脉冲信号的异常抖动和电磁干扰,实现对执行机构的有效动作进行计数,尤其适用于结构空间紧凑、具备隔离和抗电磁干扰功能的场合。The circuit level of this scheme is simple, the circuit structure requires few components, the calculation of component parameters is simple, and there is no need for cumbersome circuits, which can effectively filter out the abnormal jitter and electromagnetic interference of the pulse signal, and realize the counting of the effective actions of the actuator, especially suitable for For occasions with compact structure space, isolation and anti-electromagnetic interference functions.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1为一种直流脉冲信号采集电路的应用示意图。FIG. 1 is an application schematic diagram of a DC pulse signal acquisition circuit.
图2为一种直流脉冲信号采集电路的转换模块示意图。FIG. 2 is a schematic diagram of a conversion module of a DC pulse signal acquisition circuit.
图3为一种直流脉冲信号采集电路的电压跟随模块示意图。FIG. 3 is a schematic diagram of a voltage follower module of a DC pulse signal acquisition circuit.
图4为一种直流脉冲信号采集电路的比较模块示意图。FIG. 4 is a schematic diagram of a comparison module of a DC pulse signal acquisition circuit.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should be noted that, for the convenience of description, only the parts related to the invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
实施例一Example 1
请参考图1所示的本申请提供的一种直流脉冲信号采集电路,包括:Please refer to a DC pulse signal acquisition circuit provided by the present application shown in FIG. 1, including:
转换模块,转换模块具有第一输入端,第一输入端配置用于接收第一差分脉冲信号;转换模块配置用于将第一差分脉冲信号进行转换,得到第二单端信号;a conversion module, the conversion module has a first input terminal, and the first input terminal is configured to receive a first differential pulse signal; the conversion module is configured to convert the first differential pulse signal to obtain a second single-ended signal;
电压跟随模块,电压跟随模块具有第二输入端,第二输入端配置用于接收第二单端信号,电压跟随模块配置用于实现第二单端信号与比较模块输入端信号的阻抗匹配,得到第三单端信号;A voltage follower module, the voltage follower module has a second input terminal, the second input terminal is configured to receive a second single-ended signal, and the voltage follower module is configured to realize impedance matching between the second single-ended signal and the input terminal signal of the comparison module, and obtain the third single-ended signal;
比较模块,比较模块具有第三输入端和第四输入端,第三输入端配置用于接收第四参考信号,第四输入端配置用于接收第三单端信号,比较模块配置用于将第四参考信号和第三单端信号进行比较,得到第五电平信号;A comparison module, the comparison module has a third input terminal and a fourth input terminal, the third input terminal is configured to receive a fourth reference signal, the fourth input terminal is configured to receive a third single-ended signal, and the comparison module is configured to The fourth reference signal is compared with the third single-ended signal to obtain the fifth level signal;
FPGA模块,FPGA模块具有第五输入端和第六输入端,第五输入端和第六输入端均配置用于接收第五电平信号,FPGA模块配置用于计算第五电平信号上升沿和下降沿的数量。FPGA module, the FPGA module has a fifth input terminal and a sixth input terminal, the fifth input terminal and the sixth input terminal are both configured to receive the fifth level signal, and the FPGA module is configured to calculate the rising edge of the fifth level signal and the The number of falling edges.
在本实施例中,转换模块,转换模块具有第一输入端,第一输入端配置用于接收第一差分脉冲信号,第一差分脉冲信号为脉冲信号Pulse_IN;转换模块配置用于将脉冲信号Pulse_IN进行转换,得到第二单端信号;In this embodiment, the conversion module has a first input terminal, the first input terminal is configured to receive the first differential pulse signal, and the first differential pulse signal is the pulse signal Pulse_IN; the conversion module is configured to convert the pulse signal Pulse_IN Perform conversion to obtain a second single-ended signal;
电压跟随模块,电压跟随模块具有第二输入端,第二输入端配置用于接收第二单端信号,第二单端信号为单端信号Vout1,电压跟随模块配置用于实现单端信号Vout1与比较模块输入端信号的阻抗匹配,得到第三单端信号;A voltage follower module, the voltage follower module has a second input terminal, the second input terminal is configured to receive a second single-ended signal, the second single-ended signal is a single-ended signal Vout1, and the voltage follower module is configured to realize the single-ended signal Vout1 and Compare the impedance matching of the signal at the input end of the module to obtain a third single-ended signal;
比较模块,比较模块具有第三输入端和第四输入端,第三输入端配置用于接收第四参考信号,第四参考信号为参考信号Vref,第四输入端配置用于接收第三单端信号,第三单端信号为单端信号Vout2,比较模块配置用于将参考信号Vref和单端信号Vout2进行比较,得到第五电平信号;a comparison module, the comparison module has a third input terminal and a fourth input terminal, the third input terminal is configured to receive a fourth reference signal, the fourth reference signal is the reference signal Vref, and the fourth input terminal is configured to receive a third single-ended signal, the third single-ended signal is the single-ended signal Vout2, and the comparison module is configured to compare the reference signal Vref and the single-ended signal Vout2 to obtain a fifth level signal;
FPGA模块,FPGA模块具有第五输入端和第六输入端,第五输入端和第六输入端分别为FPGA模块的IO口通道IO1和IO2,IO口通道IO1和IO2均配置用于接收第五电平信号,第五电平信号为TTL电平信号IO_Timer,FPGA模块配置用于计算TTL电平信号IO_Timer上升沿和下降沿的数量,从而完成直流脉冲信号采集与计数功能。FPGA module, the FPGA module has a fifth input terminal and a sixth input terminal, the fifth input terminal and the sixth input terminal are respectively the IO port channels IO1 and IO2 of the FPGA module, and the IO port channels IO1 and IO2 are both configured to receive the fifth input terminal and the sixth input terminal. level signal, the fifth level signal is the TTL level signal IO_Timer, and the FPGA module is configured to calculate the number of rising edges and falling edges of the TTL level signal IO_Timer, thereby completing the DC pulse signal collection and counting functions.
如图2所示,转换模块包括分压单元,第一限流单元和差分放大单元;As shown in Figure 2, the conversion module includes a voltage dividing unit, a first current limiting unit and a differential amplifying unit;
分压单元具有输入端,分压单元的输入端与第一输入端相同,配置用于接收脉冲信号Pulse_IN;分压单元配置用于将脉冲信号Pulse_IN进行分压处理,得到第一脉冲分压信号,第一脉冲分压信号为信号Vout_P;The voltage dividing unit has an input end, and the input end of the voltage dividing unit is the same as the first input end, and is configured to receive the pulse signal Pulse_IN; the voltage dividing unit is configured to perform voltage dividing processing on the pulse signal Pulse_IN to obtain the first pulse voltage dividing signal , the first pulse voltage division signal is the signal Vout_P;
第一限流单元具有输入端,第一限流单元的输入端配置用于接收差分信号Vout_P;第一限流单元配置用于将差分信号Vout_P限流,得到限流后的差分信号Vout_P;The first current limiting unit has an input end, and the input end of the first current limiting unit is configured to receive the differential signal Vout_P; the first current limiting unit is configured to current limit the differential signal Vout_P to obtain a current-limited differential signal Vout_P;
差分放大单元具有输入端,差分放大单元的输入端配置用于接收限流后的差分信号Vout_P;差分放大单元配置用于将限流后的差分信号Vout_P进行转换,得到单端信号Vout1。The differential amplifying unit has an input end, and the input end of the differential amplifying unit is configured to receive the current-limited differential signal Vout_P; the differential amplifying unit is configured to convert the current-limited differential signal Vout_P to obtain the single-ended signal Vout1.
如图3所示,电压跟随模块包括第二限流单元和电压跟随单元;As shown in FIG. 3 , the voltage follower module includes a second current limiting unit and a voltage follower unit;
第二限流单元具有输入端,第二限流单元的输入端与第二输入端相同,配置用于接收单端信号Vout1;第二限流单元配置用于将单端信号Vout1限流处理,得到限流后的单端信号Vout1;The second current limiting unit has an input end, and the input end of the second current limiting unit is the same as the second input end, and is configured to receive the single-ended signal Vout1; the second current limiting unit is configured to current-limit the single-ended signal Vout1, Obtain the current-limited single-ended signal Vout1;
电压跟随单元具有输入端,电压跟随单元的输入端配置用于接收限流后的单端信号Vout1;电压跟随单元配置用于实现限流后的单端信号Vout1与比较模块输入端信号的阻抗匹配,得到单端信号Vout2。The voltage follower unit has an input terminal, and the input terminal of the voltage follower unit is configured to receive the current-limited single-ended signal Vout1; the voltage follower unit is configured to realize impedance matching between the current-limited single-ended signal Vout1 and the input terminal signal of the comparison module , the single-ended signal Vout2 is obtained.
如图4所示,比较模块包括第三限流单元和比较单元;As shown in Figure 4, the comparison module includes a third current limiting unit and a comparison unit;
第三限流单元具有两个输入端,为第三输入端和第四输入端,第三输入端配置用于接收参考信号Vref,第四输入端配置用于接收单端信号Vout2;第三限流单元配置用于对单端信号Vout2和参考信号Vref进行限流处理,得到限流后的单端信号Vout2和限流后的参考信号Vref;The third current limiting unit has two input terminals, which are a third input terminal and a fourth input terminal. The third input terminal is configured to receive the reference signal Vref, and the fourth input terminal is configured to receive the single-ended signal Vout2; The current unit is configured to perform current limiting processing on the single-ended signal Vout2 and the reference signal Vref to obtain the current-limited single-ended signal Vout2 and the current-limited reference signal Vref;
比较单元具有两个输入端,两个比较单元的输入端分别配置用于接收单端信号Vout2和限流后的参考信号Vref;比较单元配置用于将限流后的参考信号Vref和限流后的单端信号Vout2进行比较,得到TTL电平信号IO_Timer。The comparison unit has two input terminals, and the input terminals of the two comparison units are respectively configured to receive the single-ended signal Vout2 and the current-limited reference signal Vref; the comparison unit is configured to combine the current-limited reference signal Vref and the current-limited reference signal Vref with the current-limited reference signal Vref The single-ended signal Vout2 is compared to obtain the TTL level signal IO_Timer.
如图1-4所示,还包括:隔离单元,配置用于将分压单元的脉冲信号地GND与隔离单元的模拟地AGND隔离;As shown in Figure 1-4, it also includes: an isolation unit, configured to isolate the pulse signal ground GND of the voltage dividing unit from the analog ground AGND of the isolation unit;
滤波单元,其配置用于滤除输出信号的共模干扰;a filtering unit, which is configured to filter out the common mode interference of the output signal;
去耦单元,其配置用于完成连接电源的滤波;a decoupling unit configured to perform filtering of the connected power supply;
电压拉高单元,其配置用于提高电平和提高信号的噪声容限,并增强抗干扰能力。A voltage pull-up unit configured to raise the level and improve the noise tolerance of the signal, as well as enhance immunity to interference.
如图2所示,分压单元包括依次串联的第一电阻R1和第二电阻R2,第一电阻R1具有第一端和第二端,第一电阻R1的第一端配置接收脉冲信号Pulse_IN,第二电阻R2具有第一端和第二端,第二电阻R2的第一端和第二端分别与第一电容C1两端连接,第二电阻R2的第一端与第一电阻R1的第二端连接,第二电阻R2的第二端配置用于连接脉冲信号地GND;As shown in FIG. 2 , the voltage dividing unit includes a first resistor R1 and a second resistor R2 connected in series in sequence, the first resistor R1 has a first end and a second end, and the first end of the first resistor R1 is configured to receive the pulse signal Pulse_IN, The second resistor R2 has a first end and a second end, the first end and the second end of the second resistor R2 are respectively connected to both ends of the first capacitor C1, and the first end of the second resistor R2 is connected to the first end of the first resistor R1. The two ends are connected, and the second end of the second resistor R2 is configured to be connected to the pulse signal ground GND;
隔离单元包括第三电阻R3,其具有第一端和第二端,第三电阻R3的第一端与第二电阻R2的第二端连接,第三电阻R3的第二端配置用于连接模拟地AGND;The isolation unit includes a third resistor R3, which has a first end and a second end, the first end of the third resistor R3 is connected to the second end of the second resistor R2, and the second end of the third resistor R3 is configured to connect to the analog ground AGND;
脉冲信号Pulse_IN经过第一电阻R1和第二电阻R2进行分压处理,来调控脉冲信号Pulse_IN的电压;然后通过第三电阻R3实现脉冲信号地GND和模拟地AGND的隔离,省去隔离芯片,简化采集电路结构;The pulse signal Pulse_IN is divided by the first resistor R1 and the second resistor R2 to control the voltage of the pulse signal Pulse_IN; then the pulse signal ground GND and the analog ground AGND are isolated through the third resistor R3, eliminating the need for an isolation chip and simplifying the Acquisition circuit structure;
进一步的,分压的第一电阻R1和第二电阻R2根据输入脉冲信号Pulse_IN的幅值范围选型,主要考虑阻值和功率匹配,一般分压后的信号Vout_P的电压小于后端精密仪表放大器N1允许的输入电压范围,电压计算为信号Vout_P的电压=R1*脉冲信号Pulse_IN的电压Further, the first resistor R1 and the second resistor R2 of the voltage divider are selected according to the amplitude range of the input pulse signal Pulse_IN, mainly considering resistance and power matching. Generally, the voltage of the divided signal Vout_P is smaller than the back-end precision instrument amplifier. The allowable input voltage range of N1, the voltage is calculated as the voltage of the signal Vout_P=R1*the voltage of the pulse signal Pulse_IN
/(R1+R2);/(R1+R2);
进一步的,脉冲信号Pulse_IN的高脉冲幅值范围为16V~32V,取第一电阻R1和第二电阻R2分别为100KΩ和20KΩ,由公式:信号Vout_P的电压=R1*脉冲信号Pulse_IN的电压/(R1+R2)可得,信号Vout_P高电平状态电压范围为2.67V~5.33V,满足分压后的信号Vout_P的电压小于后端精密仪表放大器N1允许的输入电压范围-15V~+15V要求;Further, the high pulse amplitude of the pulse signal Pulse_IN ranges from 16V to 32V, and the first resistor R1 and the second resistor R2 are taken as 100KΩ and 20KΩ, respectively, according to the formula: the voltage of the signal Vout_P=R1*The voltage of the pulse signal Pulse_IN/( R1+R2) can be obtained, the signal Vout_P high-level state voltage range is 2.67V ~ 5.33V, which satisfies the requirement that the voltage of the divided signal Vout_P is less than the allowable input voltage range of the back-end precision instrumentation amplifier N1 -15V ~ +15V;
进一步的,第三电阻R3的阻值为1MΩ;Further, the resistance value of the third resistor R3 is 1MΩ;
第一限流单元包括第五电阻R5,第四电阻R4和第四电容C4,其均具有第一端和第二端,第五电阻R5的第一端与第二电阻R2的第一端连接,第五电阻R5的第二端与第四电容C4的第一端连接,第四电容C4的第二端与第四电阻R4的第二端连接,第四电阻R4的第一端与第二电阻R2的第二端连接;The first current limiting unit includes a fifth resistor R5, a fourth resistor R4 and a fourth capacitor C4, each of which has a first end and a second end, and the first end of the fifth resistor R5 is connected to the first end of the second resistor R2 , the second end of the fifth resistor R5 is connected to the first end of the fourth capacitor C4, the second end of the fourth capacitor C4 is connected to the second end of the fourth resistor R4, and the first end of the fourth resistor R4 is connected to the second end of the fourth resistor R4. The second end of the resistor R2 is connected;
第一滤波单元包括第二电容C2,第二电容C2具有第一端和第二端,第二电容C2的第一端与第五电阻R5的第二端连接,第二电容C2的第二端配置用于连接模拟地AGND;The first filter unit includes a second capacitor C2, the second capacitor C2 has a first end and a second end, the first end of the second capacitor C2 is connected to the second end of the fifth resistor R5, and the second end of the second capacitor C2 Configured to connect to the analog ground AGND;
第二滤波单元包括第三电容C3,第三电容C3具有第一端和第二端,第三电容C3的第一端与第四电阻R4的第二端连接,第三电容C3的第二端配置用于连接模拟地AGND;The second filter unit includes a third capacitor C3, the third capacitor C3 has a first end and a second end, the first end of the third capacitor C3 is connected to the second end of the fourth resistor R4, and the second end of the third capacitor C3 Configured to connect to the analog ground AGND;
信号Vout_P和脉冲信号地GND分别经第五电阻R5和第四电阻R4进行限流保护,第四电阻R4和第五电阻R5阻值均为10KΩ,第二电容C2和第三电容C3分别完成了分压后输出信号Vout_P和脉冲信号地GND的共模滤波,第四电容C4完成信号Vout_P和脉冲信号地GND之间的差模滤波;The signal Vout_P and the pulse signal ground GND are respectively protected by the fifth resistor R5 and the fourth resistor R4 for current limiting protection. The resistance values of the fourth resistor R4 and the fifth resistor R5 are both 10KΩ. The second capacitor C2 and the third capacitor C3 are completed After the voltage division, the common mode filtering of the output signal Vout_P and the pulse signal ground GND is performed, and the fourth capacitor C4 completes the differential mode filtering between the signal Vout_P and the pulse signal ground GND;
优选的,第二电容C2,第三电容C3和第四电容C4的阻值为1nf;Preferably, the resistance value of the second capacitor C2, the third capacitor C3 and the fourth capacitor C4 is 1nf;
差分放大单元包括精密仪表放大器N1,精密仪表放大器N1具有1脚RG1、2脚IN-、3脚IN+、4脚VS-、5脚REF、6脚OUTPUT,7脚VS+和8脚RG2;2脚IN-与第四电容C4的第二端连接,3脚IN+与第四电容C4的第一端连接,1脚RG1和8脚RG2悬空设置;The differential amplifying unit includes precision instrumentation amplifier N1, which has 1 pin RG1, 2 pin IN-, 3 pin IN+, 4 pin VS-, 5 pin REF, 6 pin OUTPUT, 7 pin VS+ and 8 pin RG2; 2 pin IN- is connected to the second end of the fourth capacitor C4,
第一去耦单元包括第六电容C6,其具有第一端和第二端,第六电容C6的第一端分别与7脚VS+和第一外接+15V电源连接,第六电容C6的第二端配置用于连接模拟地AGND;The first decoupling unit includes a sixth capacitor C6, which has a first end and a second end. The first end of the sixth capacitor C6 is respectively connected to pin 7 VS+ and the first external +15V power supply. The terminal configuration is used to connect the analog ground AGND;
第二去耦单元包括第五电容C5,其具有第一端和第二端,第五电容C5的第一端与5脚REF连接,并且第五电容C5的第一端配置用于连接模拟地AGND,第五电容C5的第二端分别与4脚VS-和第一外接-15V电源连接;The second decoupling unit includes a fifth capacitor C5, which has a first end and a second end, the first end of the fifth capacitor C5 is connected to pin 5 REF, and the first end of the fifth capacitor C5 is configured to connect to the analog ground AGND, the second end of the fifth capacitor C5 is respectively connected to the 4-pin VS- and the first external -15V power supply;
精密仪表放大器N1实现分压后的信号Vout_P和脉冲信号地GND转换为与模拟地AGND共地的单端信号Vout1,并有效滤除分压后信号Vout_P和脉冲信号地GND的共模干扰;第五电容C5和第六电容C6分别实现第一-15V电源和第一+15V电源的滤波;The precision instrumentation amplifier N1 converts the voltage-divided signal Vout_P and the pulse signal ground GND into a single-ended signal Vout1 that shares the ground with the analog ground AGND, and effectively filters out the common-mode interference of the voltage-divided signal Vout_P and the pulse signal ground GND; The fifth capacitor C5 and the sixth capacitor C6 realize the filtering of the first -15V power supply and the first +15V power supply respectively;
优选的,第五电容C5和第六电容C6的阻值均为0.1μF;Preferably, the resistance values of the fifth capacitor C5 and the sixth capacitor C6 are both 0.1 μF;
进一步的,由于无需对分压后的信号Vout_P进行放大,精密仪表放大器N1的1脚和8脚增益电阻端无需配置电阻,且增益电阻端保持开路状态,根据精密仪表放大器N1增益G计算公式,G=49.4KΩ/R增益电阻+1,增益电阻端开路等同于R增益电阻趋于无穷大,因此,该状态下,精密仪表放大器N1增益G≈1,无放大作用,可认为Vout1=Vout_P。Further, since there is no need to amplify the voltage-divided signal Vout_P, there is no need to configure resistors at the 1-pin and 8-pin gain resistor terminals of the precision instrumentation amplifier N1, and the gain resistor terminals remain open-circuited. According to the calculation formula of the gain G of the precision instrumentation amplifier N1, G=49.4KΩ/R gain resistor+1, the gain resistor end is open circuit is equivalent to the R gain resistor tends to infinity, therefore, in this state, the precision instrumentation amplifier N1 gain G≈1, no amplification, it can be considered as Vout1=Vout_P.
如图3所示,第二限流单元包括第六电阻R6,其具有第一端和第二端,第六电阻R6的第一端与6脚OUTPUT连接;As shown in FIG. 3 , the second current limiting unit includes a sixth resistor R6, which has a first end and a second end, and the first end of the sixth resistor R6 is connected to pin 6 OUTPUT;
第三去耦单元包括第七电容C7,其具有第一端和第二端,第七电容C7的第一端与第六电阻R6的第二端连接,第七电容C7的第二端与运算放大器N2A的4脚连接,并且第七电容C7的第二端配置用于连接模拟地AGND;The third decoupling unit includes a seventh capacitor C7, which has a first terminal and a second terminal, the first terminal of the seventh capacitor C7 is connected to the second terminal of the sixth resistor R6, and the second terminal of the seventh capacitor C7 is connected to the operation The 4-pin of the amplifier N2A is connected, and the second end of the seventh capacitor C7 is configured to be connected to the analog ground AGND;
进一步的,运算放大器N2A的4脚为运算放大器N2A的供电负端,第六电阻R6的阻值为5.1KΩ;Further,
单端信号Vout1经第二限流单元的第六电阻R6进行限流,第七电容C7实现运算放大器N2A的供电负端的滤波;The single-ended signal Vout1 is limited by the sixth resistor R6 of the second current limiting unit, and the seventh capacitor C7 realizes the filtering of the negative end of the power supply of the operational amplifier N2A;
电压跟随单元包括运算放大器N2A,其具有1脚、2脚、3脚,4脚和8脚;运算放大器N2A的3脚与第六电阻R6的第二端连接;The voltage follower unit includes an operational amplifier N2A, which has
第四去耦单元包括第八电容C8,其具有第一端和第二端,第八电容C8的第一端分别与运算放大器N2A的8脚和第二外接+15V电源连接,第八电容C8的第二端配置用于连接模拟地AGND;The fourth decoupling unit includes an eighth capacitor C8, which has a first end and a second end. The first end of the eighth capacitor C8 is respectively connected to pin 8 of the operational amplifier N2A and the second external +15V power supply. The eighth capacitor C8 The second end of the configuration is used to connect the analog ground AGND;
进一步的,运算放大器N2A的8脚为运算放大器N2A的供电正端;Further,
运算放大器N2A完成输入单端信号Vout1和单端信号Vout2的阻抗匹配,降低采集电路压降影响,单端信号Vout1未发生变化,因此,Vout2=Vout1,线路损耗忽略不计;第八电容C8实现运算放大器N2A的供电正端和第二外接+15V电源的滤波。The operational amplifier N2A completes the impedance matching of the input single-ended signal Vout1 and the single-ended signal Vout2, reducing the influence of the voltage drop of the acquisition circuit, and the single-ended signal Vout1 does not change. Therefore, Vout2=Vout1, the line loss is negligible; the eighth capacitor C8 realizes the operation The positive terminal of the power supply of the amplifier N2A and the filtering of the second external +15V power supply.
如图4所示,第三限流单元包括第七电阻R7和第八电阻R8,其均具有第一端和第二端,第七电阻R7的第一端配置用于接收参考信号Vref,第八电阻R8的第一端与运算放大器N2A的1脚连接;As shown in FIG. 4 , the third current limiting unit includes a seventh resistor R7 and an eighth resistor R8, each of which has a first end and a second end. The first end of the seventh resistor R7 is configured to receive the reference signal Vref, and the first end of the seventh resistor R7 is configured to receive the reference signal Vref. The first end of the eight resistor R8 is connected to the 1 pin of the operational amplifier N2A;
进一步的,第七电阻R7和第八电阻R8的阻值为2KΩ;Further, the resistance values of the seventh resistor R7 and the eighth resistor R8 are 2KΩ;
单端信号Vout2和参考信号Vref分别经第八电阻R8和第七电阻R7进行限流保护后输送向运算放大器N2A;The single-ended signal Vout2 and the reference signal Vref are respectively sent to the operational amplifier N2A after current limiting protection by the eighth resistor R8 and the seventh resistor R7;
比较单元包括比较器N3A,其具有2脚、3脚、4脚,5脚和12脚;比较器N3A的4脚与第八电阻R8的第二端连接,比较器N3A的5脚与第七电阻R7的第二端连接,比较器N3A的2脚分别与FPGA模块的第五输入端连接;The comparison unit includes a comparator N3A, which has 2 feet, 3 feet, 4 feet, 5 feet and 12 feet; the 4 feet of the comparator N3A is connected with the second end of the eighth resistor R8, and the 5 feet of the comparator N3A The second end of the resistor R7 is connected, and the 2 pins of the comparator N3A are respectively connected to the fifth input end of the FPGA module;
第三滤波单元包括第九电容C9,第九电容C9具有第一端和第二端,第九电容C9的第一端与第七电阻R7的第二端连接,第九电容C9的第二端与比较器N3A的12脚连接,并且第九电容C9的第二端配置用于连接模拟地AGND;The third filter unit includes a ninth capacitor C9, the ninth capacitor C9 has a first end and a second end, the first end of the ninth capacitor C9 is connected to the second end of the seventh resistor R7, and the second end of the ninth capacitor C9 It is connected to the 12-pin of the comparator N3A, and the second end of the ninth capacitor C9 is configured to be connected to the analog ground AGND;
第五去耦单元包括第十电容C10,其具有第一端和第二端,第十电容C10的第一端分别与比较器N3A的3脚和第三外接+15V电源连接,第十电容C10的第二端配置用于连接模拟地AGND;The fifth decoupling unit includes a tenth capacitor C10, which has a first terminal and a second terminal. The first terminal of the tenth capacitor C10 is respectively connected to the 3-pin of the comparator N3A and the third external +15V power supply. The tenth capacitor C10 The second end of the configuration is used to connect the analog ground AGND;
电压拉高单元包括第九电阻R9,第九电阻R9具有第一端和第二端,第九电阻R9的第一端与比较器N3A的2脚连接,第九电阻R9的第二端与外接+3.3V电源连接;The voltage pull-up unit includes a ninth resistor R9, the ninth resistor R9 has a first end and a second end, the first end of the ninth resistor R9 is connected to the 2 pin of the comparator N3A, and the second end of the ninth resistor R9 is connected to an external +3.3V power connection;
进一步的,比较器N3A的12脚为比较器N3A供电负端,比较器N3A的3脚为比较器N3A供电正端,第九电阻R的阻值为4.7KΩ;Further, pin 12 of the comparator N3A is the negative power supply terminal of the comparator N3A,
限流后的单端信号Vout2和参考信号Vref经比较器N3A进行比较,经计算信号Vout_P高电平状态电压范围为2.67V~5.33V,由于Vout2=Vout_P,所以,单端信号Vout2高电平状态电压范围也为2.67V~5.33V,根据单端信号Vout2电压范围,取参考信号Vref=2.5V,当电压跟随单元输出的单端信号Vout2的电压高于第三限流单元输入参考信号Vref的电压时,比较单元输出的TTL电平信号IO_Timer为低电平,反之,则为高电平,比较单元输出TTL电平信号IO_Timer至FPGA模块进行采集计数处理;第九电容C9完成了参考信号Vref的滤波,第十电容C10实现比较器N3A的供电正端的滤波;第九电阻R9为上拉电阻,用于提高输出的TTL电平信号IO_Timer高电平的值;The current-limited single-ended signal Vout2 and the reference signal Vref are compared by the comparator N3A, and the voltage range of the high-level state of the signal Vout_P is calculated to be 2.67V~5.33V. Since Vout2=Vout_P, the single-ended signal Vout2 is high-level The state voltage range is also 2.67V~5.33V. According to the voltage range of the single-ended signal Vout2, the reference signal Vref=2.5V is taken. When the voltage of the single-ended signal Vout2 output by the voltage follower unit is higher than the input reference signal Vref of the third current limiting unit When the voltage of the comparison unit is low, the TTL level signal IO_Timer output by the comparison unit is low level, otherwise, it is high level, the comparison unit outputs the TTL level signal IO_Timer to the FPGA module for acquisition and counting processing; the ninth capacitor C9 completes the reference signal For the filtering of Vref, the tenth capacitor C10 realizes the filtering of the positive end of the power supply of the comparator N3A; the ninth resistor R9 is a pull-up resistor, which is used to increase the high level value of the output TTL level signal IO_Timer;
进一步的,FPGA模块的两路IO口通道IO1和IO2同时接收比较单元输出的TTL电平信号IO_Timer,分别完成上升沿和下降沿的采集和计数,并根据输入的脉冲信号Pulse_IN的频率范围,剔除异常计数,完成脉冲信号采集功能;Further, the two IO port channels IO1 and IO2 of the FPGA module receive the TTL level signal IO_Timer output by the comparison unit at the same time, complete the collection and counting of the rising edge and the falling edge respectively, and eliminate the frequency range of the input pulse signal Pulse_IN. Abnormal count, complete the pulse signal acquisition function;
进一步的,FPGA模块可选用MCU、DSP等CPU芯片捕获功能实现。Further, the FPGA module can be implemented by the capture function of CPU chips such as MCU and DSP.
如图1-4所示,具体的,滤波单元包括包括第一滤波单元,第二滤波单元和第三滤波单元;As shown in Figures 1-4, specifically, the filtering unit includes a first filtering unit, a second filtering unit and a third filtering unit;
具体的,去耦单元包括第一去耦单元、第二去耦单元、第三去耦单元,第四去耦单元和第五去耦单元。Specifically, the decoupling unit includes a first decoupling unit, a second decoupling unit, a third decoupling unit, a fourth decoupling unit and a fifth decoupling unit.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above-mentioned features with the technical features disclosed in this application (but not limited to) with similar functions.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210947297.7A CN115237026B (en) | 2022-08-09 | 2022-08-09 | A DC pulse signal acquisition circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210947297.7A CN115237026B (en) | 2022-08-09 | 2022-08-09 | A DC pulse signal acquisition circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115237026A true CN115237026A (en) | 2022-10-25 |
CN115237026B CN115237026B (en) | 2025-05-02 |
Family
ID=83679617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210947297.7A Active CN115237026B (en) | 2022-08-09 | 2022-08-09 | A DC pulse signal acquisition circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115237026B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0349407A (en) * | 1989-07-18 | 1991-03-04 | Denki Kogyo Co Ltd | Level control type pulse modulator |
CN102944275A (en) * | 2012-11-08 | 2013-02-27 | 龙芯中科技术有限公司 | Ultrasonic instrument as well as detecting method and detecting device of ultrasonic instrument |
CN206848369U (en) * | 2017-06-23 | 2018-01-05 | 杭州士兰微电子股份有限公司 | Duty detection circuit |
CN209327846U (en) * | 2019-04-24 | 2019-08-30 | 郭峰 | A kind of biography hollow plate circuit of control wheel sensor signal processing |
WO2020119360A1 (en) * | 2018-12-10 | 2020-06-18 | 珠海市一微半导体有限公司 | Pwm generation circuit, processing circuit and chip |
-
2022
- 2022-08-09 CN CN202210947297.7A patent/CN115237026B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0349407A (en) * | 1989-07-18 | 1991-03-04 | Denki Kogyo Co Ltd | Level control type pulse modulator |
CN102944275A (en) * | 2012-11-08 | 2013-02-27 | 龙芯中科技术有限公司 | Ultrasonic instrument as well as detecting method and detecting device of ultrasonic instrument |
CN206848369U (en) * | 2017-06-23 | 2018-01-05 | 杭州士兰微电子股份有限公司 | Duty detection circuit |
WO2020119360A1 (en) * | 2018-12-10 | 2020-06-18 | 珠海市一微半导体有限公司 | Pwm generation circuit, processing circuit and chip |
CN209327846U (en) * | 2019-04-24 | 2019-08-30 | 郭峰 | A kind of biography hollow plate circuit of control wheel sensor signal processing |
Non-Patent Citations (1)
Title |
---|
杨桂花: "脉冲计数器电路图大全(六款脉冲计数器电 路设计原理图详解)", pages 1 - 14, Retrieved from the Internet <URL:https://m.elecfans.com/article/638844.html> * |
Also Published As
Publication number | Publication date |
---|---|
CN115237026B (en) | 2025-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103760403A (en) | Bus voltage detection circuit of high-frequency precipitator power supply | |
CN107192445A (en) | A kind of strong vibration sensor circuit and signal acquiring system for primary cut-out | |
CN109839511B (en) | Rotating speed signal acquisition circuit | |
CN205142179U (en) | Low frequency analog signal keeps apart change power transmission way | |
CN106707895A (en) | High-precision synchronous vibration data collection card for various types of detection signals | |
CN115237026A (en) | A kind of DC pulse signal acquisition circuit | |
CN104571252B (en) | A multi-type analog signal processing circuit powered by a single power supply | |
CN205427035U (en) | High voltage sampling circuit of isolated form | |
CN203672952U (en) | Bus voltage detection circuit of high-frequency dedusting power supply | |
CN206990102U (en) | A kind of strong vibration sensor circuit and signal acquiring system for primary cut-out | |
CN115389811A (en) | Zero crossing point detection circuit | |
CN209402495U (en) | A kind of acquisition circuit of photo diode differential signal | |
CN102323457A (en) | Application of programmable chopping gain amplifier to electric energy metering chip | |
CN217276296U (en) | Vibration characteristic data monitoring circuit for mining intrinsic safety type fault monitoring equipment | |
CN107219392B (en) | Real-time current signal data processing system | |
CN103412186A (en) | Ring main unit current collecting device | |
CN222775993U (en) | Energy storage converter and energy storage system | |
CN103716019B (en) | Sinusoidal wave generation circuit and audio shield | |
CN211904519U (en) | Water pressure detection circuit and colony house rinse-system | |
CN112054794B (en) | Switch capacitance type single-ended differential circuit | |
CN205786830U (en) | circuit board assembly detection circuit | |
CN220305705U (en) | Bias circuit | |
CN110474636B (en) | Signal processing circuit | |
CN217060453U (en) | Monitoring circuit for power supply ripple and noise | |
CN109117682A (en) | A kind of integrating circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |