Signal acquisition circuit for array resistance type pressure sensor

By designing a signal acquisition circuit for array resistive pressure sensors, using ESP32 series chips and 12-bit ADCs for resistance signal acquisition and data transmission, the problem of complex design and low accuracy of resistance measurement circuits in the prior art is solved, and the problem of low accuracy is realized. High-precision resistance signal acquisition and data transmission simplifies the use of hardware resources.

CN221959657UActive Publication Date: 2024-11-05XIAMEN UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202323031019.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2024-11-05
Estimated Expiration
2033-11-10

AI Technical Summary

Technical Problem

The resistance measurement circuit of existing array resistive pressure sensors is complex in design and has low accuracy, especially while reducing hardware resources, it is difficult to take into account the accuracy of resistance measurement and the simplicity of the circuit.

Method used

A signal acquisition circuit for array resistive pressure sensors is designed, including main control module, gate module, serial port module and power supply module. The ESP32 series chips and 12-bit ADC are used for resistance signal acquisition and data transmission, and row-to-sequence scanning is used. Reduce hardware resource usage and provide stable voltage through power modules to improve measurement accuracy.

Benefits of technology

It realizes high-precision acquisition and data transmission of resistor signals, reduces the use of hardware resources, improves the accuracy of resistance measurement, and simplifies circuit design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221959657U_ABST
    Figure CN221959657U_ABST
Patent Text Reader

Abstract

The utility model discloses a signal acquisition circuit used for an array resistance type pressure sensor, comprising a main control module which is connected with a gating module so as to control the gating module to gate required resistors, is connected with an array resistor so as to acquire sensing signals of the array resistor, and is connected with a serial port module so as to send the acquired sensing signals; the gating module is connected with the array resistor so as to gate the required resistor; the serial port module is connected with the upper computer so as to send a sensing signal; and the power supply module is connected with the main control module and the array resistor to supply power. According to the utility model, the functions of resistance signal measurement and data transmission are integrated, and resistance signal acquisition and resistance signal data transmission can be completed; the resistance values of multiple resistors are measured in a row-column scanning mode, so that the use of hardware resources is reduced; and a 12-bit ADC (Analog to Digital Converter) arranged in the single chip microcomputer is used, so that the resistance signal acquisition precision can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of integrated circuits and communications, and in particular to a signal acquisition circuit for an array resistance pressure sensor. Background Art

[0002] An array resistive pressure sensor is a sensor composed of multiple resistor sensors, which is used to measure the pressure applied by an object on the sensor surface. Its working principle is to quantitatively determine the pressure by measuring the change in resistance value. This sensor plays an important role in many fields, such as brake system monitoring in the automotive industry, vital signs monitoring in medical equipment, and process control in industrial production. Due to its compact structure, fast response speed and high-precision pressure measurement, array resistive pressure sensors are widely used in academia and industry, providing a reliable measurement method for research and control of various pressure-related applications.

[0003] According to the characteristics of resistors, to measure the resistance value of a resistor, it is necessary to measure the voltage or current. Therefore, a circuit that measures the voltage or current must be designed for the resistance value of the resistor. The circuit must measure the resistance value of the resistor and display the measured resistance value.

[0004] At present, there are two ways to measure resistor arrays: sequential scanning and row and column scanning. The most obvious difference between these two methods is the amount of hardware resources required. Sequential scanning requires more hardware resources and is easier to implement. Row and column scanning requires fewer hardware resources, but there will be problems with resistor crosstalk, which is difficult to implement. Traditional measurement methods include multimeter measurement method, four-wire constant current method, constant voltage test method, and large pulse current measurement method. The traditional resistance signal measurement method has a complex detection circuit design and low measurement accuracy.

[0005] In summary, there are few studies on the methods and approaches for measuring array resistors. While reducing hardware resources, the accuracy of resistance measurement must be taken into account, and the simplicity and systematicness of the circuit must also be considered. Utility Model Content

[0006] The purpose of the utility model is to solve the problem of complex design and low precision of acquisition circuit in the prior art.

[0007] The technical solution adopted by the utility model to solve the technical problem is: to provide a signal acquisition circuit for an array resistive pressure sensor, comprising:

[0008] A main control module is connected to the gating module to control the gating module to select the required resistor, connected to the array resistor to collect the sensing signal of the array resistor, and connected to the serial port module to send the collected sensing signal;

[0009] A gating module connected to the array resistor to gating a required resistor;

[0010] Serial port module, connected to the host computer to send sensor signals;

[0011] The power module is connected to the main control module and the array resistor to provide power.

[0012] Preferably, the main control module includes a main control chip and a reset circuit, and the reset circuit includes a fifth resistor, a sixth resistor, a first touch switch and a seventh capacitor; one end of the fifth resistor is connected to a 3.3V voltage, and the other end of the fifth resistor is connected to an enable end of the main control chip; the other end of the fifth resistor is also connected to one end of the seventh capacitor and one end of the sixth resistor respectively, the other end of the seventh capacitor is grounded, the other end of the sixth resistor is connected to one end of the first touch switch, and the other end of the first touch switch is grounded.

[0013] Preferably, the main control chip is an ESP32 series chip.

[0014] Preferably, the array resistor is a 6×9 array resistor, and the selection module includes fifteen switches, wherein the first switch to the ninth switch are respectively connected to the nine resistor columns of the array resistor, and the tenth switch to the fifteenth switch are respectively connected to the six resistor rows of the array resistor.

[0015] Preferably, the serial port module specifically includes: a third resistor, a fourth resistor, a fifth capacitor, a sixth capacitor, a third LED lamp, a fourth LED lamp and a serial port chip; the third resistor and the fourth resistor are current limiting resistors; the signal sending port of the serial port chip is connected to the signal receiving port of the main control module, the signal sending port of the serial port chip is also connected to the positive electrode of the fourth LED lamp, the negative electrode of the fourth LED lamp is connected to one end of the fourth resistor, and the other end of the fourth resistor is grounded; the signal receiving port of the serial port chip is connected to the signal sending port of the main control module, and the signal of the serial port chip The receiving port is also connected to the positive pole of the third LED lamp, the negative pole of the third LED lamp is connected to one end of the third resistor, and the other end of the third resistor is grounded; the third resistor is connected in series with the third LED lamp, and one end is connected to the third LED lamp, and the other end is connected to the ground; the fourth resistor is connected in series with the fourth LED lamp, and one end is connected to the fourth LED lamp, and the other end is connected to the ground; the fifth capacitor and the sixth capacitor are filter capacitors, one end of the fifth capacitor is connected to the power supply 5V, and the other end is connected to the ground; one end of the sixth capacitor is connected to the V3 power port of the serial port chip, and the other end is connected to the ground.

[0016] Preferably, the power module includes: a first resistor, a second resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first LED lamp, a second LED lamp, a first power linear voltage regulator chip, and a second power linear voltage regulator chip;

[0017] The input end of the first power supply linear voltage regulator chip is connected to one end of the first capacitor, and the other end of the first capacitor is grounded; the output end of the first power supply linear voltage regulator chip is connected to one end of the second capacitor, and the other end of the second capacitor is grounded; the output end of the first power supply linear voltage regulator chip is also connected to one end of the first resistor, and the other end of the first resistor is connected to the positive electrode of the first LED lamp, and the negative electrode of the first LED lamp is grounded;

[0018] The input end of the second power supply linear voltage regulator chip is connected to one end of the third capacitor, and the other end of the third capacitor is grounded; the output end of the second power supply linear voltage regulator chip is connected to one end of the fourth capacitor, and the other end of the fourth capacitor is grounded; the output end of the second power supply linear voltage regulator chip is also connected to one end of the second resistor, the other end of the second resistor is connected to the positive pole of the second LED lamp, and the negative pole of the second LED lamp is grounded.

[0019] Preferably, the host computer is connected to the selection module and the serial port module via a USB Type-C interface to provide power.

[0020] The utility model has the following beneficial effects:

[0021] (1) Integrate the functions of measuring resistance signals and data transmission, and can complete resistance signal acquisition and resistance signal data transmission;

[0022] (2) Use row and column scanning to measure the resistance of multiple resistors and reduce the use of hardware resources;

[0023] (3) Using the built-in 12-bit ADC of the microcontroller can effectively improve the accuracy of resistance signal acquisition.

[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments, but the present invention is not limited to the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a structural block diagram of an embodiment of the utility model;

[0026] Figure 2 This is a circuit diagram of the main control module of an embodiment of the utility model;

[0027] Figure 3 A schematic diagram of a gating module according to an embodiment of the utility model;

[0028] Figure 4 A circuit diagram of a serial port module according to an embodiment of the present utility model;

[0029] Figure 5 This is a circuit diagram of a power module according to an embodiment of the present utility model. DETAILED DESCRIPTION

[0030] See also Figure 1 As shown, it is a structural block diagram of an embodiment of the utility model, including:

[0031] The main control module 2 includes a serial port, an analog-to-digital converter ADC and an IO port; the main control module 2 is connected to the gating module 5 through the IO port to control the gating module 5 to grate the required resistor, the analog-to-digital converter ADC is connected to the resistor array 3 to collect the sensor signal and perform analog-to-digital conversion, and the main control module 2 is connected to the serial port module 1 through the serial port to send the collected sensor signal;

[0032] The serial port module 1 is connected to the serial port of the main control module 2 and the Type-C interface of the host computer 6 respectively, converts the serial port data of the main control module 2 into USB data and sends it to the host computer 6;

[0033] The selection module 5 receives the selection signal from the main control module and selects the resistors in the resistor array 3.

[0034] The power module 4 provides a 3.3V voltage for the serial port module 1 , the main control module 2 , the selection module 5 and the resistor matrix 3 .

[0035] See also Figure 2 As shown, it is a circuit diagram of the main control module of an embodiment of the utility model, including a main control chip U4 and a reset circuit 10, the reset circuit 10 includes: a fifth resistor R5, a sixth resistor R6, a first touch switch SW1, and a seventh capacitor C7; the fifth resistor R5 is connected to one end C7 of the seventh capacitor, the other end of the seventh capacitor C7 is connected to the ground, the sixth resistor R6 is connected in series with the first touch switch SW1, and is connected in parallel with the seventh capacitor C7, and the first touch switch SW1 is connected to the ground.

[0036] The main control module 2 uses an internal crystal oscillator and a reset circuit 10 because the main control chip U4 has a built-in 40MHZ crystal oscillator to form a minimum system. Therefore, the main control chip U4 uses an ESP32 series chip, which does not require too many external circuit drivers, reducing the components required for the entire circuit.

[0037] The 3.3V voltage provided by the power module 4 is connected to the first pin, the third pin, the fourth pin, the nineteenth pin, the thirty-seventh pin, the forty-third pin and the forty-sixth pin of the main control chip U4; the ninth pin of the main control chip U4 is respectively connected to one end of the fifth resistor R5, one end of the seventh capacitor C7 and one end of the sixth resistor R6, the other end of the fifth resistor R5 is connected to the 3.3V voltage provided by the power module 4, the other end of the seventh capacitor C7 is grounded, the other end of the sixth resistor R6 is connected to one end of the first switch 21, and the other end of the first switch 21 is grounded; the forty-ninth pin of the main control chip U4 is grounded.

[0038] See also Figure 3 As shown, it is a schematic diagram of the selection module of an embodiment of the utility model, which specifically includes: it is composed of multiple single-pole double-throw switches SW1 to SW15, including a row selection 31 and a column selection 32. The row selection provides a stable voltage value for the selected resistor row, and the column selection selects the resistor to be measured. The selected resistor is connected to the ADC, and the voltage value of the selected resistor voltage is sent to the ADC.

[0039] SW1 to SW9 are respectively connected to the nine columns of resistors in the array resistor, and SW10 to SW15 are respectively connected to the six rows of resistors in the array resistor. Specifically, SWi is respectively connected to one end of the six resistors in the i-th column, i∈[1,9]; SWj is respectively connected to the other end of the nine resistors in the j-th row, j∈[1,6].

[0040] The gating module of this embodiment uses an integrated chip, which can better reduce the area of ​​the PCB board, and the chip only needs +5V for power supply. The +5V of USB Type-C is used to power the gating chip, and the voltage of each resistor is measured by gating. According to the voltage value and the resistance value of the voltage divider resistor, each resistance value of the resistor array can be calculated. The switch in the chip is a four-channel single-pole double-throw switch, and each single-pole double-throw switch has a separate control port. The gating of the single-pole double-throw switch is controlled by the IO port of the main control chip U4.

[0041] This embodiment uses a 12-bit ADC to measure the resistor array, and the supply voltage of the resistor array is +3.3V, so the resolution of the measurement circuit is 3300 / 4096≈0.805mV, and the speed of opening and closing the analog switch is in nanoseconds, so it can be obtained that the switching time will not affect the acquisition of the resistance signal. In this embodiment, using the row and column scanning method, the 6*9 resistor array requires 15 IO ports to control the gating of the switch. The ESP32 series board can meet the requirements, and in addition to the 15 IO ports, other ports are reserved. The built-in ADC of the ESP32 main control board can be used to reduce the use of components.

[0042] In this embodiment, the serial port chip U3 uses CH340K, and the pin 10 of the main control chip U4 is used as the ADC input, that is, the channel 6 of the ADC1 of the ESP32 development board. The serial port is UART0, and the 40th and 41st pins of the main control chip are U0RXD and U0TXD respectively; these two ports are respectively connected to the TXD and RXD of CH340K. The main control sends the measured voltage value through the serial port, and then converts the TTL level signal to USB through CH340K. The USB interface is directly connected to the host computer 6, and the host computer 6 can obtain the resistance value of the measured resistor array.

[0043] Serial port module circuit diagram Figure 4 As shown, it specifically includes: a third resistor R3, a fourth resistor R4, a fifth capacitor C5, a sixth capacitor C6, a third LED lamp, a fourth LED lamp and a serial port chip U3; the third LED lamp is connected in series with the third resistor R3, one end of the third LED lamp is connected to TXD of the serial port chip U3, the other end is connected to one end of the third resistor R3, and the other end of the third resistor R3 is connected to ground; the fourth LED lamp is connected in series with the fourth resistor R4, one end of the fourth LED lamp is connected to RXD of the serial port chip U3, the other end is connected to one end of the fourth resistor R4, and the other end of the fourth resistor R4 is connected to ground; the RXD of the serial port chip U3 is connected to TXD of the main control module, and the TXD of the serial port chip U3 is connected to RXD of the main control module.

[0044] The serial port chip U3 of the serial port module 1 is powered by 5V from the host computer 6 via USB Type-C, and the third resistor R3 and the fourth resistor R4 are current limiting resistors; when the level values ​​of the RXD port and the TXD port of the serial port chip U3 change, the third LED light and the fourth LED light will light up and go out with the change of the level value, indicating whether the serial port sends and receives data. The UD+ and UD- of the serial port chip U3 are respectively connected to the D- and D+ of the USB TypeC interface, and are used to transmit the resistance value converted into the serial port signal to the USB TypeC interface, and the USB TypeC interface is directly connected to the host computer 6.

[0045] When the serial port module 1 receives 5V power supply, the V3 port of the serial port chip U3 needs to add filter capacitors, namely the fifth capacitor C5 and the sixth capacitor C6, to filter out high-frequency noise and interference in the power supply and provide a stable and pure power signal to the serial port chip. This helps to reduce the negative impact of power supply interference on signal transmission and chip performance, and improve the reliability and stability of communication.

[0046] See also Figure 5As shown, it is a circuit diagram of part of the power module of an embodiment of the utility model, specifically including a circuit 8 for powering the main control circuit and a circuit 7 for powering the resistor array, the circuit 8 includes a first resistor R1, a first capacitor C1, a second capacitor C2, a first LED lamp and a first linear voltage regulator chip U1, the circuit 7 includes a second resistor R2, a third capacitor C3, a fourth capacitor C4, a second LED lamp and a second linear voltage regulator chip U2; the first capacitor C1, the second capacitor C2, the third capacitor C3 and the fourth capacitor C4 are filter capacitors, the first capacitor C1 and the third capacitor C3 are connected to a DC power supply 5V, and to the input end of the linear voltage regulator chip, and the other end is connected to the ground, the second capacitor C2 and the fourth capacitor C4 are connected to the output end of the linear voltage regulator chip, and the other end is connected to the ground; the first resistor is connected in series with the first LED lamp, and the second resistor is connected in series with the second LED lamp.

[0047] The power module 4 mainly realizes voltage reduction through a linear voltage regulator chip, samples the output voltage, and then feeds it back to the regulation circuit to adjust the impedance of the output stage adjustment tube. When the output voltage is low, the impedance of the output stage is adjusted to be smaller to reduce the voltage drop of the adjustment tube. When the output voltage is high, the impedance of the output stage is adjusted to be larger to increase the voltage drop of the adjustment tube, thereby maintaining the stability of the output voltage; +3V3 is used to power the chip, and VCC_3V3 is used to power the resistor array. In order to ensure that the voltage of each part of the circuit is sufficient and there is no voltage shortage, a separate power supply method is adopted.

[0048] The functions of the power module 4 of this embodiment are mainly divided into three parts: voltage conversion, power filtering and power conversion indication; among them, the power filtering adopts the first capacitor C1, the second capacitor C2, the third capacitor C3 and the fourth capacitor C4 to filter out the high-frequency noise and interference in the power supply; the power conversion indication is completed through the LED light, when the linear voltage regulator chip outputs the converted voltage, the first LED light and the second LED light will be lit.

[0049] As shown in Table 1, it is a display diagram of the host computer of an embodiment of the utility model, which is the resistance value of the 6*9 resistor array collected by the acquisition circuit. The sensor signal collected by the ADC is a voltage value, and the ESP32 development board converts the voltage value collected by the ADC into a resistance value.

[0050] Table 1

[0051]

[0052] The present embodiment was tested, and the resistors in the array of the present embodiment were all about 10.53M ohms (measured by a multimeter, ±0.1MΩ), and the resistance values ​​were displayed in the form of six rows and nine columns, and the six rows and nine columns corresponded to the resistance values ​​of the 6*9 resistor array. The measured resistance values ​​are shown in Table 2:

[0053] Table 2

[0054]

[0055] Calculate the deviation between the measured resistance value and the actual resistance value (the deviation is the comparison between the measured value and 10.53M), as shown in Table 3:

[0056] Table 3

[0057] 0.17 0.2 0.13 0.2 0.21 -0.31 -0.32 -0.45 -0.34 -0.51 -0.51 -0.51 -0.51 -0.51 -0.51 0.28 0.32 0.39 0.28 0.19 0.34 0.3 0.26 0.36 0.34 0.28 0.28 0.19 0.19 0.19 0.28 0.19 0.15 0.23 0.19 0.13 0.12 0.07 -0.14 -0.07 -0.2 -0.07 -0.14 -0.17 -0.05 0 -0.07 -0.02 -0.05 0 0.11 0 0.01 -0.16

[0058] From Table 3, we can see that the maximum deviation is 0.51, and the error is less than 5%.

[0059] In addition, this embodiment collects large resistance signals and uses a voltage division method. There are currently two methods for collecting resistance signals. The constant current method is suitable for use when the resistance is small, and the voltage division method is suitable for use when the resistance is large. Through the voltage division method, the measurable range of the ADC is 150mV-2450mV. Through the voltage division method, the range of measurable resistance can be determined according to the size of the voltage division resistance. It can be obtained that the measurement range of the circuit for measuring the resistance signal of the resistor array is very large. It can be obtained from the supply voltage of the resistor array of this embodiment that the measurable range is 0.25-20 times the resistance of the voltage division resistance.

[0060] The above is only a specific implementation method of the utility model, but the design concept of the utility model is not limited to this. Any non-substantial changes to the utility model using this concept shall be deemed as an infringement of the protection scope of the utility model.

Claims

1. A signal acquisition circuit for an array resistive pressure sensor, characterized in that: include: A main control module is connected to the gating module to control the gating module to select the required resistor, connected to the array resistor to collect the sensing signal of the array resistor, and connected to the serial port module to send the collected sensing signal; A gating module connected to the array resistor to gating a required resistor; Serial port module, connected to the host computer to send sensor signals; The power module is connected to the main control module and the array resistor to provide power.

2. The signal acquisition circuit for array resistive pressure sensor according to claim 1, characterized in that: The main control module includes a main control chip and a reset circuit, and the reset circuit includes a fifth resistor, a sixth resistor, a first touch switch and a seventh capacitor; one end of the fifth resistor is connected to a 3.3V voltage, and the other end of the fifth resistor is connected to an enable end of the main control chip; the other end of the fifth resistor is also connected to one end of the seventh capacitor and one end of the sixth resistor respectively, the other end of the seventh capacitor is grounded, the other end of the sixth resistor is connected to one end of the first touch switch, and the other end of the first touch switch is grounded.

3. The signal acquisition circuit for array resistive pressure sensor according to claim 2, characterized in that: The main control chip is selected from the ESP32 series chip.

4. The signal acquisition circuit for array resistive pressure sensor according to claim 1, characterized in that: The array resistor is a 6×9 array resistor, and the selection module includes fifteen switches, wherein the first switch to the ninth switch are respectively connected to the nine resistor columns of the array resistor, and the tenth switch to the fifteenth switch are respectively connected to the six resistor rows of the array resistor.

5. The signal acquisition circuit for array resistive pressure sensor according to claim 1, characterized in that: The serial port module specifically includes: a third resistor, a fourth resistor, a fifth capacitor, a sixth capacitor, a third LED lamp, a fourth LED lamp and a serial port chip; the third resistor and the fourth resistor are current limiting resistors; the signal sending port of the serial port chip is connected to the signal receiving port of the main control module, the signal sending port of the serial port chip is also connected to the positive electrode of the fourth LED lamp, the negative electrode of the fourth LED lamp is connected to one end of the fourth resistor, and the other end of the fourth resistor is grounded; the signal receiving port of the serial port chip is connected to the signal sending port of the main control module, and the signal receiving port of the serial port chip is connected to the positive electrode of the fourth LED lamp. The port is also connected to the positive pole of the third LED lamp, the negative pole of the third LED lamp is connected to one end of the third resistor, and the other end of the third resistor is grounded; the third resistor is connected in series with the third LED lamp, and one end is connected to the third LED lamp, and the other end is connected to the ground; the fourth resistor is connected in series with the fourth LED lamp, and one end is connected to the fourth LED lamp, and the other end is connected to the ground; the fifth capacitor and the sixth capacitor are filter capacitors, one end of the fifth capacitor is connected to the power supply 5V, and the other end is connected to the ground; one end of the sixth capacitor is connected to the V3 power port of the serial port chip, and the other end is connected to the ground.

6. The signal acquisition circuit for array resistive pressure sensor according to claim 1, characterized in that: The power module includes: a first resistor, a second resistor, a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a first LED lamp, a second LED lamp, a first power linear voltage regulator chip and a second power linear voltage regulator chip; The input end of the first power linear voltage regulator chip is connected to one end of the first capacitor, and the other end of the first capacitor is grounded; The output end of the first power supply linear voltage regulator chip is connected to one end of the second capacitor, and the other end of the second capacitor is grounded; the output end of the first power supply linear voltage regulator chip is also connected to one end of the first resistor, and the other end of the first resistor is connected to the positive electrode of the first LED lamp, and the negative electrode of the first LED lamp is grounded; The input end of the second power supply linear voltage regulator chip is connected to one end of the third capacitor, and the other end of the third capacitor is grounded; the output end of the second power supply linear voltage regulator chip is connected to one end of the fourth capacitor, and the other end of the fourth capacitor is grounded; the output end of the second power supply linear voltage regulator chip is also connected to one end of the second resistor, the other end of the second resistor is connected to the positive pole of the second LED lamp, and the negative pole of the second LED lamp is grounded.

7. The signal acquisition circuit for array resistive pressure sensor according to claim 1, characterized in that: The host computer is connected to the strobe module and the serial port module via a USB Type-C interface to provide power.

Citation Information

Cited By

  • Flexible piezoresistive tactile sensor and signal acquisition method thereof

    CN120702635A