CN114184993A - Data acquisition method with synchronous self-calibration - Google Patents

Data acquisition method with synchronous self-calibration Download PDF

Info

Publication number
CN114184993A
CN114184993A CN202111317249.1A CN202111317249A CN114184993A CN 114184993 A CN114184993 A CN 114184993A CN 202111317249 A CN202111317249 A CN 202111317249A CN 114184993 A CN114184993 A CN 114184993A
Authority
CN
China
Prior art keywords
resistor
target object
diode
voltage
capacitor
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
CN202111317249.1A
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.)
Dongfeng Electric Drive Systems Co Ltd
Original Assignee
Dongfeng Electric Drive Systems 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 Dongfeng Electric Drive Systems Co Ltd filed Critical Dongfeng Electric Drive Systems Co Ltd
Priority to CN202111317249.1A priority Critical patent/CN114184993A/en
Publication of CN114184993A publication Critical patent/CN114184993A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • 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
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant

Abstract

The invention relates to a data acquisition device with synchronous self-calibration, which comprises a voltage signal acquisition circuit or a resistance signal acquisition circuit, wherein the output ends of the two acquisition circuits are respectively connected with an IO interface of a controller, the data acquisition device also comprises a diode D1/D2, the anode of the diode D1/D2 is connected with a connection node between the acquisition circuits and the controller, and the cathode of the diode D1/D2 is connected with 5V reference voltage; and the controller converts the voltage value received by the IO interface into a corresponding target object state value through the corrected voltage value-target object state value corresponding relation and displays the corresponding target object state value. The diode is added on the data output node of the acquisition circuit, so that the output voltage clamping protection of the acquisition circuit is realized, and the data drift caused by the power supply voltage fluctuation due to the complex working condition is reduced. Meanwhile, the corresponding relation between the voltage value and the target object state value is corrected, so that the data is closer to a real value and more accords with an actual scene.

Description

Data acquisition method with synchronous self-calibration
Technical Field
The invention relates to the technical field of automobile instruments, in particular to a data acquisition device with synchronous self-calibration and a method thereof.
Background
The vehicle data acquisition generally includes converting the current state of the target object into a corresponding voltage value or resistance value, and comparing the voltage value or resistance value with a reference standard, so as to obtain data display of the current state of the target object.
The collection of vehicle data is generally periodic, and the output voltage of a vehicle body power supply fluctuates due to the complexity of the vehicle running state, and the fluctuation of the power supply further causes data drift, so that the data collection is asynchronous with a reference standard, and the periodically collected data is deviated.
Meanwhile, because the data calculation is carried out by means of a linear interval of preset parameters, the accuracy depends on the number of partitions, and the more partitions and the thinner partitions are, the more accurate partitions are, while in practical application, unlimited partitions cannot be realized due to condition limitation, and generally 5-10 linear intervals are obtained. Within a certain linear interval, the collected voltage value and the current state value of the target object are considered to be linearly related. However, the acquired data may deviate due to the fluctuation of the power supply, so that the acquired voltage value and the current state value of the target object are not completely linearly related, and the display data and the current state value of the target object deviate.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a data acquisition device with synchronous self-calibration.
The technical scheme for solving the technical problems is as follows: a data acquisition device with synchronous self-calibration comprises a voltage signal acquisition circuit or a resistance signal acquisition circuit, wherein the output ends of the two acquisition circuits are respectively connected with an IO interface of a controller, the data acquisition device also comprises a diode D1/D2, the anode of the diode D1/D2 is connected with a connection node between the acquisition circuits and the controller, and the cathode of the diode D1/D2 is connected with 5V reference voltage; the controller converts the voltage value received by the IO interface into a corresponding target object state value through the corrected voltage value-target object state value corresponding relation and displays the corresponding target object state value;
the method for acquiring the corresponding relation between the corrected voltage value and the target object state value comprises the following steps:
acquiring display interval range endpoints of the target object state value and theoretical corresponding relations between voltage values on the endpoints and the target object state value;
establishing a rectangular coordinate system, drawing the end points of the range of the display interval in the coordinate system by taking the voltage value as x and the state value of the target object as y, and calculating the slope k of a connecting line L between the end points;
testing under various working conditions to obtain voltage values x 'corresponding to different target object state values y' between endpoints of a display interval range, drawing points (x ', y') in a rectangular coordinate system, and respectively selecting two points P1 and P2 with the maximum upper and lower distances L of a line segment L;
parallel lines L1 and L2 of the line segment L are drawn by the slope k through P1 and P2, and a central line L3 of L1L2 is obtained; and replacing L with L3 to obtain the corrected voltage value-target object state value corresponding relation.
Further, the voltage signal acquisition circuit comprises a resistor R2, a resistor R4, a capacitor C1 and a diode D1;
the resistor R2 is connected with one end of the resistor R4 in common, the common node of the resistor R2 is used as the input end of the voltage signal acquisition circuit to be connected with the voltage signal output of a target object, the other end of the resistor R2 is connected with one end of the capacitor C1, the other ends of the resistor R4 and the capacitor C1 are grounded GND, and the common node of the resistor R2 and the capacitor C1 is used as the output end of a voltage signal acquisition circuit to be connected with the IO interface of the controller;
the anode of the diode D1 is connected to the common node of the resistor R2 and the capacitor C1, and the cathode of the diode D1 is connected to a 5V reference voltage.
Further, the resistance signal acquisition circuit comprises a resistor R1, a resistor R3, a capacitor C2 and a diode D2;
one end of a resistor R1 and one end of a resistor R3 are connected in common, a common node of the resistor R1 and the resistor R3 is used as an input end of a resistor signal acquisition circuit to be connected with the resistor signal output of a target object, the other end of the resistor R1 is connected with reference voltage, the resistor R3 is connected with one end of a capacitor C2, a common node of a resistor R3 and a capacitor C2 is used as an output end of a resistor signal acquisition circuit to be connected with an IO interface of a controller, and the other end of the capacitor C2 is grounded GND;
the anode of the diode D2 is connected to the common node of the resistor R3 and the capacitor C2, and the cathode of the diode D2 is connected to a 5V reference voltage.
The invention has the beneficial effects that: the diode is added on the data output node of the acquisition circuit, so that the output voltage clamping protection of the acquisition circuit is realized, and the data drift caused by the power supply voltage fluctuation due to the complex working condition is reduced. Meanwhile, according to experimental data under various working conditions, the corresponding relation between the voltage value and the target object state value is corrected, so that the data is closer to a true value and more accords with actual situations.
Drawings
FIG. 1 is a schematic structural diagram of a data acquisition device with synchronous self-calibration according to the present invention, wherein (a) is a voltage signal acquisition circuit, and (b) is a resistance signal acquisition circuit;
fig. 2 is a flowchart of a method for acquiring a corrected voltage value-target object state value correspondence relationship according to the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
An embodiment of the present invention provides a data acquisition device with synchronous self-calibration, which includes a voltage signal acquisition circuit as shown in fig. 1(a), or a resistance signal acquisition circuit as shown in fig. 1 (b). No matter the voltage signal acquisition circuit or the resistance signal acquisition circuit, the final output of the voltage signal acquisition circuit or the resistance signal acquisition circuit to the controller is a voltage signal. For example, in a float type oil quantity sensor commonly used in an automobile, the principle is that an oil float drives a winding type sliding resistor, and the change of the sliding resistor resistance is caused by the height of an oil level.
The output ends of the two acquisition circuits are respectively connected with an IO interface of the controller, the controller further comprises a diode D1/D2, the anode of the diode D1/D2 is connected with a connection node between the acquisition circuits and the controller, and the cathode of the diode D1/D2 is connected with 5V reference voltage; and the controller converts the voltage value received by the IO interface into a corresponding target object state value through the corrected voltage value-target object state value corresponding relation and displays the corresponding target object state value.
Specifically, the voltage signal acquisition circuit comprises a resistor R2, a resistor R4, a capacitor C1 and a diode D1;
the resistor R2 is connected with one end of the resistor R4 in common, the common node of the resistor R2 is used as the input end of the voltage signal acquisition circuit to be connected with the voltage signal output of a target object, the other end of the resistor R2 is connected with one end of the capacitor C1, the other ends of the resistor R4 and the capacitor C1 are grounded GND, and the common node of the resistor R2 and the capacitor C1 is used as the output end of a voltage signal acquisition circuit to be connected with the IO interface of the controller;
the anode of the diode D1 is connected to the common node of the resistor R2 and the capacitor C1, and the cathode of the diode D1 is connected to a 5V reference voltage.
Specifically, the resistance signal acquisition circuit comprises a resistor R1, a resistor R3, a capacitor C2 and a diode D2;
one end of a resistor R1 and one end of a resistor R3 are connected in common, a common node of the resistor R1 and the resistor R3 is used as an input end of a resistor signal acquisition circuit to be connected with the resistor signal output of a target object, the other end of the resistor R1 is connected with reference voltage, the resistor R3 is connected with one end of a capacitor C2, a common node of a resistor R3 and a capacitor C2 is used as an output end of a resistor signal acquisition circuit to be connected with an IO interface of a controller, and the other end of the capacitor C2 is grounded GND;
the anode of the diode D2 is connected to the common node of the resistor R3 and the capacitor C2, and the cathode of the diode D2 is connected to a 5V reference voltage.
By the hardware method, the diode is added at the data node of the acquisition circuit to realize the output voltage clamping protection of the acquisition circuit, so that the data drift caused by the power supply voltage fluctuation caused by the complex working condition is reduced.
The method for obtaining the corresponding relationship between the corrected voltage value and the target object state value, as shown in fig. 2, includes:
acquiring display interval range endpoints of the target object state value and theoretical corresponding relations between voltage values on the endpoints and the target object state value;
establishing a rectangular coordinate system, drawing the end points of the range of the display interval in the coordinate system by taking the voltage value as x and the state value of the target object as y, and calculating the slope k of a connecting line L between the end points;
testing under various working conditions to obtain voltage values x 'corresponding to different target object state values y' between endpoints of a display interval range, drawing points (x ', y') in a rectangular coordinate system, and respectively selecting two points P1 and P2 with the maximum upper and lower distances L of a line segment L;
parallel lines L1 and L2 of the line segment L are drawn by the slope k through P1 and P2, and a central line L3 of L1L2 is obtained; and replacing L with L3 to obtain the corrected voltage value-target object state value corresponding relation.
According to experimental data under various working conditions, the corresponding relation between the voltage value and the target object state value is corrected, so that the data is closer to a true value and more accords with actual situations.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (3)

1. A data acquisition device with synchronous self-calibration comprises a voltage signal acquisition circuit or a resistance signal acquisition circuit, wherein the output ends of the two acquisition circuits are respectively connected with an IO interface of a controller, and the data acquisition device is characterized by further comprising a diode D1/D2, the anode of the diode D1/D2 is connected with a connection node between the acquisition circuits and the controller, and the cathode of the diode D1/D2 is connected with 5V reference voltage; the controller converts the voltage value received by the IO interface into a corresponding target object state value through the corrected voltage value-target object state value corresponding relation and displays the corresponding target object state value;
the method for acquiring the corresponding relation between the corrected voltage value and the target object state value comprises the following steps:
acquiring display interval range endpoints of the target object state value and theoretical corresponding relations between voltage values on the endpoints and the target object state value;
establishing a rectangular coordinate system, drawing the end points of the range of the display interval in the coordinate system by taking the voltage value as x and the state value of the target object as y, and calculating the slope k of a connecting line L between the end points;
testing under various working conditions to obtain voltage values x 'corresponding to different target object state values y' between endpoints of a display interval range, drawing points (x ', y') in a rectangular coordinate system, and respectively selecting two points P1 and P2 with the maximum upper and lower distances L of a line segment L;
parallel lines L1 and L2 of the line segment L are drawn by the slope k through P1 and P2, and a central line L3 of L1L2 is obtained; and replacing L with L3 to obtain the corrected voltage value-target object state value corresponding relation.
2. The data acquisition device with synchronous self-calibration according to claim 1, wherein the voltage signal acquisition circuit comprises a resistor R2, a resistor R4, a capacitor C1 and a diode D1;
the resistor R2 is connected with one end of the resistor R4 in common, the common node of the resistor R2 is used as the input end of the voltage signal acquisition circuit to be connected with the voltage signal output of a target object, the other end of the resistor R2 is connected with one end of the capacitor C1, the other ends of the resistor R4 and the capacitor C1 are grounded GND, and the common node of the resistor R2 and the capacitor C1 is used as the output end of a voltage signal acquisition circuit to be connected with the IO interface of the controller;
the anode of the diode D1 is connected to the common node of the resistor R2 and the capacitor C1, and the cathode of the diode D1 is connected to a 5V reference voltage.
3. The data acquisition device with synchronous self-calibration according to claim 1, wherein the resistance signal acquisition circuit comprises a resistor R1, a resistor R3, a capacitor C2 and a diode D2;
one end of a resistor R1 and one end of a resistor R3 are connected in common, a common node of the resistor R1 and the resistor R3 is used as an input end of a resistor signal acquisition circuit to be connected with the resistor signal output of a target object, the other end of the resistor R1 is connected with reference voltage, the resistor R3 is connected with one end of a capacitor C2, a common node of a resistor R3 and a capacitor C2 is used as an output end of a resistor signal acquisition circuit to be connected with an IO interface of a controller, and the other end of the capacitor C2 is grounded GND;
the anode of the diode D2 is connected to the common node of the resistor R3 and the capacitor C2, and the cathode of the diode D2 is connected to a 5V reference voltage.
CN202111317249.1A 2021-11-09 2021-11-09 Data acquisition method with synchronous self-calibration Pending CN114184993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111317249.1A CN114184993A (en) 2021-11-09 2021-11-09 Data acquisition method with synchronous self-calibration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111317249.1A CN114184993A (en) 2021-11-09 2021-11-09 Data acquisition method with synchronous self-calibration

Publications (1)

Publication Number Publication Date
CN114184993A true CN114184993A (en) 2022-03-15

Family

ID=80602013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111317249.1A Pending CN114184993A (en) 2021-11-09 2021-11-09 Data acquisition method with synchronous self-calibration

Country Status (1)

Country Link
CN (1) CN114184993A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020167505A1 (en) * 2001-05-09 2002-11-14 Lechevalier Robert Method for periodic element voltage sensing to control precharge
CN102542252A (en) * 2011-11-18 2012-07-04 江西财经大学 Intelligent advertisement delivery system
CN202583298U (en) * 2012-04-14 2012-12-05 漳州科华技术有限责任公司 Alternating current voltage isolated sampling circuit
CN203337725U (en) * 2013-06-25 2013-12-11 广东明阳龙源电力电子有限公司 Sampling circuit for network side phase voltage in grid connected photovoltaic inverter system
CN103743427A (en) * 2013-12-31 2014-04-23 江苏嘉钰新能源技术有限公司 Linear calibration method
CN203849325U (en) * 2014-06-06 2014-09-24 厦门科华恒盛股份有限公司 Alternating-current and direct-current voltage isolation differential sampling circuit
CN105071807A (en) * 2015-07-20 2015-11-18 浙江大学 Analog-to-digital converter adjustment and calibration method and system
US20160033753A1 (en) * 2014-07-31 2016-02-04 Canon Kabushiki Kaisha Image acquiring apparatus
CN208258144U (en) * 2017-11-20 2018-12-18 中山市尊宝实业有限公司 A kind of positive alternating current sampling circuit altogether with output voltage clamper
CN109991929A (en) * 2019-04-25 2019-07-09 广西师范大学 A kind of laser marking machine method for rapidly positioning based on improvement point-by-point comparison interpolation
RU2699552C1 (en) * 2019-02-12 2019-09-06 Федеральное государственное унитарное предприятие "Ростовский-на-Дону научно-исследовательский институт радиосвязи" (ФГУП "РНИИРС") Method for passive single-position angular-doppler location of radio-emitting objects moving in space
CN110907881A (en) * 2019-11-29 2020-03-24 中电装备山东电子有限公司 Current calibration method and system for power distribution network overhead line monitoring device
CN212258805U (en) * 2020-06-22 2020-12-29 杭州士腾科技有限公司 Controller for frequency conversion of water pump

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020167505A1 (en) * 2001-05-09 2002-11-14 Lechevalier Robert Method for periodic element voltage sensing to control precharge
CN102542252A (en) * 2011-11-18 2012-07-04 江西财经大学 Intelligent advertisement delivery system
CN202583298U (en) * 2012-04-14 2012-12-05 漳州科华技术有限责任公司 Alternating current voltage isolated sampling circuit
CN203337725U (en) * 2013-06-25 2013-12-11 广东明阳龙源电力电子有限公司 Sampling circuit for network side phase voltage in grid connected photovoltaic inverter system
CN103743427A (en) * 2013-12-31 2014-04-23 江苏嘉钰新能源技术有限公司 Linear calibration method
CN203849325U (en) * 2014-06-06 2014-09-24 厦门科华恒盛股份有限公司 Alternating-current and direct-current voltage isolation differential sampling circuit
US20160033753A1 (en) * 2014-07-31 2016-02-04 Canon Kabushiki Kaisha Image acquiring apparatus
CN105071807A (en) * 2015-07-20 2015-11-18 浙江大学 Analog-to-digital converter adjustment and calibration method and system
CN208258144U (en) * 2017-11-20 2018-12-18 中山市尊宝实业有限公司 A kind of positive alternating current sampling circuit altogether with output voltage clamper
RU2699552C1 (en) * 2019-02-12 2019-09-06 Федеральное государственное унитарное предприятие "Ростовский-на-Дону научно-исследовательский институт радиосвязи" (ФГУП "РНИИРС") Method for passive single-position angular-doppler location of radio-emitting objects moving in space
CN109991929A (en) * 2019-04-25 2019-07-09 广西师范大学 A kind of laser marking machine method for rapidly positioning based on improvement point-by-point comparison interpolation
CN110907881A (en) * 2019-11-29 2020-03-24 中电装备山东电子有限公司 Current calibration method and system for power distribution network overhead line monitoring device
CN212258805U (en) * 2020-06-22 2020-12-29 杭州士腾科技有限公司 Controller for frequency conversion of water pump

Similar Documents

Publication Publication Date Title
CN106249186A (en) The bearing calibration of a kind of battery management system diverter current acquisition data and device
CN107219402B (en) A kind of circuit for quick measurement of DC resistance for power module port
CN105606239A (en) Temperature measurement circuit
CN107181300A (en) Charge protector, the method and apparatus for calibrating charging equipment
CN202433200U (en) High-accuracy data acquisition circuit for automotive resistance sensor
CN109541291A (en) Wide temperature high-precision multichannel current acquisition system
CN203376076U (en) A temperature detection circuit for a permanent magnet synchronous motor for an electric car and a controller of the motor
CN106443137B (en) Current collector of two-wire system sensor
CN114184993A (en) Data acquisition method with synchronous self-calibration
CN1077684C (en) Temp measuring circuit
CN105527317A (en) Method and apparatus for measuring humidity
CN102768096B (en) Pressure measuring device with temperature drift compensation function
CN101561460A (en) Compound signal detection circuit
CN213069107U (en) Current acquisition circuit and power battery based on single current sensor
CN115219781A (en) Positive and negative voltage sampling circuit and sampling system with same
CN203101851U (en) Input circuit of pulse interval measuring system
CN208569014U (en) A kind of Partial discharge signal marking apparatus of pressure-adjustable
CN110274636B (en) Non-magnetic water meter flow detection device and method
CN218629945U (en) Circuit for connecting electric energy meter and charging gun head
CN106645908B (en) A kind of acquisition method and Acquisition Circuit of the small signal of high common mode
CN213461717U (en) Industrial current output changes ADC interface circuit
CN211786006U (en) High-precision isolation indicating circuit
CN216414179U (en) Bipolar DC/DC voltage stabilizing converter for automatic sewage detection system
CN203364757U (en) Tiny inclination angle detection apparatus
CN109029749B (en) type water temperature circuit with collection ground offset and method thereof

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