Analog acquisition and comparison protection circuit and device and electronic equipment

By introducing bias voltage into the op amp module of the analog acquisition circuit and adjusting the output voltage to a positive voltage, the zero drift problem in the analog acquisition circuit is solved, ensuring the normal operation of the analog-to-digital converter and the comparison protection circuit, and achieving electronics The equipment is operating normally.

CN222016534UActive Publication Date: 2024-11-15JIANGSU KINGWAY TRANSPORTATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323621885.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-11-15
Estimated Expiration
2033-12-28

AI Technical Summary

Technical Problem

The zero drift problem in the analog acquisition circuit causes zero drifting of the output signal near the zero level, causing the output voltage to drift, which in turn makes the subsequent comparison protection circuit and the analog-to-digital converter unable to work normally, resulting in the electronic equipment not being able to operate normally.

Method used

Design an analog acquisition and comparison protection circuit, by connecting the bias voltage to the input end of the op amp module, adjusting the output state of the op amp module, so as to offset the output voltage to a positive voltage, thereby ensuring the analog-to-digital converter and comparison protection The circuit can perform zero-flood correction and protection trigger judgment based on positive voltage.

Benefits of technology

It effectively solves the zero drift problem, ensures the normal operation of the analog-to-digital converter and comparison protection circuit, avoids the problems of accidentally triggering protection operations and negative zero drift correction, and ensures the normal operation of electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222016534U_ABST
    Figure CN222016534U_ABST
Patent Text Reader

Abstract

The utility model discloses an analog acquisition and comparison protection circuit, an analog acquisition and comparison protection device and electronic equipment, relates to the technical field of analog signal processing, and solves the problems that negative zero drift cannot be corrected and false triggering cannot be protected by designing the analog acquisition and comparison protection circuit. A bias voltage end is connected to the input end of an operational amplifier module in an analog acquisition circuit included in the analog acquisition and comparison protection circuit, and the output state of the operational amplifier module is adjusted through increased bias voltage, so that the operational amplifier module can offset the voltage output by the operational amplifier module according to the increased bias voltage; the analog acquisition circuit is provided with the positive voltage, so that the analog acquisition circuit can be shifted into the positive voltage to ensure that the output voltage of the output end of the analog acquisition circuit is the positive voltage when the analog acquisition circuit has the null drift problem, and an analog-to-digital converter and a comparison protection circuit which are connected to the output end of the operational amplifier module can perform null drift correction and accurate protection trigger judgment based on the output signal of the positive voltage; therefore, normal operation of the electronic equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of analog signal processing, in particular to an analog acquisition and comparison protection circuit, a device and an electronic device. Background Art

[0002] The zero drift problem in the analog acquisition circuit refers to the phenomenon that when the analog input signal is not connected for a period of time, the output signal will produce a zero-point drift near the zero level, causing the output voltage drift in the output signal.

[0003] When the output voltage drifts to a negative voltage, the subsequent comparison protection circuit and the analog-to-digital converter of the analog acquisition circuit can only perform protection trigger judgment and zero drift correction based on the output voltage of the positive voltage. Therefore, when the zero drift problem in the analog acquisition circuit causes the voltage of the output signal output to the subsequent comparison protection circuit and the analog-to-digital converter to be a negative voltage, the subsequent comparison protection circuit will be mistriggered for protection operation and the analog-to-digital converter will be unable to perform negative zero drift correction, which will cause the electronic device equipped with the analog acquisition circuit to fail to operate normally. Utility Model Content

[0004] The main purpose of the utility model is to provide an analog acquisition and comparison protection circuit, device and electronic equipment, aiming to solve the technical problem that the electronic equipment cannot operate normally due to the zero drift problem existing in the analog acquisition circuit.

[0005] To achieve the above object, the utility model provides an analog acquisition and comparison protection circuit, the analog acquisition and comparison protection circuit comprises an analog acquisition circuit, an analog-to-digital converter, and a comparison protection circuit, the analog acquisition circuit comprises an analog signal input terminal and an operational amplifier module;

[0006] The input end of the operational amplifier module is connected to the analog signal input end, the output end of the operational amplifier module is respectively connected to the input end of the analog-to-digital converter and the input end of the comparison protection circuit, and the analog acquisition circuit further includes: a bias voltage end;

[0007] The bias voltage terminal is connected to the input terminal of the operational amplifier module, and is used to adjust the output state of the operational amplifier module;

[0008] The operational amplifier module shifts the voltage output to the analog-to-digital converter and the comparison protection circuit to a positive voltage based on the bias voltage input to the bias voltage terminal.

[0009] Optionally, the operational amplifier module includes:

[0010] A first-stage operational amplifier unit, wherein an input terminal of the first-stage operational amplifier unit is respectively connected to the analog signal input terminal and the bias voltage terminal, and based on the bias voltage, an output voltage is a first output signal of a positive voltage;

[0011] A second-stage operational amplifier unit, wherein the input end of the second-stage operational amplifier unit is respectively connected to the output end of the first-stage operational amplifier unit and the bias voltage end, and the output end of the second-stage operational amplifier unit is respectively connected to the analog-to-digital converter and the comparison protection circuit, and through the connected bias voltage, the voltage in the second output signal output after operational amplification based on the positive voltage in the connected first output signal is offset to a positive voltage.

[0012] Optionally, the first-stage operational amplifier unit includes a first operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor;

[0013] The non-inverting input terminal of the first operational amplifier is connected to the positive input terminal of the analog signal input terminal via a first resistor, and the non-inverting input terminal of the first operational amplifier is connected to the bias voltage terminal via a second resistor;

[0014] The inverting input terminal of the first operational amplifier is connected to the negative input terminal of the analog signal input terminal via a third resistor;

[0015] The output terminal of the first operational amplifier is connected to the inverting input terminal of the first operational amplifier via a fourth resistor.

[0016] Optionally, the second-stage operational amplifier unit includes a second operational amplifier, a fifth resistor and a sixth resistor;

[0017] The non-inverting input terminal of the second operational amplifier is connected to the output terminal of the first operational amplifier;

[0018] The inverting input terminal of the second operational amplifier is connected to the bias voltage terminal via a fifth resistor;

[0019] The output end of the second operational amplifier is connected to the inverting input end of the second operational amplifier via the sixth resistor, and the output end of the second operational amplifier is connected to the analog-to-digital converter and the comparison protection circuit respectively.

[0020] Optionally, the analog acquisition and comparison protection circuit further includes an anti-interference module, and the anti-interference module includes a first capacitor and a second capacitor;

[0021] The first capacitor is connected to the connection line between the positive input terminal of the analog signal input terminal and the first resistor, and the second capacitor is connected to the connection line between the negative input terminal of the analog signal input terminal and the third resistor;

[0022] The analog acquisition and comparison protection circuit further includes a flow-pressure conversion module, and the flow-pressure conversion module includes a seventh resistor;

[0023] The seventh resistor is connected between the positive input terminal and the negative input terminal.

[0024] Optionally, the comparison protection circuit includes:

[0025] an upper limit comparison unit, wherein the input end of the upper limit comparison unit is connected to the output end of the second operational amplifier, and is used to compare the positive voltage in the second output signal with the preset upper limit voltage value, and output an upper limit comparison result;

[0026] A lower limit comparison unit, wherein the input end of the lower limit comparison unit is connected to the output end of the second operational amplifier, and is used to compare the positive voltage in the connected second output signal with the connected preset lower limit voltage value, and output a lower limit comparison result.

[0027] Optionally, the upper limit value comparison unit includes a first voltage comparator;

[0028] The comparison voltage input terminal of the first voltage comparator is connected to the output terminal of the second operational amplifier, and the reference voltage input terminal of the first voltage comparator is connected to the preset upper limit voltage value;

[0029] The lower limit value comparison unit includes a second voltage comparator;

[0030] The comparison voltage input terminal of the second voltage comparator is connected to the output terminal of the second operational amplifier, and the reference voltage input terminal of the second voltage comparator is connected to the preset lower limit voltage value.

[0031] Optionally, the analog-to-digital converter calibrates a voltage value in the input output signal based on a bias voltage value of the bias voltage terminal;

[0032] The preset upper limit voltage value and the preset lower limit voltage value connected to the comparison protection circuit are adjusted based on the bias voltage value respectively.

[0033] In addition, to achieve the above-mentioned purpose, the utility model also provides an analog acquisition and comparison protection device, including an analog acquisition and comparison protection circuit; the analog acquisition and comparison protection circuit is used to collect and convert the analog input signal of an electronic device equipped with the analog acquisition and comparison protection device, and the analog acquisition and comparison protection device is configured as the analog acquisition and comparison protection circuit as described above.

[0034] In addition, to achieve the above-mentioned purpose, the utility model also provides an electronic device, including an analog acquisition and comparison protection device; the analog acquisition and comparison protection device includes an analog acquisition and comparison protection circuit for acquiring and converting analog input signals of the electronic device, and the analog acquisition and comparison protection device is configured as the analog acquisition and comparison protection circuit as described above.

[0035] In the technical solution of the utility model, an analog acquisition and comparison protection circuit is designed, in which a bias voltage terminal is connected to the input terminal of an operational amplifier module in an analog acquisition circuit in the analog acquisition and comparison protection circuit, and the output state of the operational amplifier module is adjusted by an increased bias voltage, so that the operational amplifier module can offset the voltage output by the operational amplifier module according to the increased bias voltage, so that it can be offset to a positive voltage, thereby ensuring that when a zero drift problem occurs in the analog acquisition circuit, its output voltage will not have a negative value, so that the analog-to-digital converter and the comparison protection circuit connected to the output terminal of the operational amplifier module can perform zero drift correction and accurate protection trigger judgment based on the output signal of the positive voltage, thereby ensuring the normal operation of the electronic equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] 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 described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0037] Figure 1 This is a schematic diagram of module connection of the analog acquisition and comparison protection circuit of the utility model;

[0038] Figure 2 The module connection diagram of the analog acquisition and comparison protection circuit after the operational amplifier module is detailed for the utility model;

[0039] Figure 3 It is a circuit diagram between the operational amplifier module, the anti-interference module and the current-pressure conversion module of the utility model;

[0040] Figure 4 It is a schematic diagram of the module connection between the second-stage operational amplifier unit and the comparison protection circuit of the utility model;

[0041] Figure 5 It is a circuit diagram of the comparative protection circuit of the utility model.

[0042] Description of Figure Numbers:

[0043]

[0044]

[0045] The realization of the purpose, functional features and advantages of the present invention will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0047] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0048] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the utility model, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the utility model.

[0049] Reference Figure 1 As shown, Figure 1 The utility model proposes a module schematic diagram of an analog acquisition and comparison protection circuit, the analog acquisition and comparison protection circuit includes an analog acquisition circuit 10, an analog-to-digital converter ADC, and a comparison protection circuit 20. The analog acquisition circuit 10 includes an analog signal input terminal (i.e. Figure 1 AIN in), operational amplifier module 30;

[0050] The input end of the operational amplifier module 30 is connected to the analog signal input end, and the output end of the operational amplifier module 30 is respectively connected to the input end of the analog-to-digital converter ADC and the input end of the comparison protection circuit 20. The analog acquisition circuit 10 further includes: a bias voltage end Bias;

[0051] The bias voltage terminal Bias is connected to the input terminal of the operational amplifier module 30 to adjust the output state of the operational amplifier module 30 .

[0052] The operational amplifier module 30 shifts the voltage output to the analog-to-digital converter ADC and the comparison protection circuit 20 to a positive voltage based on the bias voltage input to the bias voltage terminal Bias.

[0053] According to the zero drift problem existing in the analog acquisition circuit, the voltage of the output signal output to the comparison circuit and the analog-to-digital converter is a negative voltage. The output signal of the negative voltage will cause the false triggering protection operation of the comparison protection circuit and the analog-to-digital converter to be unable to perform negative zero drift correction. The utility model proposes a solution that can make the output voltage always be a positive voltage when the zero drift problem exists in the analog acquisition circuit, so that the comparison circuit and the analog-to-digital converter can perform normal processing based on the received positive voltage.

[0054] The key point to make the output voltage always positive is the bias voltage terminal Bias set on the input end of the operational amplifier module 30. The output state of the operational amplifier module 30 is adjusted by the bias voltage on the bias voltage terminal Bias. The operational amplifier module 30 can directly add the bias voltage of the positive voltage to the output signal, so that the output signal of the operational amplifier module 30 changes near the positive voltage, that is, the zero drift value of the analog acquisition circuit 10 is maintained at a positive voltage, and the output voltage is an output signal of a positive voltage, so as to ensure that the analog-to-digital converter ADC and the comparison protection circuit 20 connected to the output end of the analog acquisition circuit 10 can perform normal zero drift correction and accurate protection triggering according to the output signal of the positive voltage.

[0055] Specifically, refer to Figure 2 As shown, the operational amplifier module 30 includes:

[0056] The first stage operational amplifier unit 301, the input terminal of the first stage operational amplifier unit 301 is respectively connected to the analog signal input terminal (i.e. Figure 2 The AIN in the circuit is connected to the bias voltage terminal Bias, and based on the bias voltage, the output voltage is a first output signal with a positive voltage.

[0057] The second-stage operational amplifier unit 302 has an input terminal connected to the output terminal of the first-stage operational amplifier unit 301 and the bias voltage terminal Bias, respectively, and an output terminal of the second-stage operational amplifier unit 302 is connected to the analog-to-digital converter ADC and the comparison protection circuit 20, respectively. Through the bias voltage connected, the voltage in the second output signal output after operational amplification based on the positive voltage in the connected first output signal is offset to a positive voltage.

[0058] In this embodiment, by connecting the newly added bias voltage terminal Bias to the input terminal of the first-stage operational amplifier unit 301 and the input terminal of the second-stage operational amplifier unit 302, the first-stage operational amplifier unit 301 and the second-stage operational amplifier unit 302 can add the voltage value of the bias voltage to the output signal based on the bias voltage on the bias voltage terminal Bias, offset the voltage of the output signal, and offset the voltage of the first output signal and the second output signal to a positive voltage, so that the output voltage of the processed first output signal and the output voltage of the second output signal are both positive voltages, so that the voltage finally output to the analog-to-digital converter ADC and the comparison protection circuit 20 can be a positive voltage, thereby reducing the poor stability of the analog-to-digital converter ADC correcting the negative zero drift caused by the zero drift problem in the analog acquisition circuit 10 and the low accuracy of the comparison voltage judgment protection operation.

[0059] Specifically, refer to Figure 3 As shown, the first-stage operational amplifier unit 301 includes a first operational amplifier U1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4;

[0060] The non-inverting input terminal of the first operational amplifier U1 is connected to the positive input terminal (i.e. Figure 3 The inverting input terminal of the first operational amplifier U1 is connected to the bias voltage terminal Bias via the second resistor R2, and the inverting input terminal of the first operational amplifier U1 is connected to the negative input terminal of the analog signal input terminal (i.e. Figure 3 The output end of the first operational amplifier U1 is connected to the inverting input end of the first operational amplifier U1 via a fourth resistor R4.

[0061] In the case where the non-inverting input terminal of the first operational amplifier U1 only receives the bias voltage transmitted from the bias voltage terminal Bias, but does not receive the analog input positive signal transmitted from the positive input terminal of the analog signal input terminal, the bias voltage is directly added to the voltage of the first output signal output from the output terminal of the first operational amplifier U1 through the non-inverting input terminal, thereby avoiding the problem that the voltage of the first output signal is a negative voltage. The first output signal will be fed back to the inverting input terminal of the first operational amplifier U1 through the fourth resistor R4, and will be processed by the operational amplifier as the input voltage and bias voltage of the inverting input terminal, thereby reducing the error between the actual first output signal of the first operational amplifier U1 and the target first output signal, and maintaining the stability of the first operational amplifier U1.

[0062] The first resistor R1, the second resistor R2, the third resistor R3 and the fourth resistor R4 are used to limit the current input to the in-phase input terminal and the inverting input terminal of the first operational amplifier U1, so as to protect the first operational amplifier U1 from being damaged by a large current. In addition, the bias voltage set in this example is 0.3V, which can be set according to the actual use.

[0063] Further, the second stage operational amplifier unit 302 includes a second operational amplifier U2, a fifth resistor R5 and a sixth resistor R6;

[0064] The non-inverting input terminal of the second operational amplifier U2 is connected to the output terminal of the first operational amplifier U1, the output terminal of the second operational amplifier U2 is connected to the inverting input terminal of the second operational amplifier U2 via the sixth resistor R6, and the output terminal of the second operational amplifier U2 is respectively connected to the analog-to-digital converter ADC and the comparison protection circuit 20.

[0065] The non-inverting input terminal of the second operational amplifier U2 is connected to the output terminal of the first operational amplifier U1, so the first output signal output by the first operational amplifier U1 will also be transmitted to the non-inverting input terminal of the second operational amplifier U2 for operational amplification. One path of the second output signal will be fed back to the inverting input terminal of the second operational amplifier U2 via the sixth resistor R6, and will be processed as the input voltage of the inverting input terminal and the positive voltage of the first output signal for operational amplification, so as to reduce the error between the actual second output signal of the second operational amplifier U2 and the target second output signal; the other path of the second output signal will be fed back to the inverting input terminal of the second operational amplifier U2 via the output terminal of the analog acquisition circuit 10 (i.e. Figure 3 AOUT0 in the figure is output to the analog-to-digital converter ADC and the comparison protection circuit 20 for processing.

[0066] In order to prevent the bias voltage added to the first output signal from being amplified in the second operational amplifier U2, the inverting input terminal of the second operational amplifier U2 is further connected to the bias voltage terminal Bias via the fifth resistor R5, so that the bias voltage output by the bias voltage terminal Bias can be directly added to the output voltage output by the second operational amplifier U2.

[0067] Among them, the sixth resistor R6 is used to limit the current input to the inverting input terminal of the second operational amplifier U2 to protect the second operational amplifier U2 from being damaged by large current. The fifth resistor R5 is used to control the current flow, and the inverting input terminal of the second operational amplifier U2 is grounded via the fifth resistor R5 in order to reduce interference.

[0068] Furthermore, the analog acquisition and comparison protection circuit further includes an anti-interference module 40, and the anti-interference module 40 includes a first capacitor C1 and a second capacitor C2 connected in series in sequence;

[0069] The first capacitor C1 is connected to the connection line between the positive input terminal of the analog signal input terminal and the first resistor R1, and the second capacitor C2 is connected to the connection line between the negative input terminal of the analog signal input terminal and the third resistor R3, wherein one end of the first capacitor C1 away from the second capacitor C2 and one end of the second capacitor C2 away from the first capacitor C1 are respectively connected to the ground.

[0070] In this embodiment, in order to further reduce the interference input to the first operational amplifier U1, an anti-interference module 40 composed of a first capacitor C1 and a second capacitor C2 is arranged between the first operational amplifier U1 and the analog signal input terminal. The analog input signal input to the first operational amplifier U1 is filtered by the capacitor to prevent interference from DC signals.

[0071] Furthermore, the analog acquisition and comparison protection circuit also includes a flow-voltage conversion module 50, and the flow-voltage conversion module 50 includes a seventh resistor R7, and the seventh resistor R7 is connected between the positive input terminal and the negative input terminal, and is used to convert the analog input signal connected to the analog signal input terminal into a voltage signal that can be connected to the first-stage operational amplifier unit 301.

[0072] Specifically, refer to Figure 4 As shown, the comparison protection circuit 20 includes:

[0073] The upper limit comparison unit 201 has an input terminal connected to the output terminal of the second operational amplifier U2, and is used to compare the positive voltage in the connected second output signal with the connected preset upper limit voltage value, and output an upper limit comparison result.

[0074] The lower limit comparison unit 202 has an input terminal connected to the output terminal of the second operational amplifier U2, and is used to compare the positive voltage in the connected second output signal with the connected preset lower limit voltage value, and output a lower limit comparison result.

[0075] The comparison protection circuit 20 configures the upper limit voltage value and the lower limit voltage value for triggering the protection operation through the digital-to-analog converter. Therefore, the comparison protection circuit 20 needs to compare the voltage in the connected output signal with the upper limit voltage value and the lower limit voltage value respectively. Therefore, the comparison protection circuit 20 in this embodiment is provided with an upper limit comparison unit 201 for judging whether the voltage in the output signal exceeds the upper limit voltage value and a lower limit comparison unit 202 for judging whether the voltage in the output signal is lower than the lower limit voltage value, so as to output the judgment result of the voltage in the output signal, i.e., the upper limit comparison result and the lower limit comparison result. The processor judges whether the protection operation needs to be triggered according to the two results.

[0076] Specifically, refer to Figure 5 As shown, the upper limit comparison unit 201 includes a first voltage comparator U3;

[0077] The comparison voltage input terminal of the first voltage comparator U3 is connected to the output terminal of the analog acquisition circuit 10 (i.e. Figure 5 Because the output end of the analog acquisition circuit 10 is directly connected to the output end of the second operational amplifier, the output end of the analog acquisition circuit 10 can be equivalent to the output end of the second operational amplifier U2. The reference voltage input end of the first voltage comparator U3 is connected to the first signal output end of the digital-to-analog converter (i.e. Figure 5 The preset upper limit voltage value output by SET_AINA0) in.

[0078] The comparison voltage input terminal (i.e., the inverting input terminal) of the first voltage comparator U3 is connected to the output signal output by the analog acquisition circuit 10, i.e. Figure 4 The output terminal of the second operational amplifier U2 shown outputs the second output signal, and at the same time, the reference voltage input terminal (i.e., the in-phase input terminal) of the first voltage comparator U3 is connected to the preset upper limit voltage value output by the digital-to-analog converter, and the first voltage comparator U3 compares the voltage value in the second output signal with the preset upper limit voltage value.

[0079] When the voltage value obtained by comparison is less than the preset upper limit voltage value, the output end of the first voltage comparator U3 outputs a high level to the output end of the comparison protection circuit 20. The high level is input into the processor through the output end of the comparison protection circuit 20 to make a judgment on the protection trigger. The processor judges that the protection operation is not triggered.

[0080] When the voltage value obtained by comparison is greater than the preset upper limit voltage value, the output end of the first voltage comparator U3 outputs a low level to the output end of the comparison protection circuit 20. The low level is input into the processor through the output end of the comparison protection circuit 20 to make a judgment on the protection trigger, and the processor judges the result of the triggered protection operation.

[0081] The lower limit comparison unit 202 includes a second voltage comparator U4;

[0082] The comparison voltage input terminal of the second voltage comparator U4 is connected to the output terminal of the analog acquisition circuit 10 (i.e. Figure 5 Because the output end of the analog acquisition circuit 10 is directly connected to the output end of the second operational amplifier, the output end of the analog acquisition circuit 10 can be equivalent to the output end of the second operational amplifier U2. The reference voltage input end of the second voltage comparator U4 is connected to the second signal output end of the digital-to-analog converter (i.e. Figure 5 The preset lower limit voltage value output by SET_AINB0) in.

[0083] The comparison voltage input terminal (i.e., the in-phase input terminal) of the second voltage comparator U4 is connected to the output signal output by the analog acquisition circuit 10, i.e. Figure 4 The output terminal of the second operational amplifier U2 shown outputs the second output signal, and at the same time, the reference voltage input terminal (i.e., the inverting input terminal) of the second voltage comparator U4 is connected to the preset lower limit voltage value output by the digital-to-analog converter, and the second voltage comparator U4 compares the voltage value in the second output signal with the preset lower limit voltage value.

[0084] When the voltage value obtained by comparison is greater than the preset lower limit voltage value, the output end of the second voltage comparator U4 outputs a high level to the output end of the comparison protection circuit 20. The high level is input into the processor through the output end of the comparison protection circuit 20 to make a judgment on the protection trigger, and the processor judges that the protection operation is not triggered.

[0085] When the voltage value obtained by comparison is less than the preset lower limit voltage value, the output end of the second voltage comparator U4 outputs a low level to the output end of the comparison protection circuit 20. The low level is input into the processor through the output end of the comparison protection circuit 20 to make a judgment on the protection trigger, and the processor judges the result of the triggering protection operation.

[0086] Among them, because the bias voltage terminal Bias is connected to the analog acquisition circuit 10 in this example, the voltage of the output signal when the analog acquisition circuit 10 has a zero drift problem is offset toward the positive voltage through the bias voltage on the bias voltage terminal Bias, so as to avoid the output signal being compared with the preset lower limit voltage value when the output signal is a negative voltage, and the protection operation may be mistakenly triggered when there is no analog input signal.

[0087] Figure 5 COMP0 is an output terminal of the comparison protection circuit 20, which is used to connect to the processor and output the comparison result between the first voltage comparator U3 and the second voltage comparator U4.

[0088] An eighth resistor R8 is connected between the first voltage comparator U3 and the second voltage comparator U4 and the output terminal COMP0, and the other end of the eighth resistor R8 is connected to a power supply voltage of 3.3V.

[0089] Furthermore, the analog-to-digital converter ADC calibrates the voltage value in the connected output signal based on the bias voltage value of the bias voltage terminal Bias, and the preset upper limit voltage value and preset lower limit voltage value connected to the comparison protection circuit 20 are adjusted based on the bias voltage value respectively.

[0090] It should be noted that in order to avoid the influence of the bias voltage on the newly added bias voltage terminal Bias on the analog-to-digital converter ADC and the comparison protection circuit 20, the present embodiment arranges the analog-to-digital converter ADC to first subtract the bias voltage value of the bias voltage from the voltage of the output signal after being connected to the output signal output by the analog acquisition circuit 10, calibrate the voltage of the output signal, and then transmit the calibrated voltage to the processor. Because the analog signal input terminal is zero, the voltage of the output signal is used as the inherent zero drift value of the circuit at this time. The processor subtracts the zero drift value to complete the zero drift correction.

[0091] At the same time, after the digital-to-analog converter determines the preset upper limit voltage value and the preset lower limit voltage value, the bias voltage value of the bias voltage is subtracted from the preset upper limit voltage value and the preset lower limit voltage value, and then a comparison is made based on the preset upper limit voltage value and the preset lower limit voltage value minus the bias voltage value.

[0092] The utility model also provides an analog acquisition and comparison protection device, which includes an analog acquisition and comparison protection circuit; the analog acquisition and comparison protection circuit is used to acquire and convert analog input signals of an electronic device equipped with the analog acquisition and comparison protection device, and the structure of the analog acquisition and comparison protection circuit can refer to the above embodiment, which will not be described in detail here. As a matter of course, since the analog acquisition and comparison protection device of this embodiment adopts the technical solution of the above analog acquisition and comparison protection circuit, the analog acquisition and comparison protection device has all the beneficial effects of the above analog acquisition and comparison protection circuit.

[0093] The utility model also provides an electronic device, the electronic device includes an analog acquisition and comparison protection device, the analog acquisition and comparison protection device includes an analog acquisition and comparison protection circuit for acquiring and converting analog input signals of the electronic device, the structure of the analog acquisition and comparison protection circuit can refer to the above embodiment, and will not be repeated here. As a matter of course, since the electronic device of this embodiment adopts the technical solution of the above analog acquisition and comparison protection circuit, the electronic device has all the beneficial effects of the above analog acquisition and comparison protection circuit.

[0094] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0095] The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the utility model in essence or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the utility model.

[0097] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. An analog acquisition and comparison protection circuit, characterized in that: The analog acquisition and comparison protection circuit includes an analog acquisition circuit, an analog-to-digital converter, and a comparison protection circuit. The analog acquisition circuit includes an analog signal input terminal and an operational amplifier module. The input end of the operational amplifier module is connected to the analog signal input end, the output end of the operational amplifier module is respectively connected to the input end of the analog-to-digital converter and the input end of the comparison protection circuit, and the analog acquisition circuit further includes: a bias voltage end; The bias voltage terminal is connected to the input terminal of the operational amplifier module, and is used to adjust the output state of the operational amplifier module; The operational amplifier module shifts the voltage output to the analog-to-digital converter and the comparison protection circuit to a positive voltage based on the bias voltage input to the bias voltage terminal.

2. The analog acquisition and comparison protection circuit according to claim 1, characterized in that: The operational amplifier module comprises: A first-stage operational amplifier unit, wherein an input terminal of the first-stage operational amplifier unit is respectively connected to the analog signal input terminal and the bias voltage terminal, and based on the bias voltage, an output voltage is a first output signal of a positive voltage; A second-stage operational amplifier unit, wherein the input end of the second-stage operational amplifier unit is respectively connected to the output end of the first-stage operational amplifier unit and the bias voltage end, and the output end of the second-stage operational amplifier unit is respectively connected to the analog-to-digital converter and the comparison protection circuit, and through the connected bias voltage, the voltage in the second output signal output after operational amplification based on the positive voltage in the connected first output signal is offset to a positive voltage.

3. The analog acquisition and comparison protection circuit according to claim 2, characterized in that: The first-stage operational amplifier unit includes a first operational amplifier, a first resistor, a second resistor, a third resistor and a fourth resistor; The non-inverting input terminal of the first operational amplifier is connected to the positive input terminal of the analog signal input terminal via a first resistor, and the non-inverting input terminal of the first operational amplifier is connected to the bias voltage terminal via a second resistor; The inverting input terminal of the first operational amplifier is connected to the negative input terminal of the analog signal input terminal via a third resistor; The output terminal of the first operational amplifier is connected to the inverting input terminal of the first operational amplifier via a fourth resistor.

4. The analog acquisition and comparison protection circuit according to claim 3, characterized in that: The second-stage operational amplifier unit includes a second operational amplifier, a fifth resistor and a sixth resistor; The non-inverting input terminal of the second operational amplifier is connected to the output terminal of the first operational amplifier; The inverting input terminal of the second operational amplifier is connected to the bias voltage terminal via a fifth resistor; The output end of the second operational amplifier is connected to the inverting input end of the second operational amplifier via the sixth resistor, and the output end of the second operational amplifier is connected to the analog-to-digital converter and the comparison protection circuit respectively.

5. The analog acquisition and comparison protection circuit according to claim 4, characterized in that: The analog acquisition and comparison protection circuit further includes an anti-interference module, and the anti-interference module includes a first capacitor and a second capacitor; The first capacitor is connected to the connection line between the positive input terminal of the analog signal input terminal and the first resistor, and the second capacitor is connected to the connection line between the negative input terminal of the analog signal input terminal and the third resistor; The analog acquisition and comparison protection circuit further includes a flow-pressure conversion module, and the flow-pressure conversion module includes a seventh resistor; The seventh resistor is connected between the positive input terminal and the negative input terminal.

6. The analog acquisition and comparison protection circuit according to claim 4, characterized in that: The comparison protection circuit comprises: an upper limit comparison unit, wherein the input end of the upper limit comparison unit is connected to the output end of the second operational amplifier, and is used to compare the positive voltage in the second output signal with the preset upper limit voltage value, and output an upper limit comparison result; A lower limit comparison unit, wherein the input end of the lower limit comparison unit is connected to the output end of the second operational amplifier, and is used to compare the positive voltage in the connected second output signal with the connected preset lower limit voltage value, and output a lower limit comparison result.

7. The analog acquisition and comparison protection circuit according to claim 6, characterized in that: The upper limit value comparison unit includes a first voltage comparator; The comparison voltage input terminal of the first voltage comparator is connected to the output terminal of the second operational amplifier, and the reference voltage input terminal of the first voltage comparator is connected to the preset upper limit voltage value; The lower limit value comparison unit includes a second voltage comparator; The comparison voltage input terminal of the second voltage comparator is connected to the output terminal of the second operational amplifier, and the reference voltage input terminal of the second voltage comparator is connected to the preset lower limit voltage value.

8. The analog acquisition and comparison protection circuit according to claim 1, characterized in that: The analog-to-digital converter calibrates a voltage value in the input output signal based on the bias voltage value of the bias voltage terminal; The preset upper limit voltage value and the preset lower limit voltage value connected to the comparison protection circuit are adjusted based on the bias voltage value respectively.

9. An analog acquisition and comparison protection device, characterized in that: The analog acquisition and comparison protection device comprises the analog acquisition and comparison protection circuit as described in any one of claims 1 to 8.

10. An electronic device, characterized in that: The electronic device comprises the analog acquisition and comparison protection device as claimed in claim 9.