CN204229162U - A kind of data acquisition circuit based on PNI Magnetic Sensor - Google Patents

A kind of data acquisition circuit based on PNI Magnetic Sensor Download PDF

Info

Publication number
CN204229162U
CN204229162U CN201420653526.5U CN201420653526U CN204229162U CN 204229162 U CN204229162 U CN 204229162U CN 201420653526 U CN201420653526 U CN 201420653526U CN 204229162 U CN204229162 U CN 204229162U
Authority
CN
China
Prior art keywords
pin
chip
voltage conversion
chip microcomputer
voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201420653526.5U
Other languages
Chinese (zh)
Inventor
章雪挺
张�林
翁大平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201420653526.5U priority Critical patent/CN204229162U/en
Application granted granted Critical
Publication of CN204229162U publication Critical patent/CN204229162U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Microcomputers (AREA)

Abstract

The utility model relates to a kind of data acquisition circuit based on PNI Magnetic Sensor.Power-supplying circuit in the utility model is respectively single-chip data acquisition circuit, SD card memory circuit and RS-232 data serial communications circuit provides the power supply of+3.3V to input.Single-chip data acquisition circuit is by gathering PNI sensor assembly through SPI2 interface magnetic field data.The magnetic field data that acquisition process is crossed by single-chip data acquisition circuit and clock time are sent by SPI1 interface and are stored in SD card memory circuit.Single-chip data acquisition circuit realizes the data input and data output with RS-232 data serial communications circuit by serial ports.The utility model is combined with PNI magnetic sensor module, can data acquisition, and data store and the function of data upload.By gathering magnetic field, periodically generating one group of data and outwards being transmitted by serial ports.

Description

A kind of data acquisition circuit based on PNI Magnetic Sensor
Technical field
The utility model relates to a kind of data acquisition circuit, especially a kind of data acquisition circuit based on PNI Magnetic Sensor.
Background technology
Numerous features such as the 3D MagIC that PNI releases has low in energy consumption, and sample frequency is fast, and resolution is high.The special drive IC of Magnetic Sensor of PNI greatly simplify magnetometer or the design effort of electronic compass product circuit, and it can external (driving) three PNI Magnetic Sensors (a two SEN-XY and SEN-Z).
Summary of the invention
The purpose of this utility model is to design a kind of data acquisition circuit based on PNI Magnetic Sensor, comprises power-supplying circuit, STM32 single-chip data acquisition circuit, SD card memory circuit and RS-232 data serial communications circuit.
Wherein power-supplying circuit comprises voltage conversion chip U1, adopt the voltage conversion chip AMS1117-3.3 of AMS company, three tantalum electric capacity C1, C3 and C5, two patch capacitor C2 and C4, a voltage stabilizing diode D1, a LED-1, two Chip-R R1 and R2, an inductance L 1; Voltage stabilizing diode D1 positive pole is connected with input power VCC, and voltage stabilizing diode D1 negative pole is connected with the 3 pin IN of voltage conversion chip U1; Tantalum electric capacity C1 positive pole is connected with the 3 pin IN of voltage conversion chip U1, tantalum electric capacity C1 minus earth; Patch capacitor C2 one end is connected with the 3 pin IN of voltage conversion chip U1, and the other end is connected with the 1 pin GND of voltage conversion chip U1; Chip-R R1 one end is connected to the ground, and the other end is connected with the 1 pin GND of voltage conversion chip U1; The 2 pin OUT of voltage conversion chip U1 are connected with 4 pin OUT; Inductance L 1 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the positive pole of LED-1; The negative pole of diode (LED)-1 is connected with Chip-R R2 one end; The Chip-R R2 other end is connected with the 1 pin GND of voltage conversion chip U1; Tantalum electric capacity C3 positive pole is connected with the 2 pin OUT of voltage conversion chip U1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1; Patch capacitor C4 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the 1 pin GND of voltage conversion chip U1; Tantalum electric capacity C5 positive pole is connected with the positive pole of LED-1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1.
STM32 single-chip data acquisition circuit comprises single chip machine controlling circuit and peripheral circuit thereof; Single-chip microcomputer adopts the STM32F103RCT6 of ST company; Wherein peripheral circuit comprises nine patch capacitors C6, C7, C8, C9, C10, C11, C12, C13 and C14, five Chip-Rs R3, R4, R5, R6 and R7, two betal can crystal oscillator X1 and X2, a LED-2, the button cell base BT1 of a 3V, a J-LINK-SWD download program and debugging interface J1, two with row's needle interface P1 and P2 of PNI model calling; The 3.3V voltage of the 2 pin OUT output terminals of single-chip microcomputer 6 pin, 13 pin, 19 pin, 32 pin, 48 pin, 64 pin and power-supplying circuit output terminal and voltage conversion chip U1 is connected; Single-chip microcomputer 12 pin, 18 pin, 31 pin, 47 pin, 63 pin are connected with ground GND; Betal can crystal oscillator X1 two ends are connected with 6 pin with single-chip microcomputer 5 pin respectively; The patch capacitor C10 of starting of oscillation is connected with 6 pin with single-chip microcomputer 5 pin respectively with C11 one end, and the other end is connected with ground GND; Betal can crystal oscillator X2 two ends are connected with 4 pin with single-chip microcomputer 3 pin respectively; The patch capacitor C13 of starting of oscillation is connected with 4 pin with single-chip microcomputer 3 pin respectively with C14 one end, and the other end is connected with ground GND; Chip-R R6 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 7 pin; Chip-R R7 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 60 pin; Patch capacitor C12 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 7 pin; The button cell base BT1 positive pole of 3V is connected with single-chip microcomputer 1 pin, and negative pole is connected with ground GND; Patch capacitor R5 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with LED-2 positive pole; LED-2 negative pole is connected with single-chip microcomputer 59 pin; Be connected with single-chip microcomputer 34 pin PB13 with 1 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 35 pin PB14 with 2 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 36 pin PB15 with 3 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 33 pin PB12 with 4 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 37 pin PC6 with 5 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 39 pin PC8 with 6 pin of row's needle interface P1 of PNI model calling; Be connected with ground GND with 7 pin of row's needle interface P1 of PNI model calling; Be connected with the 3.3V voltage of 5 pin of row's needle interface P2 of PNI model calling with the 2 pin OUT output terminals of voltage conversion chip U1; Be connected with ground GND with 7 pin of row's needle interface P2 of PNI model calling; Unsettled with 1 pin of row's needle interface P2 of PNI model calling, 2 pin, 3 pin, 4 pin and 6 pin; Four patch capacitors C6, C7, C8, C9 are in parallel, and one end is connected with ground GND respectively, and one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; One end of Chip-R R3 is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 46 pin PA13; One end of Chip-R R4 is connected with ground GND, and the other end is connected with single-chip microcomputer 49 pin PA14; J-LINK-SWD download program is connected with the 3.3V voltage of 1 pin of debugging interface J1 with the 2 pin OUT output terminals of voltage conversion chip U1; 2 pin and the single-chip microcomputer 46 pin PA13 of J-LINK-SWD download program and debugging interface J1 are connected; J-LINK-SWD download program is connected with single-chip microcomputer 49 pin PA14 with 3 pin of debugging interface J1; J-LINK-SWD download program is connected with single-chip microcomputer 7 pin RESET2 with 4 pin of debugging interface J1; J-LINK-SWD download program is connected with ground GND with 5 pin of debugging interface J1.
SD card memory circuit comprises a Micro SD draw-in groove U3, a button cell base BT1 and 3V button cell of a Chip-R R8, a patch capacitor C15 and 3V; 1 pin of draw-in groove U3 is unsettled; 2 pin of draw-in groove U3 are connected with single-chip microcomputer 20 pin SD CS; 3 pin of draw-in groove U3 are connected with single-chip microcomputer 23 pin SD MOSI; 4 pin of draw-in groove U3 are connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; 5 pin of draw-in groove U3 are connected with single-chip microcomputer 21 pin SD CLK; 6 pin of draw-in groove U3 are connected with ground GND; 7 pin of draw-in groove U3 are connected with single-chip microcomputer 22 pin SD MISO; 8 pin of draw-in groove U3 are unsettled; 9 pin of draw-in groove U3 are connected with ground GND; 10 pin of draw-in groove U3 are connected with Chip-R R8 one end; Patch capacitor C15 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with ground GND; Chip-R R8 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with 10 pin of U3.
RS-232 data serial communications circuit comprises one is aimed at the design of rs-232 standard serial ports single supply level transferring chip U4 by Maxim, uses+3V to+5.5V single power supply; Four patch capacitors C16, C17, C18, C19; The connector base P3 of an outside 12V power supply and serial ports; Patch capacitor C16 one end is connected with 1 pin of single supply level transferring chip U4, and the other end is connected with 3 pin of single supply level transferring chip U4; Patch capacitor C17 one end is connected with 4 pin of single supply level transferring chip U4, and the other end is connected with 5 pin of single supply level transferring chip U4; Patch capacitor C18 one end is connected with 2 pin of single supply level transferring chip U4, and the other end is connected with 16 pin of single supply level transferring chip U4; Patch capacitor C19 one end is connected with 6 pin of single supply level transferring chip U4, and the other end is connected with 15 pin of single supply level transferring chip U4; 16 pin of single supply level transferring chip U4 connect the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; The 15 pin ground connection GND of single supply level transferring chip U4; Outside 12V power supply is connected with 7 pin of single supply level transferring chip U4 with 1 interface of connector base P3 of serial ports; Outside 12V power supply is connected with 8 pin of single supply level transferring chip U4 with 2 interfaces of connector base P3 of serial ports; The 3 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports; 4 interfaces of the connector base P3 of outside 12V power supply and serial ports are unsettled; Outside 12V power supply is connected with the 3.3V voltage of 5 interfaces of the connector base P3 of serial ports with the 2 pin OUT output terminals of voltage conversion chip U1; The 6 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports; 9 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 43 pin RXD1; 10 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 42 pin TXD1.
Photovoltaic conversion chip U1 in the utility model, data circuit gather control chip U2 and aim at the single supply level transferring chip U4 of rs-232 standard serial ports design, all adopt matured product.Wherein photovoltaic conversion chip U1 adopts the voltage conversion chip AMS1117-3.3 of AMS company, data circuit gathers the STM32F103RCT6 that control chip U2 adopts ST company, by U.S., single supply level transferring chip U4 believes that (MAXIM) company aims at the single supply level transferring chip MAX3232 of rs-232 standard serial ports design.
The utility model beneficial effect: notebook data Acquisition Circuit is combined with PNI magnetic sensor module, can data acquisition, and data store and the function of data upload.By gathering magnetic field, periodically generating one group of data and outwards being transmitted by serial ports.The data uploaded by PC platform, intuitively, clearly can observe.This Acquisition Circuit not only can measure geomagnetic field variation, and because its high sensitive, can infer the attitudes vibration of surrounding metal object.
Accompanying drawing explanation
Fig. 1 is integrated circuit schematic diagram of the present utility model;
Fig. 2 is the power-supplying circuit schematic diagram in Fig. 1;
Fig. 3 is the single-chip data acquisition circuit diagram in Fig. 1;
Fig. 4 is the SD card memory circuit schematic diagram in Fig. 1;
Fig. 5 is the RS-232 data serial communications circuit diagram in Fig. 1.
Embodiment
As shown in Figure 1, the utility model comprises power-supplying circuit 1, single-chip data acquisition circuit 2, SD card memory circuit 3, RS-232 data serial communications circuit 4.Power-supplying circuit 1 is respectively single-chip data acquisition circuit 2, SD card memory circuit 3 and RS-232 data serial communications circuit 4 provides the power supply of+3.3V to input.Single-chip data acquisition circuit 2 is by gathering PNI sensor assembly through SPI2 interface magnetic field data.PNI sensor assembly sends to the magnetic field data of single-chip microcomputer to be digital signal, and single-chip microcomputer can directly receive.The magnetic field data that acquisition process is crossed by single-chip data acquisition circuit 2 and clock time are sent by SPI1 interface and are stored in SD card memory circuit 3 li.User can read magnetic field data at each time point in SD storage card by card reader.Single-chip data acquisition circuit 2 realizes the data input and data output with RS-232 data serial communications circuit 4 by serial ports 1.
As shown in Figure 2, power-supplying circuit comprises voltage conversion chip U1, adopt the voltage conversion chip AMS1117-3.3 of AMS company, 3 tantalum electric capacity C1, C3 and C5,2 patch capacitor C2 and C4,1 voltage stabilizing diode D1,1 LED-1,2 Chip-R R1 and R2,1 inductance L 1.Voltage stabilizing diode D1 positive pole and input power VCC(12V) be connected, voltage stabilizing diode D1 negative pole is connected with the 3 pin IN of U1; Tantalum electric capacity C1 positive pole is connected with the 3 pin IN of voltage conversion chip U1, tantalum electric capacity C1 minus earth; Patch capacitor C2 one end is connected with the 3 pin IN of voltage conversion chip U1, and one end is connected with the 1 pin GND of voltage conversion chip U1; Chip-R R1 one end is connected to the ground, and the other end is connected with the 1 pin GND of voltage conversion chip U1.The 2 pin OUT of voltage conversion chip U1 are connected with 4 pin OUT.Inductance L 1 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the positive pole of LED-1; Negative pole and the Chip-R R2 mono-section of diode (LED)-1 is connected; The Chip-R R2 other end is connected with the 1 pin GND of voltage conversion chip U1.Tantalum electric capacity C3 positive pole is connected with the 2 pin OUT of voltage conversion chip U1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1.Patch capacitor C4 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the 1 pin GND of voltage conversion chip U1.Tantalum electric capacity C5 positive pole is connected with the positive pole of LED-1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1.
As shown in Figure 3, single-chip data acquisition circuit comprises single chip machine controlling circuit and peripheral circuit thereof.Single-chip microcomputer adopts the STM32F103RCT6 of ST company.Wherein peripheral circuit comprises 9 patch capacitors C6, C7, C8, C9, C10, C11, C12, C13 and C14,5 Chip-Rs R3, R4, R5, R6 and R7,2 betal can crystal oscillator X1 and X2,1 LED-2, the button cell base BT1 of 1 3V, 1 J-LINK-SWD download program and debugging interface J1,2 with row's needle interface P1 and P2 of PNI model calling.The 3.3V voltage of the 2 pin OUT output terminals of single-chip microcomputer 6 pin, 13 pin, 19 pin, 32 pin, 48 pin, 64 pin and power-supplying circuit output terminal and voltage conversion chip U1 is connected; Single-chip microcomputer 12 pin, 18 pin, 31 pin, 47 pin, 63 pin are connected with ground GND.Betal can crystal oscillator X1 two ends are connected with 6 pin with single-chip microcomputer 5 pin respectively; The patch capacitor C10 of starting of oscillation is connected with 6 pin with single-chip microcomputer 5 pin respectively with C11 one end, and the other end is connected with ground GND; Betal can crystal oscillator X2 two ends are connected with 4 pin with single-chip microcomputer 3 pin respectively; The patch capacitor C13 of starting of oscillation is connected with 4 pin with single-chip microcomputer 3 pin respectively with C14 one end, and the other end is connected with ground GND.Chip-R R6 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 7 pin; Chip-R R7 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 60 pin; Patch capacitor C12 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 7 pin.The button cell base BT1 positive pole of 3V is connected with single-chip microcomputer 1 pin, and negative pole is connected with ground GND.Patch capacitor R5 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with LED-2 positive pole; LED-2 negative pole is connected with single-chip microcomputer 59 pin.Be connected with single-chip microcomputer 34 pin PB13 with 1 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 35 pin PB14 with 2 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 36 pin PB15 with 3 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 33 pin PB12 with 4 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 37 pin PC6 with 5 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 39 pin PC8 with 6 pin of row's needle interface P1 of PNI model calling; Be connected with ground GND with 7 pin of row's needle interface P1 of PNI model calling.Be connected with the 3.3V voltage of 5 pin of row's needle interface P2 of PNI model calling with the 2 pin OUT output terminals of voltage conversion chip U1; Be connected with ground GND with 7 pin of row's needle interface P2 of PNI model calling; Unsettled with 1 pin of row's needle interface P2 of PNI model calling, 2 pin, 3 pin, 4 pin and 6 pin.4 patch capacitors C6, C7, C8, C9 are in parallel, and one end is connected with ground GND respectively, and one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1.One end of Chip-R R3 is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 46 pin PA13.One end of Chip-R R4 is connected with ground GND, and the other end is connected with single-chip microcomputer 49 pin PA14.
J-LINK-SWD download program is connected with the 3.3V voltage of 1 pin of debugging interface J1 with the 2 pin OUT output terminals of voltage conversion chip U1; 2 pin and the single-chip microcomputer 46 pin PA13 of J-LINK-SWD download program and debugging interface J1 are connected; J-LINK-SWD download program is connected with single-chip microcomputer 49 pin PA14 with 3 pin of debugging interface J1; J-LINK-SWD download program is connected with single-chip microcomputer 7 pin RESET2 with 4 pin of debugging interface J1; J-LINK-SWD download program is connected with ground GND with 5 pin of debugging interface J1.
As shown in Figure 4, SD card memory circuit comprises 1 Micro SD draw-in groove U3, button cell base BT1 and 1 the 3V button cell of 1 Chip-R R8,1 patch capacitor C15 and 1 3V.Wherein the button cell base BT1 of 3V and 3V button cell explain in Part II STM32 single-chip data acquisition circuit.1 pin of U3 is unsettled; 2 pin of U3 are connected with single-chip microcomputer 20 pin SD CS; 3 pin of U3 are connected with single-chip microcomputer 23 pin SD MOSI; 4 pin of U3 are connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; 5 pin of U3 are connected with single-chip microcomputer 21 pin SD CLK; 6 pin of U3 are connected with ground GND; 7 pin of U3 are connected with single-chip microcomputer 22 pin SD MISO; 8 pin of U3 are unsettled; 9 pin of U3 are connected with ground GND; 10 pin of U3 are connected with Chip-R R8 one end.Patch capacitor C15 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with ground GND.Chip-R R8 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with 10 pin of U3.
As shown in Figure 5, RS-232 data serial communications circuit comprises 1 and believes that (MAXIM) company aims at the single supply level transferring chip U4(MAX3232 of rs-232 standard serial ports design by U.S.), use+3V to+5.5V single power supply.4 patch capacitors C16, C17, C18, C19.The connector base P3 of 1 outside 12V power supply and serial ports 1.Patch capacitor C16 one end is connected with 1 pin of single supply level transferring chip U4, and the other end is connected with 3 pin of single supply level transferring chip U4; Patch capacitor C17 one end is connected with 4 pin of single supply level transferring chip U4, and the other end is connected with 5 pin of single supply level transferring chip U4; Patch capacitor C18 one end is connected with 2 pin of single supply level transferring chip U4, and the other end is connected with 16 pin of single supply level transferring chip U4; Patch capacitor C19 one end is connected with 6 pin of single supply level transferring chip U4, and the other end is connected with 15 pin of single supply level transferring chip U4.16 pin of single supply level transferring chip U4 connect the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; The 15 pin ground connection GND of single supply level transferring chip U4.Outside 12V power supply is connected with 7 pin of single supply level transferring chip U4 with 1 interface of connector base P3 of serial ports 1; Outside 12V power supply is connected with 8 pin of single supply level transferring chip U4 with 2 interfaces of connector base P3 of serial ports 1; The 3 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports 1; 4 interfaces of the connector base P3 of outside 12V power supply and serial ports 1 are unsettled; Outside 12V power supply is connected with the 3.3V voltage of 5 interfaces of the connector base P3 of serial ports 1 with the 2 pin OUT output terminals of voltage conversion chip U1; The 6 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports 1.9 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 43 pin RXD1; 10 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 42 pin TXD1.
Principle of work based on the data acquisition circuit of PNI Magnetic Sensor is as follows: power-supplying circuit primary responsibility is PNI Magnetic Sensor, single-chip data acquisition circuit, SD card memory circuit and RS-232 data serial communications circuit supply voltage.Two row's needle interfaces in single-chip data acquisition circuit are used for patching PNI Magnetic Sensor.In single-chip data acquisition circuit, STM32 single-chip microcomputer is connected with PNI Magnetic Sensor by SPI2 bus, controls whole circuit, realizes the reception of magnetic field data.Meanwhile, single-chip data acquisition circuit passes through transmission and the reception of serial ports 1 and RS-232 data serial communications circuit realiration data.User can observe magnetic field data by COM Debug Assistant or upper computer software in PC.In addition, the SD card memory circuit in notebook data Acquisition Circuit, is connected with the STM32 single-chip microcomputer in single-chip data acquisition circuit by SPI1 bus, for storing the magnetic field data detected by the PNI Magnetic Sensor through single-chip microcomputer process.
The digital signal that the utility model exports for PNI Magnetic Sensor and Magnetic driving chip, accepts the characteristic of data-signal, designs a kind of data acquisition circuit based on PNI Magnetic Sensor according to single-chip microcomputer.Along with magnetic detector is in the widespread use of every field, this circuit not only will play a role in ground magnetic detection and earth magnetism early warning, and because its high sensitive, will infer that the attitudes vibration field of metal object plays an important role.

Claims (1)

1. based on a data acquisition circuit for PNI Magnetic Sensor, comprise power-supplying circuit, STM32 single-chip data acquisition circuit, SD card memory circuit and RS-232 data serial communications circuit, is characterized in that:
Power-supplying circuit comprises voltage conversion chip U1, adopts the voltage conversion chip AMS1117-3.3 of AMS company, three tantalum electric capacity C1, C3 and C5, two patch capacitor C2 and C4, a voltage stabilizing diode D1, a LED-1, two Chip-R R1 and R2, an inductance L 1; Voltage stabilizing diode D1 positive pole is connected with input power VCC, and voltage stabilizing diode D1 negative pole is connected with the 3 pin IN of voltage conversion chip U1; Tantalum electric capacity C1 positive pole is connected with the 3 pin IN of voltage conversion chip U1, tantalum electric capacity C1 minus earth; Patch capacitor C2 one end is connected with the 3 pin IN of voltage conversion chip U1, and the other end is connected with the 1 pin GND of voltage conversion chip U1; Chip-R R1 one end is connected to the ground, and the other end is connected with the 1 pin GND of voltage conversion chip U1; The 2 pin OUT of voltage conversion chip U1 are connected with 4 pin OUT; Inductance L 1 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the positive pole of LED-1; The negative pole of diode (LED)-1 is connected with Chip-R R2 one end; The Chip-R R2 other end is connected with the 1 pin GND of voltage conversion chip U1; Tantalum electric capacity C3 positive pole is connected with the 2 pin OUT of voltage conversion chip U1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1; Patch capacitor C4 one end is connected with the 2 pin OUT of voltage conversion chip U1, and the other end is connected with the 1 pin GND of voltage conversion chip U1; Tantalum electric capacity C5 positive pole is connected with the positive pole of LED-1, and negative pole is connected with the 1 pin GND of voltage conversion chip U1;
STM32 single-chip data acquisition circuit comprises single chip machine controlling circuit and peripheral circuit thereof; Single-chip microcomputer adopts the STM32F103RCT6 of ST company; Wherein peripheral circuit comprises nine patch capacitors C6, C7, C8, C9, C10, C11, C12, C13 and C14, five Chip-Rs R3, R4, R5, R6 and R7, two betal can crystal oscillator X1 and X2, a LED-2, the button cell base BT1 of a 3V, a J-LINK-SWD download program and debugging interface J1, two with row's needle interface P1 and P2 of PNI model calling; The 3.3V voltage of the 2 pin OUT output terminals of single-chip microcomputer 6 pin, 13 pin, 19 pin, 32 pin, 48 pin, 64 pin and power-supplying circuit output terminal and voltage conversion chip U1 is connected; Single-chip microcomputer 12 pin, 18 pin, 31 pin, 47 pin, 63 pin are connected with ground GND; Betal can crystal oscillator X1 two ends are connected with 6 pin with single-chip microcomputer 5 pin respectively; The patch capacitor C10 of starting of oscillation is connected with 6 pin with single-chip microcomputer 5 pin respectively with C11 one end, and the other end is connected with ground GND; Betal can crystal oscillator X2 two ends are connected with 4 pin with single-chip microcomputer 3 pin respectively; The patch capacitor C13 of starting of oscillation is connected with 4 pin with single-chip microcomputer 3 pin respectively with C14 one end, and the other end is connected with ground GND; Chip-R R6 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 7 pin; Chip-R R7 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 60 pin; Patch capacitor C12 one end is connected with ground GND, and the other end is connected with single-chip microcomputer 7 pin; The button cell base BT1 positive pole of 3V is connected with single-chip microcomputer 1 pin, and negative pole is connected with ground GND; Patch capacitor R5 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with LED-2 positive pole; LED-2 negative pole is connected with single-chip microcomputer 59 pin; Be connected with single-chip microcomputer 34 pin PB13 with 1 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 35 pin PB14 with 2 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 36 pin PB15 with 3 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 33 pin PB12 with 4 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 37 pin PC6 with 5 pin of row's needle interface P1 of PNI model calling; Be connected with single-chip microcomputer 39 pin PC8 with 6 pin of row's needle interface P1 of PNI model calling; Be connected with ground GND with 7 pin of row's needle interface P1 of PNI model calling; Be connected with the 3.3V voltage of 5 pin of row's needle interface P2 of PNI model calling with the 2 pin OUT output terminals of voltage conversion chip U1; Be connected with ground GND with 7 pin of row's needle interface P2 of PNI model calling; Unsettled with 1 pin of row's needle interface P2 of PNI model calling, 2 pin, 3 pin, 4 pin and 6 pin; Four patch capacitors C6, C7, C8, C9 are in parallel, and one end is connected with ground GND respectively, and one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; One end of Chip-R R3 is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with single-chip microcomputer 46 pin PA13; One end of Chip-R R4 is connected with ground GND, and the other end is connected with single-chip microcomputer 49 pin PA14; J-LINK-SWD download program is connected with the 3.3V voltage of 1 pin of debugging interface J1 with the 2 pin OUT output terminals of voltage conversion chip U1; 2 pin and the single-chip microcomputer 46 pin PA13 of J-LINK-SWD download program and debugging interface J1 are connected; J-LINK-SWD download program is connected with single-chip microcomputer 49 pin PA14 with 3 pin of debugging interface J1; J-LINK-SWD download program is connected with single-chip microcomputer 7 pin RESET2 with 4 pin of debugging interface J1; J-LINK-SWD download program is connected with ground GND with 5 pin of debugging interface J1;
SD card memory circuit comprises a Micro SD draw-in groove U3, a button cell base BT1 and 3V button cell of a Chip-R R8, a patch capacitor C15 and 3V; 1 pin of draw-in groove U3 is unsettled; 2 pin of draw-in groove U3 are connected with single-chip microcomputer 20 pin SD CS; 3 pin of draw-in groove U3 are connected with single-chip microcomputer 23 pin SD MOSI; 4 pin of draw-in groove U3 are connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; 5 pin of draw-in groove U3 are connected with single-chip microcomputer 21 pin SD CLK; 6 pin of draw-in groove U3 are connected with ground GND; 7 pin of draw-in groove U3 are connected with single-chip microcomputer 22 pin SD MISO; 8 pin of draw-in groove U3 are unsettled; 9 pin of draw-in groove U3 are connected with ground GND; 10 pin of draw-in groove U3 are connected with Chip-R R8 one end; Patch capacitor C15 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with ground GND; Chip-R R8 one end is connected with the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1, and the other end is connected with 10 pin of U3;
RS-232 data serial communications circuit comprises one is aimed at the design of rs-232 standard serial ports single supply level transferring chip U4 by Maxim, uses+3V to+5.5V single power supply; Four patch capacitors C16, C17, C18, C19; The connector base P3 of an outside 12V power supply and serial ports; Patch capacitor C16 one end is connected with 1 pin of single supply level transferring chip U4, and the other end is connected with 3 pin of single supply level transferring chip U4; Patch capacitor C17 one end is connected with 4 pin of single supply level transferring chip U4, and the other end is connected with 5 pin of single supply level transferring chip U4; Patch capacitor C18 one end is connected with 2 pin of single supply level transferring chip U4, and the other end is connected with 16 pin of single supply level transferring chip U4; Patch capacitor C19 one end is connected with 6 pin of single supply level transferring chip U4, and the other end is connected with 15 pin of single supply level transferring chip U4; 16 pin of single supply level transferring chip U4 connect the 3.3V voltage of the 2 pin OUT output terminals of voltage conversion chip U1; The 15 pin ground connection GND of single supply level transferring chip U4; Outside 12V power supply is connected with 7 pin of single supply level transferring chip U4 with 1 interface of connector base P3 of serial ports; Outside 12V power supply is connected with 8 pin of single supply level transferring chip U4 with 2 interfaces of connector base P3 of serial ports; The 3 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports; 4 interfaces of the connector base P3 of outside 12V power supply and serial ports are unsettled; Outside 12V power supply is connected with the 3.3V voltage of 5 interfaces of the connector base P3 of serial ports with the 2 pin OUT output terminals of voltage conversion chip U1; The 6 interfacing ground GND of the connector base P3 of outside 12V power supply and serial ports; 9 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 43 pin RXD1; 10 pin of single supply level transferring chip U4 are connected with single-chip microcomputer 42 pin TXD1.
CN201420653526.5U 2014-11-04 2014-11-04 A kind of data acquisition circuit based on PNI Magnetic Sensor Expired - Fee Related CN204229162U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420653526.5U CN204229162U (en) 2014-11-04 2014-11-04 A kind of data acquisition circuit based on PNI Magnetic Sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420653526.5U CN204229162U (en) 2014-11-04 2014-11-04 A kind of data acquisition circuit based on PNI Magnetic Sensor

Publications (1)

Publication Number Publication Date
CN204229162U true CN204229162U (en) 2015-03-25

Family

ID=52927236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420653526.5U Expired - Fee Related CN204229162U (en) 2014-11-04 2014-11-04 A kind of data acquisition circuit based on PNI Magnetic Sensor

Country Status (1)

Country Link
CN (1) CN204229162U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317230A (en) * 2014-11-04 2015-01-28 杭州电子科技大学 Data acquisition circuit based on PNI magnetic sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317230A (en) * 2014-11-04 2015-01-28 杭州电子科技大学 Data acquisition circuit based on PNI magnetic sensor

Similar Documents

Publication Publication Date Title
CN104106841A (en) Electronic cigarette case
CN203262281U (en) Electronic cigarette case
CN204988365U (en) But intelligent device of monitoring environment and motion
CN206146465U (en) Box transformer monitoring device
CN104317230A (en) Data acquisition circuit based on PNI magnetic sensor
CN204229162U (en) A kind of data acquisition circuit based on PNI Magnetic Sensor
CN103675441A (en) Watt hour meter for DC600V train power supply device
CN102360192A (en) Underwater multi-channel data acquisition circuit
CN107991943A (en) A kind of parameter tester of portable type solar energy electricity generation system
CN203310524U (en) A portable-type string-type reading instrument
CN205015882U (en) Burn record ware switching card
CN204389714U (en) A kind of weather monitoring instrument realizing Temperature and Humidity based on SHT2X chip
CN209803603U (en) Stable liquid temperature detection module
CN210639739U (en) Low-power consumption collector
CN202013641U (en) Intelligent multi-point temperature measurement wireless transmitter
CN203894328U (en) Digital RLC tester
CN208705882U (en) A kind of novel quartz flexibility acceleration sensor data collecting card
CN203644052U (en) Data processor
CN203102348U (en) Electronic tag with sensor module
CN206283496U (en) Agricultural machinery small intelligent terminal based on Internet of Things
CN220232286U (en) Biological state monitoring system based on STM32
CN209821635U (en) Wireless laser sensor control circuit
CN205910309U (en) Intelligence digital chip detector
CN204461664U (en) A kind of intelligent radio open loop magnetic flux harvester
CN104698913A (en) Intelligent granary monitoring node

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150325

Termination date: 20161104