Three-axis geomagnetic sensor circuit and three-axis magnetometer

By integrating a geomagnetic sensor module, an MCU module, and a linear voltage regulator module, the problems of complex circuit design and weak anti-interference capability of the triaxial magnetometer are solved, achieving high-precision signal acquisition, low power consumption, and high integration, making it suitable for compact devices.

CN223471156UActive Publication Date: 2025-10-24ZHUHAI MAGIC CUBE INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422993801.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-10-24
Estimated Expiration
2034-12-05

AI Technical Summary

Technical Problem

Existing triaxial magnetometers have complex circuit designs, inadequate power management, and weak anti-interference capabilities, which cannot meet the requirements of compact devices and are prone to energy waste and unstable signal quality in low data transmission scenarios.

Method used

It integrates a geomagnetic sensor module, an MCU module, and a linear voltage regulator module. It performs signal processing and communication through an SPI bus and a UART interface. Combined with a filter network and a high-frequency decoupling capacitor, it suppresses power supply noise interference and provides a stable voltage signal.

Benefits of technology

It improves signal acquisition accuracy, reduces overall power consumption, enhances environmental adaptability, meets the requirements of high integration, small size, and low power consumption, and ensures signal stability and fast data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223471156U_ABST
    Figure CN223471156U_ABST
Patent Text Reader

Abstract

The utility model discloses a three-axis geomagnetic sensor circuit and a three-axis magnetometer. The three-axis geomagnetic sensor circuit comprises an MCU module, a geomagnetic sensor module and a linear voltage stabilization module. The MCU module is provided with a first power supply end, a first input end and a first output end, the geomagnetic sensor module is provided with a second power supply end and a second output end, the second output end of the geomagnetic sensor module is connected with the first input end of the MCU module, and the linear voltage stabilization module is provided with a third output end. The third output end of the linear voltage stabilization module is connected with the first power end of the MCU module and the second power end of the geomagnetic sensor module. By integrating the geomagnetic sensor module, the MCU module and the linear voltage stabilization module, power supply noise interference can be suppressed, signal acquisition accuracy can be improved, overall power consumption can be reduced, and environmental adaptability can be enhanced, so that the requirements of high integration level, small size and low power consumption can be met.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The utility model relates to sensor technical field especially relates to a three -axis geomagnetic sensor circuit and three -axis magnetometer. BACKGROUND

[0002] At present, the circuit design, power management and sensor data processing of three-axis magnetometer have achieved certain results, but there are still some problems: first, it needs to rely on multiple independent communication modules, controllers, power management chips and other modules to work together, which leads to high hardware complexity, large PCB area and cannot meet the needs of compact equipment well; second, in the low data transmission scene, the power management capability of the module is insufficient, which is easy to cause energy waste; third, the communication module is easy to be affected by electromagnetic interference when communicating at high frequency, which leads to unstable signal quality or data transmission delay and weak anti-interference ability. SUMMARY

[0003] The utility model aims at at least solving one of the technical problems existing in the prior art. For this purpose, the utility model provides a three-axis geomagnetic sensor circuit and three-axis magnetometer, which integrates the geomagnetic sensor module, MCU module and linear voltage stabilizing module, can suppress power noise interference, improve signal acquisition accuracy, reduce overall power consumption and enhance environmental adaptability.

[0004] In one aspect, the utility model embodiment provides a three-axis geomagnetic sensor circuit, which comprises:

[0005] An MCU module, which has a first power supply end, a first input end and a first output end;

[0006] A geomagnetic sensor module, which has a second power supply end and a second output end, and the second output end of the geomagnetic sensor module is connected with the first input end of the MCU module;

[0007] A linear voltage stabilizing module, which has a third output end, and the third output end of the linear voltage stabilizing module is connected with the first power supply end of the MCU module and the second power supply end of the geomagnetic sensor module respectively.

[0008] According to some embodiments of the utility model, the MCU module has a plurality of SPI bus pins used as the first input end, and the SPI bus pins are connected with the second output end of the geomagnetic sensor module.

[0009] According to some embodiments of the utility model, the MCU module has a plurality of UART interface pins used as the first output end, and the UART interface pins are used for communicating with external modules.

[0010] According to some embodiments of the utility model, the MCU module adopts integrated circuit with model number N32L403KBQ7.

[0011] According to some embodiments of the utility model, the geomagnetic sensor module has a rectifier network, the rectifier network includes a plurality of reverse diodes, the input end and the output end of the reverse diodes are connected with pull-up resistors.

[0012] According to some embodiments of the utility model, the output end of the linear voltage stabilizing module is connected with a filter network, the filter network includes a plurality of parallelly connected filter capacitors, the first connecting end of the plurality of parallelly connected filter capacitors is connected with the output end of the linear voltage stabilizing module, and the second connecting end of the plurality of parallelly connected filter capacitors is connected with a reference voltage end.

[0013] According to some embodiments of the utility model, the linear voltage stabilizing module includes a voltage stabilizing chip, a first filter capacitor, a second filter capacitor and a third filter capacitor, the first filter capacitor is connected at the input end of the voltage stabilizing chip, and the second filter capacitor and the third filter capacitor are parallelly connected at the output end of the voltage stabilizing chip.

[0014] According to some embodiments of the utility model, the voltage stabilizing chip adopts integrated circuit with model number TPNCP500SN33T1G.

[0015] According to some embodiments of the utility model, the three-axis geomagnetic sensor circuit further includes an LED indicating lamp module, the LED indicating lamp module has a second input end, the second input end of the LED indicating lamp module is connected with the LED interface of the MCU module, the LED indicating lamp module includes a first resistor and a light emitting diode, the first end of the first resistor is electrically connected with the LED interface, the second end of the first resistor is electrically connected with the light emitting diode, and the cathode of the light emitting diode is grounded.

[0016] On the other hand, the utility model embodiment provides a three-axis magnetometer, including the above-mentioned three-axis geomagnetic sensor circuit.

[0017] The utility model embodiment has at least the following beneficial effects:

[0018] The linear voltage regulator module of the embodiment of the present utility model provides a stable voltage signal to the MCU module and the geomagnetic sensor module, and the MCU module processes and outputs the signal of the geomagnetic sensor module. The three-axis geomagnetic sensor circuit implemented by integrating the geomagnetic sensor module, the MCU module and the linear voltage regulator module can detect the magnetic field strength and direction in the detection environment in real time, reduce the influence of power supply noise, improve the accuracy of signal acquisition, and ensure stable operation in complex environments. It suppresses power supply noise interference, improves signal acquisition accuracy, reduces overall power consumption, and enhances environmental adaptability, thereby meeting the requirements of high integration, small size and low power consumption.

[0019] Additional aspects and advantages of the present invention will be given in part in the following description and will become apparent from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0021] Figure 1 This is a principle block diagram of a three-axis geomagnetic sensor circuit according to an embodiment of the present invention;

[0022] Figure 2 for Figure 1 The circuit schematic diagram of the MCU module of the three-axis geomagnetic sensor circuit is shown;

[0023] Figure 3 for Figure 1 The circuit schematic diagram of the geomagnetic sensor module of the three-axis geomagnetic sensor circuit is shown;

[0024] Figure 4 for Figure 1 The circuit schematic diagram of the linear voltage regulator module of the three-axis geomagnetic sensor circuit is shown;

[0025] Figure 5 for Figure 1 The circuit schematic diagram of the three-axis geomagnetic sensor circuit and LED indicator module is shown. DETAILED DESCRIPTION

[0026] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.

[0027] In the description of the utility model, the meaning of "several" is one or more, the meaning of "multiple" is two or more, greater than, less than, more than, etc. Understand as not including the number, "above", "below", "within", etc. Understand as including the number. If there is a description to "first", "second", etc. Only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the sequence of indicated technical features.

[0028] In the description of the utility model, unless otherwise explicitly limited, the words "set", "connect" and the like should be broadly understood, and the skilled person in the art can reasonably determine the specific meaning of the above words in the utility model according to the specific content of the technical scheme.

[0029] The embodiment discloses a three-axis geomagnetic sensor circuit. Figures 1 to 4 The three-axis geomagnetic sensor circuit includes an MCU module 100, a geomagnetic sensor module 200 and a linear voltage stabilizing module 400. The MCU module 100 has a first power supply end, a first input end and a first output end, the geomagnetic sensor module 200 has a second power supply end and a second output end, and the linear voltage stabilizing module 400 has a third output end. The second output end of the geomagnetic sensor module 200 is connected with the first input end of the MCU module 100, and the third output end of the linear voltage stabilizing module 400 is connected with the first power supply end of the MCU module 100 and the second power supply end of the geomagnetic sensor module 200 respectively. The linear voltage stabilizing module 400 provides stable voltage signals for the MCU module 100 and the geomagnetic sensor module 200, and the MCU module 100 processes the signals of the geomagnetic sensor module 200 and outputs. The three-axis geomagnetic sensor circuit realized by integrating the geomagnetic sensor module 200, the MCU module 100 and the linear voltage stabilizing module 400 reduces the influence of power supply noise, improves the accuracy of signal acquisition, and ensures stable operation in complex environment. Suppressing power supply noise interference, improving signal acquisition accuracy, reducing overall power consumption, enhancing environmental adaptability, thereby meeting the needs of high integration, small size and low power consumption.

[0030] Please refer to Figure 1 and Figure 2 The MCU module 100 is responsible for processing signals from the geomagnetic sensor module 200, wherein the MCU module 100 has a plurality of SPI bus pins serving as the first input end, and is connected with the second output end of the geomagnetic sensor module 200 through the SPI bus pins. The MCU module 100 collects and processes the three-axis original signals of the geomagnetic sensor module 200 through the SPI bus. The MCU module 100 outputs the processed data through the first output end (such as UART interface 110), and these data are crucial for monitoring the magnetic field intensity and direction in the detection environment.

[0031] Referring to Figure 2 , the MCU module 100 adopts an integrated circuit of model N32L403KBQ7, and the MCU module 100 provides rich peripheral interfaces, for example, an SPI interface (such as the pins marked by MISO / SDA, MOSI / SA1, SLCK / SCL, SNN / SA0 in Figure 2 , which can be used for communication with external sensors or other peripheral devices; for example, a UART interface 110 (such as the pins marked by UART_RXD2, UART_TXD2 in Figure 2 , which provides a serial communication interface for debugging or communication with external modules; for example, a SWD (serial wire debug) interface provides convenience for debugging and updating firmware. A serial bus is used for communication with other devices, enhancing the expansibility and flexibility of the system.

[0032] Referring to Figure 2 , the MCU module 100 has a plurality of UART interface pins serving as first output terminals, which are used for debugging or communication with external modules. For example, the PB5 pin and the PB4 pin of the MCU module 100 are provided with a UART communication interface, and are respectively connected with a resistor U9 and a resistor U12; which are used for preventing floating state, ensuring the stability and reliability of the signal line, and stabilizing the level at the expected high level state, avoiding unstable signal transmission.

[0033] Referring to Figure 2 , the VDD pin and the VDD pin of the MCU module 100 are connected with the 3.3V power output by the linear voltage stabilizing module 400, the PD14-OSC_IN pin and the PD15-OSC_OUT pin are connected with an external crystal oscillator to provide a stable clock signal. The NRST pin and the VDDA pin are both connected with the 3.3V voltage output by the linear voltage stabilizing module 400, and the NRST pin is connected with an R8 pull-up resistor, so that the system will reset every time it is powered on. The VSS pin is connected with the GND node, and the PD0-BOOT0 pin is connected with a pull-down resistor to realize normal start mode. The PA4 pin, the PA5 pin, the PA6 pin and the PA7 pin are connected with the SPI communication lines of the geomagnetic sensor module 200, for data transmission between the MCU module 100 and the geomagnetic sensor module 200.

[0034] Referring to Figure 3, the magnetic sensor module 200 adopts an integrated circuit of model RM3100. Exemplarily, the RES pin, the AVSS pin, the GND pin, the REXT pin, the I2CEN pin, the RES pin and the DVSS pin 19 of the magnetic sensor module 200 are all connected to the GND node, wherein the REXT pin and the I2CEN pin are connected to resistors R7 and R13 respectively, and the resistors R7 and R13 are pull-down resistors for stabilizing at a low level. The AVDD pin, the DVDD pin and the DVDD pin of the magnetic sensor module 200 are connected to the stable 3.3V power output by the LDO to continuously supply power for the RM3100. The SPI interface of the magnetic sensor module 200 is connected to the SPI pin of the MCU module 100, and the MOSI / SDA pin and the MISO / SA1 pin of the magnetic sensor module 200 are connected to resistors R2 and R3 respectively, which are pull-up resistors. This prevents floating state and ensures the stability and reliability of the signal line, and can stabilize the level at the expected high level state to avoid unstable input. In addition, the magnetic sensor module 200 has a built-in temperature monitoring function to provide a raw value of temperature, which can better suppress the influence of environmental changes on the magnetic force signal.

[0035] Please refer to Figure 3 , the magnetic sensor module 200 has a rectifier network, which includes a plurality of reverse diodes, and the input and output ends of the reverse diodes are connected to pull-up resistors. Exemplarily, the ZDRVP pin, the ZINP pin, the ZINN pin and the ZDRVN pin of the magnetic sensor module 200 are all connected to the reverse diode U10, wherein the ZDRVP pin and the ZFRVN pin are differential signals, and are connected to pull-up resistors R11 and R16 respectively; the YDRVP pin, the YINP pin, the YINN pin and the YDRVN pin are all connected to the reverse diode U14, wherein the YDRVP pin and the YFRVN pin are differential signals, and are connected to pull-up resistors R15 and R19 respectively; the XDRVP pin, the XINP pin, the XINN pin and the XDRVN pin are all connected to the reverse diode U18, wherein the XDRVP pin and the XFRVN pin are differential signals, and are connected to pull-up resistors R17 and R20 respectively. Through rectification processing, floating state can be prevented, the stability and reliability of the signal line can be ensured, and the level can be stabilized at the expected high level state to avoid unstable signal transmission.

[0036] Please refer to Figure 4 , in order to ensure the stable operation of the MCU module 100 and the magnetic sensor module 200, the linear voltage stabilizing module 400 provides a stable voltage, which stably reduces the input voltage to 3.3V output. A plurality of decoupling capacitors are designed at the connection points of the MCU module 100 and other power supplies (such as Figure 5The output end of the linear voltage stabilizing module 400 is connected with a filter network to reduce the influence of power supply noise on the system. The filter network includes a plurality of parallelly connected filter capacitors (such as the capacitors shown by the C3 and C4 marks), the first connection ends of the plurality of parallelly connected filter capacitors are connected with the output end of the linear voltage stabilizing module 400, and the second connection ends of the plurality of parallelly connected filter capacitors are connected with the reference voltage end. The selection and arrangement of these capacitors play a crucial role in the stability of the entire circuit, and the linear voltage stabilizing module 400 reduces power supply noise, which is conducive to improving the stability and reliability of the system.

[0037] Please refer to Figure 4 The linear voltage stabilizing module 400 includes a voltage stabilizing chip, a first filter capacitor, a second filter capacitor and a third filter capacitor. The first filter capacitor is connected to the input end of the voltage stabilizing chip, and the second filter capacitor and the third filter capacitor are connected to the output end of the voltage stabilizing chip. For example, the voltage stabilizing chip uses an integrated circuit with a model number of TPNCP500SN33T1G to convert a 5V input voltage into a 3.3V voltage for output. The first filter capacitor is shown by the C5 mark in the figure, the second filter capacitor is shown by the C3 mark in the figure, and the third filter capacitor is shown by the C4 mark in the figure. The filter capacitors C3, C4 and C5 are all surface mount capacitors with a 0402 package specification. The LDO_VCC input voltage is connected to the VIN input pin of the voltage stabilizer chip U10 after being decoupled by the capacitor C5. The EN enable pin of the linear voltage stabilizing module 400 is used to control the opening or closing of the voltage stabilizer, and the EN enable pin is pulled down to the ground through the resistor R12. The output end of the linear voltage stabilizing module 400 has two decoupling capacitors C3 and C4 for smoothing the output and ensuring the stability of the power supply. The 3.3V voltage output by the linear voltage stabilizing module 400 is supplied to the MCU module 100 and the geomagnetic sensor module 200 to ensure the stability of the entire circuit system. The power supply decoupling and filtering design effectively prevents power supply noise and interference, ensuring that the system can work normally in a complex power supply environment. The surface mount capacitors with a 0402 package specification provide effective filtering performance in a compact space due to their small size and high-density mounting capability, and the structure is relatively compact, which is suitable for application scenarios with limited space.

[0038] Please refer to Figure 5The LED indicator module 300 has a second input end, the second input end of the LED indicator module 300 is connected with the LED interface of the MCU module 100, the LED indicator module 300 comprises a first resistor R26 and a light emitting diode LED1, a first end of the first resistor R26 is electrically connected with the LED interface of the MCU module 100, a second end of the first resistor R26 is electrically connected with the light emitting diode LED1, and a cathode of the light emitting diode LED1 is grounded. In the running process, the MCU module 100 sends an alarm signal or a state indication to an external interface according to the collected data. For example, when the operation is normal, the LED lamp is lit; if the collected data is abnormal, the LED lamp flashes as a fault indication.

[0039] The circuit working principle of the embodiment is as follows:

[0040] The core control principle of the circuit is that the MCU module 100 collects and processes the signals of the geomagnetic sensor module 200, realizing the design of the three-axis geomagnetic sensor module. The geomagnetic sensor module 200 is responsible for real-time detection of the magnetic field strength and direction in the environment, the MCU module 100 communicates with the geomagnetic sensor module 200 through the SPI bus, and uses the interrupt mechanism to obtain data in time. The MCU module 100 filters and calculates the collected data, and transmits the calculation results to external devices through the UART interface 110. The MCU module 100 controls the sampling frequency of the geomagnetic sensor module 200 through its internal timer unit, and adjusts the communication rate as needed to ensure a balance between power consumption and performance. The linear voltage stabilizing module 400 provides stable power supply, so that the MCU module 100 and the geomagnetic sensor module 200 can work in a low-noise environment, further improving the accuracy of the data.

[0041] The embodiment also discloses a three-axis magnetometer comprising the three-axis geomagnetic sensor circuit. The three-axis magnetometer can detect the strength and direction of the magnetic field, which is conducive to reducing noise and interference in the signal transmission process, thereby ensuring the integrity of the signals so that they can be installed in a space-limited environment without sacrificing performance.

[0042] The embodiment has the following beneficial effects:

[0043] Enhance environmental adaptability: by adding a temperature compensation module and a noise filter circuit in the circuit, the geomagnetic sensor module 200 has a built-in temperature monitoring function, providing the original value of the temperature, which can better suppress the influence of environmental changes on the magnetometer signal. The signal processing logic of the MCU module 100 and the geomagnetic sensor module 200 is optimized, which can dynamically compensate for errors caused by temperature changes, thereby maintaining high-precision measurement.

[0044] Suppress power noise interference: By improving the design of LDO voltage regulator, the noise suppression ability of the power supply is enhanced, and high-frequency decoupling capacitor and filter circuit are added to eliminate high-frequency noise on the power supply, thereby improving the stability and precision of the magnetic force measurement result.

[0045] Efficiently reduce overall power consumption: By optimizing the design of LDO voltage regulator, the energy loss in the power conversion process is reduced, thereby reducing the overall power consumption. It meets the low-power requirements of long-term running portable devices, vehicle-mounted sensors, drones, etc.

[0046] Improve integration: High integration design is adopted, multiple functional modules are integrated into a single circuit board, reducing the complexity of wiring and the number of external components; capacitors and resistors use 0402 package specifications, which not only improves the stability and reliability of the system, but also reduces the volume of the system, making it easier to use in space-limited applications.

[0047] Improve data processing and communication efficiency: By optimizing the MCU module 100, the efficiency of data acquisition, processing and transmission is improved; high-efficiency SPI, UART communication interface and data processing algorithm are adopted to ensure that data can be quickly and stably transmitted to the host system or host computer, improving the response speed and real-time performance of the system.

[0048] The above embodiments of the utility model are described in detail in combination with the drawings, but the utility model is not limited to the above embodiments, and various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the purpose of the utility model.

Claims

1. A three-axis geomagnetic sensor circuit, characterized by comprising: The three-axis geomagnetic sensor circuit comprises: an MCU module having a first power supply end, a first input end and a first output end; a geomagnetic sensor module having a second power supply end and a second output end, the second output end of the geomagnetic sensor module being connected to the first input end of the MCU module; a linear voltage stabilizing module having a third output end, the third output end of the linear voltage stabilizing module being connected to the first power supply end of the MCU module and the second power supply end of the geomagnetic sensor module respectively.

2. The three-axis geomagnetic sensor circuit according to claim 1, characterized in that, The MCU module has a plurality of SPI bus pins serving as the first input end, and is connected to the second output end of the geomagnetic sensor module through the SPI bus pins.

3. The three-axis geomagnetic sensor circuit according to claim 1, characterized by The MCU module has a plurality of UART interface pins serving as the first output end, and is used for communicating with external modules.

4. The tri-axial geomagnetic sensor circuit according to claim 1, 2 or 3, characterized in that, The MCU module adopts an integrated circuit with a model number of N32L403KBQ7.

5. The tri-axial geomagnetic sensor circuit according to claim 1, 2 or 3, characterized in that, The geomagnetic sensor module has a rectifier network comprising a plurality of reverse diodes, the input end and the output end of each of the reverse diodes being connected with a pull-up resistor.

6. The tri-axial geomagnetic sensor circuit according to claim 1, characterized in that, The output end of the linear voltage stabilizing module is connected with a filter network, the filter network comprising a plurality of filter capacitors connected in parallel, the first connection end of each of the filter capacitors being connected to the output end of the linear voltage stabilizing module, and the second connection end of each of the filter capacitors being connected to a reference voltage end.

7. The tri-axial geomagnetic sensor circuit according to claim 1 or 6, characterized in that, The linear voltage stabilizing module comprises a voltage stabilizing chip, a first filter capacitor, a second filter capacitor and a third filter capacitor, the first filter capacitor being connected to the input end of the voltage stabilizing chip, and the second filter capacitor and the third filter capacitor being connected in parallel to the output end of the voltage stabilizing chip.

8. The three-axis geomagnetic sensor circuit according to claim 7, characterized in that, The voltage stabilizing chip adopts an integrated circuit with a model number of TPNCP500SN33T1G.

9. The tri-axial geomagnetic sensor circuit according to claim 1, characterized in that, The three-axis geomagnetic sensor circuit further comprises an LED indicator module having a second input end, the second input end of the LED indicator module being connected to an LED interface of the MCU module, the LED indicator module comprising a first resistor and a light emitting diode, the first end of the first resistor being electrically connected to the LED interface, the second end of the first resistor being electrically connected to the light emitting diode, and the cathode of the light emitting diode being grounded.

10. A three-axis magnetometer characterized by, The three-axis geomagnetic sensor circuit comprises: The three-axis geomagnetic sensor circuit comprises: The three-axis geomagnetic sensor circuit comprises: