Intermediate frequency signal acquisition circuit with expandable channel number, key modules and acquisition method

Through the combination of MCU module board and multiple ADC module boards and module identification, common resources and configuration units, an intermediate frequency signal acquisition system with scalable channel number is realized, which solves the complexity and high cost of vibration signal acquisition system in the existing technology. problem, achieving flexible channel number expansion and efficient signal acquisition.

CN113098521BInactive Publication Date: 2024-10-15HARBIN UNIV OF SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202110413041.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-16
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing vibration signal acquisition system is complex and costly when faced with different environments and channel number requirements, making it difficult to achieve flexible channel number expansion, especially for the acquisition of intermediate frequency signals.

Method used

Through the combination of MCU module board and multiple ADC module boards, using module identification unit, common resource unit and module configuration unit, an intermediate frequency signal acquisition system with scalable channel number is realized, and SPI and QSPI communication are used for logical control to ensure that each channel Independent working and synchronous acquisition of channels.

Benefits of technology

It achieves flexible expansion of the number of channels within 64 channels, reduces system complexity and cost, and improves adaptability to a variety of sensors and signal collection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113098521B_ABST
    Figure CN113098521B_ABST
Patent Text Reader

Abstract

The invention discloses an intermediate frequency signal acquisition circuit with expandable channel number, a key module and an acquisition method, belonging to the field of signal acquisition processing; the intermediate frequency signal acquisition circuit with expandable channel number comprises a module identification unit, a common resource unit, a module configuration unit and an acquisition data and transmission unit; the intermediate frequency signal acquisition method with expandable channel number comprises an intermediate frequency signal acquisition method in the case of SPI data acquisition of a single ADC module and an intermediate frequency signal acquisition method in the case of QSPI data acquisition of multiple ADC modules; the invention realizes information interaction between one MCU module board and at most eight ADC module boards through module configuration and module identification, and the intermediate frequency signal acquisition system circuit with expandable channel number within 64 channels provides a bus directly connected to the MCU, the MCU module board provides resources to each ADC module board, and adopts a logic control method of SPI communication as the master and dual QSPI communication as the slave; multiple channels can be acquired synchronously and each channel can also maintain its working independence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses an intermediate frequency signal acquisition circuit with expandable channel number, a key module and an acquisition method, and belongs to the field of signal acquisition processing. Background Art

[0002] Mechanical vibration is everywhere in nature, and we can obtain a lot of useful information by observing mechanical vibration. Mechanical vibration can be sampled to discover its physical laws, so as to monitor the vibration of the target, discover the laws and apply the found physical laws. For example, monitoring of seismic waves can realize earthquake prediction, collection of vibration signals of aerospace equipment can realize performance monitoring, and collection of bridge vibration signals can realize bridge safety monitoring, etc. Therefore, it is essential to collect intermediate frequency vibration signals through sensors to realize signal collection and detection.

[0003] The actual application of vibration acquisition is flexible and varied, and different signal acquisition points are required in different environments. Rebuilding different systems takes a long time and is costly; if a complete bus data acquisition system such as VXI and PXI is used, it is too complicated and expensive. Therefore, in order to solve the needs of different numbers of targeted channels and overcome the above problems, a similar acquisition system is proposed using the latest achievements in the development of electronic technology, which is a synchronous acquisition system that can adapt to the scalable number of channels of intermediate frequency signals.

[0004] By combining one MCU module board with multiple ADC module boards, an IF signal acquisition system with expandable channels for multiple sensors can be realized. There are up to 8 ADC module boards, with a maximum of 64 channels and each channel can work independently. Summary of the invention

[0005] The purpose of the present invention is to realize information interaction between one MCU module board and up to eight ADC module boards through module configuration and module identification, and to provide an intermediate frequency signal acquisition system circuit with expandable channel number within 64 channels, and to provide a bus directly connected to the MCU, wherein the MCU module board provides resources to each ADC module board, and adopts a logic control method in which SPI communication is the master and dual QSPI communication is the slave. The present invention can synchronously acquire multiple channels and each channel can also maintain its working independence.

[0006] The object of the present invention is achieved in that:

[0007] An intermediate frequency signal acquisition circuit with expandable channel number includes a module identification unit, a common resource unit, a module configuration unit and a data acquisition and transmission unit;

[0008] The module identification unit is composed of a 4-bit data comparator 74HC85, a 4-bit dip switch and 2 or 3 shift registers 74HC595; the dip switch sets a physical address for each ADC module board, and when the ADC module board is connected to the MCU module board, the identification function of the connected ADC module board is realized through software addressing; the 1st pin of the dip switch SX1 is defined as COD0 connected to +3.3V through resistor RX11, and COD0 is connected to the input pin 10 of UX3; the 2nd pin of the dip switch SX1 is defined as COD1 connected to +3.3V through resistor RX12, and COD1 is connected to the input pin 12 of UX3; the 3rd pin of the dip switch SX1 is defined as COD2 connected to +3.3V through resistor RX13, and COD2 is connected to the input pin 13 of UX3, and the 4th, 5th and 6th pins of SX1 are all grounded to realize the encoding of the ADC module board. Code function; IO port PE5 of the microprocessor is connected to the input pin 9 of UX3 through connector CN2 via RX22 and is defined as RGA0; PE4 is connected to the input pin 11 of UX3 through connector CN2 via RX23 and is defined as RGA1; PE3 is connected to the input pin 14 of UX3 through connector CN2 via RX31 and is defined as RGA2; PE6 is connected to the input pin 13 of UX8 through connector CN2 via RX29, and UX8 is turned on and outputted through pin 7 and is defined as RGEN connected to pin 1 of UX3; pins 15, 2 and 4 of UX3 are grounded, and pin 3 of UX3 is connected to +3.3V; output pin 6 of UX3 is defined as RGLD and is connected to the anode of the light-emitting diode through RX24, and the cathode of the light-emitting diode is grounded; RGLD of pin 6 of UX3 is connected to pins 12 of UX5 and UX6 as the latch clock of the shift register;

[0009] The common resource unit includes two crystal oscillators 8.192M and 25M, one reference voltage source ADR4525, one DCDC converter, and one linear regulator 7805; 24V voltage and 12V voltage are generated through a dual-pin DC input voltage, the 24V voltage is connected to pins 1 and 2 of the DCDC chip, and pins 7 and 8 of the DCDC chip output a +3.3V voltage; pins 3, 4, 5, and 6 of the DCDC are grounded, 24V is connected to the ground in parallel through capacitors C50 and C51, and +3.3V is connected to the ground in parallel through E2 and R40; 12V is connected to pin 1 of V1 through a 0.4A fuse, pin 1 of V1 is grounded through E6, pin 3 of V1 outputs +5V, and pin 2 is connected to the ground , +5V is connected to ground via parallel capacitors C52 and C53; +5V voltage is connected to pin 2 of reference voltage source U4, and pin 6 of U4 outputs reference voltage VREF through the connector to the ADC module board to provide an external reference for the ADC chip; +5V connected to pin 2 of U4 is connected to ground via parallel capacitors C3 and C42, and VREF is connected to ground via parallel capacitors E1 and C4; crystal oscillator X1 provides clock for the ADC chip of each ADC module board, pin 2 of crystal oscillator X1 is connected to ground, and pin 4 is connected to digital power supply +3.3V, and pin 3 of X1 is connected to pull-up resistor R4 to output clock signal defined as FSYS to provide clock for the ADC chip of each ADC module board; crystal oscillator X2 is provided for microcontroller STM32H7x3IIT The output of X2 pin 1 is defined as OSCIN and connected to the 29th pin PH0-OSC_IN of the microprocessor U1B. The output of X2 pin 3 is defined as OSCOUT and connected to the 30th pin PH1-OSC_OUT of the microprocessor U1B. A resistor R7 is connected in series between OSCIN and OSCOUT. The 1st pin of X2 is connected to the 2nd pin of X2 through the capacitor C2 and then to the ground. The 3rd pin of X2 is connected to the 4th pin of X2 through the capacitor C5 and then to the ground. The microprocessor in the MCU module board provides the transmission data lines ADDO, ADRDY, ADCS, ADCK, ADRST, ADDI, RGEN, RGA0, RGA1, RGA 2. The clock signal line FSYS provided by X1 is transmitted to each ADC module board through the connector CN2; BK1_IO0, BK1_IO1, BK1_IO2, BK1_IO3, BK2_IO0, BK2_IO1, BK2_IO2, BK2_IO3 provided by the microprocessor in the MCU module board are connected to the ADC module board through the connector CN1 with the pull-up resistor; the reference voltage VREF, +3.3V, +5V, DC24V on the MCU module board are connected to the ADC module board through the connector; through the above connection, the MCU module board provides resources including clock, reference, trigger, and bus to each ADC board to realize the synchronization of data acquisition and transmission;

[0010] The module configuration unit is composed of 1 piece of 3 groups of 2-to-1 switches 74HC4053, 1 piece of 8-to-1 switch 74HC4051, and 2 or 3 pieces of 74HC595; the control instructions for the module configuration and the ADC chip are output by the 134-pin PI3 of the microprocessor U1C and connected to the 14-pin of UX8 through the resistor RX20, the 6-pin output of UX8 is defined as ADDI and connected to the 20-pin DIN of the ADC chip, and is also connected to the input pin 14 of UX5; the parallel output pin 15 of UX5 outputs SET0, the pin 1 outputs SET1, the pin 2 outputs SET2, the pin 3 outputs SET3, the pin 4 outputs SET4, the pin 5 outputs SET5, the pin 6 outputs SET6, and the pin 7 outputs SET7; the serial output pin 9 of UX5 is cascaded to the 14 of another serial shift register UX6 The 12-pin latch clock input pin of UX5 and UX6 is connected to the 6-pin RGLD of UX3, and the 13-pin / OE pin of UX5 and UX6 is grounded to keep it in a low-level effective state, and the 10-pin / MR master reset pin is connected to the +3.3V voltage to keep it in a high level. When the single ADC module board has 8 channels, 3 serial shift registers are required to be connected in the same way as above, and the third shift register also provides a power switch for the analog conditioning circuit.

[0011] SET0 of the parallel output of UX5 is connected to the A end of pin 11 of UX1; SET1 is connected to the B end of pin 10 of UX1; SET2 is connected to the C end of pin 9 of UX1; SET3 is connected to the INH end of pin 6 of UX1; pins 13, 14, 15, 12, 1, 5, 2, and 4 of UX1 are defined as ADDO0, ADDO1, ADDO2, ADDO3, ADDO4, ADDO5, ADDO6, and ADDO7 respectively, which are connected to the microprocessor of the MCU module board through the connector with pull-up resistors, and pin 3 of UX1 is connected to pin 21 of the ADC chip and defined as XDDO; XDDO is also connected to the X1 end of pin 13 of UX7, and pin 14 of UX7 is defined as ADDO, which is connected to the PI2 of pin 133 of the microprocessor U1C through the connector, and pin 3 of UX5 SET3 is connected to the control lead of UX7 Pin 11 is connected to control the X end of UX7 to be turned on; Pin 19 of ADC chip is defined as DBOK and connected to the Y1 end of Pin 1 of UX7; Pin 15 of UX7 is defined as DRDY and connected to the 40-pin PA0 of microprocessor U1A through a connector; Pin 4 of UX5 SET4 is connected to the control pin 10 of UX7 to control the Y end of UX7 to be turned on; The chip select signal provided by the MCU module is connected to Pin 17 of UX8 through resistor RX17. After being turned on, the output of Pin 3 of UX8 is defined as ADCS and connected to the Z1 end of Pin 3 of UX7; Pin 5 of UX7 is connected to +3.3V; Pin 4 of UX7 is defined as ADEN and connected to Pin 23 of ADC chip; Pin 5 of UX5 SET5 is connected to the control pin 9 of UX7 to control the Z end of UX7 to be turned on; Pins 6, 7, and 8 of UX7 are grounded, and Pin 16 is connected to a +3.3V voltage source;

[0012] The data collection and transmission unit is composed of a microprocessor STM32H7x3IIT and an analog-to-digital conversion chip ADS131A04 or ADS131M08; the digital part of the ADC chip UX4 is powered by 3.3V, and the analog part operates at 5V; when UX4 uses 4 channels, the collected input signals OUTA±, OUTB±, OUTC±, and OUTD± are respectively connected to AIN of the ADC chip, and the 30th pin M0 of UX4 is connected to a +3.3V voltage through RX7 to achieve a high setting, and the 31st pin M1 and the 32nd pin M2 are directly connected to the ground to achieve a low setting. When UX4 uses 8 channels, for the signal input part OUT A±, OUTB±, OUTC±, OUTD±, OUTE±, OUTF±, OUTG±, and OUTH± are connected to AIN of the ADC chip respectively, and there is no mode selection pin. Except for the above differences, the 4-channel and 8-channel connection circuits of UX4 are the same. Pin 12 of UX4 is grounded through filter capacitor CX7, and pin 13 is directly connected to the ground. Pin 14 of UX4 is connected to VREF through resistor RX6 as a buffered external reference. The reference voltage VREF is connected to the ground in parallel with CX3 and EX2. Pin 28 CAP is grounded through capacitor CX6. The DBOK defined at the DRDY_N terminal of pin 19 of UX4 is connected to pin 1 of UX7. Microprocessor U1 PC13 of B is connected to pin 15 of UX8 through the connector via resistor RX19, and the output of pin 5 is defined as ADRST and connected to pin 17 of UX4; ADEN defined at the CS_N end of pin 23 of UX4 is connected to pin 4 of UX7, PI0 pin of microprocessor U1C is connected to pin 4 of connector CN2, PG6 pin of pin 110 of U1B is defined as BK1_NCS and also connected to pin 4 of CN2 through resistor R43, pin 4 of connector CN2 is connected to pin 17 of UX8 through resistor RX17, output of pin 3 of UX8 is connected to pin 3 of UX7 and defined as ADCS, and controlling pin 9 of UX7 can control the conduction of ADCS and ADEN; The PI3 output of the microprocessor U1C at pin 134 is connected to the 14th pin of UX8 through the resistor RX20, and the output of the 6th pin of UX8 is defined as ADDI and connected to the 20th pin DIN of the ADC chip; the ADCK defined by the PI1 at pin 131 of the microprocessor U1C is connected to the 5th pin of the connector CN2, the PF10 pin of the microprocessor U1B at pin 28 is defined as QSPI_CLK, and QSPI_CLK is also connected to the ADCK at the 5th pin of the connector CN2 through the resistor R44, the 5th pin of CN2 is connected to the 16th pin of UX8 through the resistor RX18, the ADCK output of the 4th pin of UX8 is connected to the SCLK at pin 22 of UX4 and defined as ADCK;XDDO defined at the DOUT end of UX4's 21st pin is connected to UX7's 13th pin and UX1's 3rd pin. BK1_IO3 defined by PF9 is connected to ADDO3 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO2 defined by PF8 is connected to ADDO2 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO1 defined by PF7 is connected to ADDO1 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO0 defined by PF6 is connected to ADDO3 of UX1 through connector CN1 after being connected to a pull-up resistor. The ADDO0 of , BK2_IO3 defined by PG9 is connected to ADDO7 of UX1 through connector CN1 after being connected to a pull-up resistor, BK2_IO2 defined by PG14 is connected to ADDO6 of UX1 through connector CN1 after being connected to a pull-up resistor, BK2_IO1 defined by PH3 is connected to ADDO5 of UX1 through connector CN1 after being connected to a pull-up resistor, and BK2_IO0 defined by PH2 is connected to ADDO4 of UX1 through connector CN1 after being connected to a pull-up resistor, to realize the selection of data line access of dual QSPI. ;

[0013] The key unit of the intermediate frequency signal acquisition circuit with expandable channel number is the module identification unit, which consists of a 4-bit data comparator 74HC85, a 4-bit DIP switch and 2 or 3 shift registers 74HC595; the DIP switch sets the physical address for each ADC module board, and the identification function of the connected ADC module board is realized through software addressing when the ADC module board is connected to the MCU module board; the pin 1 of the DIP switch SX1 is defined as COD0 connected to +3.3V through resistor RX11, and COD0 is connected to the input pin 10 of UX3; the pin 2 of the DIP switch SX1 is defined as COD1 connected to +3.3V through resistor RX12, and COD1 is connected to the input pin 12 of UX3; the pin 3 of the DIP switch SX1 is defined as COD2 connected to +3.3V through resistor RX13, and COD2 is connected to the input pin 13 of UX3, and the pins 4, 5 and 6 of SX1 are all grounded. Now let's talk about the coding function of the ADC module board; the IO port PE5 of the microprocessor is connected to the input pin 9 of UX3 through the connector CN2 via RX22 and is defined as RGA0; PE4 is connected to the input pin 11 of UX3 through the connector CN2 via RX23 and is defined as RGA1; PE3 is connected to the input pin 14 of UX3 through the connector CN2 via RX31 and is defined as RGA2; PE6 is connected to the input pin 13 of UX8 through the connector CN2 via RX29, and UX8 is turned on and the output is defined as RGEN connected to pin 1 of UX3 through pin 7; pins 15, 2 and 4 of UX3 are grounded, and pin 3 of UX3 is connected to +3.3V; output pin 6 of UX3 is defined as RGLD and is connected to the anode of the light-emitting diode through RX24, and the cathode of the light-emitting diode is grounded; RGLD at pin 6 of UX3 is connected to pins 12 of UX5 and UX6 as the latch clock of the shift register.

[0014] The key unit of the intermediate frequency signal acquisition circuit with expandable channel number is a common resource unit, which includes 2 crystal oscillators 8.192M and 25M, 1 reference voltage source ADR4525, 1 DCDC converter, and 1 linear regulator 7805; 24V voltage and 12V voltage are generated through dual-pin DC input voltage, 24V voltage is connected to pins 1 and 2 of the DCDC chip, and pins 7 and 8 of the DCDC chip output +3.3V voltage; pins 3, 4, 5, and 6 of the DCDC are grounded, 24V is connected to ground in parallel through capacitors C50 and C51, and +3.3V is connected to ground in parallel through E2 and R40; 12V is connected to pin 1 of V1 through a 0.4A fuse, pin 1 of V1 is grounded through E6, and V1 The 3rd pin of the board outputs +5V, the 2nd pin is connected to the ground, and the +5V is grounded through the parallel capacitors C52 and C53; the +5V voltage is connected to the 2nd pin of the reference voltage source U4, and the 6th pin of U4 outputs the reference voltage VREF, which is transmitted to the ADC module board through the connector to provide an external reference for the ADC chip; the +5V connected to the 2nd pin of U4 is grounded through the parallel capacitors C3 and C42, and VREF is grounded through the parallel capacitors E1 and C4; the crystal oscillator X1 provides the clock for the ADC chip of each ADC module board, the 2nd pin of the crystal oscillator X1 is grounded, the 4th pin is connected to the digital power supply +3.3V, and the 3rd pin of X1 is connected to the pull-up resistor R4 to output the clock signal defined as FSYS to provide the clock for the ADC chip of each ADC module board; the crystal oscillator X2 is the single-chip microcomputer ST M32H7x3IIT provides clock, the output of pin 1 of X2 is defined as OSCIN and connected to the 29th pin PH0-OSC_IN of microprocessor U1B, the output of pin 3 of X2 is defined as OSCOUT and connected to the 30th pin PH1-OSC_OUT of microprocessor U1B, a resistor is connected in series between OSCIN and OSCOUT, pin 1 of X2 is connected to pin 2 of X2 through capacitor C2 and then grounded, pin 3 of X2 is connected to pin 4 of X2 through capacitor C5 and then grounded; the microprocessor in the MCU module board provides transmission data lines ADDO, ADRDY, ADCS, ADCK, ADRST, ADDI, RGEN, RGA0, RGA1 for the ADC module board , RGA2, and the clock signal line FSYS provided by X1 are transmitted to each ADC module board through the connector CN2; BK1_IO0, BK1_IO1, BK1_IO2, BK1_IO3, BK2_IO0, BK2_IO1, BK2_IO2, and BK2_IO3 provided by the microprocessor in the MCU module board are connected to the pull-up resistor and connected to the ADC module board through the connector CN1; the reference voltages VREF, +3.3V, +5V, and DC24V on the MCU module board are connected to the ADC module board through the connector; through the above connection, the MCU module board provides resources including clock, reference, trigger, and bus to each ADC board to achieve synchronization of data acquisition and transmission.

[0015] The key unit of the intermediate frequency signal acquisition circuit with expandable channel number is the module configuration unit, which is composed of 1 piece of 3-group 2-to-1 switch 74HC4053, 1 piece of 8-to-1 switch 74HC4051, and 2 or 3 pieces of 74HC595; the control instructions for the module configuration and ADC chip are output by the 134-pin PI3 of the microprocessor U1C and connected to the 14-pin of UX8 through the resistor RX20, the 6-pin output of UX8 is defined as ADDI and connected to the 20-pin DIN of the ADC chip, and is also connected to the input pin 14 of UX5; the parallel output pin 15 of UX5 outputs SET0, the pin 1 outputs SET1, the pin 2 outputs SET2, the pin 3 outputs SET3, the pin 4 outputs SET4, the pin 5 outputs SET5, the pin 6 outputs SET6, and the pin 7 outputs SET7; the serial output pin 9 of UX5 is cascaded to another serial The 14th pin of shift register UX6 and the parallel output signal of UX6 control the switch of the conditioning circuit; the clock signal provided by the MCU module board is connected to the 16th pin of UX8 through the resistor RX18, and the 4th pin output of UX8 is defined as ADCK connected to the 22nd pin SCLK of the ADC chip, and ADCK is connected to the 11th pin clock input pin of UX5 and UX6; the 12th pin latch clock input pin of UX5 and UX6 is connected to the 6th pin RGLD of UX3, the 13th pin / OE pin of UX5 and UX6 is grounded to make it always in the low-level effective state, and the 10th pin / MR master reset pin is connected to the +3.3V voltage to make it always in the high level; when the single ADC module board is 8 channels, it is necessary to use 3 serial shift registers, and the connection method is the same as the above content, and the third shift register also provides a power switch for the analog conditioning circuit part;

[0016] SET0 of UX5 parallel output is connected to the 11-pin A end of UX1; SET1 is connected to the 10-pin B end of UX1; SET2 is connected to the 9-pin C end of UX1; SET3 is connected to the 6-pin INH end of UX1; UX1's 13-pin, 14-pin, 15-pin, 12-pin, 1-pin, 5-pin, 2-pin, and 4-pin are defined as ADDO0, ADDO1, ADDO2, ADDO3, ADDO4, ADDO5, ADDO6, and ADDO7 respectively, connected to the pull-up resistor and connected to the microprocessor of the MCU module board through the connector, UX1's 3-pin is connected to the 21-pin of the ADC chip and defined as XDDO; XDDO is also connected to the 13-pin X1 end of UX7, UX7's 14-pin is defined as ADDO and connected to the 133-pin PI2 of the microprocessor U1C through the connector, UX5's 3-pin SET3 is connected to the control of UX7 The control pin 11 is connected to control the X end of UX7 to control the conduction; the ADC chip pin 19 is defined as DBOK and connected to the 1-pin Y1 end of UX7, the 15-pin of UX7 is defined as DRDY and connected to the 40-pin PA0 of the microprocessor U1A through the connector, the 4-pin SET4 of UX5 is connected to the control pin 10 of UX7 to control the Y end of UX7 to control the conduction; the chip select signal provided by the MCU module is connected to the 17-pin of UX8 through the resistor RX17, the 3-pin output of UX8 is defined as ADCS and connected to the 3-pin Z1 end of UX7, the 5-pin Z0 end of UX7 is connected to +3.3V, the 4-pin of UX7 is defined as ADEN and connected to the 23-pin of the ADC chip, the 5-pin SET5 of UX5 is connected to the control pin 9 of UX7 to control the Z end of UX7 to control the conduction; the 6-pin, 7-pin and 8-pin of UX7 are grounded and the 16-pin is connected to a +3.3V voltage source.

[0017] The key unit of the intermediate frequency signal acquisition circuit with expandable channel number is the data acquisition and transmission unit, which is composed of the microprocessor STM32H7x3IIT and the analog-to-digital conversion chip ADS131A04 or ADS131M08; the digital part of the ADC chip UX4 is powered by 3.3V, and the analog part works at 5V; when UX4 uses 4 channels, the collected input signals OUTA±, OUTB±, OUTC±, and OUTD± are connected to the AIN of the ADC chip respectively, and the 30-pin M0 of UX4 is connected to the +3.3V voltage through RX7 to set it high, and the 31-pin M1 and the 32-pin M2 are directly connected to the ground to set it low. When UX4 uses 8 When the channel is switched, the signal input part OUTA±, OUTB±, OUTC±, OUTD±, OUTE±, OUTF±, OUTG±, and OUTH± are connected to the AIN of the ADC chip respectively, and there is no mode selection pin; except for the above differences, the 4-channel and 8-channel connection circuits of UX4 are the same, the 12th pin of UX4 is grounded through the filter capacitor CX7, and the 13th pin is directly connected to the ground; the 14th pin of UX4 is connected to the VREF through the resistor RX6 as the buffered external reference, and the reference voltage VREF is connected to the ground in parallel with CX3 and EX2, and the 28th pin CAP is grounded through the capacitor CX6; the DBOK defined at the DRDY_N end of the 19th pin of UX4 is connected to UX7 1 pin; PC13 of microprocessor U1B is connected to 15 pin of UX8 through connector via resistor RX19, and 5 pin output is defined as ADRST and connected to 17 pin of UX4; ADEN defined at CS_N end of 23 pin of UX4 is connected to 4 pin of UX7, PI0 pin of microprocessor U1C is connected to 4 pin of connector CN2, PG6 pin of 110 pin of U1B is defined as BK1_NCS and also connected to 4 pin of CN2 through resistor R43, 4 pin of connector CN2 is connected to 17 pin of UX8 through resistor RX17, 3 pin output of UX8 is connected to 3 pin of UX7 and defined as ADCS, and controlling 9 pin of UX7 can control ADCS and AD EN is turned on; the PI3 output of the microprocessor U1C at pin 134 is connected to the 14th pin of UX8 through the resistor RX20, and the output of the 6th pin of UX8 is defined as ADDI and connected to the 20th pin DIN of the ADC chip; the ADCK defined by the PI1 at pin 131 of the microprocessor U1C is connected to the 5th pin of the connector CN2, the PF10 pin of the microprocessor U1B at pin 28 is defined as QSPI_CLK, and QSPI_CLK is also connected to the ADCK at the 5th pin of the connector CN2 through the resistor R44, the 5th pin of CN2 is connected to the 16th pin of UX8 through the resistor RX18, the ADCK output of the 4th pin of UX8 is connected to the SCLK at pin 22 of UX4 and is defined as ADCK;The XDDO defined at the DOUT pin 21 of UX4 is connected to the pin 13 of UX7 and the pin 3 of UX1. The BK1_IO3 defined by PF9 is connected to ADDO3 of UX1 through the pull-up resistor and connector CN1. The BK1_IO2 defined by PF8 is connected to ADDO2 of UX1 through the pull-up resistor and connector CN1. The BK1_IO1 defined by PF7 is connected to ADDO1 of UX1 through the pull-up resistor and connector CN1. The BK1_IO0 defined by PF6 is connected to ADDO0 of UX1 through the pull-up resistor and connector CN1. The BK2_IO3 defined by PG9 is connected to ADDO7 of UX1 through the pull-up resistor and connector CN1. The BK2_IO2 defined by PG14 is connected to ADDO6 of UX1 through the pull-up resistor and connector CN1. The BK2_IO1 defined by PH3 is connected to ADDO5 of UX1 through the pull-up resistor and connector CN1. The BK2_IO0 defined by PH2 is connected to ADDO4 of UX1 through the pull-up resistor and connector CN1, realizing the selection of the data line access of the dual QSPI.;

[0018] A method for collecting intermediate frequency signals with expandable number of channels, which is a method for collecting intermediate frequency signals in the case of SPI collecting data by a single ADC module, includes the following steps:

[0019] Step a, perform a write operation on the ADC internal control register;

[0020] Step a1, configure the shift registers of each ADC module and confirm the validity of the write operation of SET5;

[0021] Step a2, when the display write operation is valid, initialize to set ADCS of the ADC chip to 1, turn off the QSPI function and set RGEN to 1 to make P3<Q3 of 74HC85 output RGLD as low level;

[0022] Step a3, after the DRDY interrupt is valid, set ADCS to low level and start the SPI write operation; perform write operations on each register inside the ADC chip through STM32H7x3IIT according to the ADC chip usage instructions; realize the batch write operation of any number of ADC modules with the same working state;

[0023] Step b, perform a write operation on the shift register;

[0024] Step b1, the MCU program first performs control logic operations and ensures that ADCS is 1 to make all ADDO of the ADCs in high configuration;

[0025] Step b2, turn off the QSPI function and set RGEN to 1;

[0026] Step b3: Set RGA2, RGA1, and RGA0 to the serial number of the ADC module to be operated. Initiate a 16-bit SPI write operation once. Let REGN have a positive pulse to achieve parallel loading of the data written into the serial shift register by SPI (for example, for 8 channels, 3 shift registers are required with a data length of 24 bits). The high 8 (16) bits are used to set the current source switches and AC / DC measurement mode switches for 4 (8) channels, and the low 8 bits are used to set the module data transfer configuration.

[0027] The order of the above Step a and Step b can be swapped or carried out synchronously.

[0028] Step c: Intermediate frequency signal acquisition.

[0029] Step c1: Configure the shift registers of the ADC module with SET3 set to 1, SET4 set to 1, and SET5 set to 1. Setting SET3 to 1 makes pin 13 X1 of UX7 conduct with pin 14 X, and XDDO is connected to ADDO for SPI communication. Setting SET4 to 1 makes pin 1 Y1 of UX7 conduct with pin 15 Y, and DBOK conducts with DRDY, enabling the microprocessor to control the pin output to set 0 or 1 to enable and disable DRDY. Setting SET5 to 1 makes pin 3 Z1 of UX7 conduct with pin 4 Z, and ADCS conducts with ADEN. At this time, setting the high and low levels of the IO port connected to ADCS can control the enabling of the ADC chip.

[0030] Step c2: Turn off the QSPI function and set RGEN to 1.

[0031] Step c3: After DRDY interrupt is valid, set ADCS to low level, initiate an SPI read operation, and read the conversion data of each channel through STM32H7x3IIT according to the ADC chip usage instructions.

[0032] The intermediate frequency signal acquisition method with expandable number of channels is an intermediate frequency signal acquisition method for the case of QSPI data acquisition of multiple ADC modules, including the following steps:

[0033] Step a: Write operation to the ADC internal control register.

[0034] Step a1: Configure the shift registers of each ADC module and confirm the validity of the write operation of SET5.

[0035] Step a2: When the write operation is valid, initialize to set ADCS of the ADC chip to 1, turn off the QSPI function, and set RGEN to 1 to make P3<Q3 of 74HC85 output RGLD as low level.

[0036] Step a3, after the DRDY interrupt is valid, ADCS is set to a low level to start the SPI write operation; write operations are performed on each register inside the ADC chip through STM32H7x3IIT according to the ADC chip instructions; batch write operations are performed on any ADC modules with the same working status;

[0037] Step b, writing operation to the shift register;

[0038] Step b1, the MCU program first performs control logic operations and ensures that ADCS is 1, so that the ADDO of all ADCs is in high configuration;

[0039] Step b2, the QSPI function is turned off, RGEN is 1;

[0040] Step b3, RGA2, RGA1, RGA0 are set to the ADC module serial number to be operated, and a 16-bit SPI write operation is started. REGN sends a positive pulse to realize parallel loading of data written into the SPI serial shift register (e.g. 8 channels, 3 shift registers are required, 24-bit data length); the upper 8 (16) bits are used to set the current source switch and AC / DC measurement mode switch of 4 (8) channels, and the lower 8 bits are used to set the module data transmission configuration;

[0041] The order of step a and step b can be switched or performed simultaneously;

[0042] Step c, collecting intermediate frequency signals;

[0043] Step c1, set the shift register of the module, and keep the SET2, SET1, SET0 and the DIP switch status of each ADC module board the same;

[0044] Step c2, set SET3 to 0, SET4 to 0, and SET5 to 1;

[0045] Step c3, the QSPI function is turned off and RGEN is 1; the module identification function is turned on and RGA0, RGA1, and RGA2 are set to the same state as the DIP switches of the target ADC module board;

[0046] Step c4, set SET4 of the target operation ADC module board to 1, and the others to 0 without updating;

[0047] Step c5, after the DRDY interrupt is valid, ADCS is set to a low level, QSPI starts from the input function, and starts the SPI read operation;

[0048] Step c6, read and cache QSPI input data through STM32H7x3IIT according to the instructions for use of the ADC chip, and the SPI input data is useless; by controlling the module identification unit of the target ADC module board, the shift register latch clock generates a rising edge to update the parallel output, so that the operated ADC module works according to the originally set parallel output signal.

[0049] Beneficial effects:

[0050] First, the channel number of the intermediate frequency signal acquisition system with expandable channel number of the present invention is within 64 channels, and the channel number expansion function is realized in the form of one MCU module board carrying up to 8 ADC module boards; the channel number of a single ADC module board is 4 channels or 8 channels, and the channel number of the ADC module board connected to the MCU module board can be flexibly controlled to control the number of signal acquisition channels; the switch of the conditioning circuit on the ADC module board is controlled by the microprocessor to realize the control of whether each channel is on or off, thereby ensuring data acquisition and independent operation of any number of channels in the 64 channels.

[0051] Second, the module identification unit of the present invention encodes the ADC module board through the dip switch of each ADC module board; when the target ADC module needs to be operated, the RGA0, RGA1, and RGA2 output by the microprocessor are consistent with the encoding of the target ADC, and the RGEN output rising edge shift register parallel data output is controlled to update the target ADC module board operation, so that the updated ADC module board works according to the original parallel output data.

[0052] Third, the MCU module board is a shared resource of the intermediate frequency signal acquisition system with expandable channel number of the present invention, providing reference, clock, bus, trigger for the entire system, and realizing the acquisition and synchronous transmission of multi-channel data through common clock, bus, trigger, and reference.

[0053] Fourth, the microprocessor writes to the ADC internal control register on each ADC module; when a single ADC module board is connected, SPI is used to read the collected data, and when multiple ADC module boards are connected, QSPI is used to read the collected data; the collected intermediate frequency signal is selected and output using the module configuration, the data output end of 74HC4053 is turned on during SPI communication, and the data output end of 74HC4051 is turned on during QSPI communication, and it is ensured that the SET2, SET1, and SET0 of each ADC module board are kept the same as the state of the dip switch, to achieve single SPI multi-channel single ADC module transmission and dual QSPI multi-channel multi-ADC module transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is the overall circuit diagram of the IF signal acquisition system with expandable multi-channel number.

[0055] Figure 2 This is the circuit diagram of the module identification unit.

[0056] Figure 3 It is a circuit diagram of a common resource unit.

[0057] Figure 4 It is the circuit diagram of the module configuration unit.

[0058] Figure 5 It is the circuit diagram of data collection and transmission unit. DETAILED DESCRIPTION

[0059] The specific implementation modes of the present invention are further described in detail below with reference to the accompanying drawings. Specific implementation method 1

[0061] The following is a specific implementation of the intermediate frequency signal acquisition circuit with expandable channel number of the present invention.

[0062] The present invention realizes the construction of a circuit implementation and method of an intermediate frequency signal acquisition system with expandable channel number, such as Figure 1 As shown, its main circuit is composed of a module identification unit, a common resource unit, a module configuration unit, and a data collection and transmission unit. The specific implementation method is as follows.

[0063] Combination Figure 2 The module identification unit is composed of a 4-bit data comparator 74HC85, a 4-bit DIP switch and 2 or 3 shift registers 74HC595. This unit sets the physical address for each ADC module board through the DIP switch. When the ADC module board is connected to the MCU module board, the identification function of the connected ADC module board is realized through software addressing.

[0064] Pin 1 of the code switch SX1 is defined as COD0 connected to +3.3V via resistor RX11, and COD0 connected to the input pin 10 of UX3; Pin 2 of the code switch SX1 is defined as COD1 connected to +3.3V via resistor RX12, and COD1 connected to the input pin 12 of UX3; Pin 3 of the code switch SX1 is defined as COD2 connected to +3.3V via resistor RX13, and COD2 connected to the input pin 13 of UX3. Pins 4, 5, and 6 of SX1 are all grounded to realize the encoding function of the ADC module board. By controlling the on and off of each channel of the code switch SX1, the high and low level configuration of the COD2, COD1, and COD0 ports is realized, so as to achieve the purpose of configuring the physical address for the ADC module board. Pins 10, 12, and 13 of the P input terminal of the comparator 74HC85 are respectively connected to one end of the code switch COD0, COD1, and COD2, and each ADC module board is encoded by the control of the above code switch. P3 is connected to the ground, and the IO port PE5 of the microprocessor is connected to the input pin 9 of UX3 through the connector CN2 via RX22 and defined as RGA0; PE4 is connected to the input pin 11 of UX3 through the connector CN2 via RX23 and defined as RGA1; PE3 is connected to the input pin 14 of UX3 through the connector CN2 via RX31 and defined as RGA2; PE6 is connected to the input pin 13 of UX8 through the connector CN2 via RX29, and UX8 is turned on and output through the 7th pin is defined as RGEN connected to the 1st pin of UX3. Set the input terminals RGA2, RGA1, and RGA0 of the comparator 74HC85 to the same level as the COD2, COD1, and COD0 of the target ADC board, and change the output of the 6th pin RGLD by controlling the 1st pin RGEN of the 74HC85. The latch clock input pin of the shift register 74HC595 is also connected to the 6th pin RGLD of UX3. When RGLD changes from low level to high level, that is, the rising edge of the STcp clock, the data in the shift register enters the storage register and realizes the parallel loading and transmission of data. When the comparator output pin 6 outputs a high level, the LED connected between pin 6 of the comparator 74HC85 and the ground will light up to indicate. The 15-pin input terminal of the comparator 74HC85 is grounded and fixed to a low level. There are eight options for COD2, COD1, and COD0 levels, which just match the 8 ADC module boards that the MCU module board can carry, so that each ADC module board has a separate physical address and 1 MCU board can carry up to 8 ADC module boards. When multiple ADC modules are connected to the MCU module, to identify and logically control one of the boards, it is necessary to use the MCU to set RGA2, RGA1, and RGA0 to be the same as COD2, COD1, and COD0 of the ADC module board.Then control RGEN to make the output RGLD have a rising edge, so that the data in the shift register enters the storage register and realizes data parallel loading to update the logic control signals SET5, SET4, SET3, SET2, SET1, and SET0 of this ADC module board. The output of the other ADC modules cannot be recognized because RGA2, RGA1, and RGA0 are different from their own COD2, COD1, and COD0. RGLD does not generate a rising edge, the storage register data in the shift register is not updated, and the parallel output of the shift register does not change the logic control signals SET5, SET4, SET3, SET2, SET1, and SET0.

[0065] refer to Figure 3It is a common resource unit, including 2 crystal oscillators 8.192M and 25M, 1 reference voltage source ADR4525, 1 DCDC converter, and 1 linear regulator 7805. The MCU module board, as the main board, provides clock, reference voltage, bus, and trigger for each ADC module board to ensure synchronous data transmission when the ADC module board is connected. The 25M crystal oscillator on the MCU module board provides the clock for the microprocessor STM32H7x3IIT, and the 8.192M crystal oscillator provides the clock for the ADC chip on each ADC module board. The 24V voltage and 12V voltage are generated through the dual-pin DC input voltage. The 24V voltage is connected to the 1st and 2nd pins of the DCDC chip, and the 7th and 8th pins of the DCDC chip output +3.3V voltage to power the digital part. The 3rd, 4th, 5th, and 6th pins of the DCDC are grounded, the 24V is connected to the ground in parallel through capacitors C50 and C51, and the +3.3V is connected to the ground in parallel through E2 and R40. 12V is connected to pin 1 of V1 through a 0.4A fuse, and pin 1 of V1 is grounded through E6. Pin 3 of V1 outputs +5V to power the analog part, and pin 2 is connected to the ground. +5V is grounded through parallel capacitors C52 and C53. The +5V voltage is connected to pin 2 of the reference voltage source U4, and the reference voltage VREF output from pin 6 of U4 is transmitted to the ADC module board through the connector to provide an external reference for the ADC chip. The MCU module board provides a bus for the entire circuit, including a data bus, a control bus, and an address bus. The transmission data lines ADDO, ADRDY, ADCS, ADCK, ADRST, ADDI, RGEN, RGA0, RGA1, and RGA2 provided by the microprocessor in the MCU module board for the ADC module board, and the clock signal line FSYS provided by X1 are all transmitted to each ADC module board through connector CN2. BK1_IO0, BK1_IO1, BK1_IO2, BK1_IO3, BK2_IO0, BK2_IO1, BK2_IO2, BK2_IO3 provided by the microprocessor in the MCU module board are connected to the ADC module board through the connector CN1 with the pull-up resistor. The reference voltage VREF, +3.3V, +5V, DC24V on the MCU module board are connected to the ADC module board through the connector. The microprocessor chip STM32H7x3IIT sends control instructions to the ADC module board, controls the module identification unit, the module configuration unit, the data acquisition and transmission unit, and realizes the data acquisition and transmission of multi-channel single ADC module or multiple ADC modules. The MCU module board provides triggering and simultaneously triggers the single or multiple ADC module boards carried by the MCU module board.

[0066] Figure 4It is a module configuration unit, which is composed of 1 piece of 3 groups of 2-to-1 switches 74HC4053, 1 piece of 8-to-1 switches 74HC4051, and 2 or 3 pieces of 74HC595. The data transmission of this invention adopts SPI as the main and dual QSPI as the slave to realize the parallel reading of serial data of multiple ADC modules. The control instructions of module configuration and ADC chip are connected to the 14th pin of UX8 by the 134th pin PI3 output of microprocessor U1C through resistor RX20. The 6th pin output of UX8 is defined as ADDI and connected to the 20th pin DIN of the ADC chip, and is also connected to the input pin 14th pin of UX5. The parallel output pin 15th pin of UX5 outputs SET0, the pin 1 outputs SET1, the pin 2 outputs SET2, the pin 3 outputs SET3, the pin 4 outputs SET4, the pin 5 outputs SET5, the pin 6 outputs SET6, and the pin 7 outputs SET7; the serial output pin 9th pin of UX5 is cascaded to the 14th pin of another serial shift register UX6, and the parallel output signal of UX6 controls the switch of the conditioning circuit. The clock signal provided by the MCU module board is connected to the 16th pin of UX8 through the resistor RX18. The 4th pin output of UX8 is defined as ADCK and connected to the 22nd pin SCLK of the ADC chip. At the same time, ADCK is connected to the 11th pin clock input pin of UX5 and UX6. The 12th pin latch clock input pin of UX5 and UX6 is connected to the 6th pin RGLD of UX3. The 13th pin / OE pin of UX5 and UX6 is grounded to keep it in a low-level effective state. The 10th pin / MR master reset pin is connected to +3.3V voltage to keep it in a high level. When a single ADC module board has 8 channels, it is necessary to use 3 serial shift registers. The connection method is the same as the above content. The third shift register also provides a power switch for the analog conditioning circuit part.

[0067] SET0 of UX5 parallel output is connected to the A end of UX1 at pin 11; SET1 is connected to the B end of UX1 at pin 10; SET2 is connected to the C end of UX1 at pin 9; SET3 is connected to the INH end of UX1 at pin 6. Pins 13, 14, 15, 12, 1, 5, 2, and 4 of UX1 are defined as ADDO0, ADDO1, ADDO2, ADDO3, ADDO4, ADDO5, ADDO6, and ADDO7 respectively, and are connected to the microprocessor of the MCU module board through the connector after the pull-up resistor is connected. Pin 3 of UX1 is connected to pin 21 of the ADC chip and is defined as XDDO. XDDO is controlled to conduct with ADDO7, ADDO6, ADDO5, ADDO4, ADDO3, ADDO2, ADDO1, and ADDO0 through SET0, SET1, and SET2. XDDO is also connected to the 13th pin X1 end of UX7. The 14th pin of UX7 is defined as ADDO and connected to the 133rd pin PI2 of the microprocessor U1C through the connector. The 3rd pin SET3 of UX5 is connected to the control pin 11 of UX7 to control the X end of UX7 to turn on. SET3 is set to 0 to make the 6th pin of 74HC4051 at a low level. The low level of INH of the 6th pin is effective. When SET3 is set to 1, the 13th pin X0 of 74HC85 is turned on with the 14th pin X. The data output pin XDDO of ADC is turned on with ADDO to realize SPI communication. At this time, the 6th pin INH of 74HC4051 is set to a high level and its channels are not enabled. The 19th pin of ADC chip is defined as DBOK and connected to the 1st pin Y1 end of UX7. The 15th pin of UX7 is defined as DRDY and connected to the 40th pin PA0 of the microprocessor U1A through the connector. The 4th pin SET4 of UX5 is connected to the control pin 10 of UX7 to control the Y end of UX7 to turn on. The chip select signal provided by the MCU module is connected to the 17th pin of UX8 through the resistor RX17. The 3rd pin output of UX8 is defined as ADCS connected to the 3rd pin Z1 end of UX7. The 5th pin Z0 of UX7 is connected to +3.3V. The 4th pin of UX7 is defined as ADEN connected to the 23rd pin of the ADC chip. The 5th pin SET5 of UX5 is connected to the control pin 9th pin of UX7 to control the Z end of UX7 to be turned on. The 6th, 7th and 8th pins of UX7 are grounded and the 16th pin is connected to the +3.3V voltage source. SET5 is the chip select signal of SPI and the chip select connection enable signal of ADC. 1 enables connection and 0 shuts down. It can make the ADC chips of any multiple ADC modules synchronously read the collected data according to the setting state. Different ADC module enables to realize the differentiated setting of the ADC chips of each ADC module. Each register of each ADC chip in the system can be set independently, which improves the application flexibility of the system. By controlling the conduction of the Z channel of UX7, it is realized whether ADEN is connected to 3.3V or ADCS. When ADEN is connected to 3.3V, the chip select pin is set high and the ADC chip does not transmit data. When it is connected to ADCS, the microprocessor can be used to set ADCS high or low to control the chip select pin.SET5 is connected to the positive pole of LED0 through RX25, and the negative pole of LED0 is grounded. When SET5 is set to a high level, LED0 is turned on and the small light is illuminated. When SET5 is set to a low level, LED0 is turned off to indicate the validity of SET5.

[0068] Figure 5For the data collection and transmission unit, the key ADC chip for the data collection part is selected as the 4-channel ADC model ADS131A04, with a maximum sampling rate of 128kSPS, and 64kSPS is selected; the 8-channel ADC model is ADS131M08, with a maximum sampling rate of 64kSPS, and a crystal oscillator of 8.192MHz; the ADC sampling rate can be 64kSPS or less, with a maximum resolution of 24bit. The ADC uses SPI mode communication, and the ADC's reference and control lines come from the main control interface module. The role of the ADC is to collect analog signals and convert them into digital signals for transmission to the MCU. The power supply voltage of its digital part is 3.3V, and the working voltage of the analog part is 5V. The power supply voltage of the digital part of the ADC chip UX4 is 3.3V, and the working voltage of the analog part is 5V. When UX4 uses 4 channels, the collected input signals OUTA±, OUTB±, OUTC±, and OUTD± are connected to the AIN of the ADC chip respectively. The 30-pin M0 of UX4 is connected to the +3.3V voltage through RX7 to achieve high setting. The 31-pin M1 and the 32-pin M2 are directly connected to the ground to achieve low setting. When UX4 uses 8 channels, the signal input part OUTA±, OUTB±, OUTC±, OUTD±, OUTE±, OUTF±, OUTG±, and OUTH± are connected to the AIN of the ADC chip respectively, and there is no mode selection pin. In addition to the above differences, the connection circuits of 4 channels and 8 channels of UX4 are the same. The 12-pin of UX4 is grounded through the filter capacitor CX7, and the 13-pin is directly connected to the ground; the 14-pin buffered external reference connection of UX4 is connected to VREF through the resistor RX6, and the reference voltage VREF is connected to the ground in parallel with CX3 and EX2, and the 28-pin CAP is grounded through the capacitor CX6.The DBOK defined at the DRDY_N end of UX4's 19th pin is connected to the 1st pin of UX7; the PC13 of the microprocessor U1B is connected to the 15th pin of UX8 through the connector via the resistor RX19, and the 5th pin output is defined as ADRST and connected to the 17th pin of UX4; the ADEN defined at the CS_N end of UX4's 23rd pin is connected to the 4th pin of UX7, the PI0 pin of the microprocessor U1C is connected to the 4th pin of the connector CN2, the PG6 pin of U1B's 110th pin is defined as BK1_NCS and is also connected to the 4th pin of CN2 through the resistor R43, the 4th pin of the connector CN2 is connected to the 17th pin of UX8 through the resistor RX17, and the 3rd pin of UX8 is connected to the 4th pin of UX7. The pin output is connected to the 3rd pin of UX7, which is defined as ADCS. Controlling the 9th pin of UX7 can control the conduction of ADCS and ADEN. The 134th pin PI3 output of the microprocessor U1C is connected to the 14th pin of UX8 through the resistor RX20. The 6th pin output of UX8 is defined as ADDI and is connected to the 20th pin DIN of the ADC chip. The ADCK defined by the 131st pin PI1 of the microprocessor U1C is connected to the 5th pin of the connector CN2. The 28th pin PF10 pin of the microprocessor U1B is defined as QSPI_CLK. QSPI_CLK is also connected to the 5th pin ADCK of the connector CN2 through the resistor R44. The 5th pin of CN2 The pin is connected to the 16th pin of UX8 through the resistor RX18, the ADCK output of the 4th pin of UX8 is connected to the SCLK of the 22nd pin of UX4 and is defined as ADCK; the XDDO defined at the DOUT end of the 21st pin of UX4 is connected to the 13th pin of UX7 and the 3rd pin of UX1, the BK1_IO3 defined by PF9 is connected to the ADDO3 of UX1 through the connector CN1 after the pull-up resistor is connected, the BK1_IO2 defined by PF8 is connected to the ADDO2 of UX1 through the connector CN1 after the pull-up resistor is connected, the BK1_IO1 defined by PF7 is connected to the ADDO1 of UX1 through the connector CN1 after the pull-up resistor is connected, and the PF6 is defined The BK1_IO0 defined by PG9 is connected to the ADDO0 of UX1 through the connector CN1 after being connected to the pull-up resistor, the BK2_IO3 defined by PG9 is connected to the ADDO7 of UX1 through the connector CN1, the BK2_IO2 defined by PG14 is connected to the ADDO6 of UX1 through the connector CN1 after being connected to the pull-up resistor, the BK2_IO1 defined by PH3 is connected to the ADDO5 of UX1 through the connector CN1, and the BK2_IO0 defined by PH2 is connected to the ADDO4 of UX1 through the connector CN1 after being connected to the pull-up resistor, thereby realizing the selection of dual QSPI data line access. Specific implementation method 2

[0070] The following is a specific implementation of the module identification unit in the intermediate frequency signal acquisition circuit with expandable channel number of the present invention.

[0071] It should be noted that the module identification unit in this implementation can be implemented independently, or can be used as a key module of the intermediate frequency signal acquisition circuit with expandable channel number in the first specific implementation mode, and work in coordination with other modules.

[0072] Combination Figure 2 The module identification unit is composed of a 4-bit data comparator 74HC85, a 4-bit DIP switch and 2 or 3 shift registers 74HC595. This unit sets the physical address for each ADC module board through the DIP switch. When the ADC module board is connected to the MCU module board, the identification function of the connected ADC module board is realized through software addressing.

[0073] Pin 1 of the code switch SX1 is defined as COD0 connected to +3.3V via resistor RX11, and COD0 connected to the input pin 10 of UX3; Pin 2 of the code switch SX1 is defined as COD1 connected to +3.3V via resistor RX12, and COD1 connected to the input pin 12 of UX3; Pin 3 of the code switch SX1 is defined as COD2 connected to +3.3V via resistor RX13, and COD2 connected to the input pin 13 of UX3. Pins 4, 5, and 6 of SX1 are all grounded to realize the encoding function of the ADC module board. By controlling the on and off of each channel of the code switch SX1, the high and low level configuration of the COD2, COD1, and COD0 ports is realized, so as to achieve the purpose of configuring the physical address for the ADC module board. Pins 10, 12, and 13 of the P input terminal of the comparator 74HC85 are respectively connected to one end of the code switch COD0, COD1, and COD2, and each ADC module board is encoded by the control of the above code switch. P3 is connected to the ground, and the IO port PE5 of the microprocessor is connected to the input pin 9 of UX3 through the connector CN2 via RX22 and defined as RGA0; PE4 is connected to the input pin 11 of UX3 through the connector CN2 via RX23 and defined as RGA1; PE3 is connected to the input pin 14 of UX3 through the connector CN2 via RX31 and defined as RGA2; PE6 is connected to the input pin 13 of UX8 through the connector CN2 via RX29, and UX8 is turned on and output through the 7th pin is defined as RGEN connected to the 1st pin of UX3. Set the input terminals RGA2, RGA1, and RGA0 of the comparator 74HC85 to the same level as the COD2, COD1, and COD0 of the target ADC board, and change the output of the 6th pin RGLD by controlling the 1st pin RGEN of the 74HC85. The latch clock input pin of the shift register 74HC595 is also connected to the 6th pin RGLD of UX3. When RGLD changes from low level to high level, that is, the rising edge of the STcp clock, the data in the shift register enters the storage register and realizes the parallel loading and transmission of data. When the comparator output pin 6 outputs a high level, the LED connected between pin 6 of the comparator 74HC85 and the ground will light up to indicate. The 15-pin input terminal of the comparator 74HC85 is grounded and fixed to a low level. There are eight options for COD2, COD1, and COD0 levels, which just match the 8 ADC module boards that the MCU module board can carry, so that each ADC module board has a separate physical address and 1 MCU board can carry up to 8 ADC module boards. When multiple ADC modules are connected to the MCU module, to identify and logically control one of the boards, it is necessary to use the MCU to set RGA2, RGA1, and RGA0 to be the same as COD2, COD1, and COD0 of the ADC module board.Then control RGEN to make the output RGLD have a rising edge, so that the data in the shift register enters the storage register and realizes data parallel loading to update the logic control signals SET5, SET4, SET3, SET2, SET1, and SET0 of this ADC module board. The output of the other ADC modules cannot be recognized because RGA2, RGA1, and RGA0 are different from their own COD2, COD1, and COD0. RGLD does not generate a rising edge, the storage register data in the shift register is not updated, and the parallel output of the shift register does not change the logic control signals SET5, SET4, SET3, SET2, SET1, and SET0. Specific implementation method three

[0075] The following is a specific implementation of the common resource unit in the intermediate frequency signal acquisition circuit with expandable channel number of the present invention.

[0076] It should be noted that the common resource unit in this implementation can be implemented independently, or can be used as a key module of the intermediate frequency signal acquisition circuit with expandable channel number in the first specific implementation mode, and work in coordination with other modules.

[0077] refer to Figure 3It is a common resource unit, including 2 crystal oscillators 8.192M and 25M, 1 reference voltage source ADR4525, 1 DCDC converter, and 1 linear regulator 7805. The MCU module board, as the main board, provides clock, reference voltage, bus, and trigger for each ADC module board to ensure synchronous data transmission when the ADC module board is connected. The 25M crystal oscillator on the MCU module board provides the clock for the microprocessor STM32H7x3IIT, and the 8.192M crystal oscillator provides the clock for the ADC chip on each ADC module board. The 24V voltage and 12V voltage are generated through the dual-pin DC input voltage. The 24V voltage is connected to the 1st and 2nd pins of the DCDC chip, and the 7th and 8th pins of the DCDC chip output +3.3V voltage to power the digital part. The 3rd, 4th, 5th, and 6th pins of the DCDC are grounded, the 24V is connected to the ground in parallel through capacitors C50 and C51, and the +3.3V is connected to the ground in parallel through E2 and R40. 12V is connected to pin 1 of V1 through a 0.4A fuse, and pin 1 of V1 is grounded through E6. Pin 3 of V1 outputs +5V to power the analog part, and pin 2 is connected to the ground. +5V is grounded through parallel capacitors C52 and C53. The +5V voltage is connected to pin 2 of the reference voltage source U4, and the reference voltage VREF output from pin 6 of U4 is transmitted to the ADC module board through the connector to provide an external reference for the ADC chip. The MCU module board provides a bus for the entire circuit, including a data bus, a control bus, and an address bus. The transmission data lines ADDO, ADRDY, ADCS, ADCK, ADRST, ADDI, RGEN, RGA0, RGA1, and RGA2 provided by the microprocessor in the MCU module board for the ADC module board, and the clock signal line FSYS provided by X1 are all transmitted to each ADC module board through connector CN2. BK1_IO0, BK1_IO1, BK1_IO2, BK1_IO3, BK2_IO0, BK2_IO1, BK2_IO2, BK2_IO3 provided by the microprocessor in the MCU module board are connected to the ADC module board through the connector CN1 with the pull-up resistor. The reference voltage VREF, +3.3V, +5V, DC24V on the MCU module board are connected to the ADC module board through the connector. The microprocessor chip STM32H7x3IIT sends control instructions to the ADC module board, controls the module identification unit, the module configuration unit, the data acquisition and transmission unit, and realizes the data acquisition and transmission of multi-channel single ADC module or multiple ADC modules. The MCU module board provides triggering and simultaneously triggers the single or multiple ADC module boards carried by the MCU module board. Specific implementation method four

[0079] The following is a specific implementation of the module configuration unit in the intermediate frequency signal acquisition circuit with expandable channel number of the present invention.

[0080] It should be noted that the module configuration unit in this implementation can be implemented independently, or can be used as a key module of the intermediate frequency signal acquisition circuit with expandable channel number in the first specific implementation mode, and work in coordination with other modules.

[0081] Figure 4 It is a module configuration unit, which is composed of 1 piece of 3 groups of 2-to-1 switches 74HC4053, 1 piece of 8-to-1 switches 74HC4051, and 2 or 3 pieces of 74HC595. The data transmission of this invention adopts SPI as the main and dual QSPI as the slave to realize the parallel reading of serial data of multiple ADC modules. The control instructions of module configuration and ADC chip are connected to the 14th pin of UX8 by the 134th pin PI3 output of microprocessor U1C through resistor RX20. The 6th pin output of UX8 is defined as ADDI and connected to the 20th pin DIN of the ADC chip, and is also connected to the input pin 14th pin of UX5. The parallel output pin 15th pin of UX5 outputs SET0, the pin 1 outputs SET1, the pin 2 outputs SET2, the pin 3 outputs SET3, the pin 4 outputs SET4, the pin 5 outputs SET5, the pin 6 outputs SET6, and the pin 7 outputs SET7; the serial output pin 9th pin of UX5 is cascaded to the 14th pin of another serial shift register UX6, and the parallel output signal of UX6 controls the switch of the conditioning circuit. The clock signal provided by the MCU module board is connected to the 16th pin of UX8 through the resistor RX18. The 4th pin output of UX8 is defined as ADCK and connected to the 22nd pin SCLK of the ADC chip. At the same time, ADCK is connected to the 11th pin clock input pin of UX5 and UX6. The 12th pin latch clock input pin of UX5 and UX6 is connected to the 6th pin RGLD of UX3. The 13th pin / OE pin of UX5 and UX6 is grounded to keep it in a low-level effective state. The 10th pin / MR master reset pin is connected to +3.3V voltage to keep it in a high level. When a single ADC module board has 8 channels, it is necessary to use 3 serial shift registers. The connection method is the same as the above content. The third shift register also provides a power switch for the analog conditioning circuit part.

[0082] SET0 of UX5 parallel output is connected to the A end of UX1 at pin 11; SET1 is connected to the B end of UX1 at pin 10; SET2 is connected to the C end of UX1 at pin 9; SET3 is connected to the INH end of UX1 at pin 6. Pins 13, 14, 15, 12, 1, 5, 2, and 4 of UX1 are defined as ADDO0, ADDO1, ADDO2, ADDO3, ADDO4, ADDO5, ADDO6, and ADDO7 respectively, and are connected to the microprocessor of the MCU module board through the connector after the pull-up resistor is connected. Pin 3 of UX1 is connected to pin 21 of the ADC chip and is defined as XDDO. XDDO is controlled to conduct with ADDO7, ADDO6, ADDO5, ADDO4, ADDO3, ADDO2, ADDO1, and ADDO0 through SET0, SET1, and SET2. XDDO is also connected to the 13th pin X1 end of UX7. The 14th pin of UX7 is defined as ADDO and connected to the 133rd pin PI2 of the microprocessor U1C through the connector. The 3rd pin SET3 of UX5 is connected to the control pin 11 of UX7 to control the X end of UX7 to turn on. SET3 is set to 0 to make the 6th pin of 74HC4051 at a low level. The low level of INH of the 6th pin is effective. When SET3 is set to 1, the 13th pin X0 of 74HC85 is turned on with the 14th pin X. The data output pin XDDO of ADC is turned on with ADDO to realize SPI communication. At this time, the 6th pin INH of 74HC4051 is set to a high level and its channels are not enabled. The 19th pin of ADC chip is defined as DBOK and connected to the 1st pin Y1 end of UX7. The 15th pin of UX7 is defined as DRDY and connected to the 40th pin PA0 of the microprocessor U1A through the connector. The 4th pin SET4 of UX5 is connected to the control pin 10 of UX7 to control the Y end of UX7 to turn on. The chip select signal provided by the MCU module is connected to the 17th pin of UX8 through the resistor RX17. The 3rd pin output of UX8 is defined as ADCS connected to the 3rd pin Z1 end of UX7. The 5th pin Z0 of UX7 is connected to +3.3V. The 4th pin of UX7 is defined as ADEN connected to the 23rd pin of the ADC chip. The 5th pin SET5 of UX5 is connected to the control pin 9th pin of UX7 to control the Z end of UX7 to be turned on. The 6th, 7th and 8th pins of UX7 are grounded and the 16th pin is connected to the +3.3V voltage source. SET5 is the chip select signal of SPI and the chip select connection enable signal of ADC. 1 enables connection and 0 shuts down. It can make the ADC chips of any multiple ADC modules synchronously read the collected data according to the setting state. Different ADC module enables to realize the differentiated setting of the ADC chips of each ADC module. Each register of each ADC chip in the system can be set independently, which improves the application flexibility of the system. By controlling the conduction of the Z channel of UX7, it is realized whether ADEN is connected to 3.3V or ADCS. When ADEN is connected to 3.3V, the chip select pin is set high and the ADC chip does not transmit data. When it is connected to ADCS, the microprocessor can be used to set ADCS high or low to control the chip select pin.SET5 is connected to the positive pole of LED0 through RX25, and the negative pole of LED0 is grounded. When SET5 is set to a high level, LED0 is turned on and the small light is illuminated. When SET5 is set to a low level, LED0 is turned off to indicate the validity of SET5. Specific implementation method five

[0084] The following is a specific implementation of the data collection and transmission unit in the intermediate frequency signal collection circuit with expandable channel number of the present invention.

[0085] It should be noted that the data collection and transmission unit in this embodiment can be implemented independently, or can be used as a key module of the intermediate frequency signal collection circuit with expandable channel number in the first specific embodiment, and work in coordination with other modules.

[0086] Figure 5For the data collection and transmission unit, the key ADC chip for the data collection part is selected as the 4-channel ADC model ADS131A04, with a maximum sampling rate of 128kSPS, and 64kSPS is selected; the 8-channel ADC model is ADS131M08, with a maximum sampling rate of 64kSPS, and a crystal oscillator of 8.192MHz; the ADC sampling rate can be 64kSPS or less, with a maximum resolution of 24bit. The ADC uses SPI mode communication, and the ADC's reference and control lines come from the main control interface module. The role of the ADC is to collect analog signals and convert them into digital signals for transmission to the MCU. The power supply voltage of its digital part is 3.3V, and the working voltage of the analog part is 5V. The power supply voltage of the digital part of the ADC chip UX4 is 3.3V, and the working voltage of the analog part is 5V. When UX4 uses 4 channels, the collected input signals OUTA±, OUTB±, OUTC±, and OUTD± are connected to the AIN of the ADC chip respectively. The 30-pin M0 of UX4 is connected to the +3.3V voltage through RX7 to achieve high setting. The 31-pin M1 and the 32-pin M2 are directly connected to the ground to achieve low setting. When UX4 uses 8 channels, the signal input part OUTA±, OUTB±, OUTC±, OUTD±, OUTE±, OUTF±, OUTG±, and OUTH± are connected to the AIN of the ADC chip respectively, and there is no mode selection pin. In addition to the above differences, the connection circuits of 4 channels and 8 channels of UX4 are the same. The 12-pin of UX4 is grounded through the filter capacitor CX7, and the 13-pin is directly connected to the ground; the 14-pin buffered external reference connection of UX4 is connected to VREF through the resistor RX6, and the reference voltage VREF is connected to the ground in parallel with CX3 and EX2, and the 28-pin CAP is grounded through the capacitor CX6.The DBOK defined at the DRDY_N end of UX4's 19th pin is connected to the 1st pin of UX7; the PC13 of the microprocessor U1B is connected to the 15th pin of UX8 through the connector via the resistor RX19, and the 5th pin output is defined as ADRST and connected to the 17th pin of UX4; the ADEN defined at the CS_N end of UX4's 23rd pin is connected to the 4th pin of UX7, the PI0 pin of the microprocessor U1C is connected to the 4th pin of the connector CN2, the PG6 pin of U1B's 110th pin is defined as BK1_NCS and is also connected to the 4th pin of CN2 through the resistor R43, the 4th pin of the connector CN2 is connected to the 17th pin of UX8 through the resistor RX17, and the 3rd pin of UX8 is connected to the 4th pin of UX7. The pin output is connected to the 3rd pin of UX7, which is defined as ADCS. Controlling the 9th pin of UX7 can control the conduction of ADCS and ADEN. The 134th pin PI3 output of the microprocessor U1C is connected to the 14th pin of UX8 through the resistor RX20. The 6th pin output of UX8 is defined as ADDI and is connected to the 20th pin DIN of the ADC chip. The ADCK defined by the 131st pin PI1 of the microprocessor U1C is connected to the 5th pin of the connector CN2. The 28th pin PF10 pin of the microprocessor U1B is defined as QSPI_CLK. QSPI_CLK is also connected to the 5th pin ADCK of the connector CN2 through the resistor R44. The 5th pin of CN2 The pin is connected to the 16th pin of UX8 through the resistor RX18, the ADCK output of the 4th pin of UX8 is connected to the SCLK of the 22nd pin of UX4 and is defined as ADCK; the XDDO defined at the DOUT end of the 21st pin of UX4 is connected to the 13th pin of UX7 and the 3rd pin of UX1, the BK1_IO3 defined by PF9 is connected to the ADDO3 of UX1 through the connector CN1 after the pull-up resistor is connected, the BK1_IO2 defined by PF8 is connected to the ADDO2 of UX1 through the connector CN1 after the pull-up resistor is connected, the BK1_IO1 defined by PF7 is connected to the ADDO1 of UX1 through the connector CN1 after the pull-up resistor is connected, and the PF6 is defined The BK1_IO0 defined by PG9 is connected to the ADDO0 of UX1 through the connector CN1 after being connected to the pull-up resistor, the BK2_IO3 defined by PG9 is connected to the ADDO7 of UX1 through the connector CN1, the BK2_IO2 defined by PG14 is connected to the ADDO6 of UX1 through the connector CN1 after being connected to the pull-up resistor, the BK2_IO1 defined by PH3 is connected to the ADDO5 of UX1 through the connector CN1, and the BK2_IO0 defined by PH2 is connected to the ADDO4 of UX1 through the connector CN1 after being connected to the pull-up resistor, thereby realizing the selection of dual QSPI data line access. Specific implementation method 6

[0088] The following is a specific implementation of the intermediate frequency signal acquisition method with expandable channel number of the present invention.

[0089] The method for collecting intermediate-frequency signals with scalable number of channels under this embodiment is a method for collecting intermediate-frequency signals in the case of single-ADC-module SPI data acquisition, including the following steps:

[0090] Step a: Perform a write operation on the ADC internal control register;

[0091] Step a1: Configure the shift registers of each ADC module and confirm the validity of the write operation of SET5;

[0092] Step a2: When the display write operation is effective, initialize to set ADCS of the ADC chip to 1, turn off the QSPI function, and set RGEN to 1 to make P3<Q3 of 74HC85 make the output RGLD low;

[0093] Step a3: After the DRDY interrupt is effective, set ADCS to low level and start the SPI write operation; perform write operations on the internal registers of the ADC chip through STM32H7x3IIT according to the ADC chip usage instructions; achieve batch write operations for any number of ADC modules with the same working state;

[0094] Step b: Perform a write operation on the shift register;

[0095] Step b1: The MCU program first performs control logic operations and ensures that ADCS is 1 to make ADDO of all ADCs in high configuration;

[0096] Step b2: Turn off the QSPI function and set RGEN to 1;

[0097] Step b3: Set RGA2, RGA1, and RGA0 to the serial number of the ADC module to be operated, start a 16-bit SPI write operation once, and give a positive pulse to REGN to achieve parallel loading of the data written to the serial shift register by SPI (for example, for 8 channels, 3 shift registers are required and the data length is 24 bits); the high 8 (16) bits are used to set the current source switches and AC / DC measurement mode switches for 4 (8) channels, and the low 8 bits are used to set the module data transfer configuration;

[0098] The order of step a and step b can be swapped or carried out synchronously;

[0099] Step c: Collect intermediate-frequency signals;

[0100] Step c1: Configure the shift register of the ADC module with SET3 set to 1, SET4 set to 1, and SET5 set to 1. Setting SET3 to 1 connects pin 13 X1 of UX7 to pin 14 X, and XDDO is connected to ADDO to enable SPI communication. Setting SET4 to 1 connects pin 1 Y1 of UX7 to pin 15 Y, and DBOK is connected to DRDY. The DRDY can be enabled and disabled by setting the output of the microprocessor control pin to 0 or 1. Setting SET5 to 1 connects pin 3 Z1 of UX7 to pin 4 Z, and ADCS is connected to ADEN. At this time, setting the high and low levels of the IO port connected to ADCS can control the enabling of the ADC chip.

[0101] Step c2: Turn off the QSPI function and set RGEN to 1.

[0102] Step c3: After the DRDY interrupt is valid, set ADCS to low level to start the SPI read operation. Read the conversion data of each channel through STM32H7x3IIT according to the ADC chip usage instructions. Specific Embodiment Seven

[0104] The following is a specific embodiment of the method for collecting intermediate frequency signals with expandable number of channels according to the present invention.

[0105] The method for collecting intermediate frequency signals with expandable number of channels in this embodiment is a method for collecting intermediate frequency signals in the case of multi-ADC module QSPI data collection, including the following steps:

[0106] Step a: Perform a write operation on the ADC internal control register.

[0107] Step a1: Configure the shift register of each ADC module and confirm the validity of the write operation of SET5.

[0108] Step a2: When the write operation is valid, initialize the ADCS of the ADC chip to 1, turn off the QSPI function, and set RGEN to 1 to make the output RGLD of P3<Q3 of 74HC85 low level.

[0109] Step a3: After the DRDY interrupt is valid, set ADCS to low level to start the SPI write operation. Perform a write operation on each register inside the ADC chip through STM32H7x3IIT according to the ADC chip usage instructions to achieve batch write operations for any number of ADC modules with the same working state.

[0110] Step b: Perform a write operation on the shift register.

[0111] Step b1: The MCU program first performs control logic operations and ensures that ADCS is 1 to make the ADDO of all ADCs in a high configuration.

[0112] Step b2, the QSPI function is turned off, RGEN is 1;

[0113] Step b3, RGA2, RGA1, RGA0 are set to the ADC module serial number to be operated, and a 16-bit SPI write operation is started. REGN sends a positive pulse to realize parallel loading of data written into the SPI serial shift register (e.g. 8 channels, 3 shift registers are required, 24-bit data length); the upper 8 (16) bits are used to set the current source switch and AC / DC measurement mode switch of 4 (8) channels, and the lower 8 bits are used to set the module data transmission configuration;

[0114] The order of step a and step b can be switched or performed simultaneously;

[0115] Step c, collecting intermediate frequency signals;

[0116] Step c1, set the shift register of the module, and keep the SET2, SET1, SET0 and the DIP switch status of each ADC module board the same;

[0117] Step c2, set SET3 to 0, SET4 to 0, and SET5 to 1;

[0118] Step c3, the QSPI function is turned off and RGEN is 1; the module identification function is turned on and RGA0, RGA1, and RGA2 are set to the same state as the DIP switches of the target ADC module board;

[0119] Step c4, set SET4 of the target operation ADC module board to 1, and the others to 0 without updating;

[0120] Step c5, after the DRDY interrupt is valid, ADCS is set to a low level, QSPI starts from the input function, and starts the SPI read operation;

[0121] Step c6, read and cache QSPI input data through STM32H7x3IIT according to the instructions for use of the ADC chip, and the SPI input data is useless; by controlling the module identification unit of the target ADC module board, the shift register latch clock generates a rising edge to update the parallel output, so that the operated ADC module works according to the originally set parallel output signal.

[0122] It should be noted that the above is only a specific example of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An intermediate frequency signal acquisition circuit with expandable channel number, characterized in that: It includes a module identification unit, a common resource unit, a module configuration unit and a data collection and transmission unit; The module identification unit is composed of a 4-bit data comparator 74HC85, a 4-bit dip switch and 2 or 3 shift registers 74HC595; the dip switch sets a physical address for each ADC module board, and when the ADC module board is connected to the MCU module board, the identification function of the connected ADC module board is realized through software addressing; the 1st pin of the dip switch SX1 is defined as COD0 connected to +3.3V via resistor RX11, and COD0 is connected to the input pin 10 of UX3; the 2nd pin of the dip switch SX1 is defined as COD1 connected to +3.3V via resistor RX12, and COD1 is connected to the input pin 12 of UX3; the 3rd pin of the dip switch SX1 is defined as COD2 connected to +3.3V via resistor RX13, and COD 2 is connected to the input pin 13 of UX3, and the 4th, 5th and 6th pins of SX1 are all grounded to realize the encoding function of the ADC module board; the IO port PE5 of the microprocessor is connected to the input pin 9 of UX3 through the connector CN2 via RX22 and is defined as RGA0; PE4 is connected to the input pin 11 of UX3 through the connector CN2 via RX23 and is defined as RGA1; PE3 is connected to the input pin 14 of UX3 through the connector CN2 via RX31 and is defined as RGA2; PE6 is connected to the input pin 13 of UX8 through the connector CN2 via RX29, and UX8 is turned on and outputted through the 7th pin and is defined as RGEN connected to the 1st pin of UX3; the 15th, 2nd and 4th pins of UX3 are grounded, and the 3rd pin of UX3 is connected to +3.3V; The output pin 6 of UX3 is defined as RGLD connected to the anode of the light-emitting diode through RX24, and the cathode of the light-emitting diode is grounded; the RGLD of the 6th pin of UX3 is connected to the 12th pin of UX5 and UX6 as the latch clock of the shift register; The common resource unit includes two crystal oscillators 8.192M and 25M, one reference voltage source ADR4525, one DCDC converter, and one linear regulator 7805; a 24V voltage and a 12V voltage are generated through a dual-pin DC input voltage, the 24V voltage is connected to pins 1 and 2 of the DCDC chip, and pins 7 and 8 of the DCDC chip output a +3.3V voltage; pins 3, 4, 5, and 6 of the DCDC are grounded, 24V is connected to the ground in parallel through capacitors C50 and C51, and +3.3V is connected to the ground in parallel through E2 and R40; 12V is connected to pin 1 of V1 through a 0.4A fuse, pin 1 of V1 is grounded through E6, pin 3 of V1 outputs +5V, pin 2 is connected to the ground, and +5V is grounded through parallel capacitors C52 and C53; +5V voltage is connected to pin 2 of reference voltage source U4, and pin 6 of U4 outputs reference voltage VREF through the connector to the ADC module board to provide an external reference for the ADC chip; +5V connected to pin 2 of U4 is grounded through parallel capacitors C3 and C42, and VREF is grounded through parallel capacitors E1 and C4; crystal oscillator X1 provides clock for the ADC chip of each ADC module board, pin 2 of crystal oscillator X1 is grounded and pin 4 is connected to digital power supply +3.3V, pin 3 of X1 is connected to pull-up resistor R4, and the output clock signal is defined as FSYS to provide clock for the ADC chip of each ADC module board; crystal oscillator X2 provides clock for microcontroller STM32H7x3IIT, pin 1 of X2 is defined as OSCIN and connected to pin 29 PH0-OSC_IN of microprocessor U1B, pin 3 of X2 is defined as OSCOUT and connected to pin 30 PH1-OSC_OUT of microprocessor U1B, resistor R7 is connected in series between OSCIN and OSCOUT, and pin 1 of X2 is connected to pin 2 of X2 through capacitor C2 After being connected, the 3rd pin of X2 is connected to the 4th pin of X2 through the capacitor C5 and then grounded; the transmission data lines ADDO, ADRDY, ADCS, ADCK, ADRST, ADDI, RGEN, RGA0, RGA1, RGA2 provided by the microprocessor in the MCU module board for the ADC module board, and the clock signal line FSYS provided by X1 are all transmitted to each ADC module board through the connector CN2; BK1_IO0, BK1_IO1, BK1_IO2, BK1_IO3, BK2_IO0, BK2_IO1, BK2_IO2, BK2_IO3 provided by the microprocessor in the MCU module board are connected to the ADC module board through the connector CN1 with a pull-up resistor; the reference voltages VREF, +3.3V, +5V, and DC24V on the MCU module board are connected to the ADC module board through a connector; through the above connection, the MCU module board provides resources including clock, reference, trigger, and bus to each ADC board to achieve synchronization of data acquisition and transmission; The module configuration unit is composed of 1 piece of 3 groups of 2-to-1 switches 74HC4053, 1 piece of 8-to-1 switch 74HC4051, and 2 or 3 pieces of 74HC595; the control instructions for the module configuration and the ADC chip are output by the 134-pin PI3 of the microprocessor U1C and connected to the 14-pin of UX8 through the resistor RX20, the 6-pin output of UX8 is defined as ADDI and connected to the 20-pin DIN of the ADC chip, and is also connected to the input pin 14 of UX5; the parallel output pin 15 of UX5 outputs SET0, the pin 1 outputs SET1, the pin 2 outputs SET2, the pin 3 outputs SET3, the pin 4 outputs SET4, the pin 5 outputs SET5, the pin 6 outputs SET6, and the pin 7 outputs SET7; The 9th pin of UX5 serial output is cascaded to the 14th pin of another serial shift register UX6, and the parallel output signal of UX6 controls the switch of the conditioning circuit; the clock signal provided by the MCU module board is connected to the 16th pin of UX8 through the resistor RX18. After conduction, the 4th pin output of UX8 is defined as ADCK and connected to the 22nd pin SCLK of the ADC chip, and ADCK is connected to the 11th pin clock input pin of UX5 and UX6; the 12th pin latch clock input pin of UX5 and UX6 is connected to the 6th pin RGLD of UX3, the 13th pin / OE pin of UX5 and UX6 is grounded to keep it in a low-level effective state, and the 10th pin / MR master reset pin is connected to the +3.3V voltage to keep it in a high level; when a single ADC module board has 8 channels, 3 serial shift registers are required, and the connection method is the same as the above content. The third shift register also provides a power switch for the analog conditioning circuit part; SET0 of the parallel output of UX5 is connected to the A end of pin 11 of UX1; SET1 is connected to the B end of pin 10 of UX1; SET2 is connected to the C end of pin 9 of UX1; SET3 is connected to the INH end of pin 6 of UX1; pins 13, 14, 15, 12, 1, 5, 2, and 4 of UX1 are defined as ADDO0, ADDO1, ADDO2, ADDO3, ADDO4, ADDO5, ADDO6, and ADDO7 respectively, which are connected to the microprocessor of the MCU module board through the connector with pull-up resistors, and pin 3 of UX1 is connected to pin 21 of the ADC chip and defined as XDDO; XDDO is also connected to the X1 end of pin 13 of UX7, and pin 14 of UX7 is defined as ADDO, which is connected to the PI2 of pin 133 of the microprocessor U1C through the connector, and pin 3 of UX5 SET3 is connected to the control lead of UX7 Pin 11 is connected to control the X end of UX7 to be turned on; Pin 19 of ADC chip is defined as DBOK and connected to the Y1 end of Pin 1 of UX7; Pin 15 of UX7 is defined as DRDY and connected to the 40-pin PA0 of microprocessor U1A through a connector; Pin 4 of UX5 SET4 is connected to the control pin 10 of UX7 to control the Y end of UX7 to be turned on; The chip select signal provided by the MCU module is connected to Pin 17 of UX8 through resistor RX17. After being turned on, the output of Pin 3 of UX8 is defined as ADCS and connected to the Z1 end of Pin 3 of UX7; Pin 5 of UX7 is connected to +3.3V; Pin 4 of UX7 is defined as ADEN and connected to Pin 23 of ADC chip; Pin 5 of UX5 SET5 is connected to the control pin 9 of UX7 to control the Z end of UX7 to be turned on; Pins 6, 7, and 8 of UX7 are grounded, and Pin 16 is connected to a +3.3V voltage source; The data collection and transmission unit is composed of a microprocessor STM32H7x3IIT and an analog-to-digital conversion chip ADS131A04 or ADS131M08; the digital part of the ADC chip UX4 is powered by 3.3V, and the analog part operates at 5V; when UX4 uses 4 channels, the collected input signals OUTA±, OUTB±, OUTC±, and OUTD± are respectively connected to AIN of the ADC chip, and the 30th pin M0 of UX4 is connected to a +3.3V voltage through RX7 to achieve a high setting, and the 31st pin M1 and the 32nd pin M2 are directly connected to the ground to achieve a low setting. When UX4 uses 8 channels, for the signal input part OUT A±, OUTB±, OUTC±, OUTD±, OUTE±, OUTF±, OUTG±, and OUTH± are connected to AIN of the ADC chip respectively, and there is no mode selection pin. Except for the above differences, the 4-channel and 8-channel connection circuits of UX4 are the same. Pin 12 of UX4 is grounded through filter capacitor CX7, and pin 13 is directly connected to the ground. Pin 14 of UX4 is connected to VREF through resistor RX6 as a buffered external reference. The reference voltage VREF is connected to the ground in parallel with CX3 and EX2. Pin 28 CAP is grounded through capacitor CX6. The DBOK defined at the DRDY_N terminal of pin 19 of UX4 is connected to pin 1 of UX7. Microprocessor U1 PC13 of B is connected to pin 15 of UX8 through the connector via resistor RX19, and the output of pin 5 is defined as ADRST and connected to pin 17 of UX4; ADEN defined at the CS_N end of pin 23 of UX4 is connected to pin 4 of UX7, PI0 pin of microprocessor U1C is connected to pin 4 of connector CN2, PG6 pin of pin 110 of U1B is defined as BK1_NCS and also connected to pin 4 of CN2 through resistor R43, pin 4 of connector CN2 is connected to pin 17 of UX8 through resistor RX17, output of pin 3 of UX8 is connected to pin 3 of UX7 and defined as ADCS, and controlling pin 9 of UX7 can control the conduction of ADCS and ADEN; The PI3 output of the microprocessor U1C at pin 134 is connected to the 14th pin of UX8 through the resistor RX20, and the output of the 6th pin of UX8 is defined as ADDI and connected to the 20th pin DIN of the ADC chip; the ADCK defined by the PI1 at pin 131 of the microprocessor U1C is connected to the 5th pin of the connector CN2, the PF10 pin of the microprocessor U1B at pin 28 is defined as QSPI_CLK, and QSPI_CLK is also connected to the ADCK at the 5th pin of the connector CN2 through the resistor R44, the 5th pin of CN2 is connected to the 16th pin of UX8 through the resistor RX18, the ADCK output of the 4th pin of UX8 is connected to the SCLK at pin 22 of UX4 and defined as ADCK;XDDO defined at the DOUT end of UX4's 21st pin is connected to UX7's 13th pin and UX1's 3rd pin. BK1_IO3 defined by PF9 is connected to ADDO3 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO2 defined by PF8 is connected to ADDO2 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO1 defined by PF7 is connected to ADDO1 of UX1 through connector CN1 after being connected to a pull-up resistor. BK1_IO0 defined by PF6 is connected to ADDO3 of UX1 through connector CN1 after being connected to a pull-up resistor. The ADDO0 of , BK2_IO3 defined by PG9 is connected to ADDO7 of UX1 through connector CN1 after being connected to a pull-up resistor, BK2_IO2 defined by PG14 is connected to ADDO6 of UX1 through connector CN1 after being connected to a pull-up resistor, BK2_IO1 defined by PH3 is connected to ADDO5 of UX1 through connector CN1 after being connected to a pull-up resistor, and BK2_IO0 defined by PH2 is connected to ADDO4 of UX1 through connector CN1 after being connected to a pull-up resistor, to realize the selection of data line access of dual QSPI. ;

Citation Information

Patent Citations

  • Big data monitoring multi-channel temperature acquisition circuit

    CN110926645A

  • Distributed water body conductivity detection circuit and key module thereof

    CN111537569A

  • Multichannel high-precision parallel signal acquisition digital transmitter

    CN209232137U

  • Analog Front End Device with Two-Wire Interface

    US20130120032A1