Hysteresis comparison circuit based on two-way voltage comparator
By using a combination of dual-channel voltage comparator, isolated power supply and optocoupler module in the hysteresis comparison circuit, the problem that traditional hysteresis comparison circuits are difficult to isolate and collect and destroy signals in the on-board equipment is solved, and a high-precision and rapid response circuit is achieved Design to avoid the limitation of dual power supply.
Patent Information
- Application Number
- CN202411233371.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-13
AI Technical Summary
Traditional hysteresis comparison circuits are difficult to effectively isolate and collect destroy signals in airborne equipment, and require positive and negative dual power supplies, making the output difficult to reach rail-to-rail.
Design a hysteresis comparison circuit based on a dual-channel voltage comparator, including a dual-channel comparison module, an isolated power supply, a reference source and an optocoupler module, and use a dual-channel comparator chip, an isolated power supply chip, a reference source chip and an optocoupler chip to divide the voltage The circuit and optocoupling module realize signal isolation and level conversion, avoiding the limitation of positive and negative dual power supply.
It realizes high-precision and rapid response collection and control of airborne equipment destruction signals, avoids the dual-power supply defects of traditional circuits, and has a simple circuit structure and fast response speed.
Smart Images

Figure CN119135135A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of circuit design, and in particular relates to a hysteresis comparison circuit based on a dual-path voltage comparator. Background Art
[0002] The voltage comparator is a circuit that detects and compares the input signal. It is the basic unit circuit of the non-sinusoidal wave generating circuit and has a wide range of applications in measurement and control.
[0003] Voltage comparison circuits can be divided into single-limit voltage comparison circuits, hysteresis voltage comparison circuits and window voltage comparison circuits according to their implemented functions. The present invention mainly describes a hysteresis comparison circuit design based on a dual-path voltage comparator. The circuit is combined with a back-end processor system to realize the collection and control of airborne equipment destruction signals.
[0004] The traditional hysteresis comparator circuit is mainly implemented based on an operational amplifier, and a positive feedback mechanism is introduced into the circuit. The typical circuit of the traditional hysteresis comparator circuit is as follows Figure 1 As shown, it can be seen from the limiting circuit at the output of the operational amplifier that u o = ±U Z . The potential of the reverse input terminal of the integrated operational amplifier is u N =u I , the potential of the non-inverting input terminal u P= R1 / (R1+R2)*U Z According to the input characteristics of the operational amplifier, u N =u P , the obtained u I is the threshold voltage, so ±U T = ±R1 / (R1+R2)*U Z .
[0005] The voltage transfer characteristic curve of the traditional hysteresis comparator circuit is as follows Figure 2 When -U T I <+U T When the output may be +U Z , or possibly -U Z If u I is less than -U T The value gradually increases to -U T I <+U T , then the output should be +U Z ; If U I is greater than +U T The value gradually decreases to -U T I <+U T , then the output should be -U Z The characteristic curve of the hysteresis comparator circuit is shown below. Figure 2 ,As can be seen from the figure, the curve has directionality.
[0006] If you need to move the characteristic curve left or right along the X-axis, that is, change the threshold voltage, you only need to Figure 1 The ground end of the R1 resistor is connected to the reference voltage source U REF , if U REF >0, the curve will move to the right, U REF <0, the curve will move to the left. Summary of the invention
[0007] 1. Technical issues to be resolved
[0008] The technical problem to be solved by the present invention is how to provide a hysteresis comparison circuit based on a dual-path voltage comparator to solve the problem of isolated collection of the destruction signal state of airborne equipment.
[0009] (II) Technical solution
[0010] In order to solve the above technical problems, the present invention proposes a hysteresis comparison circuit based on a dual-path voltage comparator, the hysteresis comparison circuit comprising: a dual-path comparison module, an isolated power supply, a reference source and an optical coupling module;
[0011] The dual-channel comparison module includes: a dual-channel comparator chip D16, resistors R104, R105, R106, R109, R110, R112, R113, R115, capacitors C119, C122, C123;
[0012] One end of R106 is connected to the +28V input voltage, and the other end is connected to one end of R112 and pin 2 of chip D16. The other end of R112 is connected to 28VGND. R106 and R112 form a voltage divider circuit connected to pin 2 of chip D16. At the same time, pin 2 of chip D16 is also connected to 28VGND through C119 and R113.
[0013] One end of R104 is connected to +28V input voltage, and the other end is connected to one end of R105 and pin 6 of chip D16. The other end of R105 is connected to 28VGND. R104 and R105 form a voltage divider circuit connected to pin 6 of chip D16. At the same time, pin 6 of chip D16 is connected to 28VGND through C123 and R115.
[0014] One end of R109 is connected to +5V voltage, and the other end is connected to pin 1 of chip D16;
[0015] One end of R110 is connected to +5V voltage, and the other end is connected to pin 7 of chip D16;
[0016] Pins 3 and 5 of chip D16 are connected to pin 6 of chip D15;
[0017] Pin 8 of chip D16 is connected to +5V voltage;
[0018] Pin 4 of chip D16 is connected to 28VGND;
[0019] The isolated power supply includes: an isolated power supply chip D17;
[0020] Pin 2 of the isolated power chip D17 is the 5V input power before isolation, and pin 4 outputs the +5V voltage after isolation; pin 1 and pin 3 are the reference grounds before and after isolation respectively;
[0021] The reference source includes: reference source chip D15, capacitors C120, C121, and C122;
[0022] Pin 2 of the reference source chip D15 is connected to +5V voltage and connected to 28VGND through capacitor C120. Pin 3 is connected to 28VGND through capacitor C121. Pin 4 is connected to 28VGND. Pin 6 is connected to pins 3 and 5 of chip D16 and connected to 28VGND through capacitor C122.
[0023] The optocoupler module includes: optocoupler chip B1, resistors R107, R108, R111, R114, capacitors C124, C125, diodes V25, V26;
[0024] One end of C125 and the negative pole of V25 are connected to pin 1 of chip D16, and connected to pin 1 of chip B1 through resistor R111. The other end of C125 and the positive pole of V25 are connected to 28VGND.
[0025] One end of C124 and the negative pole of V26 are connected to the 7th pin of chip D16, and connected to the 4th pin of chip B1 through the resistor R114. The other end of C124 and the positive pole of V26 are connected to 28VGND.
[0026] Pins 2 and 3 of chip B1 are connected to 28VGND;
[0027] One end of R107 is connected to VCC3V3, and the other end is connected to pin 7 of chip B1. Pin 7 of chip B1 outputs DSTY1.
[0028] One end of R108 is connected to VCC3V3, and the other end is connected to pin 6 of chip B1. Pin 6 of chip B1 outputs DSTY2.
[0029] Pin 8 of chip B1 is connected to +5V voltage and pin 5 is grounded.
[0030] (III) Beneficial effects
[0031] The present invention proposes a hysteresis comparison circuit based on a dual-path voltage comparator. The circuit has a simple structure, high precision, and fast response speed, and avoids the defects of using an integrated operational amplifier that requires positive and negative dual power supplies and the output is difficult to achieve rail-to-rail. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a typical circuit of hysteresis comparison circuit in the prior art;
[0033] Figure 2 is a characteristic curve of a hysteresis comparison circuit in the prior art;
[0034] Figure 3 The figure is a schematic diagram of a hysteresis comparison circuit based on a dual comparator of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.
[0036] The hysteresis comparison circuit based on the dual comparator of the present invention is realized with the dual comparator chip FW193GF(Z) as the core, and is matched with peripheral isolation power supply, reference source, optical coupler, resistor and capacitor and other devices. The specific circuit is as follows Figure 3 shown.
[0037] This circuit is used in airborne environments and is mainly used to realize the collection and control of airborne equipment destruction signals. The destruction signal input voltage range is 0V-28V. When the input voltage is greater than 13V, the destruction signal is determined to be valid. When the input voltage is less than 9V, the destruction signal is determined to be invalid. When the input voltage amplitude is in the range of 9V-13V, the original destruction signal state is maintained.
[0038] The present invention provides a hysteresis comparison circuit based on a dual-path comparator, comprising: a dual-path comparison module, an isolation power supply, a reference source and an optical coupling module; wherein:
[0039] The dual-channel comparison module includes: a dual-channel comparator chip D16, resistors R104, R105, R106, R109, R110, R112, R113, R115, capacitors C119, C122, C123; the dual-channel comparator chip D16 adopts FW193GF(Z);
[0040] One end of R106 is connected to the +28V input voltage, and the other end is connected to one end of R112 and pin 2 of chip D16. The other end of R112 is connected to 28VGND. R106 and R112 form a voltage divider circuit connected to pin 2 of chip D16. At the same time, pin 2 of chip D16 is also connected to 28VGND through C119 and R113.
[0041] One end of R104 is connected to +28V input voltage, and the other end is connected to one end of R105 and pin 6 of chip D16. The other end of R105 is connected to 28VGND. R104 and R105 form a voltage divider circuit connected to pin 6 of chip D16. At the same time, pin 6 of chip D16 is connected to 28VGND through C123 and R115.
[0042] One end of R109 is connected to +5V voltage, and the other end is connected to pin 1 of chip D16;
[0043] One end of R110 is connected to +5V voltage, and the other end is connected to pin 7 of chip D16;
[0044] Pins 3 and 5 of chip D16 are connected to pin 6 of chip D15;
[0045] Pin 8 of chip D16 is connected to +5V voltage;
[0046] Pin 4 of chip D16 is connected to 28VGND;
[0047] The isolated power supply includes: an isolated power supply chip D17;
[0048] The isolated power chip D17 uses ZMDC05S05A / 1W. Pin 2 is the 5V input power before isolation, and pin 4 outputs +5V voltage after isolation. Pins 1 and 3 are the reference grounds before and after isolation respectively.
[0049] The reference source includes: reference source chip D15, capacitors C120, C121, and C122;
[0050] The reference source chip D15 uses FW780GF, the second pin is connected to +5V voltage, and connected to 28VGND through capacitor C120, the third pin is connected to 28VGND through capacitor C121, the fourth pin is connected to 28VGND, the sixth pin is connected to the 3rd and 5th pins of the chip D16, and connected to 28VGND through capacitor C122;
[0051] The optocoupler module includes: optocoupler chip B1, resistors R107, R108, R111, R114, capacitors C124, C125, diodes V25, V26; the optocoupler chip B1 adopts GH0631G;
[0052] One end of C125 and the negative pole of V25 are connected to pin 1 of chip D16, and connected to pin 1 of chip B1 through resistor R111. The other end of C125 and the positive pole of V25 are connected to 28VGND.
[0053] One end of C124 and the negative pole of V26 are connected to the 7th pin of chip D16, and connected to the 4th pin of chip B1 through the resistor R114. The other end of C124 and the positive pole of V26 are connected to 28VGND.
[0054] Pins 2 and 3 of chip B1 are connected to 28VGND;
[0055] One end of R107 is connected to VCC3V3, and the other end is connected to pin 7 of chip B1. Pin 7 of chip B1 outputs DSTY1.
[0056] One end of R108 is connected to VCC3V3, and the other end is connected to pin 6 of chip B1. Pin 6 of chip B1 outputs DSTY2.
[0057] Pin 8 of chip B1 is connected to +5V voltage and pin 5 is grounded.
[0058] The dual comparator chip D16 is used to realize the dual voltage comparison function, the isolated power chip D17 is used to generate an isolated 5V voltage, the reference source chip D15 is used to generate a 2.5V reference voltage, and the optocoupler chip B1 is used to realize signal isolation and level conversion.
[0059] According to the requirements, the upper and lower thresholds of the hysteresis comparator circuit are 13V and 9V respectively. Figure 1 In the design, the following is done:
[0060] R106 and R112 are used to realize the voltage division of the input signal of the first comparator. For the convenience of calculation and value selection, R106 selects a resistor with an accuracy of 1% and a nominal value of 3.9K, and R112 selects a resistor with an accuracy of 1% and a nominal value of 1K;
[0061] R104 and R105 are used to realize the voltage division of the second comparator input signal. For the convenience of calculation and value selection, R104 selects a resistor with an accuracy of 1% and a nominal value of 2.4K, and R105 selects a resistor with an accuracy of 1% and a nominal value of 1K.
[0062] When the input destruction signal voltage is greater than 13V, the negative input voltage of the first channel of the comparator is greater than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is greater than the positive input voltage, that is, the reference source output voltage 2.5V. Because the comparator output is an OC gate, R109 and R110 are two optocoupler output OC gate pull-up resistors respectively. At this time, the outputs of the two channels of the comparator are both 0, the input end of the optocoupler B1 is not turned on, and the output end signals DSTY1 and DSTY2 are both 3.3V high level at this time;
[0063] Similarly, when the input destruction signal voltage is less than 9V, the negative input voltage of the first channel of the comparator is less than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is less than the positive input voltage, that is, the reference source output voltage 2.5V. At this time, the output signals DSTY1 and DSTY2 are both 0V;
[0064] When the input destruction signal voltage is greater than 9V and less than 13V, the negative input voltage of the first channel of the comparator is less than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is greater than the positive input voltage, that is, the reference source output voltage 2.5V. At this time, the output signals DSTY1 and DSTY2 are 0V and 3.3V respectively;
[0065] According to the above analysis, when the DSTY1 and DSTY2 signals are both 3.3V high level, the destruction signal is valid; when the DSTY1 and DSTY2 signals are both low level 0V, the destruction signal is invalid; when DSTY1 is low level and DSTY2 is high level, the original destruction signal state is maintained and no processing is required.
[0066] Connect the DSTY1 and DSTY2 signals to the back-end processor system, and the destruction signal status can be determined according to the above judgment conditions.
[0067] The hysteresis comparison circuit based on the dual-circuit voltage comparator described in the present invention has been successfully applied to a certain type of airborne equipment. The circuit is designed with domestically produced components, meets the mission technical indicators, and works stably. The present invention proposes a hysteresis comparison circuit based on a dual-circuit voltage comparator. The circuit has a simple structure, high accuracy, and fast response speed, avoiding the defects of using integrated operational amplifiers that require positive and negative dual power supplies and the difficulty of outputting rail-to-rail.
[0068] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A hysteresis comparison circuit based on a dual voltage comparator, characterized in that: The hysteresis comparison circuit comprises: a dual-path comparison module, an isolation power supply, a reference source and an optical coupling module; The dual-channel comparison module includes: a dual-channel comparator chip D16, resistors R104, R105, R106, R109, R110, R112, R113, R115, capacitors C119, C122, C123; One end of R106 is connected to the +28V input voltage, and the other end is connected to one end of R112 and pin 2 of chip D16. The other end of R112 is connected to 28VGND. R106 and R112 form a voltage divider circuit connected to pin 2 of chip D16. At the same time, pin 2 of chip D16 is also connected to 28VGND through C119 and R113. One end of R104 is connected to +28V input voltage, and the other end is connected to one end of R105 and pin 6 of chip D16. The other end of R105 is connected to 28VGND. R104 and R105 form a voltage divider circuit connected to pin 6 of chip D16. At the same time, pin 6 of chip D16 is connected to 28VGND through C123 and R115. One end of R109 is connected to +5V voltage, and the other end is connected to pin 1 of chip D16; One end of R110 is connected to +5V voltage, and the other end is connected to pin 7 of chip D16; Pins 3 and 5 of chip D16 are connected to pin 6 of chip D15; Pin 8 of chip D16 is connected to +5V voltage; Pin 4 of chip D16 is connected to 28VGND; The isolated power supply includes: an isolated power supply chip D17; Pin 2 of the isolated power chip D17 is the 5V input power before isolation, and pin 4 outputs +5V voltage after isolation; pin 1 and pin 3 are the reference grounds before and after isolation respectively; The reference source includes: reference source chip D15, capacitors C120, C121, and C122; Pin 2 of the reference source chip D15 is connected to +5V voltage and connected to 28VGND through capacitor C120. Pin 3 is connected to 28VGND through capacitor C121. Pin 4 is connected to 28VGND. Pin 6 is connected to pins 3 and 5 of chip D16 and connected to 28VGND through capacitor C122. The optocoupler module includes: optocoupler chip B1, resistors R107, R108, R111, R114, capacitors C124, C125, diodes V25, V26; One end of C125 and the negative pole of V25 are connected to pin 1 of chip D16, and connected to pin 1 of chip B1 through resistor R111. The other end of C125 and the positive pole of V25 are connected to 28VGND. One end of C124 and the negative pole of V26 are connected to the 7th pin of chip D16, and connected to the 4th pin of chip B1 through the resistor R114. The other end of C124 and the positive pole of V26 are connected to 28VGND. Pins 2 and 3 of chip B1 are connected to 28VGND; One end of R107 is connected to VCC3V3, and the other end is connected to pin 7 of chip B1. Pin 7 of chip B1 outputs DSTY1. One end of R108 is connected to VCC3V3, and the other end is connected to pin 6 of chip B1. Pin 6 of chip B1 outputs DSTY2. Pin 8 of chip B1 is connected to +5V voltage and pin 5 is grounded.
2. The hysteresis comparison circuit based on the dual voltage comparator according to claim 1, characterized in that: The dual comparator chip D16 uses FW193GF.
3. The hysteresis comparison circuit based on the dual voltage comparator according to claim 1, characterized in that: The isolated power chip D17 uses ZMDC05S05A / 1W.
4. The hysteresis comparison circuit based on a dual voltage comparator according to claim 1, characterized in that: The reference source chip D15 uses FW780GF.
5. The hysteresis comparison circuit based on a dual voltage comparator according to claim 1, characterized in that: The optocoupler chip B1 uses GH0631G.
6. The hysteresis comparison circuit based on a dual voltage comparator according to any one of claims 1 to 5, characterized in that: The dual comparator chip D16 is used to realize the dual voltage comparison function, the isolated power supply chip D17 is used to generate an isolated 5V voltage, the reference source chip D15 is used to generate a 2.5V reference voltage, and the optocoupler chip B1 is used to realize signal isolation and level conversion.
7. The hysteresis comparison circuit based on a dual voltage comparator as claimed in claim 6, characterized in that: This circuit is used in airborne environments to collect and control destruction signals of airborne equipment. The destruction signal input voltage range is 0V-28V. When the input voltage is greater than 13V, the destruction signal is determined to be valid. When the input voltage is less than 9V, the destruction signal is determined to be invalid. When the input voltage amplitude is within the range of 9V-13V, the original destruction signal state is maintained.
8. The hysteresis comparison circuit based on the dual voltage comparator according to claim 7, characterized in that: R106 and R112 are used to realize the voltage division of the first comparator input signal. R106 selects a resistor with an accuracy of 1% and a nominal value of 3.9K, and R112 selects a resistor with an accuracy of 1% and a nominal value of 1K.
9. The hysteresis comparison circuit based on a dual voltage comparator as claimed in claim 7, characterized in that: R104 and R105 are used to realize the voltage division of the second comparator input signal. R104 is selected as a resistor with an accuracy of 1% and a nominal value of 2.4K, and R105 is selected as a resistor with an accuracy of 1% and a nominal value of 1K.
10. The hysteresis comparison circuit based on a dual voltage comparator according to claim 7, characterized in that: When the input destruction signal voltage is greater than 13V, the negative input voltage of the first channel of the comparator is greater than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is greater than the positive input voltage, that is, the reference source output voltage 2.5V. Because the comparator output is an OC gate, R109 and R110 are two optocoupler output OC gate pull-up resistors respectively. At this time, the outputs of the two channels of the comparator are both 0, the input end of the optocoupler B1 is not turned on, and the output end signals DSTY1 and DSTY2 are both 3.3V high level at this time; Similarly, when the input destruction signal voltage is less than 9V, the negative input voltage of the first channel of the comparator is less than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is less than the positive input voltage, that is, the reference source output voltage 2.5V. At this time, the output signals DSTY1 and DSTY2 are both 0V; When the input destruction signal voltage is greater than 9V and less than 13V, the negative input voltage of the first channel of the comparator is less than the positive input voltage, that is, the reference source output voltage 2.5V, and the negative input voltage of the second channel is greater than the positive input voltage, that is, the reference source output voltage 2.5V. At this time, the output signals DSTY1 and DSTY2 are 0V and 3.3V respectively; When the DSTY1 and DSTY2 signals are both at a high level of 3.3V, the destroy signal is valid; when the DSTY1 and DSTY2 signals are both at a low level of 0V, the destroy signal is invalid; when DSTY1 is at a low level and DSTY2 is at a high level, the original destroy signal state is maintained and no processing is required.
