Data processing system and physical quantity sensor system

The data processing system addresses inefficiencies by having sensor sections independently process and correct data, reducing the master terminal's workload and terminal count, thereby improving efficiency and accuracy in physical quantity detection.

WO2024189953A1PCT designated stage expired Publication Date: 2024-09-19PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/037810
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2023-10-19
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Current data processing systems for physical quantity detection face inefficiencies as they require the master terminal to process extensive data from multiple sensor sections, leading to increased computational burdens and terminal usage.

Method used

The system incorporates a master terminal connected in parallel with first and second sensor sections, where each sensor section processes and corrects its respective physical quantity data independently, with the second sensor section correcting its data based on output from the first, thereby reducing the master terminal's data processing load and terminal usage.

Benefits of technology

This configuration significantly reduces the amount of data processed by the master terminal and minimizes the number of terminals required, enhancing efficiency and accuracy in physical quantity detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023037810_19092024_PF_FP_ABST
    Figure JP2023037810_19092024_PF_FP_ABST
Patent Text Reader

Abstract

This data processing system comprises a master terminal, a first sensor unit, and a second sensor unit. The second sensor unit has a second detection unit and a second processing unit. The second detection unit detects a second physical quantity and outputs the same as second detection data. The second processing unit has a second reception shift register and a second computing unit. The second reception shift register receives first output data outputted by the first sensor unit. The second computing unit corrects the second detection data on the basis of the first output data and outputs the corrected second detection data as second corrected detection data.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing system and physical quantity sensor system

[0001] The present disclosure generally relates to a data processing system and a physical quantity sensor system, and more particularly to a data processing system that detects a physical quantity and performs correction on the physical quantity, and a physical quantity sensor system used in the data processing system.

[0002] The sensor module (data processing system) described in Patent Document 1 includes a plurality of sensor devices and a microcontroller (master terminal). The microcontroller performs calculations based on data from the plurality of sensor devices, thereby achieving high data accuracy.

[0003] Japanese Patent Application Laid-Open No. 2022-145762

[0004] A data processing system according to one aspect of the present disclosure includes a master terminal, a first sensor unit, and a second sensor unit. The master terminal processes data. The first sensor unit is connected to the master terminal via a serial peripheral interface (SPI). The second sensor unit is connected to the master terminal via the SPI in parallel with the first sensor unit. The first sensor unit includes a first detection unit, a first master in slave out (MISO) terminal, and a first processing unit. The first detection unit detects a first physical quantity and outputs it as first detection data. The first MISO terminal is connected to the master terminal. The first processing unit includes a first transmission shift register and a first tri-state output buffer. The first transmission shift register holds the first detection data output from the first detection unit. The first tri-state output buffer outputs the first detection data held in the first transmission shift register as first output data to the master terminal via the first MISO terminal. The second sensor unit has a second detection unit, a second MISO terminal, and a second processing unit. The second detection unit detects a second physical quantity that is complementary to the first physical quantity and outputs the second detection data as second detection data. The second MISO terminal is connected to the master terminal in parallel with the first MISO terminal. The second processing unit has a second reception shift register, a second calculation unit, a second transmission shift register, and a second tri-state output buffer. The second reception shift register receives the first output data via the second MISO terminal when the first output data is output from the first tri-state output buffer to the master terminal. The second calculation unit corrects the second detection data based on the first output data and outputs it as second corrected detection data. The second transmission shift register holds the second corrected detection data output from the second calculation unit. The second tri-state output buffer outputs the second corrected detection data held in the second transmission shift register as second output data to the master terminal via the second MISO terminal.

[0005] A physical quantity sensor system according to one aspect of the present disclosure includes the first sensor unit and the second sensor unit of the data processing system. The present disclosure has an advantage of being able to reduce the amount of data processing by the master terminal.

[0006] Fig. 1 is a block diagram of a data processing system according to a first embodiment. Fig. 2 is a timing chart of the data processing system. Fig. 3 is a block diagram of a data processing system according to a second embodiment. Fig. 4 is a block diagram of a data processing system according to a third embodiment. Fig. 5 is a block diagram of a data processing system according to a fourth embodiment.

[0007] In the following embodiments, a data processing system and a physical quantity sensor system according to the present disclosure will be described with reference to the accompanying drawings. However, the following embodiments are merely a part of various embodiments of the present disclosure. The following embodiments can be modified in various ways depending on the design, etc., as long as the object of the present disclosure can be achieved. Furthermore, the following embodiments, including modified examples, may be realized in appropriate combinations.

[0008] (First Embodiment) (Overview) A data processing system 5 (see FIG. 1 ) detects a plurality of physical quantities and performs data processing on the plurality of detection data obtained thereby. The data processing system 5 is mounted, for example, on an electrical device. The electrical device is used, for example, in an automobile. When the data processing system 5 is mounted on an electrical device used in an automobile, the data processing system 5 obtains, for example, detection data related to the automobile itself, such as the orientation, speed, and acceleration of the automobile, and detection data related to the situation around the automobile, such as the presence or absence of surrounding obstacles. The data processing system 5 performs processing related to automatic driving or driving assistance of the automobile based on the plurality of detection data.

[0009] 1, a data processing system 5 of this embodiment includes a master terminal 4, a first sensor unit 1, and a second sensor unit 2. The master terminal 4 performs data processing. The first sensor unit 1 is connected to the master terminal 4 via a serial peripheral interface (SPI). The second sensor unit 2 is connected to the master terminal 4 in parallel with the first sensor unit 1 via the SPI.

[0010] The first sensor unit 1 includes a first detection unit 12, a first MISO (Master In Slave Out) terminal 101, and a first processing unit P1. The first detection unit 12 detects a first physical quantity and outputs it as first detection data 1b. The first MISO terminal 101 is connected to the master terminal 4.

[0011] The first processing unit P1 includes a first transmitting shift register 14 and a first tri-state output buffer 15. The first transmitting shift register 14 holds the first detected data 1b output from the first detecting unit 12. The first detected data 1b held in the first transmitting shift register 14 may be detected data that has been subjected to processing such as correction. In other words, the first detected data 1b held in the first transmitting shift register 14 may be first corrected detected data 1c, which will be described later. The first tri-state output buffer 15 outputs the first detected data 1b held in the first transmitting shift register 14 as first output data 1d to the master terminal 4 via the first MISO terminal 101.

[0012] The second sensor unit 2 includes a second detection unit 22, a second MISO terminal 201, and a second processing unit P2. The second detection unit 22 detects a second physical quantity that is complementary to the first physical quantity and outputs the second detected data 2b. The second MISO terminal 201 is connected to the master terminal 4 in parallel with the first MISO terminal 101.

[0013] The second processing unit P2 includes a second receiving shift register 26, a second calculation unit 23, a second transmitting shift register 24, and a second tri-state output buffer 25. When the first output data 1d is output from the first tri-state output buffer 15 to the master terminal 4, the second receiving shift register 26 receives the first output data 1d via the second MISO terminal 201. The second calculation unit 23 corrects the second detected data 2b based on the first output data 1d and outputs it as second corrected detected data 2c. The second transmitting shift register 24 holds the second corrected detected data 2c output from the second calculation unit 23. The second tri-state output buffer 25 outputs the second corrected detected data 2c held in the second transmitting shift register 24 to the master terminal 4 via the second MISO terminal 201 as second output data 2d.

[0014] According to the above configuration, the second calculation unit 23 executes a process of correcting the second detection data 2 b based on the first output data 1 d, which reduces the amount of data processing by the master terminal 4 compared to when the master terminal 4 executes this process.

[0015] Furthermore, in the data processing system 5, the first sensor unit 1 and the second sensor unit 2 are connected in parallel to the master terminal 4, thereby enabling the first sensor unit 1 and the second sensor unit 2 to transmit and receive data. According to this aspect, the first sensor unit 1 can use the terminal for communicating with the master terminal 4 also to communicate with the second sensor unit 2. Similarly, the second sensor unit 2 can use the terminal for communicating with the master terminal 4 also to communicate with the first sensor unit 1. Therefore, the number of terminals in each of the first sensor unit 1 and the second sensor unit 2 can be reduced.

[0016] (Details) (1) Overall Configuration The data processing system 5 and the physical quantity sensor system 6 will be described in more detail below.

[0017] As shown in FIG. 1, the data processing system 5 includes a master terminal 4, a first sensor unit 1, and a second sensor unit 2.

[0018] The physical quantity sensor system 6 also includes a first sensor unit 1 and a second sensor unit 2 of the data processing system 5. The physical quantity sensor system 6 is used by connecting the first sensor unit 1 and the second sensor unit 2 to the master terminal 4, respectively.

[0019] (2) Master Terminal As an example, the master terminal 4 is a microcontroller. A microcontroller is an example of a computer system. A computer system is mainly composed of a processor and a memory as hardware. At least a part of the functions of the master terminal 4 in the present disclosure is realized by the processor executing a program recorded in the memory of the computer system. The program may be pre-recorded in the memory of the computer system, provided via a telecommunications line, or provided by being recorded on a non-transitory recording medium such as a memory card, optical disk, or hard disk drive that is readable by the computer system.

[0020] The master terminal 4 has a terminal unit 40. The terminal unit 40 includes a plurality of terminals corresponding to the SPI. Specifically, the terminal unit 40 includes a plurality of CS (Chip Select) terminals, a clock (SPI CLK) terminal, an MISO terminal 401, a MOSI (Master Out Slave In) terminal 402, a power supply terminal, and a ground terminal.

[0021] As will be described later, the first sensor unit 1 and the second sensor unit 2 each include a CS terminal, a clock terminal, a MISO terminal, a MOSI terminal, a power supply terminal, and a ground terminal. Of the multiple CS terminals of the master terminal 4, a first CS terminal is connected to the CS terminal of the first sensor unit 1. Of the multiple CS terminals of the master terminal 4, a second CS terminal is connected to the CS terminal of the second sensor unit 2.

[0022] The clock terminal, MISO terminal, MOSI terminal, power supply terminal, and ground terminal are connected to terminals that are common to the master terminal 4, the first sensor unit 1, and the second sensor unit 2. For example, the MISO terminal 401 of the master terminal 4 is connected to the first MISO terminal 101 of the first sensor unit 1 and the second MISO terminal 201 of the second sensor unit 2.

[0023] (3) First Sensor Unit The first sensor unit 1 includes a first terminal unit 10, a first memory unit 11, a first detection unit 12, and a first processing unit P1. The first processing unit P1 includes a first calculation unit 13, a first transmission shift register 14, and a first tri-state output buffer 15.

[0024] The first terminal unit 10 includes a plurality of terminals corresponding to the SPI. Specifically, the first terminal unit 10 includes a CS terminal, a clock terminal, a first MISO terminal 101, a first MOSI terminal 102, a power supply terminal, and a ground terminal.

[0025] The first storage unit 11 is a storage device configured with a hard disk drive (HDD), a solid state drive (SSD), etc. The first storage unit 11 stores information. For example, the first storage unit 11 stores the correspondence between commands (instructions) output from the master terminal 4 and the processes corresponding to the commands.

[0026] The first detection unit 12 detects a first physical quantity and outputs the detection result as first detection data 1b. The first detection data 1b is digital data. In this embodiment, the first detection unit 12 includes an angular velocity / acceleration sensor that detects angular velocities and accelerations in three axis directions, and the first physical quantity is the angular velocities and accelerations in the three axis directions. The three axis directions are mutually orthogonal, and are an X-axis direction (first horizontal direction), a Y-axis direction (second horizontal direction), and a Z-axis direction (vertical direction).

[0027] The first sensor unit 1 can receive commands from the master terminal 4 via the first MOSI terminal 102. When the first sensor unit 1 receives a command from the master terminal 4, it determines whether a command matching the received command is stored in the first storage unit 11. If the determination result is "positive" (a command matching the received command is stored in the first storage unit 11), the first sensor unit 1 executes processing corresponding to the command. Information indicating the processing corresponding to the command is stored in the first storage unit 11.

[0028] The first detector 12 detects a first physical quantity based on a data acquisition command 1a received from the master terminal 4 and a command 1e stored in the first memory unit 11. More specifically, the first memory unit 11 stores a correspondence between a command 1e that matches the data acquisition command 1a and a process corresponding to the command 1e. Therefore, when the first detector 12 receives the data acquisition command 1a, it executes the process corresponding to the command 1e. The process corresponding to the command 1e is a process for acquiring first detection data 1b in the first detector 12. The first detection data 1b acquired by the first detector 12 is corrected by the first calculator 13 and held (stored) in the first transmission shift register 14 as first corrected detection data 1c.

[0029] The first calculation unit 13 is realized by, for example, a DSP (Digital Signal Processor). The first calculation unit 13 corrects the first detection data 1b and outputs it as first corrected detection data 1c. The first calculation unit 13 corrects the first detection data 1b based on, for example, temperature information and outputs it as first corrected detection data 1c.

[0030] The temperature information is, for example, information detected by a temperature sensor. The temperature sensor is provided in, for example, the first detection unit 12. The temperature characteristics of the first detection unit 12, i.e., information regarding changes in the first detection data 1b due to changes in temperature, are stored in the first storage unit 11. The first calculation unit 13 calculates a correction amount corresponding to the temperature information based on the temperature characteristics, corrects the first detection data 1b, and outputs the corrected first detection data 1c.

[0031] The first transmitting shift register 14 converts the first corrected detection data 1c into first output data 1d (serial signal) by parallel-serial conversion.

[0032] The first tri-state output buffer 15 outputs the first output data 1 d output from the first transmission shift register 14 to the master terminal 4 via the first MISO terminal 101 .

[0033] (4) Second Sensor Unit The second sensor unit 2 includes a second terminal unit 20, a second memory unit 21, a second detection unit 22, and a second processing unit P2. The second processing unit P2 includes a second calculation unit 23, a second transmission shift register 24, a second tri-state output buffer 25, and a second reception shift register 26.

[0034] The second terminal unit 20 includes a plurality of terminals corresponding to the SPI. Specifically, the second terminal unit 20 includes a CS terminal, a clock terminal, a second MISO terminal 201, a second MOSI terminal 202, a power supply terminal, and a ground terminal.

[0035] The second storage unit 21 is a storage device configured with a hard disk drive (HDD), a solid state drive (SSD), etc. The second storage unit 21 stores information. For example, the second storage unit 21 stores the correspondence between commands (instructions) output from the master terminal 4 and the processes corresponding to the commands.

[0036] The second detection unit 22 detects a second physical quantity and outputs the detection result as second detection data 2b. The second detection data 2b is digital data. In this embodiment, the second detection unit 22 includes an angular velocity sensor that detects angular velocity in the Z-axis direction, and the second physical quantity is angular velocity in the Z-axis direction. In other words, both the first detection unit 12 and the second detection unit 22 detect angular velocity in the Z-axis direction.

[0037] The second sensor unit 2 can receive commands from the master terminal 4 via the second MOSI terminal 202. When the second sensor unit 2 receives a command from the master terminal 4, it determines whether a command matching the received command is stored in the second storage unit 21. If the determination result is "yes" (a command matching the received command is stored in the second storage unit 21), the second sensor unit 2 executes processing corresponding to the command. Information indicating the processing corresponding to the command is stored in the second storage unit 21.

[0038] The second detector 22 detects a second physical quantity based on the data acquisition command 1a received from the master terminal 4 and the command 2e stored in the second memory 21. More specifically, the second memory 21 stores a correspondence between the command 2e that matches the data acquisition command 1a and the process corresponding to the command 2e. Therefore, when the second detector 22 receives the data acquisition command 1a, it executes the process corresponding to the command 2e. The process corresponding to the command 2e is a process for acquiring second detection data 2b in the second detector 22. The second detection data 2b received by the second detector 22 is corrected by the second calculator 23 and held (stored) in the second transmission shift register 24 as second corrected detection data 2c.

[0039] The signal including the data acquisition command 1a input to the second detection unit 22 is the same signal including the data acquisition command 1a output from the master terminal 4 to the first sensor unit 1. The first MOSI terminal 102 of the first sensor unit 1 is connected to the MOSI terminal 402 of the master terminal 4, and the second MOSI terminal 202 of the second sensor unit 2 is connected to the MOSI terminal 402 of the master terminal 4 in parallel with the first MOSI terminal 102. Therefore, when the master terminal 4 applies the signal including the data acquisition command 1a as a voltage signal to the first MOSI terminal 102, the same voltage signal is also applied to the second MOSI terminal 202. Therefore, the second sensor unit 2 can acquire the data acquisition command 1a. When the master terminal 4 outputs a data acquisition command 1 a to the first sensor unit 1, the second detection unit 22 detects a second physical quantity based on the correspondence between the data acquisition command 1 a received by the second sensor unit 2 via the second MOSI terminal 202 as described above and the command 2 e stored in the second memory unit 21.

[0040] The second calculation unit 23 is realized by, for example, a DSP (Digital Signal Processor). The second calculation unit 23 corrects the second detection data 2b and outputs it as second corrected detection data 2c. The second calculation unit 23 corrects the second detection data 2b based on, for example, temperature information and the first output data 1d and outputs it as second corrected detection data 2c. The temperature information is, for example, information detected by a temperature sensor. The temperature sensor is, for example, provided in the second detection unit 22. Information about the temperature characteristics of the second detection unit 22, i.e., information about changes in the second detection data 2b due to changes in temperature, is stored in the second memory unit 21. The second calculation unit 23 calculates a correction amount corresponding to the temperature information based on the temperature characteristics.

[0041] The first output data 1d is received by the second receiving shift register 26 via the second MISO terminal 201 and input to the second calculation unit 23. The second calculation unit 23 calculates a correction amount corresponding to the first output data 1d using, for example, a predetermined calculation formula.

[0042] Here, the signal including the first output data 1d received by the second receiving shift register 26 is the same signal as the signal including the first output data 1d output from the first sensor unit 1 to the master terminal 4. The first MISO terminal 101 of the first sensor unit 1 is connected to the MISO terminal 401 of the master terminal 4, and the second MISO terminal 201 of the second sensor unit 2 is connected to the MISO terminal 401 of the master terminal 4 in parallel with the first MISO terminal 101. Therefore, when the first sensor unit 1 applies the signal including the first output data 1d as a voltage signal to the MISO terminal 401 of the master terminal 4, the same voltage signal is also applied to the second MISO terminal 201. Therefore, the second sensor unit 2 can acquire the first output data 1d. When the first sensor unit 1 outputs the first output data 1d to the master terminal 4, the second calculation unit 23 calculates a correction amount corresponding to the first output data 1d based on the first output data 1d received by the second sensor unit 2 via the second MISO terminal 201 as described above.

[0043] The second calculation unit 23 calculates a correction amount corresponding to the temperature information and a correction amount corresponding to the first output data 1d, corrects the second detection data 2b, and outputs it as second corrected detection data 2c.

[0044] The second transmitting shift register 24 converts the second corrected detection data 2c into second output data 2d (serial signal) by parallel-serial conversion.

[0045] The second tri-state output buffer 25 outputs the second output data 2 d output from the second transmission shift register 24 to the master terminal 4 via the second MISO terminal 201 .

[0046] The second receiving shift register 26 converts the first output data 1d into a parallel signal by serial-parallel conversion, and outputs the parallel signal to the second calculation unit 23.

[0047] (5) Correction in the Second Calculation Unit In the above example, the first physical quantity is the angular velocity in the three-axis direction and the acceleration in the three-axis direction, and the second physical quantity is the angular velocity in the Z-axis direction.

[0048] The master terminal 4 calculates the coordinates of a target object (such as a vehicle) on the XY plane (horizontal plane) using first output data 1d based on the detection result of the first physical quantity and second output data 2d based on the detection result of the second physical quantity. That is, the master terminal 4 determines the position of the target object on a planar map. The angular velocity in the Z-axis direction is used to determine changes in the coordinates of a target object that is moving while turning.

[0049] The second detection unit 22 that detects the second physical quantity uses a sensor that is capable of detection with higher accuracy than the first detection unit 12. However, when the target object is moving up a slope, the plane on which the target object moves (the ground of the slope) does not coincide with the XY plane. Therefore, when the position of the target object is calculated using the angular velocity in the Z-axis direction detected by the second detection unit 22, an error occurs.

[0050] The angular difference between the moving plane and the XY plane corresponds to the tilt of the target object relative to the Z axis, which can be calculated based on the accelerations in the X-, Y-, and Z-axis directions included in the first output data 1d.

[0051] Therefore, the second calculation unit 23 calculates a correction amount for the second detection data 2b according to the angular difference between the moving surface and the XY plane. The correction amount according to the angular difference between the moving surface and the XY plane is, in other words, a correction amount based on the first output data 1d output from the first sensor unit 1. In other words, the second calculation unit 23 determines the correction amount for the second detection data 2b based on the accelerations in the X-axis, Y-axis, and Z-axis directions. This makes it possible to suppress errors and more accurately determine the coordinates of the target object.

[0052] (6) First Physical Quantity and Second Physical Quantity In the above-described example, the first physical quantity includes the acceleration of the target object, and the second physical quantity includes the angular velocity of the target object.

[0053] The first physical quantity and the second physical quantity need only have a complementary relationship, and are not limited to the above example. That is, the first physical quantity and the second physical quantity need only have a relationship such that the second detection data 2b based on the second physical quantity can be corrected using the first output data 1d based on the first physical quantity.

[0054] For example, the first physical quantity and the second physical quantity may be the same physical quantity, such as acceleration and acceleration or angular velocity and angular velocity, etc. In such a case, the physical quantity represented by the second corrected detection data 2c may be, for example, the average value of the physical quantity represented by the first output data 1d and the physical quantity represented by the second detection data 2b.

[0055] Furthermore, for example, the first physical quantity and the second physical quantity may be physical quantities that are correlated with each other, such as acceleration and velocity, acceleration and position, or velocity and position. The acceleration represented by the second corrected detection data 2c may be, for example, the average value of the differential value of the velocity represented by the first output data 1d and the acceleration represented by the second detection data 2b.

[0056] (7) Timing Chart When correcting the second detection data 2b based on the first output data 1d, the physical quantity sensor system 6 synchronizes the timing of acquiring the first detection data 1b with the timing of acquiring the second detection data 2b, as described below.

[0057] 2 is a timing chart showing various signals in the data processing system 5. "CLK" in the first row from the top represents a clock signal. In FIG. 2, multiple frames are distinguished by the symbols I to XI.

[0058] "MOSI" in the second row from the top represents a voltage signal applied from the MOSI terminal 402 of the master terminal 4 to the first MOSI terminal 102 and the second MOSI terminal 202. Because the first MOSI terminal 102 and the second MOSI terminal 202 are connected in parallel, the same voltage signal is applied to the first MOSI terminal 102 and the second MOSI terminal 202. Hereinafter, the voltage signal represented in the second row from the top will be referred to as the MOSI signal.

[0059] "CAP=1" in the MOSI signal indicates a command to acquire and hold data. "CAP=0" in the MOSI signal indicates a command to erase data. "read:" in the MOSI signal indicates a command to read the data written after "read:" and output it to the master terminal 4. <slv=1> in the MOSI signal indicates that the command is directed to the second sensor unit 2. <slv=0> in the MOSI signal indicates that the command is directed to the first sensor unit 1.

[0060] "OUT:slv=1" in the third row from the top represents the output of the second tristate output buffer 25 of the second sensor unit 2. "OUT:slv=0" in the fourth row from the top represents the output of the first tristate output buffer 15 of the first sensor unit 1.

[0061] "MISO" in the fifth row from the top represents a voltage signal applied from the first MISO terminal 101 or the second MISO terminal 201 to the MISO terminal 401 of the master terminal 4. Since the first MISO terminal 101 and the second MISO terminal 201 are connected in parallel, the same voltage signal is applied to the first MISO terminal 101 and the second MISO terminal 201, respectively. Hereinafter, the voltage signal shown in the fifth row from the top will be referred to as the MISO signal.

[0062] When either the first tri-state output buffer 15 of the first sensor unit 1 or the second tri-state output buffer 25 of the second sensor unit 2 is outputting data, the output of the other is at high impedance (i.e., no output). Therefore, the MISO signal is a signal including the data output from either the first tri-state output buffer 15 of the first sensor unit 1 or the second tri-state output buffer 25 of the second sensor unit 2, whichever is outputting data.

[0063] In the third to fifth rows from the top, "*" indicates that there is no output, i.e., no data, "Hi-z" indicates high impedance, and "Temp" indicates temperature as output. In the third to fifth rows from the top, "Gyro_X", "Gyro_Y", and "Gyro_Z" indicate angular velocity in the X-axis, Y-axis, and Z-axis directions, respectively, as output. In the third to fifth rows from the top, "Accel_X", "Accel_Y", and "Accel_Z" indicate acceleration in the X-axis, Y-axis, and Z-axis directions, respectively, as output.

[0064] 2 will be explained in order, starting from the first process (from left). First, the master terminal 4 issues a MOSI signal to command the first sensor unit 1 to acquire and hold data and output the Accel_X data to the master terminal 4 ("CAP=1, read:Accel_X, <slv=0>" in frame I). This MOSI signal, which includes command 1a (see FIG. 1), is received by both the first sensor unit 1 and the second sensor unit 2.

[0065] The first detection unit 12 of the first sensor unit 1 detects a first physical quantity and temperature at time T1 when frame I ends when command 1a is acquired, and acquires first detection data 1b and temperature information. The first detection data 1b is data representing "Gyro_X," "Gyro_Y," "Gyro_Z," "Accel_X," "Accel_Y," and "Accel_Z." The temperature information is data representing "Temp."

[0066] Furthermore, the second detection unit 22 of the second sensor unit 2 detects the second physical quantity and temperature at time T1 when frame I ends when command 1a is acquired, and acquires second detection data 2b and temperature information. This synchronizes the timing of acquiring the first detection data 1b and the timing of acquiring the second detection data 2b. The second detection data 2b is data representing "Gyro_Z." The temperature information is data representing "Temp."

[0067] The data acquired at time T1 is retained until a command to erase the data ("CAP=0") is issued. If a command to acquire and retain the data ("CAP=1") is issued, the data acquired at time T1 is retained without being changed.

[0068] The first detector 12 and the second detector 22 output the first detected data 1b, the second detected data 2b, and the temperature information via serial communication. That is, in each frame, the first detected data 1b, the second detected data 2b, and the temperature information are output to the master terminal 4 in that order.

[0069] More specifically, in frame I, a command is issued to the first sensor unit 1 to read the data of "Accel_X" and output it to the master terminal 4. Therefore, in the next frame II, the first sensor unit 1 reads the data of "Accel_X" and outputs it to the master terminal 4.

[0070] In frames II to V, commands are issued to read out the "Accel_Y" and "Accel_Z" data from the first sensor unit 1 and the "Temp" and "Gyro_Z" data from the second sensor unit 2, respectively, and output them to the master terminal 4. In the frame following the frame in which the command was issued, the corresponding data is output to the master terminal 4.

[0071] Furthermore, in frames II to IV, the "Accel_X," "Accel_Y," and "Accel_Z" data output from the first sensor unit 1 are received not only by the master terminal 4 but also by the second sensor unit 2. At time T3, the second calculation unit 23 of the second sensor unit 2 corrects the "Gyro_Z" data as the second detection data 2b based on these data (first output data 1d). In frame VI, the corrected "Gyro_Z" data is output from the second sensor unit 2 to the master terminal 4.

[0072] In response to the command to output "Temp" data in frame IV and the command to output "Gyro_Z" data in frame V, the second sensor unit 2 outputs the "Temp" and "Gyro_Z" data. As a result, all data acquired by the second sensor unit 2 at time T1 is output to the master terminal 4, so there is no problem in erasing the data detected by the second sensor unit 2. Therefore, in frame V, the master terminal 4 issues a MOSI signal to instruct the second sensor unit 2 to erase the data and output the "Gyro_Z" data to the master terminal 4 ("CAP=0, read:Gyro_Z, <slv=1>" in frame V). In response to this command, the second sensor unit 2 erases the "Gyro_Z" and "Temp" data at time T4.

[0073] In frames VI to IX, a command is issued to read the data "Gyro_X," "Gyro_Y," "Gyro_Z," and "Temp" from the first sensor unit 1 and output them to the master terminal 4. In the frame following the frame in which the command was issued, the corresponding data is output to the master terminal 4.

[0074] In response to the command to output the "Temp" data in frame IX, the first sensor unit 1 outputs the "Temp" data in frame X. At the time of frame X, all data acquired by the first sensor unit 1 at time T1 has been output to the master terminal 4, so it is possible to erase the data detected by the first sensor unit 1 without causing any problems. Therefore, in frame IX, the master terminal 4 issues a MOSI signal to instruct the first sensor unit 1 to erase the data and output the "Temp" data to the master terminal 4 ("CAP=0, read:Temp, <slv=0>" in frame IX). In response to this command, the first sensor unit 1 erases the "Gyro_X", "Gyro_Y", "Gyro_Z", "Accel_X", "Accel_Y", "Accel_Z", and "Temp" data at time T5.

[0075] At the start of frame X, the first sensor unit 1 is not holding any data detected by the first detection unit 12, and the second sensor unit 2 is not holding any data detected by the second detection unit 22. In frame X, the master terminal 4 issues a MOSI signal commanding the first sensor unit 1 to acquire and hold data and output the "Accel_X" data to the master terminal 4 ("CAP=1, read:Accel_X, <slv=0>" in frame X). This MOSI signal is received by both the first sensor unit 1 and the second sensor unit 2 as a signal including command 1a (see FIG. 1). In response to this command, at time T2, the first detection unit 12 and the second detection unit 22 each acquire data. The data acquisition process at time T2 is the same as that at time T1. That is, the first detector 12 obtains "Gyro_X," "Gyro_Y," "Gyro_Z," "Accel_X," "Accel_Y," "Accel_Z," and "Temp" at time T2 when frame X ends when command 1a is obtained. The second detector 22 obtains "Gyro_Z" and "Temp" at time T2 when frame X ends when command 1a is obtained.

[0076] From frame XI onwards, the first sensor unit 1 and the second sensor unit 2 perform processing in response to commands from the master terminal 4, similar to frames I to X.

[0077] (8) Advantages In the data processing system 5 of this embodiment, the process of correcting the second detection data 2b based on the first output data 1d is performed by the second calculation unit 23 of the second sensor unit 2, not by the master terminal 4. Therefore, the amount of data processing by the master terminal 4 can be reduced.

[0078] (9) Modifications of the First Embodiment The following are modifications of the first embodiment. The following modifications may be implemented in appropriate combination.

[0079] It is not essential that the first calculation unit 13 corrects the first detection data 1b based on the temperature characteristics, and therefore the first calculation unit 13 may be omitted in the first embodiment.

[0080] It is not essential for the second calculation unit 23 to correct the second detection data 2b based on the temperature characteristics, but it is sufficient for the second calculation unit 23 to correct the second detection data 2b based on at least the first output data 1d.

[0081] In the above example, the timing of acquiring the first detected data 1b and the timing of acquiring the second detected data 2b are synchronized by the second sensor unit 2 receiving the data acquisition command 1a output by the master terminal 4 to the first sensor unit 1. Alternatively, the synchronization may be achieved by the first sensor unit 1 receiving the data acquisition command output by the master terminal 4 to the second sensor unit 2.

[0082] Second Embodiment A data processing system 5A and a physical quantity sensor system 6A according to a second embodiment will be described below with reference to Fig. 3. Components similar to those in the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.

[0083] In the data processing system 5A and the physical quantity sensor system 6A of this embodiment, the configuration of the first sensor unit 1A is different from that of the first sensor unit 1 of embodiment 1. More specifically, the first sensor unit 1A has a first receiving shift register 16 in addition to the configuration of the first sensor unit 1 of embodiment 1. That is, the first processing unit P1 of the first sensor unit 1A further has the first receiving shift register 16.

[0084] In the first embodiment, the second calculation unit 23 of the second sensor unit 2 corrects the second detection data 2b based on the first output data 1d acquired from the first sensor unit 1. In the present embodiment, the first sensor unit 1A also performs the same processing as the second sensor unit 2. That is, the first calculation unit 13 of the first sensor unit 1A corrects the first detection data 1b based on the second output data 2d acquired from the second sensor unit 2. This will be described in more detail below.

[0085] The first receiving shift register 16 converts the second output data 2 d into a parallel signal by serial-parallel conversion and outputs it to the first calculation unit 13 .

[0086] The first calculation unit 13, for example, calculates a correction amount corresponding to the temperature information and a correction amount corresponding to the second output data 2d, corrects the first detection data 1b, and outputs it as first corrected detection data 1c.

[0087] The first calculation unit 13 calculates a correction amount corresponding to the temperature information based on the temperature characteristics stored in the first storage unit 11 .

[0088] The second output data 2d is received by the first receiving shift register 16 via the first MISO terminal 101 and input to the first calculation unit 13. The first calculation unit 13 calculates a correction amount corresponding to the second output data 2d using, for example, a predetermined calculation formula.

[0089] Here, when the second sensor unit 2 applies a signal including the second output data 2d as a voltage signal to the MISO terminal 401 of the master terminal 4, the same voltage signal is also applied to the first MISO terminal 101 of the first sensor unit 1A. Thus, the first sensor unit 1A can acquire the second output data 2d. When the second sensor unit 2 outputs the second output data 2d to the master terminal 4, the first calculation unit 13 calculates a correction amount corresponding to the second output data 2d based on the second output data 2d received by the first sensor unit 1A via the first MISO terminal 101 as described above.

[0090] As described above, in the data processing system 5A of this embodiment, the first processing unit P1 has a first receiving shift register 16 and a first calculation unit 13 in addition to the first transmitting shift register 14 and the first tri-state output buffer 15. The first receiving shift register 16 receives the second output data 2d via the first MISO terminal 101 when the second output data 2d is output from the second tri-state output buffer 25 to the master terminal 4. The first calculation unit 13 corrects the first detection data 1b based on the second output data 2d and outputs it as first corrected detection data 1c. The first transmitting shift register 14 holds the first corrected detection data 1c output from the first calculation unit 13. The first tri-state output buffer 15 outputs the first corrected detection data 1c held in the first transmission shift register 14 as first output data 1d to the master terminal 4 via the first MISO terminal 101.

[0091] In this embodiment, the process of correcting the first output data 1d is performed by the first calculation unit 13 of the first sensor unit 1A, not by the master terminal 4. Therefore, the amount of data processing by the master terminal 4 can be reduced.

[0092] (Variation of Second Embodiment) It is not essential that the first calculation unit 13 corrects the first detection data 1b based on the temperature characteristics. The first calculation unit 13 may correct the first detection data 1b based on at least the second output data 2d.

[0093] Third Embodiment A data processing system 5B and a physical quantity sensor system 6B according to a third embodiment will be described below with reference to Fig. 4. Components similar to those in the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.

[0094] The physical quantity sensor system 6B of this embodiment further includes a third sensor unit 3 in addition to the first sensor unit 1 and the second sensor unit 2. The data processing system 5B includes a master terminal 4 and the physical quantity sensor system 6B. The third sensor unit 3 is SPI-connected to the master terminal 4 in parallel with the first sensor unit 1 and the second sensor unit 2.

[0095] The second calculation unit 23 of the second sensor unit 2 corrects the second detection data 2b based on the first output data 1d acquired from the first sensor unit 1 as well as the third output data 3d acquired from the third sensor unit 3, and outputs it as second corrected detection data 2c.

[0096] Furthermore, the timing of data acquisition by the third detection unit 32 of the third sensor unit 3 is synchronized with the timing of data acquisition by the first detection unit 12 and the second detection unit 22. That is, the data acquisition command 1a output by the master terminal 4 to the first sensor unit 1 is also received by the second sensor unit 2 and the third sensor unit 3, thereby synchronizing the timing of data acquisition of the first detected data 1b, the timing of data acquisition of the second detected data 2b, and the timing of data acquisition of the third detected data 3b (see embodiment 1).

[0097] In the data processing system 5B, the first sensor unit 1, the second sensor unit 2, and the third sensor unit 3 are connected in parallel to the master terminal 4, thereby enabling the first sensor unit 1, the second sensor unit 2, and the third sensor unit 3 to transmit and receive data. According to this aspect, the first sensor unit 1 can use the terminal for communication with the master terminal 4 also to communicate with the second sensor unit 2 and the third sensor unit 3. Similarly, the second sensor unit 2 can use the terminal for communication with the master terminal 4 also to communicate with the first sensor unit 1 and the third sensor unit 3. Similarly, the third sensor unit 3 can use the terminal for communication with the master terminal 4 also to communicate with the first sensor unit 1 and the second sensor unit 2. Thus, the number of terminals in each of the first sensor unit 1, the second sensor unit 2, and the third sensor unit 3 can be reduced.

[0098] Furthermore, in the data processing system 5B of this embodiment, the process of correcting the second detection data 2b based on the first output data 1d and the third output data 3d is performed by the second calculation unit 23 of the second sensor unit 2, not by the master terminal 4. This allows the amount of data processing by the master terminal 4 to be reduced.

[0099] The third sensor unit 3 will be described in more detail below.

[0100] The third sensor unit 3 includes a third terminal unit 30, a third storage unit 31, a third detection unit 32, and a third processing unit P3. The third processing unit P3 includes a third calculation unit 33, a third transmission shift register 34, and a third tri-state output buffer 35.

[0101] The third terminal unit 30 includes a plurality of terminals corresponding to the SPI. Specifically, the third terminal unit 30 includes a CS terminal, a clock terminal, a third MISO terminal 301, a third MOSI terminal 302, a power supply terminal, and a ground terminal.

[0102] The third CS terminal of the master terminal 4 is connected to the CS terminal of the third sensor unit 3 .

[0103] The clock terminal, MISO terminal, MOSI terminal, power supply terminal, and ground terminal are connected to terminals that are common to the master terminal 4, the first sensor unit 1, the second sensor unit 2, and the third sensor unit 3. For example, the MISO terminal 401 of the master terminal 4 is connected to the first MISO terminal 101 of the first sensor unit 1, the second MISO terminal 201 of the second sensor unit 2, and the third MISO terminal 301 of the third sensor unit 3.

[0104] The third storage unit 31 is a storage device configured with a hard disk drive (HDD), a solid state drive (SSD), etc. The third storage unit 31 stores information. For example, the third storage unit 31 stores the correspondence between commands (instructions) output from the master terminal 4 and the processes corresponding to the commands.

[0105] The third detector 32 detects a third physical quantity and outputs the detection result as third detection data 3b. The third detection data 3b is digital data. The third physical quantity has a complementary relationship with the second physical quantity. The third detector 32 includes, for example, an angular velocity sensor that detects angular velocity in the Z-axis direction, and the third physical quantity is the angular velocity in the Z-axis direction.

[0106] The third sensor unit 3 can receive commands from the master terminal 4 via the third MOSI terminal 302. When the third sensor unit 3 receives a command from the master terminal 4, it determines whether a command matching the received command is stored in the third storage unit 31. If the determination result is "yes" (a command matching the received command is stored in the third storage unit 31), the third sensor unit 3 executes processing corresponding to the command. Information indicating the processing corresponding to the command is stored in the third storage unit 31.

[0107] The third detector 32 detects a third physical quantity based on the data acquisition command 1a received from the master terminal 4 and the command 3e stored in the third memory 31. More specifically, the third memory 31 stores a correspondence between the command 3e that matches the data acquisition command 1a and the process corresponding to the command 3e. Therefore, when the third detector 32 receives the data acquisition command 1a, it executes the process corresponding to the command 3e. The process corresponding to the command 3e is a process of obtaining third detection data 3b in the third detector 32. The third detection data 3b obtained by the third detector 32 is corrected by the third calculator 33 and held (stored) in the third transmission shift register 34 as third corrected detection data 3c.

[0108] When the master terminal 4 applies a signal including a data acquisition command 1a as a voltage signal to the first MOSI terminal 102, the same voltage signal is also applied to the third MOSI terminal 302. Thus, the third sensor unit 3 can acquire the data acquisition command 1a. When the master terminal 4 outputs the data acquisition command 1a to the first sensor unit 1, the third detection unit 32 detects a third physical quantity based on the correspondence between the data acquisition command 1a received by the third sensor unit 3 via the third MOSI terminal 302 as described above and the command 3e stored in the third storage unit 31.

[0109] The third calculation unit 33 is realized by, for example, a DSP (Digital Signal Processor). The third calculation unit 33 corrects the third detection data 3 b and outputs it as third corrected detection data 3 c. The third calculation unit 33 corrects the third detection data 3 b based on, for example, temperature information and outputs it as third corrected detection data 3 c.

[0110] The temperature information is, for example, information detected by a temperature sensor. The temperature sensor is provided in, for example, the third detection unit 32. The temperature characteristics of the third detection unit 32, i.e., information regarding changes in the third detection data 3b due to changes in temperature, are stored in the third storage unit 31. The third calculation unit 33 calculates a correction amount corresponding to the temperature information based on the temperature characteristics, corrects the third detection data 3b, and outputs the corrected third detection data 3c.

[0111] The third transmitting shift register 34 converts the third corrected detection data 3c into third output data 3d (serial signal) by parallel-serial conversion.

[0112] The third tri-state output buffer 35 outputs the third output data 3 d output from the third transmission shift register 34 to the master terminal 4 via the third MISO terminal 301 .

[0113] When the third sensor unit 3 applies a signal including the third output data 3d as a voltage signal to the MISO terminal 401 of the master terminal 4, the same voltage signal is also applied to the second MISO terminal 201. Thus, the second sensor unit 2 can acquire the third output data 3d. The third output data 3d is received by the second receiving shift register 26 via the second MISO terminal 201 and input to the second calculation unit 23. The second calculation unit 23 calculates a correction amount corresponding to the third output data 3d using, for example, a predetermined calculation formula.

[0114] The second calculation unit 23 calculates a correction amount corresponding to the temperature information, a correction amount corresponding to the first output data 1d, and a correction amount corresponding to the third output data 3d, corrects the second detection data 2b, and outputs it as second corrected detection data 2c.

[0115] As described above, the data processing system 5B of this embodiment includes the master terminal 4, the first sensor unit 1, the second sensor unit 2, and the third sensor unit 3. The third sensor unit 3 includes a third detection unit 32, a third MISO terminal 301, and a third processing unit P3. The third detection unit 32 detects a third physical quantity that is complementary to the second physical quantity and outputs the detected third physical quantity as third detected data 3b. The third MISO terminal 301 is connected to the master terminal 4 in parallel with the first MISO terminal 101 and the second MISO terminal 201. The third processing unit P3 includes a third transmission shift register 34 and a third tri-state output buffer 35. The third transmission shift register 34 holds the third detected data 3b output from the third detection unit 32. The third detected data 3b held in the third transmitting shift register 34 may be detected data that has been subjected to processing such as correction (third corrected detected data 3c). The third tri-state output buffer 35 outputs the third detected data 3b held in the third transmitting shift register 34 as third output data 3d to the master terminal 4 via the third MISO terminal 301. The second receiving shift register 26 of the second sensor unit 2 receives the third output data 3d via the second MISO terminal 201 when the third output data 3d is output from the third tri-state output buffer 35 to the master terminal 4. The second calculation unit 23 of the second sensor unit 2 corrects the second detected data 2b based on the first output data 1d and the third output data 3d, and outputs the corrected detected data 2c.

[0116] (Modifications of Embodiment 3) Modifications of Embodiment 3 are listed below. The following modifications may be implemented in appropriate combination.

[0117] It is not essential that the third calculation unit 33 corrects the third detection data 3b based on the temperature characteristics, and therefore the third calculation unit 33 may be omitted in the third embodiment.

[0118] It is not essential for the second calculation unit 23 to correct the second detection data 2b based on the temperature characteristics, but it is sufficient for the second calculation unit 23 to correct the second detection data 2b based on at least the first output data 1d and the third output data 3d.

[0119] In the above example, the timing of acquiring the first detected data 1b, the timing of acquiring the second detected data 2b, and the timing of acquiring the third detected data 3b are synchronized by the data acquisition command 1a output by the master terminal 4 to the first sensor unit 1 also being received by the second sensor unit 2 and the third sensor unit 3. Alternatively, the data acquisition command output by the master terminal 4 to the second sensor unit 2 may be received by the first sensor unit 1 and the third sensor unit 3, thereby achieving synchronization.

[0120] Fourth Embodiment A data processing system 5C and a physical quantity sensor system 6C according to a fourth embodiment will be described below with reference to Fig. 5. The same components as those in the third embodiment will be denoted by the same reference numerals and will not be described again.

[0121] In a data processing system 5C and a physical quantity sensor system 6C of this embodiment, the configuration of a third sensor unit 3C differs from that of the third sensor unit 3 of embodiment 3. More specifically, the third sensor unit 3C has a third receiving shift register 36 in addition to the configuration of the third sensor unit 3 of embodiment 3. That is, the third processing unit P3 of the third sensor unit 3C further has a third receiving shift register 36.

[0122] In this embodiment, similar to the first embodiment, the second calculation unit 23 of the second sensor unit 2 corrects the second detection data 2b based on the first output data 1d acquired from the first sensor unit 1. In this embodiment, the third sensor unit 3C also performs the same processing as the second sensor unit 2. That is, the third calculation unit 33 of the third sensor unit 3C corrects the third detection data 3b based on the first output data 1d acquired from the first sensor unit 1. This will be described in more detail below.

[0123] The third physical quantity has a complementary relationship with the first physical quantity.

[0124] The third receiving shift register 36 converts the first output data 1 d into a parallel signal by serial-parallel conversion, and outputs the parallel signal to the third calculation unit 33 .

[0125] The third calculation unit 33, for example, calculates a correction amount corresponding to the temperature information and a correction amount corresponding to the first output data 1d, corrects the third detection data 3b, and outputs it as third corrected detection data 3c.

[0126] The third calculation unit 33 calculates a correction amount corresponding to the temperature information based on the temperature characteristics stored in the third storage unit 31 .

[0127] The first output data 1d is received by the third receiving shift register 36 via the third MISO terminal 301 and input to the third calculation unit 33. The third calculation unit 33 calculates a correction amount corresponding to the first output data 1d using, for example, a predetermined calculation formula.

[0128] Here, when the first sensor unit 1 applies a signal including the first output data 1d as a voltage signal to the MISO terminal 401 of the master terminal 4, the same voltage signal is also applied to the third MISO terminal 301 of the third sensor unit 3C. Thus, the third sensor unit 3C can acquire the first output data 1d. When the first sensor unit 1 outputs the first output data 1d to the master terminal 4, the third calculation unit 33 calculates a correction amount corresponding to the first output data 1d based on the first output data 1d received by the third sensor unit 3C via the third MISO terminal 301 as described above.

[0129] As described above, in the data processing system 5C of this embodiment, the third sensor unit 3C includes the third detection unit 32, the third MISO terminal 301, and the third processing unit P3. The third detection unit 32 detects a third physical quantity that is complementary to the first physical quantity and outputs the detected data 3b as third detection data 3b. The third MISO terminal 301 is connected to the master terminal 4 in parallel with the first MISO terminal 101 and the second MISO terminal 201. The third processing unit P3 includes a third receiving shift register 36, a third calculation unit 33, a third transmitting shift register 34, and a third tri-state output buffer 35. The third receiving shift register 36 receives the first output data 1d via the third MISO terminal 301 when the first output data 1d is output from the first tri-state output buffer 15 to the master terminal 4. The third calculation unit 33 corrects the third detection data 3b based on the first output data 1d and outputs it as third corrected detection data 3c. The third transmission shift register 34 holds the third corrected detection data 3c output from the third calculation unit 33. The third tri-state output buffer 35 outputs the third corrected detection data 3c held in the third transmission shift register 34 to the master terminal 4 via the third MISO terminal 301 as third output data 3d.

[0130] In this embodiment, the process of correcting the third output data 3d is performed by the third calculation unit 33 of the third sensor unit 3C, not by the master terminal 4. Therefore, the amount of data processing by the master terminal 4 can be reduced.

[0131] (Variation of the Fourth Embodiment) It is not essential that the third calculation unit 33 corrects the third detection data 3 b based on the temperature characteristics. The third calculation unit 33 only needs to correct the third detection data 3 b based on at least the first output data 1 d.

[0132] (Other Embodiments and Modifications) In the first and second embodiments, the physical quantity sensor system 6 includes a first sensor unit 1 and a second sensor unit 2, and in the third and fourth embodiments, the physical quantity sensor system 6 includes a first sensor unit 1, a second sensor unit 2, and a third sensor unit 3. As described above, in the first to fourth embodiments, the number of sensor units is two or three. However, the number of sensor units may be four or more. If the data processing function is concentrated in the master terminal 4, the amount of data processing by the master terminal 4 increases as the number of sensor units increases. Therefore, as described in the first to fourth embodiments, the amount of data processing by the master terminal 4 can be reduced by providing data processing functions to at least some of the sensor units.

[0133] When the number of sensor units is four or more, the detection data of at least some of the sensor units may be corrected based on output data acquired from three or more sensor units.

[0134] In the second embodiment, the second calculation unit 23 of the second sensor unit 2 corrects the second detection data 2b based on the first output data 1d acquired from the first sensor unit 1A, and the first calculation unit 13 of the first sensor unit 1A corrects the first detection data 1b based on the second output data 2d acquired from the second sensor unit 2. That is, in the second embodiment, the first sensor unit 1A and the second sensor unit 2 correct the detection data of each other. Similarly, the first sensor unit 1 and the third sensor unit 3 may correct the detection data of each other. Furthermore, the second sensor unit 2 and the third sensor unit 3 may correct the detection data of each other.

[0135] When the number of sensor units is four or more, the four or more sensor units may be divided into a plurality of groups, and two or more sensor units belonging to the same group may mutually correct the detection data.

[0136] (Summary) The above-described embodiments and the like disclose the following aspects.

[0137] A data processing system (5, 5A-5C) according to a first aspect includes a master terminal (4), a first sensor unit (1, 1A), and a second sensor unit (2). The master terminal (4) processes data. The first sensor unit (1, 1A) is connected to the master terminal (4) via a serial peripheral interface (SPI). The second sensor unit (2) is connected to the master terminal (4) via the SPI in parallel with the first sensor unit (1, 1A). The first sensor unit (1, 1A) includes a first detection unit (12), a first master in slave out (MISO) terminal (101), and a first processing unit (P1). The first detection unit (12) detects a first physical quantity and outputs it as first detection data (1b). The first MISO terminal (101) is connected to the master terminal (4). The first processing unit (P1) has a first transmission shift register (14) and a first tri-state output buffer (15). The first transmission shift register (14) holds first detection data (1b) output from the first detection unit (12). The first tri-state output buffer (15) outputs the first detection data (1b) held in the first transmission shift register (14) as first output data (1d) to the master terminal (4) via a first MISO terminal (101). The second sensor unit (2) has a second detection unit (22), a second MISO terminal (201), and a second processing unit (P2). The second detection unit (22) detects a second physical quantity complementary to the first physical quantity and outputs the second detection data (2b). The second MISO terminal (201) is connected to the master terminal (4) in parallel with the first MISO terminal (101). The second processing unit (P2) has a second receiving shift register (26), a second calculation unit (23), a second transmitting shift register (24), and a second tri-state output buffer (25). The second receiving shift register (26) receives the first output data (1d) via the second MISO terminal (201) when the first output data (1d) is output from the first tri-state output buffer (15) to the master terminal (4). The second calculation unit (23) corrects the second detection data (2b) based on the first output data (1d) and outputs it as second corrected detection data (2c).The second transmission shift register (24) holds the second corrected detection data (2c) output from the second calculation unit (23). The second tri-state output buffer (25) outputs the second corrected detection data (2c) held in the second transmission shift register (24) as second output data (2d) to the master terminal (4) via the second MISO terminal (201).

[0138] According to the above configuration, the second calculation unit (23) executes a process of correcting the second detection data (2b) based on the first output data (1d), thereby reducing the amount of data processing by the master terminal (4) compared to when the master terminal (4) executes the process.

[0139] In a data processing system (5, 5A to 5C) according to a second aspect, in the first aspect, the first sensor unit (1, 1A) further has a first MOSI (Master Out Slave In) terminal (102) connected to the master terminal (4). The second sensor unit (2) further has a second MOSI terminal (202) and a memory unit (second memory unit (21)). The second MOSI terminal (202) is connected to the master terminal (4) in parallel with the first MOSI terminal (102). The memory unit stores a command (2e). When the master terminal (4) outputs a data acquisition command (1a) to the first sensor unit (1, 1A), the second detection unit (22) detects a second physical quantity based on the correspondence between the data acquisition command (1a) received by the second sensor unit (2) via the second MOSI terminal (202) and the command (2e) stored in the memory unit.

[0140] According to the above configuration, the timing of data acquisition of the first detection data (1b) in the first sensor unit (1, 1A) and the timing of data acquisition of the second detection data (2b) in the second sensor unit (2) can be synchronized.

[0141] In a data processing system (5A) according to a third aspect, in the first or second aspect, the first processing unit (P1) further includes a first receiving shift register (16) and a first calculation unit (13). The first receiving shift register (16) receives the second output data (2d) via the first MISO terminal (101) when the second output data (2d) is output from the second tri-state output buffer (25) to the master terminal (4). The first calculation unit (13) corrects the first detection data (1b) based on the second output data (2d) and outputs it as first corrected detection data (1c). The first transmitting shift register (14) holds the first corrected detection data (1c) output from the first calculation unit (13). The first tri-state output buffer (15) outputs the first corrected detection data (1c) held in the first transmission shift register (14) as first output data (1d) to the master terminal (4) via the first MISO terminal (101).

[0142] According to the above configuration, the first sensor unit (1A) and the second sensor unit (2) can mutually correct data.

[0143] Furthermore, a data processing system (5B) according to a fourth aspect is any one of the first to third aspects, further comprising a third sensor unit (3). The third sensor unit (3) is SPI-connected to the master terminal (4) in parallel with the first sensor unit (1) and the second sensor unit (2). The third sensor unit (3) has a third detection unit (32), a third MISO terminal (301), and a third processing unit (P3). The third detection unit (32) detects a third physical quantity that has a complementary relationship with the second physical quantity and outputs the detected data as third detection data (3b). The third MISO terminal (301) is connected to the master terminal (4) in parallel with the first MISO terminal (101) and the second MISO terminal (201). The third processing unit (P3) has a third transmission shift register (34) and a third tri-state output buffer (35). The third transmission shift register (34) holds the third detection data (3b) output from the third detection unit (32). The third tri-state output buffer (35) outputs the third detection data (3b) held in the third transmission shift register (34) as third output data (3d) to the master terminal (4) via the third MISO terminal (301). The second reception shift register (26) of the second sensor unit (2) receives the third output data (3d) via the second MISO terminal (201) when the third output data (3d) is output from the third tri-state output buffer (35) to the master terminal (4). The second calculation unit (23) of the second sensor unit (2) corrects the second detection data (2b) based on the first output data (1d) and the third output data (3d) and outputs it as second corrected detection data (2c).

[0144] According to the above configuration, the second sensor unit (2) can perform correction using the first physical quantity detected by the first sensor unit (1) and the third physical quantity detected by the third sensor unit (3). Furthermore, although a total of three sensor units, namely, the first sensor unit (1), the second sensor unit (2), and the third sensor unit (3), are connected to the master terminal (4), the number of MISO terminals (401) required by the master terminal (4) is one, which is the same as when a total of two sensor units, namely, the first sensor unit (1) and the second sensor unit (2), are connected to the master terminal (4). In this way, the number of terminals of the master terminal (4) can be reduced.

[0145] Furthermore, a data processing system (5C) according to a fifth aspect is any one of the first to fourth aspects, further comprising a third sensor unit (3C). The third sensor unit (3C) is SPI-connected to the master terminal (4) in parallel with the first sensor unit (1) and the second sensor unit (2). The third sensor unit (3C) has a third detection unit (32), a third MISO terminal (301), and a third processing unit (P3). The third detection unit (32) detects a third physical quantity that has a complementary relationship with the first physical quantity and outputs the detected data as third detection data (3b). The third MISO terminal (301) is connected to the master terminal (4) in parallel with the first MISO terminal (101) and the second MISO terminal (201). The third processing unit (P3) has a third receiving shift register (36), a third calculation unit (33), a third transmitting shift register (34), and a third tri-state output buffer (35). The third receiving shift register (36) receives the first output data (1d) via a third MISO terminal (301) when the first output data (1d) is output from the first tri-state output buffer (15) to the master terminal (4). The third calculation unit (33) corrects the third detection data (3b) based on the first output data (1d) and outputs it as third corrected detection data (3c). The third transmitting shift register (34) holds the third corrected detection data (3c) output from the third calculation unit (33). The third tri-state output buffer (35) outputs the third corrected detection data (3c) held in the third transmission shift register (34) as third output data (3d) to the master terminal (4) via the third MISO terminal (301).

[0146] According to the above configuration, the second sensor unit (2) and the third sensor unit (3C) can each perform correction based on the first physical quantity, and the number of terminals in the master terminal (4) can be reduced.

[0147] In addition, in a data processing system (5, 5A to 5C) according to a sixth aspect, in any one of the first to fifth aspects, the first physical quantity includes an acceleration of the target object, and the second physical quantity includes an angular velocity of the target object.

[0148] According to the above configuration, the second sensor unit (2) can complement data between the detection data of the angular velocity in the first direction and the detection data of the angular velocity in the second direction, i.e., the second sensor unit (2) can correct the detection data of the angular velocity in the second direction based on the detection data of the angular velocity in the first direction.

[0149] In addition, in a data processing system (5, 5A to 5C) according to a seventh aspect, in any one of the first to sixth aspects, the master terminal (4) is a microcontroller.

[0150] According to the above configuration, the amount of data processing by the microcontroller can be reduced.

[0151] The configurations other than the first aspect are not essential for the data processing system (5, 5A to 5C) and can be omitted as appropriate.

[0152] In addition, a physical quantity sensor system (6, 6A to 6C) according to an eighth aspect includes a first sensor unit (1, 1A) and a second sensor unit (2) of a data processing system (5, 5A to 5C) according to any one of the first to seventh aspects.

[0153] According to the above configuration, the second calculation unit (23) executes a process of correcting the second detection data (2b) based on the first output data (1d), thereby reducing the amount of data processing by the master terminal (4) compared to when the master terminal (4) executes the process.

[0154] 1, 1A First sensor unit 1a Data acquisition command 1b First detected data 1c First corrected detected data 1d First output data 2 Second sensor unit 2b Second detected data 2c Second corrected detected data 2d Second output data 2e Command 3, 3C Third sensor unit 3b Third detected data 3c Third corrected detected data 3d Third output data 4 Master terminal 5, 5A to 5C Data processing system 6, 6A to 6C Physical quantity sensor system 12 First detection unit 13 First calculation unit 14 First transmission shift register 15 First tri-state output buffer 16 First reception shift register 21 Second memory unit (memory unit) 22 Second detection unit 23 Second calculation unit 24 Second transmission shift register 25 Second tri-state output buffer 26 Second reception shift register 32 Third detection unit 33 Third arithmetic unit 34 Third transmission shift register 35 Third tri-state output buffer 36 Third reception shift register 101 First MISO terminal 102 First MOSI terminal 201 Second MISO terminal 202 Second MOSI terminal 301 Third MISO terminal P1 First processing unit P2 Second processing unit P3 Third processing unit

Claims

1. A master terminal performing data processing, comprising: a first sensor unit connected to the master terminal via a serial peripheral interface (SPI); and a second sensor unit connected to the master terminal via the SPI in parallel with the first sensor unit, wherein the first sensor unit has: a first detection unit that detects a first physical quantity and outputs the first detection data as first detection data; a first MISO (Master In Slave Out) terminal connected to the master terminal; and a first processing unit, wherein the first processing unit has: a first transmission shift register that holds the first detection data output from the first detection unit; and a first tri-state output buffer that outputs the first detection data held in the first transmission shift register as first output data to the master terminal via the first MISO terminal, wherein the second sensor unit has: a second detection unit that detects a second physical quantity having a complementary relationship with the first physical quantity and outputs the second detection data as second detection data, a second MISO terminal connected in parallel to the first MISO terminal to the master terminal; and a second processing unit, wherein the second processing unit has: a second receiving shift register that receives the first output data via the second MISO terminal when the first output data is output from the first tri-state output buffer to the master terminal; a second arithmetic unit that corrects the second detection data based on the first output data and outputs it as second corrected detection data; a second transmitting shift register that holds the second corrected detection data output from the second arithmetic unit; and a second tri-state output buffer that outputs the second corrected detection data held in the second transmitting shift register as second output data to the master terminal via the second MISO terminal.

2. The data processing system of claim 1, wherein the first sensor unit further has a first MOSI (Master Out Slave In) terminal connected to the master terminal, the second sensor unit further has a second MOSI terminal connected to the master terminal in parallel with the first MOSI terminal, and a memory unit for storing commands, and the second detection unit detects the second physical quantity based on a correspondence between the data acquisition command received by the second sensor unit via the second MOSI terminal and the command stored in the memory unit when the master terminal outputs a data acquisition command to the first sensor unit.

3. The data processing system of claim 1, wherein the first processing unit further comprises: a first receiving shift register that receives the second output data via the first MISO terminal when the second output data is output from the second tri-state output buffer to the master terminal; and a first calculation unit that corrects the first detection data based on the second output data and outputs it as first corrected detection data, the first transmitting shift register holds the first corrected detection data output from the first calculation unit, and the first tri-state output buffer outputs the first corrected detection data held in the first transmitting shift register as the first output data to the master terminal via the first MISO terminal.

4. A third sensor unit SPI-connected to the master terminal in parallel with the first sensor unit and the second sensor unit, the third sensor unit having: a third detection unit that detects a third physical quantity having a complementary relationship with the second physical quantity and outputs the third detection data; a third MISO terminal that is connected to the master terminal in parallel with the first MISO terminal and the second MISO terminal; and a third processing unit, the third processing unit having: a third transmission shift register that holds the third detection data output from the third detection unit; and a third tri-state output buffer that outputs the third detection data held in the third transmission shift register as third output data to the master terminal via the third MISO terminal, the second reception shift register of the second sensor unit receiving the third output data via the second MISO terminal when the third output data is output from the third tri-state output buffer to the master terminal, 2. The data processing system according to claim 1, wherein the second calculation unit of the second sensor unit corrects the second detection data based on the first output data and the third output data, and outputs the second detection data as the second corrected detection data.

5. A device further comprising a third sensor unit SPI-connected to the master terminal in parallel with the first sensor unit and the second sensor unit, the third sensor unit having: a third detection unit that detects a third physical quantity having a complementary relationship with the first physical quantity and outputs the third detection data; a third MISO terminal that is connected to the master terminal in parallel with the first MISO terminal and the second MISO terminal; and a third processing unit, the third processing unit having: a third reception shift register that receives the first output data via the third MISO terminal when the first output data is output from the first tri-state output buffer to the master terminal; a third calculation unit that corrects the third detection data based on the first output data and outputs it as third corrected detection data; and a third transmission shift register that holds the third corrected detection data output from the third calculation unit. a third tri-state output buffer that outputs the third corrected detection data held in the third transmission shift register as third output data to the master terminal via the third MISO terminal.

6. The data processing system of claim 1, wherein the first physical quantity includes an acceleration of the target object, and the second physical quantity includes an angular velocity of the target object.

7. The data processing system of claim 1, wherein the master terminal is a microcontroller.

8. A physical quantity sensor system comprising the first sensor unit and the second sensor unit of the data processing system according to claim 1.

Citation Information

Patent Citations

  • Inertial guide apparatus and method for navigation system for car

    JP2001221652A

  • Movable body angular velocity detector

    JP2004354160A

  • High-performance architecture for process transmitters

    JP2010539587A

  • Angular velocity calculation device, navigation apparatus, and angular velocity calculation method

    JP2011080857A

  • System and method for battery management

    JP2016184573A