Multi-channel platinum resistance temperature sensor time constant automatic test system and method

By designing a multi-channel platinum resistance temperature sensor time constant automatic test system that integrates a computer and an automatic test circuit, it solves the problems of low efficiency and large errors in existing test methods and achieves high-accuracy automated testing.

CN118565659APending Publication Date: 2024-08-30TIANJING AVIATION ELECTRO-MECHANICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410614917.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing time constant test method of platinum resistance temperature sensor is inefficient and contains system errors and human operating factors, resulting in test result errors and lack of automatic data processing methods.

Method used

A multi-channel platinum resistance temperature sensor time constant automatic test system is designed, which integrates a computer, multi-channel automatic test circuit, synchronous clock control main control circuit, voltage monitoring module and constant current source. Through automatic analysis and calculation methods, it replaces Manual identification and standard equipment realize synchronous collection and automatic calculation.

Benefits of technology

It improves the testing accuracy and efficiency, reduces manual errors, is suitable for automatic testing of time constants of multi-channel platinum resistance temperature sensors, and achieves high-accuracy automated testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565659A
    Figure CN118565659A
Patent Text Reader

Abstract

The invention relates to a multichannel platinum resistance temperature sensor time constant automatic test system and method, and belongs to the technical field of automatic test. The test system comprises a computer and a multichannel platinum resistor temperature sensor time constant automatic test circuit. The platinum resistor temperature sensor time constant automatic test circuit is used for collecting a time-varying voltage step response output by the temperature sensor; the computer is electrically connected with the automatic test circuit, and is used for controlling the work of the automatic test circuit, storing the voltage step response changing along with the time, and calculating the time constant of the platinum resistor temperature sensor according to the voltage step response changing along with the time; the platinum resistor temperature sensor time constant automatic test circuit comprises a master control circuit controlled by a synchronous clock, a voltage monitoring module, a current monitoring module and a constant current source. And the main control circuit is connected with the control end of the constant current source and is used for controlling the current magnitude and on-off of the constant current source.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a multi-channel platinum resistance temperature sensor time constant automatic testing system and method, belonging to the technical field of automatic testing. Background Art

[0002] Most temperature sensors use contact temperature measurement to sense the temperature of the measured medium (air or liquid). Only when the temperature sensor and the surrounding contact medium temperature reach a basic thermal equilibrium, the temperature displayed by the temperature sensor can represent the temperature of the measured medium. That is, under the condition of flowing medium, the temperature sensor cannot immediately reflect the temperature of the measured medium, and it takes a certain amount of time to reflect the temperature of the measured medium. This parameter is the response time of the temperature sensor.

[0003] The characteristic parameters that describe the dynamic response characteristics of the temperature sensor to the step temperature mainly include thermal response time and time constant. Thermal response time refers to the time required for the output temperature of the temperature sensor to change to a certain percentage of the ambient temperature step amount when the ambient temperature changes step by step, recorded as τ xx The time required to reach 10%, 50% and 90% of the step temperature is denoted as τ 0.1 , τ 0.5 , τ 0.9 For a temperature sensor processed by a first-order transfer function, the time required to reach 63.2% of the step temperature is called the time constant, denoted by τ.

[0004] The time constant test method of the platinum resistance temperature sensor is to use a constant current source to provide the required test current for the platinum resistance temperature sensor, use an oscilloscope to collect the voltage value output by the platinum resistance temperature sensor during the temperature step process, manually identify the waveform curve through the curve formed on the screen, and calculate the time constant after reading the step voltage output by the platinum resistance temperature sensor.

[0005] According to the provisions of 4.1 in the "Temperature Sensor Dynamic Response Calibration Specification" of my country's metrology technical specification JJF1049-1995, a digital oscilloscope, a computer equipped with a high-speed digital-to-analog converter, or a digital voltmeter can be used to collect the product step voltage. Conventional test methods can only complete the test of one sensor at a time, and the test efficiency is low. There are systematic errors and human operation factors in the test method, which may cause reading errors and thus test result errors. The constant current source and oscilloscope are of high value. This method has the risk of errors and poor economic efficiency.

[0006] At present, there is no reasonable and effective automatic data processing method in domestic standards and metrology and calibration units. Summary of the invention

[0007] The purpose of the present invention is to integrate a multi-channel platinum resistance temperature sensor to simultaneously provide a power supply function for a test current and a measurement function for synchronously collecting the output voltage of the platinum resistance temperature sensor of the corresponding channel, and to form an automatic testing system for the time constant of the platinum resistance temperature sensor in combination with an automatic analysis and calculation method for the temperature output step voltage of the platinum resistance temperature sensor. The hardware circuit structure is simple, and standard equipment such as a constant current source and an oscilloscope are replaced, and the manual testing method is replaced, so as to improve the testing accuracy and testing efficiency.

[0008] Technical solution:

[0009] Provided is a multi-channel platinum resistance temperature sensor time constant automatic testing system, comprising: a computer and a multi-channel platinum resistance temperature sensor time constant automatic testing circuit;

[0010] The automatic time constant test circuit of the platinum resistance temperature sensor is used to collect the voltage step response of the temperature sensor output that changes with time;

[0011] The computer is electrically connected to the automatic test circuit, and is used to control the operation of the automatic test circuit, store the voltage step response that changes with time, and calculate the time constant of the platinum resistance temperature sensor according to the voltage step response that changes with time;

[0012] The automatic test circuit of the time constant of the platinum resistance temperature sensor includes: a main control circuit controlled by a synchronous clock, a voltage monitoring module, a current monitoring module, and a constant current source;

[0013] The main control circuit is connected to the control end of the constant current source to control the current size and on / off of the constant current source; the constant current source supplies voltage to the product under test, the current monitoring module is used to monitor the output current of the constant current source, and the voltage monitoring module is used to collect the output voltage of the product under test.

[0014] Further, the constant current source includes resistors R27, R28, R29, R30, R32, R39, R40, R41, capacitors C23, C40, C41, C46, ​​C47, C49, transistors Q1, Q4, Q7, switch S2, and control chip U5;

[0015] The GND port of U5 is grounded, the DVCC terminal is connected to a high level, the FAULT terminal is connected to a high level through R32 or the FAULT signal is directly introduced, the CLEAR terminal is connected to a high level through R31, the LATCH terminal is connected to a high level through R30, the SCLK terminal is connected to a high level through R29, the SDIN terminal is connected to a high level through R28, the SDO terminal is connected to a high level through R27, the AVCC terminal is connected to DC24V+, the CAP2 terminal is connected to the AVCC terminal through capacitor C42, the CAP1 terminal is connected to the AVCC terminal through C43, and the BOOST terminal is connected to Q1 The collector of Q7 is connected to the base of Q1, and the emitter of Q1 is connected to the IOUT terminal through the resistor R9. The DVCCs terminal is grounded, REFin and REFout are grounded together through C41, the Rset terminal is grounded through R38, and the output terminal of Q1 and the input terminal of AVCC are connected to the input terminal of S2 through R40; the control terminal of Q7 is connected to the SW1 signal, the input terminal is connected to the high level, the output terminal is connected to the control unit of Q4, the output terminal of Q4 is grounded, the input terminal of Q4 is connected to the control terminal of S2, and the output terminal of S2 outputs a constant current to the product under test.

[0016] Further, the voltage monitoring module includes: resistors R37, R33, R48, R35, R15, R18, R19, R20, operational amplifiers U4A, U4B, voltage reference U8, ADC circuit U6, capacitors C55, C54, C53, C52, C51, C30, C29, C28, C27;

[0017] Among them, the IO signal is input to the positive input terminal of U4A through a resistor, a high level is input to the control terminal of U4A, the negative input terminal of U4A is connected to the output terminal of U4A, the output terminal of U4A is connected to the positive input terminal of U4B through a resistor R33, the negative input terminal of U4B is connected to the output terminal of U4B, the output terminal is connected to the IN+ terminal of U6 through R35, the IN- terminal and the GND terminal of U6 are grounded, the VADD terminal and DVDD terminal of U6 are connected to a high level, the SDI terminal, SCK terminal, SDO terminal and CONV terminal of U6 are connected to a high level through a resistor, the VREF terminal of U6 is connected to the VOUT terminal of U8, the VIN terminal of U8 is connected to a high level, the GND terminal of U8 is grounded, and TRIM is grounded through C53.

[0018] Furthermore, the main control circuit includes a main control chip,

[0019] The VBAT and VDD_3 of the main control chip are connected to a high level, the P13 terminal is connected to the LED, the PD0-OSC_IN terminal is connected to OSC1, the PD0-OSC_OUT terminal is connected to OSC0, the NRST terminal is connected to RESET, the PC0 terminal is connected to ADC0, the PA1 terminal is connected to START, the PA2 terminal is connected to TIME_PLUS, the PA4-PA7 terminals are connected to the SDI, SCK and SDO terminals of U6, the PC4 terminal is connected to the CONV terminal of U6, the PB1 terminal is connected to the control terminal of Q7, the PB2 terminal is connected to SW, the VSS_1 terminal is grounded, the VDD_1 terminal is connected to a high level, the VDD_2 terminal is connected to a high level, the VSS_2 terminal is grounded, and the PA13 terminal is connected to SWDAT JTMS, PA14 is connected to SWCLK_JTCK, PA12 is connected to CANTX1, PA11 is connected to CANRX1, PC8, PC9, PA8 and PA9 are connected to the address, PC7 is connected to the CLEAR terminal of U2, PC6 is connected to the LATCH terminal of U2, PB15 is connected to SDO, PB14 is connected to the SDIN terminal of U2, PB13 is connected to the SCLK terminal of U2, PB12 is connected to the FAULT terminal of U2, VSS_3 is grounded, BOOT0 is connected to the BOOT0 signal, PB3 is connected to LED1, PC11 is connected to RX4, and PC10 is connected to TX4.

[0020] Furthermore, the current range of the constant current source is 0.1-15 mA.

[0021] Furthermore, the voltage acquisition module realizes a method for synchronous acquisition of 3 to 10 channels, which is characterized by using a synchronous clock signal to control a high-speed ADC conversion circuit to perform voltage acquisition with an adjustable acquisition rate of 0.5 Hz to 1000 Hz.

[0022] Furthermore, the voltage monitoring module uses a low input leakage voltage acquisition circuit composed of U4, AD823 and peripheral circuits, and is combined with a high-speed ADC conversion circuit to achieve low error measurement.

[0023] In a second aspect, a method for automatically testing the time constant of a multi-channel platinum resistance temperature sensor is provided, characterized in that it includes:

[0024] Get the voltage step response over time;

[0025] Find the time of the first sudden increase from the step response that changes with time, and use this time as the starting time t1 of the temperature step;

[0026] Calculate the voltage value V corresponding to 63.2% of the output voltage of the platinum resistance temperature sensor in the step environment τ ;

[0027] From the voltage step response over time, find the voltage τ The time t2 corresponding to the voltage value with the smallest difference;

[0028] The difference between t1 and t2 is taken as the time constant τ of the platinum resistance temperature sensor.

[0029] Furthermore, we search for the time of the first sudden increase, including:

[0030] Find the maximum value of the difference between the average values ​​of the product output voltage between each small time period at the beginning of the test, and take the middle point of the two small time periods that produce the maximum difference as the starting time of the temperature step.

[0031] Beneficial effects:

[0032] The test system of the present invention integrates the power supply and measurement functions of the constant current source and the oscilloscope, and proposes a new measurement data analysis, processing and calculation method in the calculation of time constants. The digital oscilloscope, the computer equipped with a high-speed digital-to-analog converter or the digital voltmeter is no longer used to collect the product step voltage, and the waveform curve is manually identified through the curve formed on the screen, and the time constant is calculated after the step voltage output by the platinum resistance temperature sensor is read. The hardware circuit structure of the present invention is simple, and the standard equipment is replaced. At the same time, it has high measurement accuracy, and the automatic test method avoids manual errors. It is suitable for multi-channel time constant automatic testing of platinum resistance temperature sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is the schematic diagram of the test system structure.

[0034] Figure 2 This is the circuit diagram of a constant current source.

[0035] Figure 3 This is the circuit diagram of the voltage monitoring module.

[0036] Figure 4 This is the main control circuit diagram.

[0037] Figure 5 This is the temperature sensor output voltage step response curve.

[0038] Figure 6 This is a schematic diagram of data near the starting point of the temperature sensor output voltage step response curve. DETAILED DESCRIPTION

[0039] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0040] A method for realizing 3-10 channel synchronous acquisition by controlling multiple voltage acquisition modules through synchronous clock, characterized in that a high-speed ADC conversion circuit is controlled by using a synchronous clock signal to perform voltage acquisition with adjustable acquisition rate of 0.5 Hz to 1000 Hz.

[0041] The invention provides a voltage measurement method for realizing low error, which uses a low input leakage current acquisition circuit and is combined with a high-speed ADC conversion circuit to realize low error measurement.

[0042] The present invention provides an automatic analysis and calculation method for the temperature output step voltage of a platinum resistance temperature sensor, which can automatically identify the starting point and end point of the temperature output step voltage of the platinum resistance temperature sensor through an automatic test program, and replace the manual selection of the starting point and stable point of the product output step curve.

[0043] like Figure 1 The computer and multi-channel platinum resistance temperature sensor time constant automatic testing circuit shown in the figure collect the voltage step response output by the temperature sensor that changes with time. The computer is electrically connected to the automatic testing circuit to control the operation of the automatic testing circuit, store the voltage step response that changes with time, and calculate the time constant of the platinum resistance temperature sensor based on the voltage step response that changes with time.

[0044] The automatic test circuit of the time constant of the platinum resistance temperature sensor includes: a main control circuit controlled by a synchronous clock, a voltage monitoring module, a current monitoring module, and a constant current source.

[0045] The main control circuit is connected to the control end of the constant current source to control the current size and on / off of the constant current source; the constant current source supplies voltage to the product under test, the current monitoring module is used to monitor the output current of the constant current source, and the voltage monitoring module is used to collect the output voltage of the product under test.

[0046] like Figure 2 As shown, the Hengli source control chip U2 receives the current output instruction sent by the main control circuit main control chip U1 and outputs a constant current to the product under test through S2.

[0047] like Figure 3 As shown, the IO signal is input to the positive input terminal of U4A through a resistor, a high level is input to the control terminal of U4A, the negative input terminal of U4A is connected to the output terminal of U4A, the output terminal of U4A is connected to the positive input terminal of U4B through a resistor R33, the negative input terminal of U4B is connected to the output terminal of U4B, the output terminal is connected to the IN+ terminal of U6 through R35, the IN- terminal and the GND terminal of U6 are grounded, the VADD terminal and the DVDD terminal of U6 are connected to a high level, the SDI terminal, the SCK terminal, the SDO terminal and the CONV terminal of U6 are connected to a high level through a resistor, the VREF terminal of U6 is connected to the VOUT terminal of U8, the VIN terminal of U8 is connected to a high level, the GND terminal of U8 is grounded, TRIM is grounded through C53, TEMP is grounded through C52 and C27 respectively, the voltage signal output by the product to be tested is collected, and is sent through the main control circuit main control chip U1 and stored in the computer.

[0048] like Figure 4As shown, the charge chip is connected to the computer, constant current source and current monitoring module, and voltage monitoring module respectively, receives the test software instruction, controls the constant current source and voltage monitoring module to work, sends the test data and stores it in the computer.

[0049] like Figure 5 As shown in the figure, the output curve of the platinum resistance temperature sensor has a sudden increase at the beginning of the temperature output step voltage step. The starting point of the temperature step can be found by judging the value change of the step curve. In order to make the data calculation more accurate, Figure 6 As shown, the maximum value of the difference between the average values ​​of the product output voltage between each small time period at the beginning of the test is calculated, and the middle point of the two time periods that produce the maximum difference in the curve can be used as the starting time of the temperature step.

[0050] During the test, the slope of the temperature output step voltage curve of the platinum resistance temperature sensor is continuously monitored. When the slope is negative or increases, it is determined that the test is abnormal.

[0051] like Figure 6 As shown, after three times the time constant, the response curve rises to 95% of the steady-state value, and after four times the time constant, the response curve reaches 98.2% of the steady-state value. Entering the adjustment time of the step response, the curve finally converges near the steady-state value, and the time when the voltage output of the platinum resistance temperature sensor reaches 98.2% of the output voltage corresponding to the step environment is taken as the end time.

[0052] The system calculates the voltage value V corresponding to 63.2% of the output voltage of the platinum resistance temperature sensor in the step environment τ , automatically find the corresponding V τ The time corresponding to the voltage value with the smallest difference is used to obtain the time constant τ of the platinum resistance temperature sensor.

Claims

1. A multi-channel platinum resistance temperature sensor time constant automatic testing system, characterized in that: include: Computer and multi-channel platinum resistance temperature sensor time constant automatic testing circuit; The automatic time constant test circuit of the platinum resistance temperature sensor is used to collect the voltage step response of the temperature sensor output that changes with time; The computer is electrically connected to the automatic test circuit, and is used to control the operation of the automatic test circuit, store the voltage step response that changes with time, and calculate the time constant of the platinum resistance temperature sensor according to the voltage step response that changes with time; The automatic test circuit of the time constant of the platinum resistance temperature sensor includes: a main control circuit controlled by a synchronous clock, a voltage monitoring module, a current monitoring module, and a constant current source; The main control circuit is connected to the control end of the constant current source to control the current size and on / off of the constant current source; the constant current source supplies voltage to the product under test, the current monitoring module is used to monitor the output current of the constant current source, and the voltage monitoring module is used to collect the output voltage of the product under test.

2. The test system according to claim 1, characterized in that: The constant current source includes resistors R27, R28, R29, R30, R32, R39, R40, R41, capacitors C23, C40, C41, C46, ​​C47, C49, transistors Q1, Q4, Q7, switch S2, and control chip U5; The GND port of U5 is grounded, the DVCC terminal is connected to a high level, the FAULT terminal is connected to a high level through R32 or the FAULT signal is directly introduced, the CLEAR terminal is connected to a high level through R31, the LATCH terminal is connected to a high level through R30, the SCLK terminal is connected to a high level through R29, the SDIN terminal is connected to a high level through R28, the SDO terminal is connected to a high level through R27, the AVCC terminal is connected to DC24V+, the CAP2 terminal is connected to the AVCC terminal through capacitor C42, the CAP1 terminal is connected to the AVCC terminal through C43, and the BOOST terminal is connected to Q1 The collector of Q7 is connected to the base of Q1, and the emitter of Q1 is connected to the IOUT terminal through the resistor R9. The DVCCs terminal is grounded, REFin and REFout are grounded together through C41, the Rset terminal is grounded through R38, and the output terminal of Q1 and the input terminal of AVCC are connected to the input terminal of S2 through R40; the control terminal of Q7 is connected to the SW1 signal, the input terminal is connected to the high level, the output terminal is connected to the control unit of Q4, the output terminal of Q4 is grounded, the input terminal of Q4 is connected to the control terminal of S2, and the output terminal of S2 outputs a constant current to the product under test.

3. The test system according to claim 1, characterized in that: The voltage monitoring module includes: resistors R37, R33, R48, R35, R15, R18, R19, R20, operational amplifiers U4A, U4B, voltage reference U8, ADC circuit U6, capacitors C55, C54, C53, C52, C51, C30, C29, C28, C27; Among them, the IO signal is input to the positive input terminal of U4A through a resistor, a high level is input to the control terminal of U4A, the negative input terminal of U4A is connected to the output terminal of U4A, the output terminal of U4A is connected to the positive input terminal of U4B through a resistor R33, the negative input terminal of U4B is connected to the output terminal of U4B, the output terminal is connected to the IN+ terminal of U6 through R35, the IN- terminal and the GND terminal of U6 are grounded, the VADD terminal and DVDD terminal of U6 are connected to a high level, the SDI terminal, SCK terminal, SDO terminal and CONV terminal of U6 are connected to a high level through a resistor, the VREF terminal of U6 is connected to the VOUT terminal of U8, the VIN terminal of U8 is connected to a high level, the GND terminal of U8 is grounded, and TRIM is grounded through C53.

4. The test system according to claim 3, characterized in that: The main control circuit includes a main control chip, The VBAT and VDD_3 of the main control chip are connected to a high level, the P13 terminal is connected to the LED, the PD0-OSC_IN terminal is connected to OSC1, the PD0-OSC_OUT terminal is connected to OSC0, the NRST terminal is connected to RESET, the PC0 terminal is connected to ADC0, the PA1 terminal is connected to START, the PA2 terminal is connected to TIME_PLUS, the PA4-PA7 terminals are connected to the SDI, SCK and SDO terminals of U6, the PC4 terminal is connected to the CONV terminal of U6, the PB1 terminal is connected to the control terminal of Q7, the PB2 terminal is connected to SW, the VSS_1 terminal is grounded, the VDD_1 terminal is connected to a high level, the VDD_2 terminal is connected to a high level, the VSS_2 terminal is grounded, and the PA13 terminal is connected to SWDAT JTMS, PA14 is connected to SWCLK_JTCK, PA12 is connected to CANTX1, PA11 is connected to CANRX1, PC8, PC9, PA8 and PA9 are connected to the address, PC7 is connected to the CLEAR terminal of U2, PC6 is connected to the LATCH terminal of U2, PB15 is connected to SDO, PB14 is connected to the SDIN terminal of U2, PB13 is connected to the SCLK terminal of U2, PB12 is connected to the FAULT terminal of U2, VSS_3 is grounded, BOOT0 is connected to the BOOT0 signal, PB3 is connected to LED1, PC11 is connected to RX4, and PC10 is connected to TX4.

5. The test system according to claim 1, characterized in that: The current range of the constant current source is 0.1-15mA.

6. The test system according to claim 1, characterized in that: The method for realizing 3-10 channel synchronous acquisition by a voltage acquisition module is characterized in that a high-speed ADC conversion circuit is controlled by a synchronous clock signal to perform voltage acquisition with an adjustable acquisition rate of 0.5 Hz to 1000 Hz.

7. The test system according to claim 1, characterized in that: The voltage monitoring module uses a low input leakage voltage acquisition circuit composed of U4, AD823 and peripheral circuits, and is combined with a high-speed ADC conversion circuit to achieve low error measurement.

8. A method for automatically testing the time constant of a multi-channel platinum resistance temperature sensor, characterized in that: include: Get the voltage step response over time; Find the time of the first sudden increase from the step response that changes with time, and use this time as the starting time t1 of the temperature step; Calculate the voltage value V corresponding to 63.2% of the output voltage of the platinum resistance temperature sensor in the step environment τ ; From the voltage step response over time, find the voltage τ The time t2 corresponding to the voltage value with the smallest difference; The difference between t1 and t2 is taken as the time constant τ of the platinum resistance temperature sensor.

9. The method according to claim 8, characterized in that Find the time of the first spike, including: Find the maximum value of the difference between the average values ​​of the product output voltage between each small time period at the beginning of the test, and take the middle point of the two small time periods that produce the maximum difference as the starting time of the temperature step.