Circuit for collecting analog signal amplitude

By designing the peak and valley acquisition circuit units, using comparator, rectifier diode and capacitance filtering technology, the problems of narrow acquisition voltage range and large detection accuracy error in the existing technology are solved, and high accuracy of analog signals in the ±15V range are achieved collection.

CN222506432UActive Publication Date: 2025-02-18CHENGDU BOYU LIHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420821830.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2025-02-18
Estimated Expiration
2034-04-19

AI Technical Summary

Technical Problem

In the prior art, the circuit that acquires analog signal amplitudes has the problem of narrow acquisition voltage range and large error in detection amplitude accuracy.

Method used

A circuit including a peak acquisition circuit unit and a trough acquisition circuit unit is designed. It can collect the peak and trough values ​​of analog signals in the range of ±15V and pass the mode through the comparator, rectifier diode, capacitance filtering and negative feedback circuit. The digital converter converts it to a digital signal.

Benefits of technology

It realizes high-precision acquisition of analog signals in the ±15V range, with amplitude detection error accuracy of less than or equal to 1%, and is characterized by strong versatility and wide application range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222506432U_ABST
    Figure CN222506432U_ABST
Patent Text Reader

Abstract

The utility model discloses a circuit for acquiring analog signal amplitude, which comprises a wave crest acquisition circuit unit and a wave trough acquisition circuit unit, the input end of the wave crest acquisition circuit unit is connected with a signal source, and the output end of the wave crest acquisition circuit unit is connected with an MCU (Microprogrammed Control Unit) through a first analog-to-digital converter; the input end of the trough acquisition circuit unit is connected with the signal source, and the output end of the trough acquisition circuit unit is connected with the MCU through the second analog-to-digital converter. According to the utility model, wave crest values and wave trough values of alternating current signals can be simultaneously acquired, wave crest values or wave trough values of the signals can also be independently acquired, the universality is strong, the amplitude detection error precision is small, the detection voltage amplitude range is + / -15V, and the detection range is wide.
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 acquisition, in particular to a circuit for acquiring the amplitude of an analog signal. Background Art

[0002] There are many circuits for collecting analog signal amplitude in the prior art, such as integrated single-chip ICs or amplitude collection circuits built with discrete devices. Although the former has good collection effect, high integration and extremely high stability, the collection voltage range is often insufficient (such as 0-3.3V), and the update is slow and the cost is high. The latter has low cost and a wide detectable voltage range, but the detection amplitude has poor accuracy, and the error accuracy of the detection amplitude is ≥5%. Utility Model Content

[0003] The purpose of the utility model is to provide a circuit for collecting the amplitude of an analog signal, which is used to solve the problems in the prior art that the amplitude collection circuit built with an integrated single-chip IC has a narrow collection voltage range and the amplitude collection circuit built with discrete devices has a large detection amplitude accuracy error.

[0004] The utility model solves the above problems through the following technical solutions:

[0005] A circuit for collecting the amplitude of an analog signal comprises a peak collection circuit unit and a trough collection circuit unit, wherein the input end of the peak collection circuit unit is connected to a signal source, and the output end of the peak collection circuit unit is connected to an MCU via a first analog-to-digital converter; the input end of the trough collection circuit unit is connected to the signal source, and the output end of the trough collection circuit unit is connected to the MCU via a second analog-to-digital converter.

[0006] The peak acquisition circuit unit is used to acquire analog signals (such as ±15V positive wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), outputs the DC high level signal of the peak, amplifies it, inputs it into the first analog-to-digital converter to convert it into a digital signal, and then sends it to the MCU for processing. The trough acquisition circuit unit is used to acquire analog signals (such as ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), outputs the DC low level signal of the trough, amplifies it, inputs it into the second analog-to-digital converter to convert it into a digital signal, and then sends it to the MCU for processing. The utility model can simultaneously acquire the peak and trough values ​​of the AC signal, and can also separately acquire the peak value or trough value of the signal, with strong versatility and low amplitude detection error accuracy.

[0007] Furthermore, the peak acquisition circuit unit includes a first comparator, a stabilizing diode D1, a filter capacitor C1 and a first in-phase proportional amplifier, the inverting input end of the first comparator is connected to the signal source, the output end of the first comparator is connected to the anode of the stabilizing diode D1, the cathode of the stabilizing diode D1 is respectively connected to the first end of the filter capacitor C1, the input end of the first in-phase proportional amplifier and the positive input end of the first comparator, the second end of the filter capacitor C1 is grounded, and the output end of the first in-phase proportional amplifier is connected to the first analog-to-digital converter.

[0008] Furthermore, the valley acquisition circuit unit includes a second comparator, a stabilizing diode D2, a filter capacitor C2 and a second in-phase proportional amplifier, the positive input end of the second comparator is connected to the signal source, the output end of the second comparator is connected to the cathode of the stabilizing diode D2, the anode of the stabilizing diode D2 is respectively connected to the first end of the filter capacitor C2, the input end of the second in-phase proportional amplifier and the reverse input end of the second comparator, the second end of the filter capacitor C2 is grounded, and the output end of the second in-phase proportional amplifier is connected to the second analog-to-digital converter.

[0009] The peak acquisition circuit unit acquires an AC signal source (such as a ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), and acquires the AC signal of the positive half cycle of the AC signal through the first comparator and the rectifier diode D1. The AC signal of the positive half cycle is converted into a DC signal with the same peak amplitude as the positive half cycle AC signal through the filter capacitor C1 and the first comparator negative feedback circuit. The DC signal is conditioned through the first in-phase proportional amplifier, and then the peak DC signal is converted into a digital signal through the first analog-to-digital converter for back-end processing.

[0010] The valley collection circuit unit collects the AC signal source (such as ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), collects the AC signal of the negative half cycle of the AC signal through the second comparator and the rectifier diode D2, and converts the AC signal of the negative half cycle into a DC signal with the same peak amplitude as the negative half cycle AC signal through the filter capacitor C2 and the second comparator negative feedback circuit, and conditions the DC signal through the second in-phase proportional amplifier, and then converts the peak DC signal into a digital signal through the second analog-to-digital converter for back-end processing.

[0011] The utility model adopts a peak acquisition circuit unit and a trough acquisition circuit unit composed of a comparator, a rectifier diode, a capacitor filter, and a negative feedback circuit, which have low cost, wide acquisition amplitude (±15V), small amplitude detection error accuracy (≤1%), and wide application range.

[0012] Furthermore, the first analog-to-digital converter and the second analog-to-digital converter are connected to the MCU via an SPI interface respectively.

[0013] Compared with the prior art, the utility model has the following advantages and beneficial effects:

[0014] (1) The utility model can simultaneously collect the peak and trough values ​​of the AC signal, and can also collect the peak value or trough value of the signal separately, and has strong versatility.

[0015] (2) The utility model provides a circuit for collecting the amplitude of an analog signal, which solves the problems in the prior art that the amplitude collection circuit built with an integrated single-chip IC has a narrow collection voltage range and the amplitude collection circuit built with discrete devices has a large detection amplitude accuracy error.

[0016] (3) The utility model adopts a peak acquisition circuit and a trough acquisition circuit composed of a comparator, a rectifier diode, a capacitor filter, and a negative feedback circuit. The utility model has low cost, a wide acquisition amplitude (±15V), a small amplitude detection error accuracy (≤1%), and a wide range of applications.

[0017] (4) The utility model can measure the peak value and trough value of sine wave, square wave, triangle wave, leading sawtooth wave and trailing sawtooth wave analog signals; can measure sine wave, square wave, triangle wave, leading sawtooth wave and trailing sawtooth wave signals with amplitude ≤±15V; and can measure the frequency range of sine wave, square wave, triangle wave, leading sawtooth wave and trailing sawtooth wave signals of 0 to 5MHz. The signal detection comprehensively considers the signal range, signal amplitude range, signal frequency range and other aspects, and has a strong guiding significance for similar applications.

[0018] (5) The utility model can communicate with external interfaces such as Ethernet, serial port, SPI, etc. through MCU to transmit amplitude signals. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a principle block diagram of the utility model. DETAILED DESCRIPTION

[0020] The present invention is further described in detail below in conjunction with the embodiments, but the implementation manner of the present invention is not limited thereto.

[0021] Embodiment 1:

[0022] Combined with Figure 1 As shown, a circuit for collecting the amplitude of an analog signal includes a peak collection circuit unit and a trough collection circuit unit, wherein the input end of the peak collection circuit unit is connected to a signal source, and the output end of the peak collection circuit unit is connected to an MCU via a first analog-to-digital converter (ADC1); the input end of the trough collection circuit unit is connected to the signal source, and the output end of the trough collection circuit unit is connected to the MCU via a second analog-to-digital converter (ADC2).

[0023] The peak acquisition circuit unit is used to acquire analog signals (such as ±15V positive wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), outputs the DC high level signal of the peak, amplifies it, inputs it into the first analog-to-digital converter to convert it into a digital signal, and then sends it to the MCU for processing. The trough acquisition circuit unit is used to acquire analog signals (such as ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), outputs the DC low level signal of the trough, amplifies it, inputs it into the second analog-to-digital converter to convert it into a digital signal, and then sends it to the MCU for processing. The utility model can simultaneously acquire the peak and trough values ​​of the AC signal, and can also separately acquire the peak value or trough value of the signal, with strong versatility and low amplitude detection error accuracy.

[0024] Furthermore, the peak acquisition circuit unit includes a first comparator, a stabilizing diode D1, a filter capacitor C1 and a first in-phase proportional amplifier, the inverting input end of the first comparator is connected to the signal source, the output end of the first comparator is connected to the anode of the stabilizing diode D1, the cathode of the stabilizing diode D1 is respectively connected to the first end of the filter capacitor C1, the input end of the first in-phase proportional amplifier and the positive input end of the first comparator, the second end of the filter capacitor C1 is grounded, and the output end of the first in-phase proportional amplifier is connected to the first analog-to-digital converter.

[0025] Furthermore, the valley acquisition circuit unit includes a second comparator, a stabilizing diode D2, a filter capacitor C2 and a second in-phase proportional amplifier, the positive input end of the second comparator is connected to the signal source, the output end of the second comparator is connected to the cathode of the stabilizing diode D2, the anode of the stabilizing diode D2 is respectively connected to the first end of the filter capacitor C2, the input end of the second in-phase proportional amplifier and the reverse input end of the second comparator, the second end of the filter capacitor C2 is grounded, and the output end of the second in-phase proportional amplifier is connected to the second analog-to-digital converter.

[0026] The peak acquisition circuit unit acquires an AC signal source (such as a ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), and acquires the AC signal of the positive half cycle of the AC signal through the first comparator and the rectifier diode D1. The AC signal of the positive half cycle is converted into a DC signal with the same peak amplitude as the positive half cycle AC signal through the filter capacitor C1 and the first comparator negative feedback circuit. The DC signal is conditioned through the first in-phase proportional amplifier, and then the peak DC signal is converted into a digital signal through the first analog-to-digital converter for back-end processing.

[0027] The valley collection circuit unit collects the AC signal source (such as ±15V sine wave, square wave, triangle wave, leading edge sawtooth wave, trailing edge sawtooth wave), collects the AC signal of the negative half cycle of the AC signal through the second comparator and the rectifier diode D2, and converts the AC signal of the negative half cycle into a DC signal with the same peak amplitude as the negative half cycle AC signal through the filter capacitor C2 and the second comparator negative feedback circuit, and conditions the DC signal through the second in-phase proportional amplifier, and then converts the peak DC signal into a digital signal through the second analog-to-digital converter for back-end processing.

[0028] The utility model adopts a peak acquisition circuit unit and a trough acquisition circuit unit composed of a comparator, a rectifier diode, a capacitor filter, and a negative feedback circuit, which have low cost, wide acquisition amplitude (±15V), small amplitude detection error accuracy (≤1%), and wide application range.

[0029] Furthermore, the first analog-to-digital converter and the second analog-to-digital converter are connected to the MCU via an SPI interface respectively.

[0030] Although the present invention is described herein with reference to the illustrative embodiments of the present invention, the above embodiments are merely preferred embodiments of the present invention, and the embodiments of the present invention are not limited to the above embodiments. It should be understood that those skilled in the art can design many other modifications and implementations, which will fall within the scope and spirit of the principles disclosed in this application.

Claims

1. A circuit for collecting the amplitude of an analog signal, characterized in that: It includes a peak acquisition circuit unit and a trough acquisition circuit unit, wherein the input end of the peak acquisition circuit unit is connected to a signal source, and the output end of the peak acquisition circuit unit is connected to an MCU via a first analog-to-digital converter; The input end of the wave valley collection circuit unit is connected to the signal source, and the output end of the wave valley collection circuit unit is connected to the MCU through a second analog-to-digital converter; The peak acquisition circuit unit includes a first comparator, a stabilizing diode D1, a filter capacitor C1 and a first in-phase proportional amplifier, wherein the inverting input end of the first comparator is connected to the signal source, the output end of the first comparator is connected to the anode of the stabilizing diode D1, the cathode of the stabilizing diode D1 is respectively connected to the first end of the filter capacitor C1, the input end of the first in-phase proportional amplifier and the positive input end of the first comparator, the second end of the filter capacitor C1 is grounded, and the output end of the first in-phase proportional amplifier is connected to the first analog-to-digital converter; The valley acquisition circuit unit includes a second comparator, a stabilizing diode D2, a filter capacitor C2 and a second in-phase proportional amplifier. The positive input end of the second comparator is connected to the signal source, the output end of the second comparator is connected to the cathode of the stabilizing diode D2, the anode of the stabilizing diode D2 is respectively connected to the first end of the filter capacitor C2, the input end of the second in-phase proportional amplifier and the reverse input end of the second comparator, the second end of the filter capacitor C2 is grounded, and the output end of the second in-phase proportional amplifier is connected to the second analog-to-digital converter.

2. A circuit for collecting analog signal amplitude according to claim 1, characterized in that: The first analog-to-digital converter and the second analog-to-digital converter are connected to the MCU via SPI interfaces respectively.