Small signal detection circuit and method for removing dead zone voltage

By designing a dead-zone voltage detection circuit that includes an MCU main control module and an adjustable resistor, and using a pseudo-differential method to collect small signals, it solves the problems of large errors and poor consistency caused by dead-zone voltage in traditional detection methods, and achieves higher accuracy. and consistent small signal detection.

CN109521256BActive Publication Date: 2024-09-27HEFEI CHIPSEA ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811625594.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-28
Publication Date
2024-09-27
Estimated Expiration
2038-12-28

AI Technical Summary

Technical Problem

Traditional small signal detection methods have dead-zone voltage problems, resulting in large errors and poor consistency, and improving detection accuracy requires the use of high-cost ADCs.

Method used

Design a small signal detection circuit that removes dead zone voltage, including MCU main control module, LDO module, first bias voltage resistor, second bias voltage resistor and current sampling resistor. It collects signals through pseudo-differential method and uses adjustable Resistor-adjusted ADC acquisition linearity and accuracy range.

Benefits of technology

It achieves higher detection accuracy and consistency than traditional methods, and improves the accuracy of small signal results without adding additional costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109521256B
    Figure CN109521256B
Patent Text Reader

Abstract

The invention relates to a small signal detection circuit for removing dead zone voltage, comprising an MCU main control module with an ADC detection function, an LDO module for providing voltage for the MCU main control module, a first bias voltage resistor, a second bias voltage resistor and a current sampling resistor; the LDO module, the first bias voltage resistor, the second bias voltage resistor, the current sampling resistor and the MCU main control module are electrically connected in sequence to form a loop; one end of the current sampling resistor being electrically connected to the second bias voltage resistor is electrically connected to a sampling current input end; one end of the second bias voltage resistor being electrically connected to the first bias voltage resistor is electrically connected to an ADC end of the MCU main control module; a bias voltage is generated by voltage division between the first bias voltage resistor and the second bias voltage resistor, and a pseudo-differential method is adopted to collect small signals, which has the same cost and data overhead for a single-chip computer compared to a traditional method of directly collecting signal quantities, but has higher precision and better consistency in detecting small signals than the traditional detection method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of small current signal detection, and more specifically, to a small signal detection circuit and method for removing dead zone voltage. Background Art

[0002] The traditional method of detecting small signals is generally to directly collect the voltage of the signal to the microcontroller ground and compare it with the theoretical AD value. The ADC detection of general chips has a detection blind area, which is commonly known as the dead zone voltage (OFFSEN). The general dead zone voltage is plus or minus 2-3mv, which is very large for some small signals. The results of such detection methods for detecting small signals have large errors and poor consistency. Of course, if a more accurate ADC is used for detection, this problem can also be solved, but the cost will increase a lot. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a small signal detection circuit that removes the dead zone voltage in view of the above-mentioned defects of the prior art;

[0004] A small signal detection method for removing dead zone voltage is also provided.

[0005] The technical solution adopted by the present invention to solve its technical problem is:

[0006] A small signal detection circuit for removing dead zone voltage is constructed, wherein the circuit comprises an MCU main control module with an ADC detection function, an LDO module for providing voltage to the MCU main control module, a first bias voltage resistor, a second bias voltage resistor and a current sampling resistor; the LDO module, the first bias voltage resistor, the second bias voltage resistor, the current sampling resistor and the MCU main control module are electrically connected in sequence to form a loop; one end of the current sampling resistor electrically connected to the second bias voltage resistor is electrically connected to a sampling current input end; one end of the second bias voltage resistor electrically connected to the first bias voltage resistor is electrically connected to an ADC end of the MCU main control module.

[0007] The small signal detection circuit for removing dead zone voltage of the present invention, wherein a filter capacitor connected in parallel with the second bias voltage resistor and the current sampling resistor is provided in the loop.

[0008] In the small signal detection circuit for removing dead zone voltage described in the present invention, one end of the current sampling resistor is electrically connected to the MCU main control module and is grounded.

[0009] In the small signal detection circuit for removing dead zone voltage of the present invention, the first bias voltage resistor is an adjustable resistor.

[0010] In the small signal detection circuit for removing dead zone voltage of the present invention, the second bias voltage resistor is an adjustable resistor.

[0011] A small signal detection method for removing dead zone voltage, according to the above-mentioned small signal detection circuit for removing dead zone voltage, its implementation method is as follows:

[0012] The MCU main control module collects the first signal quantity of the sampling current input module in the state of no input current through the ADC end and saves it;

[0013] The MCU main control module collects the second signal quantity of the sampling current input module in the input current state through the ADC end and saves it;

[0014] The MCU main control module calculates the current magnitude and current direction input by the current input module according to the difference between the first signal quantity and the second signal quantity.

[0015] The small signal detection method for removing dead zone voltage described in the present invention, wherein, when the sampling current input module has no input current, the ADC acquisition linearity and accuracy range of the MCU main control module is adjusted by adjusting the resistance value of the first bias voltage resistor and / or the second bias voltage resistor.

[0016] The beneficial effects of the present invention are as follows: the MCU main control module collects and stores the first signal quantity of the sampling current input module in the state of no input current through the ADC end, and the MCU main control module collects and stores the second signal quantity of the sampling current input module in the state of input current through the ADC end, generates a bias voltage by voltage division through the first bias voltage resistor and the second bias voltage resistor, and uses a pseudo-differential method to collect small signals. The MCU main control module can calculate the current size and current direction input by the current input module according to the difference between the first signal quantity and the second signal quantity. Compared with the traditional method of directly collecting signal quantities, the cost and data overhead for the single-chip microcomputer are the same, but the detection result of small signals is higher in accuracy and better in consistency than the traditional detection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:

[0018] Figure 1 It is a circuit diagram of a small signal detection circuit for removing dead zone voltage according to a preferred embodiment of the present invention;

[0019] Figure 2It is a flow chart of a small signal detection method for removing dead zone voltage according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0021] A small signal detection circuit for removing dead zone voltage in a preferred embodiment of the present invention is as follows: Figure 1 As shown, it includes an MCU main control module 1 with an ADC detection function, an LDO module 2 for providing voltage to the MCU main control module 1, a first bias voltage resistor 3, a second bias voltage resistor 4 and a current sampling resistor 5; the LDO module 2, the first bias voltage resistor 3, the second bias voltage resistor 4, the current sampling resistor 5 and the MCU main control module 1 are electrically connected in sequence to form a loop; one end of the current sampling resistor 5 electrically connected to the second bias voltage resistor 4 is electrically connected to a sampling current input terminal 6; one end of the second bias voltage resistor 4 electrically connected to the first bias voltage resistor 3 is electrically connected to the ADC terminal of the MCU main control module 1;

[0022] The MCU main control module 1 collects and saves the first signal quantity of the sampling current input module 6 in the state of no input current through the ADC end. The MCU main control module 1 collects and saves the second signal quantity of the sampling current input module 6 in the state of input current through the ADC end. A bias voltage is generated by voltage division by the first bias voltage resistor 3 and the second bias voltage resistor 4. A pseudo-differential method is used to collect small signals. The MCU main control module 1 can calculate the current size and current direction input by the current input module according to the difference between the first signal quantity and the second signal quantity. Compared with the traditional method of directly collecting signal quantities, the cost and data overhead for the single-chip microcomputer are the same, but the detection result of small signals is higher in accuracy and better in consistency than the traditional detection method.

[0023] Preferably, a filter capacitor 7 connected in parallel with the second bias voltage resistor 4 and the current sampling resistor 5 is provided in the loop to ensure detection stability.

[0024] Preferably, the current sampling resistor 5 is electrically connected to the MCU main control module 1 and one end is grounded.

[0025] Preferably, the first bias voltage resistor 3 is an adjustable resistor, so that the ADC of the MCU main control module 1 can be adjusted to the interval with the best linearity and accuracy for detection by adjusting the resistance value of the first bias voltage resistor 3, thereby further improving the accuracy and consistency of the detection results.

[0026] Preferably, the second bias voltage resistor 4 is an adjustable resistor, which is convenient for adjusting the ADC acquisition linearity and the best accuracy interval of the MCU main control module 1 to detect by adjusting the resistance value of the second bias voltage resistor 4, thereby further improving the accuracy and consistency of the detection result.

[0027] A small signal detection method for removing dead zone voltage, according to the small signal detection circuit for removing dead zone voltage, as Figure 2 As shown, the implementation method is as follows:

[0028] S01: The MCU main control module collects the first signal quantity of the sampling current input module in the state of no input current through the ADC end and saves it;

[0029] S02: The MCU main control module collects the second signal quantity of the sampling current input module in the input current state through the ADC terminal and saves it;

[0030] S03: The MCU main control module calculates the current magnitude and current direction input by the current input module according to the difference between the first signal quantity and the second signal quantity.

[0031] Preferably, when the sampling current input module has no input current, by adjusting the resistance of the first bias voltage resistor and / or the second bias voltage resistor, the ADC of the MCU main control module is adjusted to collect linearity and the interval with the best accuracy for detection, so as to further improve the accuracy and consistency of the detection results.

[0032] Example description:

[0033] Step 1: When the system is powered on, the MCU first detects the signal volume when there is no signal input through the ADC. If the device error is not considered, it can also be written into the system and saved after theoretical calculation. For example: LDO output is 3.3V, R1=43K, R2=2K, R3=0.01R.

[0034] The theoretical calculation is as follows: When there is no signal input to R3, the voltage on R3 can be close to 0V.

[0035] Vadc=3.3V*2 / (43+2)=0.147V

[0036] At this time, the ADC input signal of the MCU is 0.147V, which is the signal detected by the MCU when there is no signal input.

[0037] Step 2: When a 1A sampling current flows in, the signal detected by the MCU is the signal amount when there is no signal input plus the signal amount of 1A current superimposed. Whether this signal amount increases or decreases depends on the direction of the sampling current.

[0038] Vr3=0.01*1=0.01V

[0039] When the current input is +1A: Vadc=0.147-0.01=0.137V

[0040] When the current input is -1A: Vadc=0.147+0.01=0.157V

[0041] Step 3: The MCU takes the difference between the two ADC sampling results to know the current size and direction.

[0042] Because the input signal is large, the method of the present invention can be out of the detection dead zone of the ADC. The detection accuracy depends entirely on the accuracy of the ADC, and the sampling signal can be adjusted to the interval with the best ADC linearity by adjusting the resistance values ​​of R1 & R2. Therefore, the method of the present invention has higher accuracy and better consistency than the traditional detection method for this small signal collection, and does not increase additional costs.

[0043] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A small signal detection circuit for removing dead zone voltage, characterized in that: It includes an MCU main control module with an ADC detection function, an LDO module that provides voltage for the MCU main control module, a first bias voltage resistor, a second bias voltage resistor and a current sampling resistor; the LDO module, the first bias voltage resistor, the second bias voltage resistor, the current sampling resistor and the MCU main control module are electrically connected in sequence to form a loop; one end of the current sampling resistor electrically connected to the second bias voltage resistor is electrically connected to a sampling current input end; one end of the second bias voltage resistor electrically connected to the first bias voltage resistor is electrically connected to the ADC end of the MCU main control module; The MCU main control module is used to collect a first signal quantity when the sampling current input module has no input current through the ADC end, and collect a second signal quantity when the sampling current input module has input current through the ADC end, wherein the second signal quantity is a superposition of the first signal quantity and the signal quantity corresponding to the input current; The MCU main control module is also used to calculate the current magnitude and current direction input by the sampling current input module according to the difference between the first signal quantity and the second signal quantity; when the sampling current input module has no input current, the ADC acquisition linearity and accuracy range of the MCU main control module is adjusted by adjusting the resistance value of the first bias voltage resistor and / or the second bias voltage resistor; in the loop, a filter capacitor is provided in parallel with the second bias voltage resistor and the current sampling resistor.

2. The small signal detection circuit for removing dead zone voltage according to claim 1, characterized in that: The current sampling resistor is electrically connected to the MCU main control module and one end is grounded.

3. The small signal detection circuit for removing dead zone voltage according to claim 1, characterized in that: The first bias voltage resistor is an adjustable resistor.

4. The small signal detection circuit for removing dead zone voltage according to claim 1, characterized in that: The second bias voltage resistor is an adjustable resistor.

5. A small signal detection method for removing dead zone voltage, according to the small signal detection circuit for removing dead zone voltage according to any one of claims 1 to 4, wherein the implementation method is as follows: The MCU main control module collects the first signal quantity of the sampling current input module in the state of no input current through the ADC end and saves it; The MCU main control module collects the second signal quantity of the sampling current input module under the input current state through the ADC end and saves it, wherein: The second signal quantity is a superposition of the first signal quantity and a signal quantity corresponding to the input current; The MCU main control module calculates the current magnitude and current direction input by the sampling current input module according to the difference between the first signal quantity and the second signal quantity.

6. The small signal detection method for removing dead zone voltage according to claim 5, characterized in that: When the sampling current input module has no input current, the ADC acquisition linearity and accuracy range of the MCU main control module are adjusted by adjusting the resistance value of the first bias voltage resistor and / or the second bias voltage resistor.