CN113759160A - Method for improving analog acquisition precision - Google Patents

Method for improving analog acquisition precision Download PDF

Info

Publication number
CN113759160A
CN113759160A CN202010527939.9A CN202010527939A CN113759160A CN 113759160 A CN113759160 A CN 113759160A CN 202010527939 A CN202010527939 A CN 202010527939A CN 113759160 A CN113759160 A CN 113759160A
Authority
CN
China
Prior art keywords
vcc
voltage
correction coefficient
acquisition
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010527939.9A
Other languages
Chinese (zh)
Inventor
刘钊
杜春花
孙涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuo Pin Intelligent Technology Wuxi Co ltd
Original Assignee
Zhuo Pin Intelligent Technology Wuxi Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuo Pin Intelligent Technology Wuxi Co ltd filed Critical Zhuo Pin Intelligent Technology Wuxi Co ltd
Priority to CN202010527939.9A priority Critical patent/CN113759160A/en
Publication of CN113759160A publication Critical patent/CN113759160A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

The invention aims to provide a method for improving the analog acquisition precision, which is used for acquiring analog signals of an external sensor by an ECU (electronic control Unit) working chamber and solving the problem of signal deviation possibly existing in correction; the method comprises the following steps: s1, distributing a pin resource of the single chip microcomputer, and carrying out AD acquisition on VCC voltage; s2, calculating the ratio of VCC voltage to 5V, wherein the ratio is a correction coefficient a; s3, superimposing the correction coefficient on the signal collected by the sensor for correction; s4: correcting VCC, collecting voltage U1 generated by VCC through a voltage dividing circuit by a single chip microcomputer, and calculating the voltage dividing circuit to obtain VCC to obtain a correction coefficient; the invention has the beneficial effects that: the accuracy of signal acquisition is improved.

Description

Method for improving analog acquisition precision
Technical Field
The invention belongs to the technical field of electronic signal acquisition, and particularly relates to a method for improving analog acquisition precision.
Background
In electronic design, different dc voltages are often needed to supply power to different devices, and the most widely used method is to obtain different dc voltage outputs through a LDO voltage regulator chip, because the LDO has low cost and good performance, and is simple to use. Since the LDO output accuracy is ± 2%, if the output voltage is 5V, there is an error of ± 100mV, which is obviously a large error.
When the ECU works, analog signals of an external sensor need to be acquired, for example, the acquisition of the analog signals of a general pressure type is that a pull-up resistor with a proper resistance value is pulled up to a power supply VCC (VCC standard state is 5V power supply), and a singlechip reads an acquired voltage value after voltage division to calculate to obtain the resistance value of the sensor. When VCC has deviation and deviates from 5V, the calculated voltage of the sensor is inaccurate, and the accuracy of signal acquisition is influenced.
Disclosure of Invention
The invention aims to provide a method for improving the analog acquisition precision, which is used for acquiring an analog signal of an external sensor in an ECU (electronic control unit) working chamber and solving the problem of correcting possible signal deviation.
The invention provides a method for improving the precision of analog acquisition, which comprises the following steps:
s1, distributing a pin resource of the single chip microcomputer, and carrying out AD acquisition on VCC voltage;
s2, calculating the ratio of VCC voltage to 5V, wherein the ratio is a correction coefficient a;
s3, superimposing the correction coefficient on the signal collected by the sensor for correction;
s4: and correcting the VCC, collecting the voltage U1 generated by the VCC through the voltage division circuit by a single chip microcomputer, and calculating the voltage division circuit to obtain the VCC so as to obtain a correction coefficient.
The invention has the beneficial effects that: the accuracy of signal acquisition is improved.
Drawings
FIG. 1 is a schematic diagram of a signal correction process according to the present invention.
Detailed Description
The present invention will now be described in detail with reference to the drawings, which are given by way of illustration and explanation only and should not be construed to limit the scope of the present invention in any way.
The invention provides a method for improving the precision of analog acquisition, which comprises the following steps:
s1, distributing a pin resource of the single chip microcomputer, and carrying out AD acquisition on VCC voltage;
s2, calculating the ratio of VCC voltage to 5V, wherein the ratio is a correction coefficient a;
s3, superimposing the correction coefficient on the signal collected by the sensor for correction;
s4: and correcting the VCC, collecting the voltage U1 generated by the VCC through the voltage division circuit by a single chip microcomputer, and calculating the voltage division circuit to obtain the VCC so as to obtain a correction coefficient.
And (4) adding the correction coefficient into the original formula for calculation, namely. Signals are collected for accurate sensors.
Under the condition of not revising VCC, the sensor signal of gathering, wherein VCC is 5V, if VCC supply voltage appears the deviation, then the accuracy of signal acquisition is directly influenced. VCC is corrected as follows.
It should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The above-described embodiments of the present invention do not limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (1)

1. A method for improving the precision of analog acquisition comprises the following steps:
s1, distributing a pin resource of the single chip microcomputer, and carrying out AD acquisition on VCC voltage;
s2, calculating the ratio of VCC voltage to 5V, wherein the ratio is a correction coefficient a;
s3, superimposing the correction coefficient on the signal collected by the sensor for correction;
s4: and correcting the VCC, collecting the voltage U1 generated by the VCC through the voltage division circuit by a single chip microcomputer, and calculating the voltage division circuit to obtain the VCC so as to obtain a correction coefficient.
CN202010527939.9A 2020-06-11 2020-06-11 Method for improving analog acquisition precision Pending CN113759160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010527939.9A CN113759160A (en) 2020-06-11 2020-06-11 Method for improving analog acquisition precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010527939.9A CN113759160A (en) 2020-06-11 2020-06-11 Method for improving analog acquisition precision

Publications (1)

Publication Number Publication Date
CN113759160A true CN113759160A (en) 2021-12-07

Family

ID=78785465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010527939.9A Pending CN113759160A (en) 2020-06-11 2020-06-11 Method for improving analog acquisition precision

Country Status (1)

Country Link
CN (1) CN113759160A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103604984A (en) * 2013-11-28 2014-02-26 湖北三江航天红峰控制有限公司 Method for improving AD acquisition accuracy based on least square method
CN111240251A (en) * 2020-03-24 2020-06-05 一巨自动化装备(上海)有限公司 High-precision AD sampling correction method based on MCU

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103604984A (en) * 2013-11-28 2014-02-26 湖北三江航天红峰控制有限公司 Method for improving AD acquisition accuracy based on least square method
CN111240251A (en) * 2020-03-24 2020-06-05 一巨自动化装备(上海)有限公司 High-precision AD sampling correction method based on MCU

Similar Documents

Publication Publication Date Title
CN201653608U (en) High-intelligent resistance strain gage sensor
CN204535644U (en) Based on the displacement measurement system of differential transformer transducer
CN101754506A (en) Electromagnetic oven power automatic calibration method and circuit
CN103257017B (en) Compensation method for temperature drift of sensor
CN110519356B (en) Method and device for calibrating reporting success rate of gas meter
CN105092007A (en) Weight measuring instrument
CN205720565U (en) A kind of batch testing plate for testing signal condition chip
CN103245328B (en) A kind of general digital formula attitude automatic measurement circuit
CN113759160A (en) Method for improving analog acquisition precision
CN102095547A (en) Digital manometer for accurately measuring pressure to be measured
CN110044235A (en) Axial line distance measuring instrument and application method between Different Plane two o'clock
CN106020019A (en) Multi-channel analog signal data acquisition automatic correction circuit and correction method
CN205879171U (en) Static level gauge applied to liquid levels
CN101441236A (en) Capacity sensor circuit based on Wien bridge and phase-locked loop
CN112731815A (en) Method for improving analog quantity acquisition precision
CN109781140B (en) Cooperative measurement device and method of low-frequency inertial sensor calibration system
CN201355876Y (en) Power automatic calibration circuit of electromagnetic oven
CN102096383A (en) High-precision signal sampling circuit
CN109470913A (en) A method of supply voltage is pushed away by reference to voltage is counter
CN104697604A (en) Capacitor liquid level sensor allowing site calibration
CN203672371U (en) Quartz flexure accelerometer based dipmeter
CN203396501U (en) Pointer type electronic thermometer
CN213461717U (en) Industrial current output changes ADC interface circuit
CN201917429U (en) Digital pressure gauge for measuring detected pressure accurately
JPS63256814A (en) Position detector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination