[go: up one dir, main page]

CN111273368B - Geomagnetic sensor circuit, circuit board and electronic equipment - Google Patents

Geomagnetic sensor circuit, circuit board and electronic equipment Download PDF

Info

Publication number
CN111273368B
CN111273368B CN202010071888.3A CN202010071888A CN111273368B CN 111273368 B CN111273368 B CN 111273368B CN 202010071888 A CN202010071888 A CN 202010071888A CN 111273368 B CN111273368 B CN 111273368B
Authority
CN
China
Prior art keywords
magnetic
signal
sensor
geomagnetic sensor
circuit
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
CN202010071888.3A
Other languages
Chinese (zh)
Other versions
CN111273368A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010071888.3A priority Critical patent/CN111273368B/en
Publication of CN111273368A publication Critical patent/CN111273368A/en
Application granted granted Critical
Publication of CN111273368B publication Critical patent/CN111273368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/40Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation specially adapted for measuring magnetic field characteristics of the earth

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Geology (AREA)
  • Physics & Mathematics (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The embodiment of the application provides a geomagnetic sensor circuit, a circuit board and electronic equipment, wherein the geomagnetic sensor circuit comprises a first magnetic sensor, a second magnetic sensor, an amplifier, an analog-to-digital converter and an interface unit; the first magnetic sensor is used for acquiring a first magnetic signal; the second magnetic sensor is used for acquiring a second magnetic signal, and the range of the magnetic signal acquired by the second magnetic sensor is larger than that of the magnetic signal acquired by the first magnetic sensor; the first magnetic sensor and the second magnetic sensor are both connected with the input end of the amplifier, and the amplifier is used for amplifying signals input into the amplifier; the analog-to-digital converter is used for acquiring the signal amplified by the amplifier and converting the amplified signal into a digital signal; the interface unit is used for acquiring the digital signal converted by the analog-to-digital converter and transmitting the digital signal. The method can support the measurement of small-range high precision and the measurement of large-range.

Description

地磁传感器电路、电路板及电子设备Geomagnetic sensor circuit, circuit board and electronic equipment

技术领域technical field

本申请涉及电子技术领域,特别涉及一种地磁传感器电路、电路板及电子设备。The present application relates to the field of electronic technology, in particular to a geomagnetic sensor circuit, a circuit board and electronic equipment.

背景技术Background technique

地磁传感器在电子设备中的运用越来越广泛,根据地磁传感器可以检测地球磁场,以及实现指示方向的功能。在电子设备如智能手机中,地磁传感器的应用非常丰富。Geomagnetic sensors are more and more widely used in electronic equipment. According to the geomagnetic sensor, the earth's magnetic field can be detected and the function of indicating the direction can be realized. In electronic devices such as smartphones, the application of geomagnetic sensors is very rich.

发明内容Contents of the invention

本申请实施例提供一种地磁传感器电路、电路板及电子设备,可以提高地磁传感器电路的量程。Embodiments of the present application provide a geomagnetic sensor circuit, a circuit board, and electronic equipment, which can increase the measuring range of the geomagnetic sensor circuit.

本申请实施例还提供一种地磁传感器电路,其包括:The embodiment of the present application also provides a geomagnetic sensor circuit, which includes:

第一磁力传感器,用于获取第一磁力信号;a first magnetic sensor, configured to acquire a first magnetic signal;

第二磁力传感器,用于获取第二磁力信号,所述第二磁力传感器获取的磁力信号范围大于所述第一磁力传感器获取的磁力信号范围;The second magnetic sensor is used to obtain a second magnetic signal, and the range of the magnetic signal obtained by the second magnetic sensor is larger than the range of the magnetic signal obtained by the first magnetic sensor;

放大器,所述第一磁力传感器和所述第二磁力传感器均与所述放大器的输入端连接,所述放大器用于将输入所述放大器的信号放大;An amplifier, the first magnetic sensor and the second magnetic sensor are both connected to the input of the amplifier, and the amplifier is used to amplify the signal input to the amplifier;

模数转换器,所述模数转换器的输入端与所述放大器的输出端连接,所述模数转换器用于获取所述放大器放大后的信号,并将所述放大后的信号转换成数字信号;以及An analog-to-digital converter, the input of the analog-to-digital converter is connected to the output of the amplifier, and the analog-to-digital converter is used to obtain the amplified signal of the amplifier and convert the amplified signal into a digital signal; and

接口单元,与所述模数转换器的输出端连接,所述接口单元用于获取所述模数转换器转换后的所述数字信号,并将所述数字信号传输出去。The interface unit is connected to the output end of the analog-to-digital converter, and the interface unit is used to obtain the digital signal converted by the analog-to-digital converter and transmit the digital signal.

本申请实施例还提供一种电路板,其包括:The embodiment of the present application also provides a circuit board, which includes:

基板;Substrate;

地磁传感器电路,设置于所述基板上,所述地磁传感器电路为上述所述的地磁传感器电路。A geomagnetic sensor circuit is arranged on the substrate, and the geomagnetic sensor circuit is the above-mentioned geomagnetic sensor circuit.

本申请实施例还提供一种电子设备,其包括:The embodiment of the present application also provides an electronic device, which includes:

壳体;case;

电路板,安装于所述壳体内,所述电路板为上述所述的电路板。A circuit board is installed in the housing, and the circuit board is the above-mentioned circuit board.

本申请实施例中,第一磁力传感器可以用于测量小量程的磁力信号,第二磁力传感器可以用于测量大量程的磁力信号,本申请实施例中的地磁传感器电路既可以支持小量程高精度的测量,又可以支持大量程的测量,可以适用更多的场景,同时通过放大器可以将第一磁力传感器和第二磁力传感器获取的磁力信号放大,以便后续的模块可以获取更准确的数据。In the embodiment of the present application, the first magnetic sensor can be used to measure a small-range magnetic signal, and the second magnetic sensor can be used to measure a large-range magnetic signal. The geomagnetic sensor circuit in the embodiment of the present application can support both small-range and high-precision It can also support large-scale measurement, and can be applied to more scenarios. At the same time, the magnetic signals obtained by the first magnetic sensor and the second magnetic sensor can be amplified through the amplifier, so that subsequent modules can obtain more accurate data.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments.

图1为本申请实施例提供的地磁传感器电路的第一种结构示意图。FIG. 1 is a schematic diagram of a first structure of a geomagnetic sensor circuit provided in an embodiment of the present application.

图2为本申请实施例提供的地磁传感器电路的第二种结构示意图。FIG. 2 is a schematic diagram of a second structure of a geomagnetic sensor circuit provided in an embodiment of the present application.

图3为本申请实施例提供的地磁传感器电路的第三种结构示意图。FIG. 3 is a schematic diagram of a third structure of a geomagnetic sensor circuit provided in an embodiment of the present application.

图4为本申请实施例提供的地磁传感器电路的第四种结构示意图。FIG. 4 is a schematic diagram of a fourth structure of a geomagnetic sensor circuit provided in an embodiment of the present application.

图5为本申请实施例提供的地磁传感器电路的电路示意图。FIG. 5 is a schematic circuit diagram of a geomagnetic sensor circuit provided in an embodiment of the present application.

图6为本申请实施例提供的电路板的结构示意图。FIG. 6 is a schematic structural diagram of a circuit board provided by an embodiment of the present application.

图7为本申请实施例提供的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

图8为图7所示电子设备的另一面示意图。FIG. 8 is a schematic diagram of another side of the electronic device shown in FIG. 7 .

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.

本申请实施例提供一种地磁传感器电路、电路板及电子设备。下面对地磁传感器电路进行详细说明。Embodiments of the present application provide a geomagnetic sensor circuit, a circuit board, and electronic equipment. The geomagnetic sensor circuit is described in detail below.

请参阅图1,图1为本申请实施例提供的地磁传感器电路的第一种结构示意图。地磁传感器电路100包括第一磁力传感器122、第二磁力传感器124、放大器140、模数转换器160和接口单元180。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a first structure of a geomagnetic sensor circuit provided in an embodiment of the present application. The geomagnetic sensor circuit 100 includes a first magnetic sensor 122 , a second magnetic sensor 124 , an amplifier 140 , an analog-to-digital converter 160 and an interface unit 180 .

第一磁力传感器122用于获取第一磁力信号,第二磁力传感器124用于获取第二磁力信号,第二磁力传感器124获取的磁力信号范围大于第一磁力传感器122获取的磁力信号范围。The first magnetic sensor 122 is used to obtain a first magnetic signal, and the second magnetic sensor 124 is used to obtain a second magnetic signal. The range of the magnetic signal obtained by the second magnetic sensor 124 is larger than the range of the magnetic signal obtained by the first magnetic sensor 122 .

放大器140可以为缓冲放大器或前置放大器,第一磁力传感器122和第二磁力传感器124均与放大器140的输入端连接,放大器140用于将输入放大器140的信号放大。例如,可以放大第一磁力信号和/或第二磁力信号。放大器(Pre Amplifier)140可以为固定倍数的放大器,如71倍。放大器140还可以为可调倍率放大器,可以根据需要将输入放大器140的不同信号进行不同倍率的放大。示例性地,可调倍率放大器可以在0倍-100倍之间调节。The amplifier 140 can be a buffer amplifier or a preamplifier. Both the first magnetic sensor 122 and the second magnetic sensor 124 are connected to the input end of the amplifier 140 . The amplifier 140 is used to amplify the signal input to the amplifier 140 . For example, the first magnetic signal and/or the second magnetic signal may be amplified. The amplifier (Pre Amplifier) 140 may be an amplifier with a fixed multiple, such as 71 times. The amplifier 140 can also be an adjustable magnification amplifier, which can amplify different signals input to the amplifier 140 with different magnifications as required. Exemplarily, the adjustable magnifier can be adjusted between 0 times and 100 times.

模数转换器(A/D Converter)160的输入端与放大器140的输出端连接,模数转换器160用于获取放大器140放大后的信号,并将放大后的信号转换成数字信号。An input terminal of an analog-to-digital converter (A/D Converter) 160 is connected to an output terminal of the amplifier 140, and the analog-to-digital converter 160 is used to obtain the amplified signal of the amplifier 140 and convert the amplified signal into a digital signal.

接口单元180与模数转换器160的输出端连接,接口单元180用于获取模数转换器160转换后的数字信号,并将数字信号传输出去。The interface unit 180 is connected to the output end of the analog-to-digital converter 160 , and the interface unit 180 is used to acquire the digital signal converted by the analog-to-digital converter 160 and transmit the digital signal.

第一磁力传感器122可以用于测量小量程的磁力信号,第二磁力传感器124可以用于测量大量程的磁力信号,地磁传感器电路100既可以支持小量程高精度的测量,又可以支持大量程的测量,可以适用更多的场景,同时通过放大器140可以将第一磁力传感器122和第二磁力传感器124获取的磁力信号放大,以便后续的模块可以获取更准确的数据。The first magnetic sensor 122 can be used to measure a small-range magnetic signal, and the second magnetic sensor 124 can be used to measure a large-range magnetic signal. The geomagnetic sensor circuit 100 can support both small-range and high-precision measurement and a large-range. The measurement can be applied to more scenarios, and at the same time, the magnetic signals obtained by the first magnetic sensor 122 and the second magnetic sensor 124 can be amplified by the amplifier 140, so that subsequent modules can obtain more accurate data.

请参阅图2,图2为本申请实施例提供的地磁传感器电路的第二种结构示意图。地磁传感器电路100还包括温度传感器132(Temperature Sensor),温度传感器132用于获取地磁传感器电路100的温度信息,温度传感器132与接口单元180连接。接口单元180可以用于获取温度传感器132的温度信息,并将温度信息与数字信号关联后传输出去。在其他一些实施例中,接口单元180还可以用于获取温度传感器132的温度信息,并根据温度信息调节数字信号,以及将调节后的数字信号传输出去。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of a second structure of a geomagnetic sensor circuit provided in an embodiment of the present application. The geomagnetic sensor circuit 100 further includes a temperature sensor 132 (Temperature Sensor), which is used to acquire temperature information of the geomagnetic sensor circuit 100 , and the temperature sensor 132 is connected to the interface unit 180 . The interface unit 180 can be used to acquire temperature information of the temperature sensor 132, correlate the temperature information with a digital signal, and then transmit it. In some other embodiments, the interface unit 180 can also be used to acquire temperature information of the temperature sensor 132, adjust the digital signal according to the temperature information, and transmit the adjusted digital signal.

温度传感器132采集的温度信息可以用于校正地磁传感器电路100的结果。不同温度下得到的磁力信号会进行不同的校正。例如,当温度信息高于预设温度信息时,磁力信号会对应调小;当温度信息低于预设温度信息时,磁力信号会对应调大。温度传感器132采集的温度信息可以用于后端对磁力信号进行校正,也可以在地磁传感器电路100内(如接口单元180)进行校正,校正完成后再传输给后端。The temperature information collected by the temperature sensor 132 can be used to correct the results of the geomagnetic sensor circuit 100 . Magnetic signals obtained at different temperatures undergo different corrections. For example, when the temperature information is higher than the preset temperature information, the magnetic signal will be correspondingly reduced; when the temperature information is lower than the preset temperature information, the magnetic signal will be correspondingly increased. The temperature information collected by the temperature sensor 132 can be used to correct the magnetic signal at the back end, or can be calibrated in the geomagnetic sensor circuit 100 (such as the interface unit 180 ), and then transmitted to the back end after the calibration is completed.

温度传感器132本身也可以用于校正得到的地磁传感器电路100的温度信息。可以根据地磁传感器电路100的环境温度校正得到的地磁传感器电路100的温度信息。例如,当环境温度高于地磁传感器电路100的温度信息时,可以对应调低得到的地磁传感器电路100的温度信息。当环境温度低于地磁传感器电路100的温度信息时,可以对应调高得到的地磁传感器电路100的温度信息。还可以根据地磁传感器电路100的历史温度校正得到的地磁传感器电路100的温度信息。还可以根据地磁传感器电路100的当前温度信息的温度曲线校正得到的地磁传感器电路100的温度信息。例如,当温度曲线为上升曲线时,可以对应调低得到的地磁传感器电路100的温度信息。当温度曲线为下降曲线时,可以对应调高得到的地磁传感器电路100的温度信息。通过上述方法可以将获取的温度信息的精度控制在0.1摄氏度以内,提高了测试精度。The temperature sensor 132 itself may also be used to correct the obtained temperature information of the geomagnetic sensor circuit 100 . The obtained temperature information of the geomagnetic sensor circuit 100 may be corrected according to the ambient temperature of the geomagnetic sensor circuit 100 . For example, when the ambient temperature is higher than the temperature information of the geomagnetic sensor circuit 100 , the obtained temperature information of the geomagnetic sensor circuit 100 may be correspondingly lowered. When the ambient temperature is lower than the temperature information of the geomagnetic sensor circuit 100 , the obtained temperature information of the geomagnetic sensor circuit 100 may be correspondingly increased. The obtained temperature information of the geomagnetic sensor circuit 100 may also be corrected according to the historical temperature of the geomagnetic sensor circuit 100 . The obtained temperature information of the geomagnetic sensor circuit 100 may also be corrected according to the temperature curve of the current temperature information of the geomagnetic sensor circuit 100 . For example, when the temperature curve is a rising curve, the obtained temperature information of the geomagnetic sensor circuit 100 may be correspondingly lowered. When the temperature curve is a descending curve, the obtained temperature information of the geomagnetic sensor circuit 100 may be adjusted accordingly. Through the above method, the accuracy of the acquired temperature information can be controlled within 0.1 degrees Celsius, which improves the test accuracy.

第二磁力传感器124的线圈面积可以大于第一磁力传感器122的线圈面积,以实现第二磁力传感器124获取的磁力信号范围大于第一磁力传感器122获取的磁力信号范围。The coil area of the second magnetic sensor 124 may be larger than the coil area of the first magnetic sensor 122 , so that the range of the magnetic signal obtained by the second magnetic sensor 124 is larger than the range of the magnetic signal obtained by the first magnetic sensor 122 .

第二磁力传感器124的线圈数量小于第一磁力传感器122的线圈数量,以实现第二磁力传感器124获取的磁力信号范围大于第一磁力传感器122获取的磁力信号范围。The number of coils of the second magnetic sensor 124 is smaller than the number of coils of the first magnetic sensor 122 , so that the range of the magnetic signal obtained by the second magnetic sensor 124 is larger than the range of the magnetic signal obtained by the first magnetic sensor 122 .

第二磁力传感器124的线圈面积可以大于第一磁力传感器122的线圈面积,同时,第二磁力传感器124的线圈数量小于第一磁力传感器122的线圈数量,以实现第二磁力传感器124获取的磁力信号范围大于第一磁力传感器122获取的磁力信号范围。The coil area of the second magnetic force sensor 124 can be greater than the coil area of the first magnetic force sensor 122, meanwhile, the coil quantity of the second magnetic force sensor 124 is less than the coil quantity of the first magnetic force sensor 122, to realize the magnetic force signal that the second magnetic force sensor 124 acquires The range is larger than the range of the magnetic signal acquired by the first magnetic sensor 122 .

需要说明的是,第二磁力传感器124对于大的磁通量变化也可以测量,第二磁力传感器124获取的磁力信号范围大于第一磁力传感器122获取的磁力信号范围,但是测量精度会小于第一磁力传感的测量精度。It should be noted that the second magnetic sensor 124 can also measure large magnetic flux changes, the magnetic signal range obtained by the second magnetic sensor 124 is larger than the magnetic signal range obtained by the first magnetic sensor 122, but the measurement accuracy will be lower than that of the first magnetic sensor. sense of measurement accuracy.

请参阅图3,图3为本申请实施例提供的地磁传感器电路的第三种结构示意图。地磁传感器电路100还可以包括第三磁力传感器126,第三磁力传感器126获取第三磁力信号,第三磁力信号用于与第一磁力信号配合计算磁力信号。第三磁力信号获取的磁力信号范围与第一磁力传感器122获取的磁力信号范围相同。第三磁力信号可以和第一磁力信号配合实现高精度检测,当第一磁力信号和第三磁力信号数值差超过阀值时会重新检测,当第一磁力信号和第三磁力信号数值差在阀值范围内时可以求均值输出或乘以对应的权重输出。例如,第一磁力信号的权重为0.6,第三磁力信号的权重为0.4。Please refer to FIG. 3 . FIG. 3 is a schematic diagram of a third structure of a geomagnetic sensor circuit provided in an embodiment of the present application. The geomagnetic sensor circuit 100 may further include a third magnetic sensor 126, the third magnetic sensor 126 acquires a third magnetic signal, and the third magnetic signal is used to calculate the magnetic signal in cooperation with the first magnetic signal. The range of the magnetic signal obtained by the third magnetic signal is the same as the range of the magnetic signal obtained by the first magnetic sensor 122 . The third magnetic signal can cooperate with the first magnetic signal to achieve high-precision detection. When the value difference between the first magnetic signal and the third magnetic signal exceeds the threshold value, it will be re-detected. When the value difference between the first magnetic signal and the third magnetic signal exceeds the valve When the value is within the range, you can calculate the average output or multiply the corresponding weight output. For example, the weight of the first magnetic force signal is 0.6, and the weight of the third magnetic force signal is 0.4.

可以理解的,第一磁力传感器122、第二磁力传感器124和第三磁力传感器126都可以检测X\Y\Z三个方向的磁力信号,也可以理解为,第一磁力信号、第二磁力信号和第三磁力信号均包括X\Y\Z三个方向的磁力信号。It can be understood that the first magnetic sensor 122, the second magnetic sensor 124 and the third magnetic sensor 126 can detect the magnetic signals in the three directions of X\Y\Z, which can also be understood as the first magnetic signal, the second magnetic signal Both the third magnetic force signal and the third magnetic force signal include magnetic force signals in three directions of X\Y\Z.

接口单元180可以包括I2C接口或I3C接口。地磁传感器电路100通过接口单元180与其他器件电性连接,并将地磁传感器电路100获取的磁力信号传输给其他器件。例如,地磁传感器电路100通过接口单元180与处理器电性连接,并将磁力信号传输给处理器,处理器得到磁力信号后,可以对应调整应用程序,如调整指南针,游戏,导航等应用程序。其中,I3C接口的传输速度更高,功耗上支持多种工作模式,更省电。在一些实施例中,接口单元180可以为串行接口(Serial Data Interface)。The interface unit 180 may include an I2C interface or an I3C interface. The geomagnetic sensor circuit 100 is electrically connected with other devices through the interface unit 180 , and transmits the magnetic force signal acquired by the geomagnetic sensor circuit 100 to other devices. For example, the geomagnetic sensor circuit 100 is electrically connected to the processor through the interface unit 180, and transmits the magnetic force signal to the processor. After the processor receives the magnetic force signal, it can adjust corresponding application programs, such as adjusting compass, games, navigation and other application programs. Among them, the I3C interface has a higher transmission speed, supports multiple working modes in terms of power consumption, and saves more power. In some embodiments, the interface unit 180 may be a serial interface (Serial Data Interface).

地磁传感器电路100还可以包括复位线圈134(Reset coils),复位线圈134用于使磁传感器元件在强磁场作用下恢复正常工作状态,驱动复位线圈134产生的磁场使传感器元件恢复原来的性能,这样可以有效提高测试精度。The geomagnetic sensor circuit 100 can also include a reset coil 134 (Reset coils), the reset coil 134 is used to restore the magnetic sensor element to a normal working state under the action of a strong magnetic field, and the magnetic field generated by driving the reset coil 134 restores the original performance of the sensor element, thus Can effectively improve the test accuracy.

地磁传感器电路100还可以包括测试线圈136(Test Coils),测试线圈136用于产生参考磁场,以测试传感器元件,以便进行简单的诊断。The geomagnetic sensor circuit 100 may further include a test coil 136 (Test Coils), which is used to generate a reference magnetic field to test the sensor element for simple diagnosis.

地磁传感器电路100还可以包括片上电压调节器138(Voltage Regulator),片上电压调节器138为内部电路供电。The geomagnetic sensor circuit 100 may also include an on-chip voltage regulator 138 (Voltage Regulator), and the on-chip voltage regulator 138 supplies power to internal circuits.

地磁传感器电路100还可以包括复位单元142(Power-on Reset),复位单元142用于当芯片通电时,通过电源电压斜坡用于产生信号以复位和初始化设备寄存器。The geomagnetic sensor circuit 100 may further include a reset unit 142 (Power-on Reset). The reset unit 142 is used to generate a signal to reset and initialize device registers through a power supply voltage ramp when the chip is powered on.

地磁传感器电路100还可以包括片上时钟发生器144(Clock Generator),时钟发生器用于产生时钟信号并提供给内部电路。The geomagnetic sensor circuit 100 may also include an on-chip clock generator 144 (Clock Generator), which is used to generate a clock signal and provide it to internal circuits.

地磁传感器电路100还可以包括下电控制146(Power Down Control),用于控制电压。The geomagnetic sensor circuit 100 may also include a power down control 146 (Power Down Control) for controlling the voltage.

可以理解的,地磁传感器电路包括地磁传感器芯片,具体请参阅图4,图4为本申请实施例提供的地磁传感器电路的第四种结构示意图。地磁传感器芯片190包括第一磁力传感器122、第二磁力传感器124、第二磁力传感器124、放大器140、模数转换器160和接口单元180。也可以理解为,地磁传感器芯片190,地磁传感器芯片190包括第一磁力传感器122、第二磁力传感器124、第二磁力传感器124、放大器140、模数转换器160和接口单元180集成在地磁传感器芯片190内。It can be understood that the geomagnetic sensor circuit includes a geomagnetic sensor chip. Please refer to FIG. 4 for details. FIG. 4 is a fourth structural schematic diagram of the geomagnetic sensor circuit provided by the embodiment of the present application. The geomagnetic sensor chip 190 includes a first magnetic sensor 122 , a second magnetic sensor 124 , a second magnetic sensor 124 , an amplifier 140 , an analog-to-digital converter 160 and an interface unit 180 . It can also be understood that the geomagnetic sensor chip 190, the geomagnetic sensor chip 190 includes the first magnetic sensor 122, the second magnetic sensor 124, the second magnetic sensor 124, the amplifier 140, the analog-to-digital converter 160 and the interface unit 180 integrated in the geomagnetic sensor chip Within 190.

当然,上述实施例中的地磁传感器电路100可以集成在一个地磁传感器芯片190中,集成化更高,体积可以做的很小,不占用空间,提高空间利用率,同时因为将地磁传感器电路100集成在一个地磁传感器芯片190中,稳定性更好,抗干扰能力也更强。Certainly, the geomagnetic sensor circuit 100 in the above-mentioned embodiment can be integrated in a geomagnetic sensor chip 190, the integration is higher, the volume can be made small, does not take up space, and the space utilization rate is improved. At the same time, because the geomagnetic sensor circuit 100 is integrated In one geomagnetic sensor chip 190, the stability is better and the anti-interference ability is also stronger.

请结合图5,图5为本申请实施例提供的地磁传感器电路的电路示意图。地磁传感器电路100可以包括地磁传感器芯片190和周边匹配电路。具体的,地磁传感器芯片包括电源引脚(VDD)、第一复位引脚(VCAP)、第二复位引脚(VPP)、测试引脚(TEST)、空引脚(NC)、通信引脚(SDA、SCL)、接地引脚(VSA)。Please refer to FIG. 5 , which is a schematic circuit diagram of a geomagnetic sensor circuit provided in an embodiment of the present application. The geomagnetic sensor circuit 100 may include a geomagnetic sensor chip 190 and a peripheral matching circuit. Specifically, the geomagnetic sensor chip includes a power supply pin (VDD), a first reset pin (VCAP), a second reset pin (VPP), a test pin (TEST), a null pin (NC), a communication pin ( SDA, SCL), ground pin (VSA).

第二复位引脚可以连接串联电阻R2507,减少过冲影响。The second reset pin can be connected with a series resistor R2507 to reduce the effect of overshoot.

电源引脚连接上拉电阻R2515,同时接电容C2507(1uF)到地,用于稳定输入电压。The power supply pin is connected to the pull-up resistor R2515, and at the same time connects the capacitor C2507 (1uF) to the ground for stabilizing the input voltage.

第一复位引脚接电容C2505(4.7uF)到地,同时还连接第一电压端(VIO28-PMU)。第一复位引脚为地磁传感器器件复位供电脚,各向异性磁电阻效应(AnisotropicMagnetoresistive Sensor,AMR)技术器件很容易被外界磁场磁化,在芯片设计上通过电容对第一复位引脚放电进行复位(reset),消除外部磁场干扰的影响。reset电流为500~600mA,维持时间0.4uS.由于器件的reset会从电容端抽取电流,第一复位引脚端会出现一个电压降(即纹波)。地磁传感器电路100所选用的reset策略是检测到磁饱和后才reset。相关技术中,部分设备平台不具有感测器中枢(sensor hub),需要利用G-sensor协助,具体是:当检测到G-sensor有数据变动了,而地磁未动,则判断为地磁饱和,从而器件进行reset校准,但是G-sensor要一直打开。另一部分平台采用的是固定时间间隔做reset,每5sreset一次。本实施例中地磁传感器电路100所选用的reset策略是检测到磁饱和后才reset,准确性更高,同时可以兼容不同的平台,无论平台是否具有感测器中枢都可以通过检测到磁饱和后才reset。需要说明的是,当检测的磁通量大于最大量程的95%时就可以认为磁饱和。设备平台可以理解为电子设备300的芯片平台,如MTK平台、高通平台等。The first reset pin connects the capacitor C2505 (4.7uF) to the ground, and also connects to the first voltage terminal (VIO28-PMU). The first reset pin is the reset power supply pin of the geomagnetic sensor device. The Anisotropic Magnetoresistive Sensor (AMR) technology device is easily magnetized by the external magnetic field. In the chip design, the capacitor discharges the first reset pin to reset ( reset), to eliminate the influence of external magnetic field interference. The reset current is 500-600mA, and the maintenance time is 0.4uS. Since the reset of the device will draw current from the capacitor terminal, a voltage drop (that is, ripple) will appear at the first reset pin. The reset strategy selected by the geomagnetic sensor circuit 100 is to reset after detecting magnetic saturation. In related technologies, some equipment platforms do not have a sensor hub (sensor hub), and need to use the G-sensor to assist, specifically: when it is detected that the G-sensor has data changes, but the geomagnetism does not move, it is judged as geomagnetic saturation. Therefore, the device performs reset calibration, but the G-sensor must be turned on all the time. Another part of the platform uses a fixed time interval to reset, reset every 5s. The reset strategy selected by the geomagnetic sensor circuit 100 in this embodiment is to reset after detecting magnetic saturation, which has higher accuracy and is compatible with different platforms. Only reset. It should be noted that when the detected magnetic flux is greater than 95% of the maximum range, it can be considered magnetic saturation. The device platform may be understood as a chip platform of the electronic device 300, such as an MTK platform, a Qualcomm platform, and the like.

AMR技术可以理解为,当外部磁场与磁体内建磁场方向成零度角时,电阻是不会随着外加磁场变化而发生改变的;但当外部磁场与磁体的内建磁场有一定角度的时候,磁体内部磁化矢量会偏移,薄膜电阻降低,这种特性称为各向异性磁电阻效应。AMR technology can be understood as, when the external magnetic field and the built-in magnetic field of the magnet form a zero-degree angle, the resistance will not change with the change of the external magnetic field; but when the external magnetic field has a certain angle with the built-in magnetic field of the magnet, The magnetization vector inside the magnet will shift and the sheet resistance will decrease. This characteristic is called anisotropic magnetoresistance effect.

通信引脚(SDA、SCL)为I2C或I3C的通信引脚,NC引脚通过接高电平和地可以选择不同的I2C或I3C地址。The communication pins (SDA, SCL) are I2C or I3C communication pins, and the NC pin can select different I2C or I3C addresses by connecting high level and ground.

本申请实施例还提供一种电路板,具体请参阅图6,图6为本申请实施例提供的电路板的结构示意图。电路板200包括基板220和地磁传感器电路100。地磁传感器电路100可以为上述任一实施例中的地磁传感器电路100。The embodiment of the present application further provides a circuit board, please refer to FIG. 6 for details. FIG. 6 is a schematic structural diagram of the circuit board provided in the embodiment of the present application. The circuit board 200 includes a substrate 220 and the geomagnetic sensor circuit 100 . The geomagnetic sensor circuit 100 may be the geomagnetic sensor circuit 100 in any of the above-mentioned embodiments.

地磁传感器电路100中电容(C2505、C2507)靠近地磁传感器芯片放置,当地磁传感器芯片离设备平台处理器较远,且接口单元(如I2C或I3C)走线较长或者靠近天线时,将接口单元的两条信号线(SDA、SCL)平行走线,同时在两条信号线两边加地线进行保护,避免临近层出现高速信号线等。首次使用地磁传感器芯片时,开始在两条信号线上串联0欧电阻,小批量过程验证测试(Pilot-run Verification Test,PVT)后取消,同时要注意防止地址冲突。Capacitors (C2505, C2507) in the geomagnetic sensor circuit 100 are placed close to the geomagnetic sensor chip. When the geomagnetic sensor chip is far away from the device platform processor, and the interface unit (such as I2C or I3C) has a long line or is close to the antenna, the interface unit The two signal lines (SDA, SCL) are routed in parallel, and ground wires are added to both sides of the two signal lines for protection to avoid high-speed signal lines on adjacent layers. When using the geomagnetic sensor chip for the first time, start to connect 0 ohm resistors in series on the two signal lines, cancel after the small batch process verification test (Pilot-run Verification Test, PVT), and pay attention to prevent address conflicts.

电路板200上还包括供电模块230,地磁传感器电路100包括电源引脚,电源引脚与供电模块230之间通过电源走线240连接,电路板200上还设有信号线250,电源走线240与信号线250间隔设置。具体的:The circuit board 200 also includes a power supply module 230, the geomagnetic sensor circuit 100 includes a power supply pin, and the power supply pin and the power supply module 230 are connected by a power supply wiring 240. The circuit board 200 is also provided with a signal line 250 and a power supply wiring 240. Set apart from the signal line 250 . specific:

1)当电源走线电流变化范围可达10mA时,与周围的信号线的安全间距在3mm以上;1) When the current variation range of the power supply wiring can reach 10mA, the safe distance from the surrounding signal lines should be more than 3mm;

2)当电源走线电流变化范围可达50mA时,与周围的信号线的安全间距在7mm以上;2) When the current variation range of the power supply wiring can reach 50mA, the safe distance from the surrounding signal lines should be more than 7mm;

3)当电源走线电流变化范围可达100mA时,与周围的信号线的安全间距在10mm以上;3) When the current variation range of the power supply wiring can reach 100mA, the safe distance from the surrounding signal lines should be more than 10mm;

4)当电源走线电流变化范围可达200mA时,与周围的信号线的安全间距在20mm以上。4) When the current variation range of the power supply wiring can reach 200mA, the safe distance from the surrounding signal lines should be more than 20mm.

地磁传感器电路100与其连接电源引脚的电容可以放置在屏蔽盖260内部(主屏蔽盖或者单独的四周封闭的小屏蔽盖,屏蔽盖可以采用洋白铜等材质),相比放在弓形屏蔽支架下方,可以防止设备进液之后地磁传感器电路100及其连接电源引脚的电容被腐蚀。The geomagnetic sensor circuit 100 and the capacitor connected to the power supply pin can be placed inside the shielding cover 260 (the main shielding cover or a separate small shielding cover closed all around, and the shielding cover can be made of nickel-nickel copper or other materials), compared to placing it under the bow-shaped shielding bracket , can prevent the geomagnetic sensor circuit 100 and the capacitor connected to the power supply pin from being corroded after the device is infiltrated with liquid.

电路板200上还设有预设磁性部件270,地磁传感器电路100与预设磁性部件270间隔设置。地磁传感器电路100尽量远离带磁性的器件,或者是避免使用带磁性的器件,预设磁性部件270可以包括具有硬铁材料的磁性器件如受话器、扬声器、磁性开关、转轴、摄像头模组、震动马达、TV天线、电感、霍尔开关等等。另外是含有软铁材料的器件如LCD、RF的屏蔽框、内存卡座、SIM卡座、各种连接器、转轴、电池、NFC天线和其它金属结构件等等。布局之前可以用探针对各个器件的磁场强度进行测量,寻找合适的位置。例如,地磁传感器电路100可以设置在电路板200的周边。地磁传感器电路100与其他磁性器件的距离具体可以为:The circuit board 200 is also provided with a preset magnetic component 270 , and the geomagnetic sensor circuit 100 is arranged at intervals from the preset magnetic component 270 . The geomagnetic sensor circuit 100 should be as far away from magnetic devices as possible, or avoid using magnetic devices. The preset magnetic components 270 can include magnetic devices with hard iron materials such as receivers, speakers, magnetic switches, rotating shafts, camera modules, and vibration motors. , TV antenna, inductor, Hall switch and so on. In addition, devices containing soft iron materials such as LCD, RF shielding frame, memory card holder, SIM card holder, various connectors, shafts, batteries, NFC antennas and other metal structural parts, etc. Before layout, probes can be used to measure the magnetic field strength of each device to find a suitable position. For example, the geomagnetic sensor circuit 100 may be disposed on the periphery of the circuit board 200 . The distance between the geomagnetic sensor circuit 100 and other magnetic devices can be:

1)与磁性开关器件的安全距离为20mm以上;1) The safety distance from the magnetic switch device is more than 20mm;

2)与扬声器的安全距离为10~20mm;2) The safe distance from the speaker is 10-20mm;

3)与振动马达的安全距离为10mm以上;3) The safe distance from the vibration motor is more than 10mm;

4)与摄像头模组的安全距离为10mm以上;4) The safe distance from the camera module is more than 10mm;

5)与内存卡座的安全距离为5mm以上;5) The safe distance from the memory card holder is more than 5mm;

6)与带磁性的屏蔽框的安全距离为10mm以上;6) The safe distance from the magnetic shielding frame is more than 10mm;

7)与受话器距离的安全距离为10mm以上;7) The safe distance from the receiver is more than 10mm;

8)与大电感的安全距离为5mm以上;8) The safe distance from the large inductance is more than 5mm;

9)转轴的安全距离为10mm以上;9) The safety distance of the rotating shaft is more than 10mm;

10)离NFC天线15mm以上;10) More than 15mm away from the NFC antenna;

11)离软磁材料如LCD框弯折边缘区5mm(若不能满足要求,LCD采用无磁性材料;11) 5mm away from the soft magnetic material such as the bending edge of the LCD frame (if the requirements cannot be met, the LCD should use non-magnetic materials;

12)远离开关电源10mm。12) 10mm away from switching power supply.

本实施例的地磁传感器电路100(改进后的地磁传感器电路)比现有技术中的地磁传感器电路(改进前的地磁传感器电路)具有明显的优势。本实施例的地磁传感器电路100中的地磁传感器芯片采用高集成工艺,集成化更强,体积更小。地磁传感器电路100中的第一磁力传感器、第二磁力传感器和第三磁力传感器用于测量磁场强度,第一磁力传感器和第三磁力传感器用于测量小量程,实现高精度,第二磁力传感器用于测量大量程,支持量程范围大。地磁传感器电路100增加温度补偿,精确到0.1度,温度补偿更准确。地磁传感器电路100内部封装屏蔽性好,抗干扰能力强,可靠性高。地磁传感器电路100支持低功耗模式,功耗更低。地磁传感器电路100兼容各设备平台。下面表一为示例性地举例。The geomagnetic sensor circuit 100 of this embodiment (the improved geomagnetic sensor circuit) has obvious advantages over the geomagnetic sensor circuit in the prior art (the geomagnetic sensor circuit before the improvement). The geomagnetic sensor chip in the geomagnetic sensor circuit 100 of this embodiment adopts a highly integrated process, which is more integrated and smaller in size. The first magnetic sensor, the second magnetic sensor and the third magnetic sensor in the geomagnetic sensor circuit 100 are used to measure the magnetic field strength, and the first magnetic sensor and the third magnetic sensor are used to measure a small range to achieve high precision, and the second magnetic sensor is used It is suitable for measuring a large range and supports a large range of measurements. The geomagnetic sensor circuit 100 adds temperature compensation, which is accurate to 0.1 degree, and the temperature compensation is more accurate. The internal packaging of the geomagnetic sensor circuit 100 has good shielding performance, strong anti-interference ability and high reliability. The geomagnetic sensor circuit 100 supports a low power consumption mode with lower power consumption. The geomagnetic sensor circuit 100 is compatible with various device platforms. Table 1 below is an illustrative example.

表一:角度数据Table 1: Angle data

Figure BDA0002377501110000091
Figure BDA0002377501110000091

改进后的地磁传感器X方向的标准差STDRV-X=0.140,改进前的地磁传感器X方向的标准差STDRV-X=0.171;改进后的地磁传感器Y方向的标准差STDRV-Y=0.152改进前的地磁传感器Y方向的标准差STDRV-Y=0.223;改进后的地磁传感器Z方向的标准差STDRV-Z=0.187改进前的地磁传感器Z方向的标准差STDRV-Z=0.264;改进后的地磁传感器角度精度也更高,改善后的地磁传感器性能有显著提升。The standard deviation of the improved geomagnetic sensor in the X direction STDRV-X=0.140, the standard deviation of the geomagnetic sensor in the X direction STDRV-X=0.171; the standard deviation of the improved geomagnetic sensor in the Y direction STDRV-Y=0.152 before improvement The standard deviation of the geomagnetic sensor in the Y direction STDRV-Y=0.223; the standard deviation of the improved geomagnetic sensor in the Z direction STDRV-Z=0.187 the standard deviation of the geomagnetic sensor in the Z direction STDRV-Z=0.264; the improved geomagnetic sensor angle The accuracy is also higher, and the performance of the improved geomagnetic sensor has been significantly improved.

需要说明的是,图中所示的电路板上仅示出了部分信号线和部分预设磁性部件。It should be noted that only part of the signal lines and part of the preset magnetic components are shown on the circuit board shown in the figure.

本申请实施例还提供一种电子设备,电子设备壳体以及电路板,电路板安装于壳体内,电路板可以为上述任一实施例中的电路板。The embodiment of the present application also provides an electronic device, a housing of the electronic device and a circuit board, the circuit board is installed in the housing, and the circuit board may be the circuit board in any of the foregoing embodiments.

电子设备可以是智能手机、平板电脑等移动终端,还可以是游戏设备、增强现实(Augmented Reality,AR)设备、虚拟现实(Virtual Reality,VR)设备、数据存储装置、音频播放装置、视频播放装置、可穿戴设备等具有显示装置的设备,其中可穿戴设备可以是智能手环、智能眼镜、智能手表、智能装饰等。下面以电子设备以手机为例进行说明。具体请参阅图7和图8,图7为本申请实施例提供的电子设备的结构示意图,图8为图7所示电子设备的另一面示意图。电子设备300还包括显示屏310、壳体320、主板330和电池340。The electronic device may be a mobile terminal such as a smart phone or a tablet computer, and may also be a game device, an augmented reality (Augmented Reality, AR) device, a virtual reality (Virtual Reality, VR) device, a data storage device, an audio playback device, or a video playback device. , wearable devices and other devices with display devices, wherein the wearable devices may be smart bracelets, smart glasses, smart watches, smart decorations, and the like. In the following, an electronic device such as a mobile phone is taken as an example for description. Please refer to FIG. 7 and FIG. 8 for details. FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application, and FIG. 8 is a schematic diagram of another side of the electronic device shown in FIG. 7 . The electronic device 300 also includes a display screen 310 , a casing 320 , a main board 330 and a battery 340 .

其中,壳体320包括边框322和后盖324。显示屏310与后盖324位于电子设备300相对的两侧,电子设备300还包括中板,边框320围绕中板设置,其中,边框320可以与中板形成电子设备300的中框。中板和边框320在中板两侧各形成一个容纳腔,其中一个容纳腔容置显示屏310,另一个容纳腔容置主板330、电池340和电子设备300的其他电子元件或功能模块。Wherein, the casing 320 includes a frame 322 and a rear cover 324 . The display screen 310 and the rear cover 324 are located on opposite sides of the electronic device 300 . The electronic device 300 also includes a middle board, and a frame 320 is arranged around the middle board. The frame 320 and the middle board may form a middle frame of the electronic device 300 . The middle board and the frame 320 respectively form an accommodating chamber on both sides of the middle board. One accommodating chamber accommodates the display screen 310 , and the other accommodating chamber accommodates the main board 330 , battery 340 and other electronic components or functional modules of the electronic device 300 .

中板可以为薄板状或薄片状的结构,也可以为中空的框体结构。中框用于为电子设备300中的电子元件或功能组件提供支撑作用,以将电子设备300中的电子元件、功能组件安装到一起。电子设备300的摄像头组件、受话器、电路板、电池等功能组件都可以安装到中框或主板330上以进行固定。可以理解的,中框的材质可以包括金属或塑胶。The middle plate may be in the form of a thin plate or sheet, or may be a hollow frame structure. The middle frame is used to provide support for the electronic components or functional components in the electronic device 300 , so as to install the electronic components and functional components in the electronic device 300 together. Functional components such as camera components, receivers, circuit boards, and batteries of the electronic device 300 can be installed on the middle frame or the main board 330 for fixing. It can be understood that the material of the middle frame may include metal or plastic.

主板330可以安装在中框上。主板330上可以集成有麦克风、扬声器、耳机接口、摄像头组件、加速度传感器、陀螺仪以及处理器等功能组件中的一个或多个。同时,显示屏310可以电性连接至主板330,以通过主板330上的处理器对显示屏的显示进行控制。The main board 330 can be installed on the middle frame. One or more functional components such as a microphone, a speaker, an earphone jack, a camera component, an acceleration sensor, a gyroscope, and a processor may be integrated on the main board 330 . Meanwhile, the display screen 310 can be electrically connected to the main board 330 so as to control the display of the display screen through the processor on the main board 330 .

电池340可以安装在中框上。同时,电池340电连接至主板330,以实现电池340为电子设备300供电。其中,主板330上可以设置有电源管理电路。电源管理电路用于将电池340提供的电压分配到电子设备300中的各个电子元件。The battery 340 may be mounted on the middle frame. Meanwhile, the battery 340 is electrically connected to the main board 330 , so that the battery 340 supplies power to the electronic device 300 . Wherein, the main board 330 may be provided with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 340 to various electronic components in the electronic device 300 .

显示屏310形成电子设备300的显示面,用于显示图像、文本等信息。显示屏310可以为液晶显示屏(Liquid Crystal Display,LCD)或有机发光二极管显示屏(OrganicLight-Emitting Diode,OLED)等类型的显示屏。The display screen 310 forms a display surface of the electronic device 300 and is used for displaying information such as images and texts. The display screen 310 may be a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode display (Organic Light-Emitting Diode, OLED) or other type of display.

显示屏310可以为异形屏,显示屏310可以包括显示区域312以及非显示区域314。其中,显示区域312执行显示屏310的显示功能,用于显示图像、文本等信息。非显示区域314不显示信息,非显示区域314用于配合前置摄像模组382工作。例如,非显示区域314为高透光区域,前置摄像模组382可以透过非显示区域314获取外界的图像,如拍照、摄像等。在其他一些实施例中,显示屏可以为全面屏,即,显示屏的正面基本全部都是显示区域,显示屏的显示区域一致,前置摄像模组可以采用驱动机构从电子设备内移动到电子设备外进行摄像。显示屏的显示区域还可以包括主显示区域和副显示区域,副显示区域的透光率大于主显示区域的透光率,前置摄像模组对应副显示区域设置,如设置在副显示区域的下方,副显示区域可以配合主显示区域显示图像,当副显示区域不显示图像时,摄像模组可以透过副显示区域进行摄像,示例性地,图7所示的非显示区域可以替换为副显示区域。The display screen 310 may be a special-shaped screen, and the display screen 310 may include a display area 312 and a non-display area 314 . Wherein, the display area 312 performs the display function of the display screen 310 for displaying information such as images and texts. The non-display area 314 does not display information, and the non-display area 314 is used to cooperate with the front camera module 382 to work. For example, the non-display area 314 is a highly light-transmitting area, and the front camera module 382 can obtain images of the outside world through the non-display area 314 , such as taking pictures and video recordings. In some other embodiments, the display screen can be a full screen, that is, the front of the display screen is basically all the display area, and the display area of the display screen is consistent, and the front camera module can be moved from the electronic device to the electronic device using a driving mechanism. Recording outside the device. The display area of the display screen can also include a main display area and an auxiliary display area. The light transmittance of the auxiliary display area is greater than the light transmittance of the main display area. The front camera module is set corresponding to the auxiliary display area. Below, the secondary display area can display images in conjunction with the main display area. When the secondary display area does not display images, the camera module can take pictures through the secondary display area. For example, the non-display area shown in Figure 7 can be replaced by a secondary Display area.

电子设备300还包括后置摄像模组384,后盖324对应后置摄像模组384设有透光区域,后置摄像模组384可以透过后盖324的透光区域获取外界的图像。The electronic device 300 also includes a rear camera module 384 , the rear cover 324 is provided with a light-transmitting area corresponding to the rear camera module 384 , and the rear camera module 384 can obtain external images through the light-transmitting area of the rear cover 324 .

可以理解的,本实施例中的主板可以为上述实施例中的电路板,上述实施例中的电路板也可以为电子设备中的其他电路板。It can be understood that the main board in this embodiment may be the circuit board in the above embodiment, and the circuit board in the above embodiment may also be other circuit boards in the electronic device.

在本申请的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上。In the description of the present application, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of said features. In the description of this application, "plurality" means two or more.

以上对本申请实施例提供的地磁传感器电路、电路板及电子设备进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请。同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The geomagnetic sensor circuit, circuit board and electronic equipment provided in the embodiments of the present application have been introduced in detail above. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application, and the descriptions of the above embodiments are only used to help understand the present application. At the same time, for those skilled in the art, based on the idea of this application, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the application.

Claims (12)

1.一种地磁传感器电路,其特征在于,包括地磁传感器芯片,所述地磁传感器芯片包括:1. A geomagnetic sensor circuit, characterized in that, comprises a geomagnetic sensor chip, and the geomagnetic sensor chip comprises: 第一磁力传感器,用于获取第一磁力信号;a first magnetic sensor, configured to acquire a first magnetic signal; 第二磁力传感器,用于获取第二磁力信号,所述第二磁力传感器获取的磁力信号范围大于所述第一磁力传感器获取的磁力信号范围;The second magnetic sensor is used to obtain a second magnetic signal, and the range of the magnetic signal obtained by the second magnetic sensor is larger than the range of the magnetic signal obtained by the first magnetic sensor; 第三磁力传感器,用于获取第三磁力信号,所述第三磁力传感器获取的磁力信号范围与所述第一磁力传感器获取的磁力信号范围相同,当所述第一磁力信号和所述第三磁力信号数值差在阀值范围内时求均值输出或乘以对应的权重输出磁力信号;The third magnetic force sensor is used to acquire a third magnetic force signal, the range of the magnetic force signal acquired by the third magnetic force sensor is the same as the range of the magnetic force signal acquired by the first magnetic force sensor, when the first magnetic force signal and the third magnetic force signal When the value difference of the magnetic signal is within the threshold range, the average value is output or multiplied by the corresponding weight to output the magnetic signal; 放大器,所述第一磁力传感器、所述第二磁力传感器和所述第三磁力传感器均与所述放大器的输入端连接,所述放大器用于将输入所述放大器的信号放大;An amplifier, the first magnetic sensor, the second magnetic sensor and the third magnetic sensor are all connected to the input of the amplifier, and the amplifier is used to amplify the signal input to the amplifier; 模数转换器,所述模数转换器的输入端与所述放大器的输出端连接,所述模数转换器用于获取所述放大器放大后的信号,并将所述放大后的信号转换成数字信号;以及An analog-to-digital converter, the input of the analog-to-digital converter is connected to the output of the amplifier, and the analog-to-digital converter is used to obtain the amplified signal of the amplifier and convert the amplified signal into a digital signal; and 接口单元,与所述模数转换器的输出端连接,所述接口单元用于获取所述模数转换器转换后的所述数字信号,并将所述数字信号传输出去;an interface unit connected to the output end of the analog-to-digital converter, the interface unit is used to obtain the digital signal converted by the analog-to-digital converter, and transmit the digital signal; 第一复位引脚,所述第一复位引脚用于通过第一电容接地,所述第一复位引脚还用于连接第一电压端,当所述地磁传感器芯片磁饱和后,所述第一复位引脚通过所述第一电容放电进行复位;The first reset pin, the first reset pin is used for grounding through the first capacitor, and the first reset pin is also used for connecting the first voltage terminal. When the magnetic sensor chip is saturated, the first reset pin is connected to the first voltage terminal. A reset pin is reset by discharging the first capacitor; 第二复位引脚,连接串联电阻,并通过所述串联电阻 用于接收复位信号;The second reset pin is connected to a series resistor and is used to receive a reset signal through the series resistor; 复位线圈,用于使磁传感器元件在强磁场作用下恢复正常工作状态;The reset coil is used to restore the magnetic sensor element to a normal working state under the action of a strong magnetic field; 测试线圈,用于产生参考磁场,以测试磁传感器元件;a test coil for generating a reference magnetic field for testing the magnetic sensor element; 复位单元,用于当所述地磁传感器芯片通电时,通过电源电压斜坡产生信号以复位和初始化设备寄存器。The reset unit is used for generating a signal through a power supply voltage ramp to reset and initialize device registers when the geomagnetic sensor chip is powered on. 2.根据权利要求1所述的地磁传感器电路,其特征在于,所述地磁传感器电路还包括温度传感器,所述温度传感器用于获取所述地磁传感器电路的温度信息,所述温度传感器与所述接口单元连接,所述接口单元用于获取所述温度传感器的温度信息,并将所述温度信息与所述数字信号关联后传输出去。2. The geomagnetic sensor circuit according to claim 1, wherein the geomagnetic sensor circuit also includes a temperature sensor, the temperature sensor is used to obtain temperature information of the geomagnetic sensor circuit, and the temperature sensor and the The interface unit is connected, and the interface unit is used to acquire the temperature information of the temperature sensor, correlate the temperature information with the digital signal, and then transmit it. 3.根据权利要求1所述的地磁传感器电路,其特征在于,所述地磁传感器电路还包括温度传感器,所述温度传感器用于获取所述地磁传感器电路当前的温度信息,所述温度传感器与所述接口单元连接,所述接口单元用于获取所述温度传感器的温度信息,并根据所述温度信息调节所述数字信号,以及将调节后的所述数字信号传输出去。3. The geomagnetic sensor circuit according to claim 1, wherein the geomagnetic sensor circuit also includes a temperature sensor, the temperature sensor is used to obtain the current temperature information of the geomagnetic sensor circuit, and the temperature sensor is connected to the geomagnetic sensor circuit The interface unit is connected to the interface unit, and the interface unit is used to obtain the temperature information of the temperature sensor, adjust the digital signal according to the temperature information, and transmit the adjusted digital signal. 4.根据权利要求1所述的地磁传感器电路,其特征在于,所述放大器为可调倍率放大器,所述放大器用于将输入所述放大器的不同信号进行不同倍率的放大。4 . The geomagnetic sensor circuit according to claim 1 , wherein the amplifier is an adjustable magnification amplifier, and the amplifier is used to amplify different signals input to the amplifier with different magnifications. 5.根据权利要求1所述的地磁传感器电路,其特征在于,所述第二磁力传感器的线圈面积大于所述第一磁力传感器的线圈面积;5. The geomagnetic sensor circuit according to claim 1, wherein the coil area of the second magnetic sensor is greater than the coil area of the first magnetic sensor; 和/或and / or 所述第二磁力传感器的线圈数量小于所述第一磁力传感器的线圈数量。The number of coils of the second magnetic sensor is smaller than the number of coils of the first magnetic sensor. 6.根据权利要求1所述的地磁传感器电路,其特征在于,所述接口单元包括I2C接口或I3C接口。6. The geomagnetic sensor circuit according to claim 1, wherein the interface unit comprises an I2C interface or an I3C interface. 7.一种电路板,其特征在于,包括:7. A circuit board, characterized in that, comprising: 基板;Substrate; 地磁传感器电路,设置于所述基板上,所述地磁传感器电路为上述权利要求1-6中任一项所述的地磁传感器电路。The geomagnetic sensor circuit is arranged on the substrate, and the geomagnetic sensor circuit is the geomagnetic sensor circuit described in any one of claims 1-6. 8.根据权利要求7所述的电路板,其特征在于,所述电路板上还设有屏蔽盖,所述地磁传感器电路设置于所述屏蔽盖内。8 . The circuit board according to claim 7 , wherein a shielding cover is further provided on the circuit board, and the geomagnetic sensor circuit is arranged in the shielding cover. 9.根据权利要求7所述的电路板,其特征在于,所述接口单元包括两条信号线,所述两条信号线平行设置。9. The circuit board according to claim 7, wherein the interface unit comprises two signal lines, and the two signal lines are arranged in parallel. 10.根据权利要求7所述的电路板,其特征在于,所述电路板上还设有预设磁性部件,所述地磁传感器电路与所述预设磁性部件间隔设置。10 . The circuit board according to claim 7 , wherein a preset magnetic component is further provided on the circuit board, and the geomagnetic sensor circuit is spaced apart from the preset magnetic component. 11 . 11.根据权利要求7所述的电路板,其特征在于,所述电路板上还包括供电模块,所述地磁传感器电路与所述供电模块之间通过电源走线连接,所述电路板上还设有信号线,所述电源走线与所述信号线间隔设置。11. The circuit board according to claim 7, characterized in that, the circuit board also includes a power supply module, the geomagnetic sensor circuit and the power supply module are connected by power wiring, and the circuit board also includes A signal line is provided, and the power supply line is spaced apart from the signal line. 12.一种电子设备,其特征在于,包括:12. An electronic device, characterized in that it comprises: 壳体;以及casing; and 电路板,安装于所述壳体内,所述电路板为上述权利要求7-11中任一项所述的电路板。A circuit board is installed in the housing, and the circuit board is the circuit board described in any one of claims 7-11.
CN202010071888.3A 2020-01-21 2020-01-21 Geomagnetic sensor circuit, circuit board and electronic equipment Expired - Fee Related CN111273368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010071888.3A CN111273368B (en) 2020-01-21 2020-01-21 Geomagnetic sensor circuit, circuit board and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010071888.3A CN111273368B (en) 2020-01-21 2020-01-21 Geomagnetic sensor circuit, circuit board and electronic equipment

Publications (2)

Publication Number Publication Date
CN111273368A CN111273368A (en) 2020-06-12
CN111273368B true CN111273368B (en) 2022-12-20

Family

ID=70999122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010071888.3A Expired - Fee Related CN111273368B (en) 2020-01-21 2020-01-21 Geomagnetic sensor circuit, circuit board and electronic equipment

Country Status (1)

Country Link
CN (1) CN111273368B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120629A1 (en) * 2000-01-25 2001-08-01 Seiko Instruments Inc. Electronic azimuth meter and electronic time piece using such an electronic azimuth meter
CN103955001A (en) * 2014-05-14 2014-07-30 三峡大学 Invisible earphone detection device and method
CN105259519A (en) * 2014-07-10 2016-01-20 英飞凌科技股份有限公司 Magnetic field sensor device
CN105676303A (en) * 2016-01-19 2016-06-15 南京理工大学 Terrestrial magnetism data collector
CN107632276A (en) * 2017-09-07 2018-01-26 于盟盟 A kind of magnetic field sensing system based on giant magnetostrictive thin film
CN108981756A (en) * 2017-05-30 2018-12-11 梅斯法国公司 The temperature-compensating of field sensing unit and the field sensing unit for using temperature-compensating

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6766333B2 (en) * 2015-10-06 2020-10-14 愛知製鋼株式会社 Micromagnetic material detection sensor and foreign matter detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1120629A1 (en) * 2000-01-25 2001-08-01 Seiko Instruments Inc. Electronic azimuth meter and electronic time piece using such an electronic azimuth meter
CN103955001A (en) * 2014-05-14 2014-07-30 三峡大学 Invisible earphone detection device and method
CN105259519A (en) * 2014-07-10 2016-01-20 英飞凌科技股份有限公司 Magnetic field sensor device
CN105676303A (en) * 2016-01-19 2016-06-15 南京理工大学 Terrestrial magnetism data collector
CN108981756A (en) * 2017-05-30 2018-12-11 梅斯法国公司 The temperature-compensating of field sensing unit and the field sensing unit for using temperature-compensating
CN107632276A (en) * 2017-09-07 2018-01-26 于盟盟 A kind of magnetic field sensing system based on giant magnetostrictive thin film

Also Published As

Publication number Publication date
CN111273368A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
EP3742578B1 (en) Electronic device including wireless charging structure
CN108427166B (en) Camera module and dual camera module
CN112639751B (en) Method of identifying external electronic device based on power information, and electronic device and storage medium for supporting the same
CN109061481B (en) Battery state of charge determining method and device and storage medium
US20160173977A1 (en) Acoustic input module and electronic device including the same
US11231938B2 (en) Parameter configuration method for a display device having a plurality of drivers for each connected component
CN114051717A (en) Foldable electronic device for detecting folding angle and operation method thereof
CN111005715B (en) Method and device for determining yield of gas well and storage medium
CN105979158B (en) A kind of star sensor focal plane component
CN115529724B (en) Circuit board structure, chip system and electronic equipment
US11889274B2 (en) Electronic device for sensing temperature of speaker, and operation method thereof
US20210249761A1 (en) Electronic device including plurality of antennas
US10058016B2 (en) Compensation of magnetic interference
CN111273368B (en) Geomagnetic sensor circuit, circuit board and electronic equipment
CN212783764U (en) Electronic device
US8203364B2 (en) Method of transmitting audio and video signals using one connector and electronic device using same
JPWO2006054435A1 (en) Test equipment
CN114270801A (en) Anti-shake circuit, method, apparatus and storage medium
CN111010469B (en) Electronic equipment and temperature acquisition equipment
CN216696449U (en) Current voltmeter
CN114678683A (en) Electronic device
CN114936420A (en) Method and device for simulating vibration envelope of automobile power assembly, terminal and storage medium
US9685916B2 (en) Audio interface circuits and methods
CN206773418U (en) A kind of intelligent watch
CN118463954B (en) Compass calibration method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
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: 20221220