Bidirectional high-speed pulse sampling circuit

By adopting a combination of full-bridge rectification, optocoupling transmission and filtering circuits in the bidirectional high-speed pulse sampling circuit, the problem of low bidirectional high-speed signal acquisition rate in the existing technology is solved, and high-frequency sampling and electrical isolation of 200KHz are achieved, which improves the Anti-interference capability and sampling bandwidth.

CN222128051UActive Publication Date: 2024-12-06ZHEJIANG SUPCON RES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420237032.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2024-12-06
Estimated Expiration
2034-01-31

AI Technical Summary

Technical Problem

The prior art is difficult to simultaneously acquire and process high-frequency bidirectional high-speed pulse signals, especially in industrial control and automation scenarios. Traditional unidirectional and bidirectional optocoupling schemes cannot achieve high frequency and electrical isolation at the same time, resulting in low sampling circuit speeds. It is difficult to achieve sampling frequency above 30KHz.

Method used

A bidirectional high-speed pulse sampling circuit is designed, including a full-bridge rectifier circuit, a pre-stage signal filtering circuit, an optocouple transmission circuit and a post-stage signal filtering circuit. The pulse signal is rectified through the full-bridge rectifier circuit, and the optocouple transmission circuit is converted into a single The terminal signal is shaped and filtered in the post-stage filter circuit, combining current limiting and shunt resistor protection optocouplers to achieve high frequency and electrical isolation.

Benefits of technology

It realizes anti-interference ability of 24V sensor source and drain signals within a certain power fluctuation range, with a sampling frequency of 200KHz, supports sampling of high-frequency and low-frequency signals, and is cheap and easy to implement, with ultra-wide sampling bandwidth and High immunity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222128051U_ABST
    Figure CN222128051U_ABST
Patent Text Reader

Abstract

The utility model discloses a bidirectional high-speed pulse sampling circuit. The bidirectional high-speed pulse sampling circuit comprises a full-bridge rectifying circuit, a pre-stage signal filtering circuit, an optocoupler transmission circuit and a post-stage signal filtering circuit, the full-bridge rectification circuit collects source type or drain type pulse signals, then carries out rectification processing and outputs the signals. And the input end of the pre-stage filter circuit is connected with the output end of the full-bridge rectifier circuit, and the pre-stage filter circuit receives the output signal, converts the output signal into a current signal and shunts the current signal. The input end of the optocoupler transmission circuit is connected with the output end of the preceding-stage filter circuit, and the optocoupler transmission circuit is used for converting the bidirectional pulse signals into unidirectional pulse signals. The input end of the post-stage filter circuit is connected with the output end of the optocoupler transmission circuit, and the post-stage filter circuit is used for shaping, filtering and outputting the pulse signals output by the optocoupler transmission circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of pulse sampling, in particular to a bidirectional high-speed pulse sampling circuit. Background Art

[0002] In industrial control and automation situations, it is necessary to detect the high-speed pulse signal of the sensor. In order to avoid the introduction of interference signals, it is necessary to electrically isolate the sensor signal and the control side circuit. Commonly used digital signal sensor detection is based on optocouplers. For unidirectional high-speed pulse signals with source or sink requirements, a unidirectional optocoupler is selected to achieve signal transmission and isolation. For bidirectional high-speed pulse signals that meet both source and sink types, a bidirectional optocoupler is selected to achieve signal transmission and isolation. However, the above-mentioned solution using unidirectional optocouplers selects high-speed optocouplers, which can achieve a higher frequency pulse sampling rate, but cannot simultaneously collect source and sink signals. The above-mentioned solution using bidirectional optocouplers can achieve simultaneous collection of source and sink signals, but the rate of the bidirectional optocoupler is low, resulting in a low rate of the sampling circuit, and it is difficult to collect pulse signals above 30KHz. Utility Model Content

[0003] The purpose of the utility model is to provide a bidirectional high-speed pulse sampling circuit that supports the access of 24V sensor source and drain signals commonly used in industrial environments, has relatively strong anti-interference ability within a certain power supply fluctuation range, and has a sampling frequency of up to 200KHz.

[0004] The utility model provides a bidirectional high-speed pulse sampling circuit, comprising: a full-bridge rectifier circuit, a front-stage signal filtering circuit, an optical coupling transmission circuit, and a rear-stage signal filtering circuit;

[0005] The full-bridge rectifier circuit collects source-type or sink-type pulse signals, performs rectification processing, and outputs signals;

[0006] The input end of the pre-stage filter circuit is connected to the output end of the full-bridge rectifier circuit, receives the output signal and performs current limiting and current splitting on the output signal;

[0007] The input end of the optical coupling transmission circuit is connected to the output end of the pre-stage filter circuit, and is used to convert the bidirectional pulse signal output by the pre-stage filter circuit into a single-ended pulse signal;

[0008] The input end of the post-stage filter circuit is connected to the output end of the optical coupling transmission circuit, and is used to perform shaping and filtering on the pulse signal output by the optical coupling transmission circuit and output it.

[0009] Preferably, the full-bridge rectifier circuit includes a full-bridge rectifier, the input end of the full-bridge rectifier inputs a source or drain pulse signal, the full-bridge rectifier includes a positive output end and a negative output end, and the positive output end and the negative output end are respectively connected to the pre-stage signal filtering circuit.

[0010] Preferably, the full-bridge rectifier adopts TB10S model.

[0011] Preferably, the pre-stage signal filtering circuit comprises a first resistor and a second resistor, one end of the first resistor is connected to the positive output end, and the other end is connected to the optical coupler transmission circuit;

[0012] The negative output terminal is connected to the optical coupler transmission circuit, and the two ends of the second resistor are respectively connected to the other end of the first resistor and the negative output terminal.

[0013] Preferably, the optocoupler transmission circuit includes a 3.3V power supply, a unidirectional optocoupler and a third resistor, the first pin of the unidirectional optocoupler is connected to the first resistor, the second pin of the unidirectional optocoupler is connected to the negative output end, the third pin of the unidirectional optocoupler is grounded, the fourth pin of the unidirectional optocoupler is connected to one end of the third resistor, and the other end of the third resistor is connected to the 3.3V power supply; the fourth pin of the unidirectional optocoupler is also connected to the post-stage filtering circuit.

[0014] Preferably, when the voltage input to the pre-stage signal filter circuit is too high, the second resistor divides the current so that the optocoupler does not flow current;

[0015] When the signal input to the front-stage signal filter circuit is within the logic "1" range, the second resistor divides part of the current to enable the optical coupler to work normally;

[0016] When the signal input to the front-stage signal filter circuit is in the logic "0" range, the second resistor divides part of the current, so that the optical coupler cannot be normally turned on, and the low-voltage clutter signal is filtered out.

[0017] Preferably, the optical coupler is of model OR-M611.

[0018] Preferably, the post-stage filtering circuit includes a fourth resistor, a fifth resistor and a comparator, one end of the fourth resistor is connected to the fourth pin of the optocoupler, the other end of the fourth resistor is connected to the positive input of the comparator, and the negative input of the comparator is input with an external reference voltage; one end of the fifth resistor is connected to the positive input of the comparator, and the other end is connected to the output of the comparator.

[0019] Preferably, the comparator is of model LM2901.

[0020] Preferably, the sampling frequency of the sampling circuit is 0KHz-200KHz.

[0021] Compared with the prior art, the utility model has at least the following beneficial effects: the application provides an easy-to-implement, low-cost, 24V sensor source and drain signal access commonly used in industrial environments, and realizes electrical isolation between the field side and the bus control side. It has a relatively strong anti-interference ability within a certain power supply fluctuation range, has an ultra-wide sampling bandwidth, and supports the sampling of low-frequency signals at a sampling frequency of up to 200KHz. By setting a shunt resistor, the high and low level threshold values ​​of the sampling can be designed according to the needs to improve the anti-interference degree. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0023] Figure 1 A schematic diagram of a circuit module of an example of the utility model;

[0024] Figure 2 A circuit diagram of an example of the utility model;

[0025] Figure 3 This is a waveform diagram of bidirectional high-speed pulse signal processing in an example of the utility model. DETAILED DESCRIPTION

[0026] A bidirectional high-speed pulse sampling circuit of the utility model will be described in more detail below in conjunction with a schematic diagram, wherein a preferred embodiment of the utility model is shown, and it should be understood that those skilled in the art can modify the utility model described herein and still achieve the advantageous effects of the utility model. Therefore, the following description should be understood as being widely known to those skilled in the art and not as a limitation to the utility model.

[0027] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0028] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and in non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0029] In this embodiment, reference Figure 1 and Figure 2 The full-bridge rectifier circuit includes a full-bridge rectifier, an input end of the full-bridge rectifier inputs a source or drain pulse signal, the full-bridge rectifier includes a positive output end and a negative output end, and the positive output end and the negative output end are respectively connected to the pre-stage signal filtering circuit.

[0030] The front-stage signal filtering circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the positive output end of the full-bridge rectifier, and the other end is connected to the optical coupler transmission circuit;

[0031] The negative output end of the full-bridge rectifier is connected to the optocoupler transmission circuit, and the two ends of the second resistor are respectively connected to the other end of the first resistor and the negative output end.

[0032] Furthermore, the optocoupler transmission circuit includes a unidirectional optocoupler and a third resistor, the first pin of the unidirectional optocoupler is connected to the first resistor, the second pin of the unidirectional optocoupler is connected to the negative output end, the third pin of the unidirectional optocoupler is grounded, the fourth pin of the unidirectional optocoupler is connected to one end of the third resistor, and the other end of the third resistor is connected to the 3.3V power supply end; the fourth pin of the unidirectional optocoupler is also connected to the post-stage filtering circuit.

[0033] The post-stage filtering circuit includes a fourth resistor, a fifth resistor and a comparator, one end of the fourth resistor is connected to the fourth pin of the optocoupler, the other end of the fourth resistor is connected to the positive input of the comparator, and the negative input of the comparator inputs an external reference voltage; one end of the fifth resistor is connected to the positive input of the comparator, and the other end is connected to the output of the comparator.

[0034] In this embodiment, the full-bridge rectifier adopts the TB10S model, the optocoupler adopts the OR-M611 model, and the comparator adopts the LM2901 model.

[0035] Specifically, in this embodiment, after the source type or the leakage type signal enters the circuit, it passes through the full-bridge rectifier circuit 101, and the signal is converted into a positive signal relative to the input of the rear-stage optical coupler. The signal after the full-bridge rectification is transmitted to the front-stage signal filter circuit 102. After the voltage signal passes through the current limiting resistor of the filter circuit, it is ensured that the optical coupler will not be damaged even if there is a short-term interference. The signal after flowing through the current limiting resistor will be divided by a part of the current by the shunt resistor, ensuring that the overvoltage interference optical coupler will not be damaged while ensuring that there will be no false detection when the input signal is lower than the logic high level threshold value. Another part of the signal of the current limiting resistor enters the optical coupler transmission circuit 103. When a signal higher than the logic high level threshold value enters, the input end of the optical coupler is lit, and the signal is transmitted to the output side of the optical coupler, and a voltage drop signal is generated on the current sampling resistor on the output side of the optical coupler. The signal output by the optical coupler is then transmitted to the rear-stage signal filter circuit 104, and the input signal is compared with the set reference by hysteresis, and the interference signal is further filtered and the effective signal is shaped, and finally the clean pulse signal is transmitted to the controller for processing.

[0036] like Figure 1 This is a schematic diagram of an embodiment of the utility model, which is a bidirectional high-speed pulse sampling circuit, and the circuit includes a full-bridge rectifier circuit 101, a pre-stage filter circuit 102, an optical coupler transmission circuit 103, and a post-stage filter circuit 104. The source-type or sink-type high-speed pulse signal is processed in sequence by the full-bridge rectifier circuit 101, the pre-stage filter circuit 102, the optical coupler transmission circuit 103, and the post-stage filter circuit 104 to filter out interference clutter signals, suppress unstable voltage signals, complete the electrical isolation level conversion and voltage waveform shaping of the signal input and output, and transmit the clean pulse voltage signal to the processor.

[0037] like Figure 2 This is a schematic diagram of an embodiment of the utility model. The following is a detailed description of the model input and output process and the function of the circuit in conjunction with the schematic diagram.

[0038] The full-bridge rectifier circuit 101 is composed of a full-bridge rectifier D1. After the input source and sink signals are rectified by the full-bridge, the current flows into the direction shown by I1, thereby completing the compatible processing of the source and sink signals.

[0039] The pre-stage filter circuit 102 is composed of a current limiting resistor R1 and a shunt resistor R2. The optocoupler transmission circuit 103 is composed of an optocoupler U1 and a sampling resistor R3. In this example, the optocoupler is preferably a high-speed optocoupler. Both the current limiting resistor R1 and the shunt resistor R2 act on the optocoupler transmission circuit, so the two functional circuits are described together. After the logic "1" signal is rectified, the current I1 is limited by the resistor R1, so that the input pulse signal will not damage the subsequent circuit when it is at its maximum value. After passing through R1, the current I1 is split into a current I2 flowing through the shunt resistor R2 and a current I3 flowing through the input end of the optocoupler U1, that is,

[0040] I1=I2+I3......Formula 1

[0041] When current flows through the optocoupler input, a voltage drop Vf of 1.2V will be generated.

[0042] I2=Vf / R2........Formula 2

[0043] The input signal flows through D1, R1, R2 and the input terminal of U1 to form a closed loop, that is,

[0044] Vipi=Vd+I1*R1+V f.........Formula 3

[0045] In general designs, the value of R2 is one-tenth of R1. Then the divided voltage on resistor R1 is greater than 10 times Vf. By fine-tuning the resistance value of R2, it can be used in the fields of industry and automation. Vipi is greater than 15V and is recognized by the subsequent circuit as a digital signal logic "1". When a logic "0" signal less than 5V is input, the current flowing through I3 is too small to light up the input end of the optocoupler, causing the subsequent circuit to recognize it as a logic "0". During the entire signal sampling process, the shunt resistor R2 implements a negative feedback function for the input current of the optocoupler. When the input signal voltage is too high, the shunt resistor shunts the current to protect the optocoupler from overcurrent, thereby completing the protection of high voltage. When the input signal is within the logic "1" range, the shunt resistor shunts part of the current to ensure the normal operation of the optocoupler. When the input signal is in the logic "0" range, the shunt resistor shunts part of the current to ensure that the optocoupler cannot conduct normally, thereby completing the filtering of low-voltage clutter signals. After the current I3 flowing through the input end of the optocoupler is transmitted by the optocoupler,

[0046] I4<=I3*CTR..........Formula 4

[0047] The current output by the optocoupler flows through the sampling resistor R3 and then outputs the voltage V1.

[0048] V1=3.3V-I4*R4.........Formula 5

[0049] Combining Formula 4 and Formula 5, it can be obtained that the output of V1 is related to the transmission ratio of the optocoupler and the size of the sampling resistor R3. The transmission ratio CTR of the optocoupler is generally a relatively large range of values. When the sampling resistor R3 is relatively small, the optocoupler output may be in an amplified state, affecting the logic threshold output of V1. When the sampling resistor R3 is relatively large, the optocoupler output is guaranteed to be in the cut-off state, but the I4 current is relatively small, which affects the transmission rate of the optocoupler. Therefore, when selecting a high-speed optocoupler U1, try to choose a model with a relatively concentrated distribution of CTR parameters. Resistor R3 generally selects 1K to 3.3K to meet the requirements.

[0050] The post-stage filter circuit 104 is a hysteresis comparator composed of resistor R4, resistor R5, and comparator U2. Figure 3 , the signal is compared with the reference voltage signal Vref for hysteresis amplification. When a high-frequency signal is input, due to the difference in the transmission performance of the optocoupler and the influence of parasitic capacitance, the output voltage V1 will be deformed, and the rising and falling edges of the voltage waveform will become flat, resulting in an increased risk of false triggering. Due to the influence of the optocoupler transmission ratio and the sampling resistor, the low level of the output voltage cannot be pulled to 0V, and the high level cannot be pulled to 3.3V, and the logic level threshold margin is reduced, resulting in an increased risk of false triggering. After being processed by the hysteresis comparator, the flat signal will not be falsely triggered within the hysteresis window. After the input signal is compared with the reference signal and output, the rising and falling edges become steeper and the low level is pulled to 0V and the high level is pulled to 3.3V. After passing through the post-filter circuit 104, the signal waveform becomes a standard square wave signal and will not be falsely triggered.

[0051] In summary, in the present invention, a full-bridge rectifier circuit and a pre-stage filter circuit are provided while a unidirectional optical coupler is used for transmission, so that the sampling circuit can not only collect source or drain pulse signals, but also increase the range of the sampling frequency. A post-stage filter circuit is provided to further improve the accuracy of the sampling circuit.

[0052] The above specific examples are used to illustrate the present invention, which are only used to help understand the present invention and are not intended to limit the present invention. For those skilled in the art of the present invention, some simple deductions, deformations or substitutions can be made based on the idea of ​​the present invention.

Claims

1. A bidirectional high-speed pulse sampling circuit, characterized in that: include: Full-bridge rectifier circuit, front-stage signal filter circuit, optocoupler transmission circuit and rear-stage signal filter circuit; The full-bridge rectifier circuit collects source-type or sink-type pulse signals, performs rectification processing, and outputs signals; The input end of the front-stage signal filter circuit is connected to the output end of the full-bridge rectifier circuit, and the front-stage signal filter circuit receives the output signal and limits and divides the output signal to output part of the output signal to the optical coupler transmission circuit; The input end of the optical coupling transmission circuit is connected to the output end of the front-stage signal filtering circuit, and is used to convert the bidirectional pulse signal output by the front-stage signal filtering circuit into a unidirectional pulse signal; The input end of the post-stage signal filtering circuit is connected to the output end of the optical coupling transmission circuit, and is used to perform shaping and filtering on the unidirectional pulse signal output by the optical coupling transmission circuit and output it.

2. The bidirectional high-speed pulse sampling circuit according to claim 1, characterized in that: The front-stage signal filtering circuit includes a first resistor and a second resistor, the full-bridge rectifier circuit is a full-bridge rectifier, and the full-bridge rectifier includes a positive output terminal and a negative output terminal. One end of the first resistor is connected to the positive output end, the other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is connected to the negative output end, and both ends of the second resistor are respectively connected to the input ends of the optocoupler transmission circuit.

3. The bidirectional high-speed pulse sampling circuit according to claim 2, characterized in that: The optocoupler transmission circuit includes a 3.3V power supply, a unidirectional optocoupler and a third resistor, the first pin of the unidirectional optocoupler is connected to the first resistor, the second pin of the unidirectional optocoupler is connected to the second resistor, the third pin of the unidirectional optocoupler is grounded, the fourth pin of the unidirectional optocoupler is connected to one end of the third resistor, and the other end of the third resistor is connected to the 3.3V power supply; the fourth pin of the unidirectional optocoupler is also connected to the post-stage signal filtering circuit.

4. The bidirectional high-speed pulse sampling circuit according to claim 3, characterized in that: The second resistor is used to divide the current when the voltage input to the pre-stage signal filter circuit is too high, so that the optocoupler does not overcurrent; to divide part of the current when the signal input to the pre-stage signal filter circuit is within the logic "1" range, so that the optocoupler works normally; and to divide part of the current when the signal input to the pre-stage signal filter circuit is within the logic "0" range, so that the optocoupler cannot be turned on normally and the low-voltage clutter signal is filtered out.

5. The bidirectional high-speed pulse sampling circuit according to claim 4, characterized in that: The optical coupler is of model OR-M611.

6. The bidirectional high-speed pulse sampling circuit according to claim 5, characterized in that: The post-stage signal filtering circuit includes a fourth resistor, a fifth resistor and a comparator, one end of the fourth resistor is connected to the fourth pin of the optocoupler, the other end of the fourth resistor is connected to the positive input of the comparator, and the negative input of the comparator is input with an external reference voltage; one end of the fifth resistor is connected to the positive input of the comparator, and the other end is connected to the output of the comparator.

7. The bidirectional high-speed pulse sampling circuit according to claim 6, characterized in that: The comparator used is LM2901.

8. The bidirectional high-speed pulse sampling circuit according to claim 2, characterized in that: The full-bridge rectifier also includes two input terminals, the input terminals input source type or sink type pulse signals, and the full-bridge rectifier adopts TB10S model.

9. The bidirectional high-speed pulse sampling circuit according to any one of claims 1 to 8, characterized in that: The sampling frequency is less than or equal to 200KHz.