Signal folding device of feedback type framework
Through the feedback architecture signal folding device, threshold detection and microprocessor modules are used to achieve signal folding, which solves the problems of high signal folding cost and slow response speed in the existing technology, and achieves rapid folding of high-quality, high-frequency signals. Reduces system power consumption and cost.
Patent Information
- Application Number
- CN202410729174.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-27
AI Technical Summary
Existing signal folding methods have high costs and insufficient response speed in complex environments or high-frequency signal processing, and cannot effectively achieve rapid signal folding. In addition, ordinary ADCs cannot meet the acquisition requirements of large-amplitude signals, resulting in reduced system stability.
The signal folding device using a feedback architecture includes an external power supply module, a threshold detection module, a microprocessor module and a voltage compensation module. It controls signal folding through voltage signals, reducing the number of chips and electrical connections, and improving the reliability and reliability of the system. Speed, capable of rapid folding of large amplitude and high frequency signals.
It achieves high quality and fast response of signal folding, reduces cost and power consumption, improves the reliability and accuracy of signal transmission, reduces nonlinear distortion and noise of the system, and is suitable for high-frequency signal processing.
Smart Images

Figure CN118713671A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of signal processing, and in particular to a signal folding device with a feedback architecture. Background Art
[0002] Real-world signals, such as audio signals, radar detection signals, and communication transmission signals, are essentially in analog form, and analog-to-digital converters (ADCs) can effectively combine analog signals with digital processing to achieve quantized sampling of analog signals. A key parameter of ADCs is sampling depth, sometimes also called dynamic range. For work in complex environments or with large amounts of data, ordinary ADCs cannot collect all the data. Although higher-performance ADCs can complete the collection of all data, the significant increase in cost and power consumption also reduces the stability of the entire signal acquisition system.
[0003] At present, the signal folding methods are mainly based on frequency modulation to obtain frequency difference, addition and subtraction counters to obtain step size and other related features. However, the signal folding methods with these characteristics generally have the disadvantages of high cost, slow response speed, inability to directly modulate the amplitude, and inability to achieve fast folding of high-frequency input signals, which cannot truly satisfy users.
[0004] Chinese patent "CN202010814282.4" A signal folding method and device first frequency modulates multiple first analog signals based on an input signal to obtain multiple modulated first analog signals and ensure that the frequency difference between two adjacent first analog signals is the same; then filter the multiple modulated first analog signals based on the set bandwidth to obtain a second analog signal, and demodulate the second analog signal to obtain an output signal; finally, the second analog signal is an analog signal within the bandwidth, the bandwidth corresponds to the frequency difference, and the output signal is a folded signal of the input signal within the target amplitude. However, the specific form of the corresponding relationship between the bandwidth and the frequency difference is not obvious.
[0005] Chinese patent "CN202211073565.3" A signal folding amplifier based on a capacitive digital-to-analog converter and its signal chain circuit first determine the amplitude and threshold voltage of the output signal of the low-noise amplifier and drive the synchronous clock to output an upward or downward signal; then set the digital logic circuit to count the downward, hold or upward signal by 1, unchanged or plus 1 under the drive of the synchronous clock to obtain a counting signal; then the capacitive digital-to-analog converter feedback network is used to feed the low-noise amplifier output signal back to the input end of the low-noise amplifier, control the low-noise amplifier output signal folding counting signal folding step length, and finally complete the signal folding through feedback. However, for large-value input signals, the larger the range of the required add-subtract counter that can count, the higher the cost. In addition, when the high-frequency signal is input to the device, the counting signal is reduced by 1, unchanged or plus 1 only through the digital logic circuit, and the acceptable rate of the digital logic circuit also needs to be strictly controlled. Summary of the invention
[0006] The purpose of the present invention is to provide a signal folding device with a feedback architecture, which helps to improve the reliability and speed of signal transmission, reduce power consumption, and can achieve folding of large-amplitude signals and high-frequency signals. The folding quality is high and the speed is fast. The signal folding can be achieved using fewer chips, and the cost is low and the practicability is strong.
[0007] To achieve the above object, the present invention provides a signal folding device of a feedback architecture, comprising:
[0008] An external power supply module is used to provide voltage signals to the threshold detection module, the microprocessor module, and the voltage compensation module;
[0009] A threshold detection module is used to set a threshold voltage value for the device and perform range detection on the input signal, and output a range judgment signal;
[0010] A microprocessor module, used for receiving a range judgment signal and outputting a pressure value compensation control signal;
[0011] The pressure compensation module performs positive / negative compensation on the input signal to complete signal folding;
[0012] The signal acquisition and transmission module completes the acquisition of the output signal and sends it to the host computer.
[0013] Preferably, the external power supply module is connected to the voltage input terminals of the threshold detection module, the microprocessor module and the voltage value compensation module respectively through a power adapter connected to a voltage conversion chip.
[0014] Preferably, the voltage conversion chip includes a linear regulator and a DC-DC power supply chip.
[0015] Preferably, the threshold detection module is composed of a comparator chip and a peripheral circuit.
[0016] Preferably, the comparator chip includes a positive threshold comparator and a negative threshold comparator; and the peripheral circuit is a signal conditioning circuit.
[0017] Preferably, the signal input end of the microprocessor module is connected to the signal output end of the threshold detection module.
[0018] Preferably, the voltage value compensation module includes a voltage divider circuit and a wavelength division multiplexing circuit, the output end of the voltage divider circuit is provided with a first adding circuit, the output ends of the wavelength division multiplexing circuit and the first adding circuit are both connected to a multiplication circuit, the output end and input signal of the multiplication circuit are connected to a second adding circuit, and the output end of the second adding circuit is connected to the input end of the threshold detection module.
[0019] Preferably, the multiplication circuit is a peripheral circuit constructed by using a readily available multiplier or an operational amplifier.
[0020] Preferably, the signal acquisition and transmission module includes a third adding circuit and uses a common analog-to-digital converter ADC to sample the output end of the third adding circuit.
[0021] Preferably, the signal acquisition and transmission module is connected to the host computer via an RS-485 bus.
[0022] Therefore, the beneficial effects of the signal folding device using the feedback architecture described above are as follows:
[0023] (1) The present invention adopts an on-board microprocessor chip, which reduces the need for connectors and other external components, occupies less space, reduces manufacturing costs and improves the reliability of the overall system, reduces the length and resistance of electrical connections, improves the reliability and speed of signal transmission, and helps reduce power consumption.
[0024] (2) The present invention adopts a feedback architecture, which can reduce the system's sensitivity to changes in component parameters, temperature changes and other environmental factors. It can also reduce the system's nonlinear distortion and distortion, improve the accuracy and quality of the signal, and reduce the noise level in the system. Negative feedback will return part of the output signal to the input end, thereby expanding the bandwidth of the circuit and making the system more stable against external disturbances.
[0025] (3) The present invention designs an innovative circuit structure and adopts a feedback architecture. The device can accept wide-band input signals and can realize the folding of large-amplitude signals and high-frequency signals. The folding quality is high and the speed is fast. In addition, the signal folding can be realized by using fewer chips, which is low-cost and highly practical.
[0026] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is an overall block diagram of a signal folding device of a feedback architecture of the present invention;
[0028] Figure 2 It is a structural block diagram of a threshold detection and microprocessor module of a signal folding device of a feedback architecture of the present invention;
[0029] Figure 3 It is a structural block diagram of a threshold detection, microprocessor and pressure value compensation module of a signal folding device of a feedback architecture of the present invention;
[0030] Figure 4 It is a circuit schematic diagram of the hardware connection of an external power supply module of a signal folding device of a feedback architecture of the present invention;
[0031] Figure 5 It is a circuit schematic diagram of the hardware connection of a threshold detection module of a signal folding device of a feedback architecture of the present invention;
[0032] Figure 6 It is a circuit schematic diagram of the hardware connection of a microprocessor module of a signal folding device of a feedback architecture of the present invention;
[0033] Figure 7 It is a circuit schematic diagram of the hardware connection of a pressure value compensation module of a signal folding device of a feedback architecture of the present invention;
[0034] Figure 8 It is a circuit schematic diagram of the hardware connection of the signal acquisition and transmission modules of a signal folding device of a feedback architecture of the present invention. DETAILED DESCRIPTION
[0035] The technical solution of the present invention is further described below through the accompanying drawings and embodiments.
[0036] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0037] Embodiment 1
[0038] like Figure 1 As shown, the present invention provides a signal folding device of a feedback architecture, comprising:
[0039] An external power supply module is used to provide voltage signals to the threshold detection module, the microprocessor module, and the voltage compensation module;
[0040] A threshold detection module is used to set a threshold voltage value for the device and perform range detection on the input signal, and output a range judgment signal;
[0041] A microprocessor module, used for receiving a range judgment signal and outputting a pressure value compensation control signal;
[0042] The pressure compensation module performs positive / negative compensation on the input signal to complete signal folding;
[0043] The signal acquisition and transmission module completes the acquisition of the output signal and sends it to the host computer.
[0044] The external power supply module is connected to the voltage input terminals of the threshold detection module, the microprocessor module and the voltage value compensation module through a power adapter and a voltage conversion chip.
[0045] Voltage conversion chips include linear regulators and DC-DC power supply chips.
[0046] The threshold detection module is composed of a comparator chip and a peripheral circuit.
[0047] The comparator chip includes a positive threshold comparator and a negative threshold comparator; the peripheral circuit is a signal conditioning circuit.
[0048] The signal input end of the microprocessor module is connected to the signal output end of the threshold detection module.
[0049] The voltage value compensation module includes a voltage divider circuit and a wavelength division multiplexing circuit. The output end of the voltage divider circuit is provided with a first adding circuit. The output ends of the wavelength division multiplexing circuit and the first adding circuit are both connected to the multiplication circuit. The output end and input signal of the multiplication circuit are connected to the second adding circuit. The output end of the second adding circuit is connected to the input end of the threshold detection module.
[0050] The multiplication circuit is a peripheral circuit built from a ready-made multiplier or operational amplifier.
[0051] The signal acquisition and transmission module comprises a third adding circuit and uses an analog-to-digital converter ADC to sample the output end of the third adding circuit.
[0052] The signal acquisition and transmission module is connected to the host computer via the RS-485 bus.
[0053] like Figure 1 As shown, the present invention provides a signal folding device with a feedback architecture, including: an external power supply module, a threshold detection module, a microprocessor module, a pressure value compensation module and a signal acquisition and transmission module.
[0054] Among them, the external power supply module is used to provide voltage signals to the threshold detection module, the microprocessor module and the pressure compensation module, and to provide power supply to the signal folding device. The external power supply is realized by a power adapter. The power adapter needs to pay attention to two parameters: voltage value and current value. The advantage of using a power adapter as the external power supply of the device is that the current required by the device can be adaptively adjusted by the power adapter. The threshold voltage value in the threshold detection, the working voltage value of the microprocessor chip, and the compensation voltage value in the pressure compensation process are all different from the voltage value of the external power supply. The external power supply module is connected to the voltage input terminal of the threshold detection module, the microprocessor module and the pressure compensation module through the power adapter. The voltage conversion chip can be used to provide multiple voltage values. The voltage conversion chip includes a linear regulator (LDO) and a DC-DC power supply chip, wherein the DC-DC power supply chip and the linear regulator (LDO) should meet the functions of boost, buck and voltage reversal.
[0055] like Figure 2As shown in the figure, the threshold detection module is composed of a comparator chip and its peripheral circuit, which is used to set the threshold voltage value of the device and detect the range of the input signal, and output a range judgment signal. The peripheral circuit is a signal conditioning circuit. The input signal is a positive and negative voltage signal. The threshold voltage setting is symmetric about zero. The positive threshold voltage is set to +T (0 < T < input voltage), and the negative threshold voltage is set to -T (0 < T < input voltage). The comparator chip selected is a dual-power-supply comparator chip, including a positive threshold comparator and a negative threshold comparator. The comparison principle of the comparator is that when the input terminal is compared with the threshold voltage, when the input signal is greater than the threshold voltage, the comparator chip outputs a high level, and the voltage value of the high level is equal to the positive power supply value of the comparator; when the input signal is less than the threshold voltage, the comparator chip outputs a low level, and the voltage value of the low level is equal to the negative power supply value of the comparator. The signals output by the two threshold comparators are the high and low levels of the range judgment signal.
[0056] The signal input terminal of the microprocessor module is connected to the signal output terminal of the threshold detection module, which is used to receive the range judgment signal and output a voltage value compensation control signal. The microprocessor module used in this device is a 32-bit microcontroller chip produced by ST Company, which is high-performance, low-cost, and low-power consumption based on the ARM Cortex-M core. The default voltage value of the high level of the receiving pin of the chip is 3.3V, and the default voltage value of the low level is 0V. The high and low levels of the range judgment signal output by the comparator need to be adjusted as follows by the signal conditioning circuit first: the high-level voltage value of the range judgment signal is conditioned from the positive power supply value of the comparator to 3.3V; the low-level voltage value of the range judgment signal is conditioned from the negative power supply value of the comparator to 0V. The conditioned range judgment signal is received by the microprocessor module and enters the program for judgment. When the input signal is not within -T to +T, the threshold comparator outputs a high level of the range judgment signal. The microprocessor module receives the high level of the range judgment signal and controls the output pin to output a voltage value compensation control signal to perform positive / negative compensation on the input signal until the threshold comparator outputs a low level of the range judgment signal.
[0057] As Figure 3 shown in the figure, after the microprocessor module receives the range judgment signal, according to whether the input signal is within -T to +T, it outputs a voltage value compensation control signal, which includes a folding times signal, a sign bit signal, and a folding amount signal. The voltage value compensation module includes a voltage divider circuit and a wavelength division multiplexing circuit. The output terminal of the voltage divider circuit is provided with a first adder circuit. The output terminals of the wavelength division multiplexing circuit and the first adder circuit are both connected to the multiplier circuit. The output terminal of the multiplier circuit and the input signal are connected to the second adder circuit, and the output terminal of the second adder circuit is connected to the input terminal of the threshold detection module.
[0058] Since the pins of the microprocessor module cannot directly output decimal numbers, the folding times signal is output by the three pins of the microprocessor module to simulate the 3-bit digital-to-analog converter (DAC) with high and low levels. The signals output by the three pins are named folding times signal A0, folding times signal A1, and folding times signal A2, and A2 is configured as the highest bit of 3 bits and A0 is the lowest bit of 3 bits through the program. According to the conversion between binary and decimal, the 3-bit data value range is 000~111, and the corresponding decimal calculation method is 2 2 ×Highest digit A2+2 1 ×Middle position A1+2 0 ×The lowest bit A0, since the high level voltage value of the microprocessor module pin is 3.3V and the low level voltage value is 0V, the signals output by the three pins are first adjusted from the high level 3.3V of signals A2, A1, and A0 to 1V through a voltage divider circuit, and the low level 0V remains unchanged, and then pass through the first addition circuit. The first addition circuit is built using an operational amplifier to connect the peripheral circuit. The output result of the first addition circuit is the compensation number K. When A2A1A0=111, the maximum value of K is 7, and when A2A1A0=000, the minimum value of K is 0, so the compensation number K of this device ranges from 0 to 7.
[0059] The sign bit signal is output from a pin of the microprocessor module. Since the input signal is a positive or negative signal, the compensation amount is adjusted by the sign bit signal to adjust the positive or negative polarity. When the input signal is less than -T, the sign bit outputs +Sgn, and when the input signal is greater than +T, the sign bit outputs -Sgn. Since the sign bit does not have the characteristic of adjusting the amplitude, the output voltage amplitude of the sign bit signal Sgn is set to 1V. The folding amount signal is output from another pin of the microprocessor module. According to the signal processing theory, the absolute value of the folding threshold voltage is set to T, so the folding amount at one time should be set to 2×T, so the voltage amplitude of the folding amount signal is set to 2×T.
[0060] The sign bit signal and the folding amount signal are input to the wavelength division multiplexing circuit together. The function implemented by the wavelength division multiplexing circuit is similar to that of the multiplier, but its advantage is that the output result is stable and the error is small. The output result of the wavelength division multiplexing circuit is a single compensation amount Y, and the value of Y is the product of the sign bit signal and the folding amount signal. Since the output voltage amplitude of the sign bit signal Sgn is 1V, the low level value of the single compensation amount Y is (-Sgn)×2×T=-2×T, and the high level value is (+Sgn)×2×T=+2×T.
[0061] For the input signal, when the compensation times K and the single compensation amount Y are available, the input signal can be compensated. The compensation times K and the single compensation amount Y are input into the multiplication circuit together. There are two implementation methods for the multiplication circuit. One is to use a ready-made multiplier module, and the other is to build a peripheral circuit with an operational amplifier to implement the multiplication function. This device adopts the former method. The output result of the multiplication circuit is the total compensation amount Q, and Q = K × Y. The total compensation amount Q and the input signal are jointly input into the second addition circuit to compensate the input signal that is not within -T to +T.
[0062] For the compensated signal, that is, the folded signal to be judged, whether it is within -T to +T, it is necessary to feedback the folded signal to be judged to the threshold detection module through the feedback line and then compare it with the threshold voltage. If the folded signal to be judged is within -T to +T, both threshold comparators output the low level of the range judgment signal. The microprocessor module receives the low level of the range judgment signal, and the program control directly outputs the signal indicating the completion of compensation, that is, the folded signal. If the folded signal to be judged is not within -T to +T, the above steps still need to be performed, and the folding times K is incremented or decremented by 1, and then the signal is compensated until the input signal is completely folded within -T to +T.
[0063] The signal indicating the completion of compensation, that is, the folded signal, enters the signal acquisition and transmission module. This module includes the folded signal amplitude adjustment, the adjusted signal acquisition, and the adjusted signal transmission. The amplitude range of the signal indicating the completion of compensation, that is, the folded signal, is -T to +T (0 < T < input voltage). The signal forms sampled by ordinary analog-to-digital converters (ADCs) are all positive voltage signals. It is necessary to adjust the voltage amplitude of the folded signal to an adjusted signal containing only positive voltage values through the third addition circuit, then collect it by an ordinary ADC, and then send the data in packets through the RS-485 bus to the host computer. The data format received by the host computer is generally hexadecimal. After the base conversion, the decimal data is obtained. Then, data analysis software, such as Excel and Origin, can plot the data of the folded signal in the form of a picture, which is convenient for developers to perform subsequent data processing.
[0064] Such as Figure 4 、 5, 6, 7, and 8 are schematic circuit diagrams of the hardware connection of the external power supply module, threshold detection module, microprocessor module, pressure value compensation module, and signal acquisition and transmission module of a signal folding device with a feedback architecture of the present invention. Among them, J1, J2, U1~U8 are all power supply parts in this device, including chip operating voltage and threshold voltage, as well as compensation voltage value. U9 is the microprocessor part of this device, using the high-performance, low-cost, low-power 32-bit microcontroller chip of the STM32F103 series produced by ST company, realizing the function of receiving range judgment signal and outputting pressure value compensation control signal, as well as completing the acquisition and transmission of adjustment signal containing only positive voltage value. The host computer communication uses the SP3485 chip of U10, and the data is packaged and sent to the host computer through the RS-485 bus. The signal folding part is composed of peripheral circuits built by each chip of U11~U15. The signal input port is J4, the package adopts SMA interface, the input signal test pin is J6, the package adopts 3.81-3p pin type, the output signal port is J5, the package adopts SMA interface, the input signal test pin is J7, and the package adopts 3.81-3p pin type.
[0065] Therefore, the present invention adopts the above-mentioned signal folding device with a feedback architecture, which solves the problem that the sampling depth of ordinary ADC is not large enough to completely collect all the data of the input signal, and can realize the folding of large-amplitude signals and high-frequency signals, with high folding quality and fast speed, and can realize signal folding with fewer chips. The range of the folded signal output by the device can be collected by ordinary ADC, which reduces the cost of making high-performance ADC and the power consumption of high-performance ADC operation. The device has fast response speed, strong practicality and high reliability.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A signal folding device of a feedback architecture, characterized in that: include: An external power supply module is used to provide voltage signals to the threshold detection module, the microprocessor module, and the voltage compensation module; A threshold detection module is used to set a threshold voltage value for the device and perform range detection on the input signal, and output a range judgment signal; A microprocessor module, used for receiving a range judgment signal and outputting a pressure value compensation control signal; The pressure compensation module performs positive / negative compensation on the input signal to complete signal folding; The signal acquisition and transmission module completes the acquisition of the output signal and sends it to the host computer.
2. The signal folding device of the feedback architecture according to claim 1, characterized in that: The external power supply module is connected to the voltage input terminals of the threshold detection module, the microprocessor module and the voltage value compensation module respectively through a power adapter and a voltage conversion chip.
3. The signal folding device of the feedback architecture according to claim 2, characterized in that: The voltage conversion chip includes a linear voltage regulator and a DC-DC power supply chip.
4. The signal folding device of the feedback architecture according to claim 1, characterized in that: The threshold detection module is composed of a comparator chip and a peripheral circuit.
5. The signal folding device of the feedback architecture according to claim 4, characterized in that: The comparator chip includes a positive threshold comparator and a negative threshold comparator; the peripheral circuit is a signal conditioning circuit.
6. The signal folding device of the feedback architecture according to claim 1, characterized in that: The signal input end of the microprocessor module is connected to the signal output end of the threshold detection module.
7. The signal folding device of the feedback architecture according to claim 1, characterized in that: The voltage value compensation module includes a voltage divider circuit and a wavelength division multiplexing circuit. The output end of the voltage divider circuit is provided with a first adding circuit. The output ends of the wavelength division multiplexing circuit and the first adding circuit are both connected to a multiplication circuit. The output end and input signal of the multiplication circuit are connected to a second adding circuit. The output end of the second adding circuit is connected to the input end of the threshold detection module.
8. The signal folding device of the feedback architecture according to claim 7, characterized in that: The multiplication circuit is a peripheral circuit constructed by using a ready-made multiplier or an operational amplifier.
9. The signal folding device of the feedback architecture according to claim 1, characterized in that: The signal acquisition and transmission module comprises a third adding circuit and uses a common analog-to-digital converter ADC to sample the output end of the third adding circuit.
10. The signal folding device of the feedback architecture according to claim 1, characterized in that: The signal acquisition and transmission module is connected to the host computer via an RS-485 bus.
Citation Information
Patent Citations
Signal folding method and device
CN114079603A
Signal folding amplifier based on capacitive digital-to-analog converter and signal chain circuit thereof
CN115459714A
Cited By
Signal folding circuit and electronic equipment
CN120301426A
Signal folding circuits and electronic devices
CN120301426B
