Multi-sensor device and sensor device

Adjusting the sensor clock signal through communication between the main control and the auxiliary device solves the problems of synchronization complexity and real-time clock dependence in traditional multi-sensor systems, achieves data synchronization and accurate clock adjustment, and simplifies system design.

CN114020093BActive Publication Date: 2024-10-25PIXART IMAGING INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111329689.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-09-04
Filing Date
2018-03-05
Publication Date
2024-10-25
Estimated Expiration
2038-03-05

AI Technical Summary

Technical Problem

In traditional multi-sensor systems, sensor synchronization requires an external real-time clock circuit, resulting in additional signal ports and complex software algorithms, which are not acceptable to users.

Method used

Through specific bus communication between the master and auxiliary devices, the clock signal frequency of the sensor device is adjusted and multiple data packets are integrated to reduce dependence on the real-time clock circuit.

Benefits of technology

It achieves the synchronization of sensor data and the precise adjustment of clock signals, reduces the chip area and adjustment test time, and simplifies the synchronization process of software algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114020093B_ABST
    Figure CN114020093B_ABST
Patent Text Reader

Abstract

The present invention discloses a sensor device capable of adjusting a clock signal according to communication between a main control and an auxiliary device through a specific bus, comprising a first oscillator circuit and a processing circuit, wherein the first oscillator circuit is used to generate a first clock signal, and the processing circuit is used to adjust the clock frequency of the first clock signal according to the communication between the main control and the auxiliary device. For a software algorithm executed on the main control, it is not necessary to synchronize the data of the two devices or only takes a short time to synchronize the data of the two devices. Moreover, for a user, the data of multiple sensors have been synchronized or aligned on the time axis, so it becomes easier to design a software algorithm executed on the main control.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of 201810178923.4. The filing date of the parent application is March 5, 2018, the application number is 201810178923.4 and the name of the invention is sensor device, method and multi-sensor device. Technical Field

[0002] The present application relates to a multi-sensor system, and more particularly to a multi-sensor system / device capable of adjusting one or more clock signals and outputting a plurality of integrated data packets according to communication between a main control device and an auxiliary device. Background Art

[0003] Generally speaking, in a traditional multi-sensor system, a real-time clock circuit external to the traditional multi-sensor system is used to provide a precise clock reference source to multiple sensors to synchronize the multiple sensors. However, this will inevitably cause each sensor device to have an additional signal port or pin to receive the signal of the precise clock reference source. In other traditional multi-sensor systems, the synchronization of multiple sensor devices is performed by the main control. Currently, the main control needs to execute more complex software algorithms to synchronize the data of multiple sensor devices. Such traditional multi-sensors are not acceptable to users. Summary of the invention

[0004] Therefore, one of the objectives of the present application is to provide a sensor device, method, and multi-sensor system / device that can adjust one or more clock signals and output multiple integrated data packets based on the communication between the main control and auxiliary devices to solve the above-mentioned problems.

[0005] According to an embodiment of the present application, a sensor device capable of adjusting at least one clock signal of the sensor device according to communication between a main control and an auxiliary device through a specific bus is disclosed. The sensor device includes a first oscillator circuit and a processing circuit, the first oscillator circuit is used to generate a first clock signal, and the processing circuit is used to adjust the clock frequency of the first clock signal according to the communication between the main control and the auxiliary device.

[0006] According to an embodiment of the present application, a sensor device is disclosed that is capable of outputting data of the sensor device and data of the auxiliary device to the main control when both the sensor device and the auxiliary device are electrically connected to the main control via a specific bus, wherein the data of the sensor device is aligned with the data of the auxiliary device, and the sensor device includes a receiving port and a processing circuit, wherein the receiving port is used to receive the data of the auxiliary device according to a data request signal transmitted from the main control and transmitted to the specific bus, wherein the data request signal is used to request the data of the auxiliary device, and the processing circuit is coupled to the receiving port and is used to output the data of the sensor device and the data of the auxiliary device according to the data request signal.

[0007] According to an embodiment of the present application, a method is disclosed for use in a sensor device and capable of adjusting at least one clock signal of the sensor device according to communication between a main control and an auxiliary device via a specific bus. The method comprises: using a first oscillator circuit to generate a first clock signal; and adjusting the clock frequency of the first clock signal according to the communication between the main control and the auxiliary device.

[0008] According to an embodiment of the present application, a method is disclosed that is applied to a sensor device and is capable of outputting data of the sensor device and data of the auxiliary device to the main control when the sensor device and the auxiliary device are both electrically connected to the main control via a specific bus, wherein the data of the sensor device is aligned with the data of the auxiliary device. The method comprises: receiving the data of the auxiliary device using a receiving port of the sensor device according to a data request signal sent from the main control and transmitted to the specific bus, wherein the data request signal is used to request the data of the auxiliary device; and, outputting the data of the sensor device and the data of the auxiliary device according to the data request signal.

[0009] According to an embodiment of the present application, a multi-sensor system / device is disclosed. The system / device includes a processor, at least one first sensor and at least one second sensor, and a shared channel between the processor, the first sensor, and the second sensor. The first sensor is used to receive an auxiliary data packet through the shared channel and generate an integrated data packet, the auxiliary data packet includes data from the second sensor, the integrated data packet includes data from the first sensor and data from the second sensor, and the processor is used to obtain the integrated data packet to obtain data from the first sensor and data from the second sensor.

[0010] According to an embodiment of the present application, a sensor device for receiving data from a shared channel is disclosed. The shared channel is connected to the sensor device, a main control device and an auxiliary device. The sensor device includes a receiving port and a data generating module. The receiving port is used to receive multiple auxiliary data packets during a given time period, each auxiliary data packet includes data from the auxiliary device, and the data generating module is used to generate at least one sensing data packet based on the number of multiple auxiliary data packets received during the given time period. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a schematic diagram of a multi-sensor system / device according to a first embodiment of the present application;

[0012] Figure 2is a timing diagram of a master controller sending a data request signal via an I2C bus to access data of an auxiliary device;

[0013] Figure 3 is a schematic diagram of a multi-sensor system / device according to a second embodiment of the present application;

[0014] Figure 4 It is a schematic diagram of a multi-sensor system / device according to the third embodiment of the present application.

[0015] The reference numerals are described as follows:

[0016] 100, 300, 400 sensor units

[0017] 101, 301, 401 Multi-sensor system / device

[0018] 105 Master Control

[0019] 105A Real-time Clock Circuit

[0020] 105B Memory

[0021] 110 Auxiliary devices

[0022] 115A, 115B Oscillator Circuit

[0023] 120 Processing circuit

[0024] 125 receiving port DETAILED DESCRIPTION

[0025] An embodiment of the present application is to listen to and / or monitor one or more communications periodically transmitted through a shared channel when a specific sensor device is connected to the shared channel to adjust or calibrate one or more clock signals of the specific sensor device, wherein the shared channel is, for example, a shared bus interface, and the one or more communications periodically transmitted may be communications periodically sent by a master, an auxiliary device or a second sensor device. The one or more communications periodically transmitted may be used as one or more precise clock reference signals of the specific sensor device, so that the specific sensor device can adjust or fine-tune its one or more clock signals and / or adjust one or more signals sensed by the specific sensor device itself. For example, the specific sensor device may adjust the timing of one or more signals sensed by it based on the one or more precise clock reference signals.

[0026] Specifically, even when the at least two clock signals may have different clock frequencies corresponding to different frequency shifts or variations, the specific sensor device can still accurately adjust the at least two clock signals based on the same one or more communications transmitted or sent periodically.

[0027] In addition, embodiments of the present application can listen to, monitor and collect / access one or more communications transmitted and passed through the shared channel, such as data of an auxiliary device transmitted through the shared channel, synchronize the data of the specific sensor device with the data of the auxiliary device, such as aligning the data generated by a photoplethysmography sensor device in a fixed time period with the data of the accelerometer sensor device in the same given time period, and the photoplethysmography sensor device can generate and provide integrated multiple data / data packets (having both the data of the photoplethysmography sensor device and the data of the accelerometer sensor device) to the main control or to another external circuit to calculate the user's heart rate and / or other biometrics. For the main control (such as a microcontroller, a sensor hub, another external circuit or one or more software algorithms), since the data of the photoplethysmography sensor device and the data of the accelerometer sensor device have been aligned and can be generated / provided by the photoplethysmography sensor device, it will become more convenient to calculate the biometrics. Any variant design of the above embodiments falls within the scope of the present application, and the content of the embodiments is described in subsequent paragraphs.

[0028] Figure 1 1 is a schematic diagram of a multi-sensor system / device 101 of the first embodiment of the present application. The multi-sensor system / device 101 includes a processor or a main control 105, at least one first sensor device 100, at least one auxiliary device 110 (e.g., a second sensor device), and a shared channel (connected between the main control 105, the sensor device 100, and the auxiliary device 110). The sensor device 100 is, for example, a photoplethysmography sensor device (but not limited thereto) and is capable of adjusting at least one clock signal of the sensor device 100 according to the communication between the main control 105 and the auxiliary device 110 and / or between the main control 105 and the sensor device 100 through a specific shared channel or bus (e.g., an I2C bus (inter-integrated circuit bus) or an SPI bus (serial peripheral interface bus)); it should be noted that the type of bus is not a limitation of the present application.

[0029] The main control 105 is, for example, a microcontroller (but not limited thereto), and includes a real-time clock circuit 105A and one or more memory circuits 105B. The specific bus refers to a shared channel, and the communication between the main control 105 and the auxiliary device 110 through the specific bus may include a data request signal sent from the main control 105 to the auxiliary device 110, information / data / data packet sent back by the auxiliary device 110, and / or any signal transmitted between the main control 105 and the auxiliary device 110 through the specific bus. For example, communication may refer to a data request signal periodically sent from the main control 105 to the auxiliary device 110 to request data from the auxiliary device 110. In addition, communication may also refer to information / data or multiple data packets periodically sent back to the main control 105 by the auxiliary device 110 during a given period of time.

[0030] In addition, the communication between the master control 105 and the sensor device 100 through a specific bus may also include a data request signal sent from the master control 105 to the sensor device 100. For example, the communication may refer to a data request signal that the master control 105 periodically sends to the sensor device 100 to request data from the sensor device 100.

[0031] In the example of using a photoplethysmography sensor device to implement the sensor device 100, the auxiliary device 110 is, for example, an accelerometer sensor device (but not limited to), and the photoplethysmography sensor device 100 can be arranged to adjust or calibrate one or more clock signals thereof, such as the frequency of the clock signal CLK1 of the oscillator circuit 115A, based on the communication between the main control 105 and the accelerometer sensor device 110 (for example, data information and an identification ID periodically transmitted from the accelerometer sensor device 110 to the main control 105). For example, for adjusting its clock signal CLK1, the photoplethysmography sensor device 100 is arranged to listen to or monitor the communication transmitted by a specific bus. If an identity ID and data information periodically transmitted from the accelerometer sensor device 110 are detected during a given period, the sensor device 100 will be arranged to adjust or fine-tune its clock signal CLK1 based on the above detection results to adjust the rising edge or falling edge of its clock signal CLK1. The periodically transmitted identity ID and data information serve as an accurate reference source for clock calibration / adjustment.

[0032] In addition, in another example of adjusting its clock signal CLK1, the photoplethysmography sensor device 100 can be arranged to listen to or monitor a data request signal periodically sent from the host 105 to the accelerometer sensor device 110. If a data request signal periodically transmitted during a given period is detected, the sensor device 100 will be arranged to adjust or fine-tune the clock signal CLK1 based on the above detection result to adjust the rising edge or falling edge of the clock signal CLK1. The periodically transmitted data request signal serves as an accurate reference source for clock calibration / adjustment.

[0033] In practice, the sensor device 100 includes an oscillator circuit 115A and a processing circuit 120. The oscillator circuit 115A is used to generate a first clock signal CLK1. The first clock signal CLK1 has a clock frequency of, for example, 32 kHz (but not limited thereto). The processing circuit 120 is used to control the oscillator circuit 115A and adjust the clock frequency of the first clock signal CLK1 according to the communication between the main control 105 and the auxiliary device 110. In this embodiment, the shared channel or bus includes, for example, a serial data line SDA and a serial clock line. The photoplethysmography sensor device 100, the accelerometer sensor device 110 and the master 105 are each connected to the serial data line SDA and the serial clock line SCL of the I2C bus. The master 105 is arranged to access or request the data of the sensor device 100 and the data of the auxiliary device 110 respectively through the shared I2C bus in different given time periods. Specifically, the sensor device 100 is arranged to monitor or listen to the communication of the shared I2C bus line, and count the number of cycles of the clock signal CLK1 in a given time period, and the given time period is determined based on the communication periodically transmitted through the shared I2C bus line.

[0034] Figure 2 FIG. 1 is a timing diagram of an embodiment in which the master control 105 sends a data request signal to access data of the auxiliary device 110 via the I2C bus. Figure 2As shown, in this embodiment, the main control 105 periodically accesses the auxiliary device 110 (such as an accelerometer sensor device) through the shared I2C bus to read or obtain data from the auxiliary device 110. The main control 105 is arranged to read or obtain data from the auxiliary device 110 during a given period (such as a fixed and accurate multiple cycles). The fixed and accurate multiple cycles can be determined by the real-time clock circuit 105A and are not easily affected or changed by environmental factors such as temperature, voltage or pressure. In order to respond to the data request of the main control 105, the accelerometer sensor device 110 is arranged to periodically transmit the identity ID and data / data packet information to the main control 105 through the shared I2C bus. Therefore, the sensor device 100 can be arranged to monitor the status of the shared I2C bus and adjust the clock signal CLK1 of the oscillator circuit 115A based on the identity ID and data / data packet information periodically transmitted during a given period.

[0035] exist Figure 2 In this example, the master 105 is arranged to periodically access or obtain data from the auxiliary device 110 via the I2C bus every second, which is not a limitation of the present application. Figure 2 As shown in the serial data line SDA, the auxiliary device 110 is arranged to transmit identification information including a slave ID and a read address and data information including N data bytes of the auxiliary device 110 to the main control 105, and then the auxiliary device 110 is arranged to be idle until the next second, N is equal to 25, for example, that is, the auxiliary device 110 is arranged to transmit 25 data bytes to the main control 105 through the serial data line SDA each time, so that if 2 consecutive sets of identification ID and data information are detected, the processing circuit 120 of the sensor device 100 can determine that 1 second has passed. Similarly, if 11 consecutive sets of identification ID and data information are detected, the processing circuit 120 of the sensor device 100 can determine that 10 seconds have passed.

[0036] The processing circuit 120 is arranged to control the oscillator circuit 115A in a predetermined time interval to adjust or calibrate the clock signal CLK1. For example, the predetermined time interval may be 10 seconds (but not limited to), that is, the sensor device 100 adjusts its clock signal CLK1 every 10 seconds. The processing circuit 120 is arranged to determine whether the predetermined time interval (e.g., 10 seconds) has passed by judging whether 11 consecutive sets of identity identifiers ID and data information of the auxiliary device 110 have been listened to or monitored. The processing circuit 120 will immediately start counting the clock cycles of the clock signal CLK1 after the first set of identity identifiers ID and data information of the auxiliary device 110 has been detected, and will immediately complete the counting after the 11th set of identity identifiers ID and data information of the auxiliary device 110 has been detected.

[0037] Ideally, if the clock frequency of the clock signal CLK1 is accurate and equal to 32KHz, the number of clock cycles counted at the end should be equal to 320K cycles. The processing circuit 120 will compare the actual number of clock cycles counted with the ideal number of clock cycles (i.e., 320K) to determine whether the clock frequency is slower or faster. If it is detected that the actual number of clock cycles counted is equal to 315K, which is less than 320K, the processing circuit 120 will determine that the clock frequency has slowed down, and then control the oscillator circuit 115A to adjust or fine-tune to increase the clock frequency of the clock signal CLK1. On the contrary, if it is detected that the number of clock cycles actually counted is equal to 330K and greater than 320K, the processing circuit 120 will determine that the clock frequency has become faster, and then control the oscillator circuit 115A to adjust or fine-tune to reduce the clock frequency of the clock signal CLK1. In this way, by repeatedly comparing the number of cycles and frequency adjustments, the clock frequency can be corrected to an accurate value. It should be noted that in this embodiment, the processing circuit 120 controls or adjusts the hardware parameters of the oscillator circuit 115A to adjust the clock signal CLK1; however, this is not a limitation of the present application.

[0038] In the above embodiment, the processing circuit 120 monitors or listens to the data information reported from the auxiliary device 110 and the transmission of the identity ID, and adjusts the clock signal CLK1. In other embodiments, the processing circuit 120 can be arranged to listen to or monitor the data request signal regularly sent by the main control 105, and adjust the clock signal CLK1. The data request signal can be a signal requesting data from the auxiliary device 110, or it can be a signal requesting data from the sensor device 100. That is, the sensor device 100 can be arranged to monitor the signal regularly transmitted from the main control 105 to the sensor device 100 to adjust its clock signal CLK1. The above operation is similar to the operation of monitoring or listening to the data information and the identity ID reported from the auxiliary device 110, and will not be described in detail here.

[0039] In addition, the operation of monitoring or listening to the data information and the ID reported from the auxiliary device 110 can be used to calibrate or adjust multiple oscillator circuits in a sensor device. Figure 3 is a schematic diagram of a multi-sensor system / device 301 of a second embodiment of the present application, wherein the multi-sensor system / device 301 comprises a processor or a main control 105, at least one first sensor device 300, at least one auxiliary device 110 (e.g., a second sensor device), and a shared channel between the main control 105, the first sensor device 300, and the auxiliary device 105. The sensor device 300 is, for example, a photoplethysmography sensor device (but not limited thereto), and is capable of adjusting multiple clock signals of the sensor device 300 according to the communication between the main control 105 and the auxiliary device 110 and / or the communication between the main control 105 and the sensor device 300 through a specific bus, the specific bus being, for example, an internal integrated circuit bus (I2C bus) or a serial peripheral interface bus (SPI bus), but this is not a limitation of the present application. In this embodiment, the sensor device 300, the auxiliary device 110, and the main control 105 are all connected to the I2C bus, and the auxiliary device 110 is, for example, an acceleration sensor device. The photoplethysmography sensor device 300 may be arranged to adjust or tune its multiple clock signals, such as the two clock frequencies of the two oscillator circuits 115A, 115B, based on communication between the master 105 and the auxiliary device (accelerometer sensor device) 110 (e.g., a data request signal periodically transmitted from the master 105 to the auxiliary device 110 to request data from the auxiliary device 110).

[0040] In practice, the sensor device 300 includes a first oscillator circuit 115A, a second oscillator circuit 115B and a processing circuit 120. The first oscillator circuit 115A is used to generate a first clock signal CLK1, and the second oscillator circuit 115B is used to generate a second clock signal CLK2. The second clock signal CLK2 has a second clock frequency that is different from the first clock frequency of the first clock signal CLK1. The clock signal CLK1 has a clock frequency of 32KHz, for example (but not limited to), and the clock signal CLK2 has a clock frequency of 16MHz, for example (but not limited to). The processing circuit 120 is used to control the oscillator circuits 115A and 115B respectively according to the communication between the main control 105 and the auxiliary device 110 or according to the communication between the main control 105 and the sensor device 300 to adjust the clock frequencies of the clock signals CLK1 and CLK2.

[0041] For example, in the normal mode of the sensor device 300, the oscillator circuit 115B with a clock frequency of 16 MHz is enabled or started to periodically sample the photoplethysmographic signal sensed by the sensor device 300 to generate photoplethysmographic data. In the sleep mode or power saving mode, the oscillator with a higher clock frequency, that is, the oscillator circuit 115B, will be disabled to save power, and the oscillator with a lower clock frequency, that is, the oscillator circuit 115A with a clock frequency of 32 KHz, will be used as a timer so that the sensor device 300 can periodically determine whether to leave the sleep mode or the power saving mode. Since different oscillator circuits with different clock frequencies may have different variations or frequencies even when facing the same temperature change, Shift, therefore, the sensor device 300 is arranged to calibrate or adjust the clock signals CLK1 and CLK2 respectively based on the communication between the main control 105 and the auxiliary device 110 or according to the communication between the main control 105 and the sensor device 300. In this way, the sensor device 300 can obtain accurate clock signals with different frequencies of 16 MHz and 32 kHz. For example, due to the same environmental factors, the first clock signal CLK1 may become slower and the second clock signal CLK2 may become faster. The sensor device 300 can calibrate or adjust the clock signals CLK1 and CLK2 to be accurate clock signals based on the communication between the main control 105 and the auxiliary device 110 or according to the communication between the main control 105 and the sensor device 300.

[0042] In addition, in other embodiments, the sensor device 300 calibrates or adjusts the clock signal CLK1 with a lower clock frequency by listening to or monitoring the communication between the main control 105 and the auxiliary device 110 or the communication between the main control 105 and the sensor device 300. Then, the sensor device 300 calibrates or adjusts the clock signal CLK2 with a higher clock frequency based on the adjusted or calibrated clock signal CLK1.

[0043] Compared to the prior art that uses a real-time clock circuit located inside or outside the main control to adjust or calibrate one or more clock signals in the sensor device, the sensor device 100 / 300 of the embodiment of the present application does not need to refer to the clock cycle of the real-time clock circuit 105A of the main control 105 or the clock cycle of another external real-time clock circuit. Therefore, for the sensor device, it is not necessary to implement an additional signal port or pin to be externally connected to the signal of the real-time clock circuit 105A of the main control 105 or the signal of another external real-time clock circuit, which can reduce the chip area of ​​the sensor device 100 / 300.

[0044] in addition, Figure 1 and Figure 3 The system is a multi-sensor system including at least two or more sensor devices, the sensor devices are, for example, the sensor device 100 / 300 and the auxiliary device 110. The sensor device 100 / 300 can synchronize with the auxiliary device 110 by listening to or monitoring the communication between the main control 105 and the auxiliary device 110 and / or the information / data / traffic regularly transmitted from the auxiliary device 110 to the main control 105, which can greatly save the adjustment and testing time of the clock signal. At the same time, for the sensor device 100 / 300, it is not necessary to implement an additional memory circuit for the adjustment of the clock signal. In addition, the sensor device 100 / 300 can be arranged to automatically synchronize with the auxiliary device 110, and for the software algorithm executed on the main control 105, since the software algorithm does not need to be responsible for synchronizing the data of the two devices or only needs a short time to complete the synchronization of the data of the two devices, it becomes easier to process the data from the sensor device 100 / 300 and the data from the auxiliary device 110.

[0045] Furthermore, in the multi-sensor system of the embodiment of the present application, by listening to or monitoring the communication between the main control and the auxiliary device and / or the information / flow / data regularly transmitted from the auxiliary device to the main control, the sensor device (such as a photoplethysmography sensor) can be arranged to integrate its data / data packet with the corresponding data / data packet of the auxiliary device, and then output or provide the integrated data / data packet to the main control. In this way, for the user, since the data of multiple sensors have been synchronized or aligned on the time axis, it will be easier to design the software algorithm executed on the main control.

[0046] Please refer to Figure 1The sensor device 100 further includes a receiving port 125, and the receiving port 125 is used to receive multiple data packets in a given time period. For example, the receiving port 125 is arranged to receive auxiliary data packets (such as data packets from the auxiliary device 110) periodically transmitted by the auxiliary device 110 and through the shared channel during the given time period, wherein each auxiliary data packet includes data from the auxiliary device 110. Similarly, the sensor device 300 further includes the receiving port 125, and the processing circuit 120 is arranged to listen to, monitor and collect / access the auxiliary data packets from the auxiliary device 110 during the given time period. The communication, information, traffic, data and / or data packets periodically transmitted by the device 110 to the master 105 through the shared channel, in this case, the processing circuit 120 is used as a data generation module, based on the number of multiple auxiliary data packets received during the given time period, to generate at least one sensing data packet, the data generation module (i.e., the processing circuit 120) is arranged to adjust the first clock signal CLK1 according to the number of multiple auxiliary data packets received during the given time period, and then generate the at least one sensing data packet by referring to the adjusted first clock signal CLK1. In addition, the method can also be applied to the adjustment of the second clock signal CLK2, which will not be described here for the sake of space. Next, the processing circuit 120 is arranged to align the collected multiple auxiliary data packets of the auxiliary device 110 (for example, at least one sensing data packet of an accelerometer sensor device) to integrate the multiple data / data packets to generate integrated multiple data / data packets. The processing circuit 120 then outputs / provides the integrated multiple data / data packets (multiple data / data packets with multiple sensor devices) to the main control 105. That is, the sensor device 100 used as a photoplethysmography sensor device can generate and provide the integrated multiple data / data packets (with both the data of the photoplethysmography sensor device and the data of the accelerometer sensor device) to the main control 105 or to another external circuit to calculate the user's heart rate and / or other biometrics. Since both the data of the photoplethysmography sensor device and the data of the accelerometer sensor device have been synchronized or aligned on the time axis by the processing circuit 120 of the sensor device 100, for the main control 105, such as a microcontroller, a sensor hub (Sensor hub), additional external circuits or one or more software algorithms to more conveniently calculate biometrics. Each time when N data bytes of the accelerometer sensor device are collected, the sensor device 100 can be arranged to report both the data of the photoplethysmography sensor device and the data of the accelerometer sensor device to the main control 105. N can be designed to be 20 or 25, for example.

[0047] In addition, the number of multiple data units (e.g., multiple data bytes) generated by a photoplethysmographic sensor device may be different from the number of multiple data units (e.g., multiple data bytes) generated by an accelerometer sensor device. For example, the photoplethysmographic sensor device may generate 10 data units per second, while the accelerometer sensor device may generate 20 or 25 data units per second. The photoplethysmographic sensor device may be arranged to accumulate multiple data units and / or generate multiple interpolated data units to generate / provide sufficient multiple data units so that the data of the photoplethysmographic sensor device and the data of the accelerometer sensor can be integrated before reporting the data of both devices to the main control 105. For example, if N data units (or bytes) of the accelerometer sensor device are collected, the photoplethysmographic sensor device may be arranged to accumulate multiple data units and / or generate integrated multiple data units to generate / provide N integrated data units (or bytes). Data accumulation and / or data interpolation can be regarded as a synchronous operation for the sensor device 100 / 300 and the accelerometer sensor device.

[0048] Furthermore, it should be noted that in the above example, the clock signal CLK1 can be used as a clock reference signal for generating a plurality of sensing data packets of the photoplethysmography sensor device 100, and the processing circuit 120 is arranged to adjust the clock frequency of the clock reference signal to generate the plurality of sensing data packets. In addition, such technical concept can also be applied to Figure 3 In the embodiment of the present invention, any one of the clock signal CLK1 and the clock signal CLK2 can be used as a clock reference signal for generating a plurality of sensing data packets of the photoplethysmography sensor device 300 in different modes, and the processing circuit 120 is arranged to adjust the clock frequency of the clock reference signal to generate the plurality of sensing data packets.

[0049] Please refer to Figure 4 , Figure 41 is a schematic diagram of a multi-sensor system / device 401 of a third embodiment of the present application. The multi-sensor system / device 401 includes a processor or a main control 105, at least one first sensor device 100, at least one auxiliary device 105, and a shared channel connected between the main control 105, the sensor device 100 and the auxiliary device 105. The auxiliary device 105 is, for example, a second sensor device. In this embodiment, the shared channel is implemented using a serial peripheral interface bus. The signal / signaling CS0 included in the serial peripheral interface bus is represented as a chip select port corresponding to the sensor device 400. When the signal CS0 is set or valid (assertion), it can be regarded as a data request sent from the main control 105 to the sensor device 400 to request multiple sensing data / data packets. The signal CS1 included in the serial peripheral interface bus is represented as a chip select port corresponding to the auxiliary device 110. When the signal CS1 is set or valid (assertion), it can be regarded as a data request signal sent from the master control 105 to the auxiliary device 110 to request multiple auxiliary data / data packets. When the master control 105 is arranged to communicate with the auxiliary device 110 to obtain data, the chip select signal CS1 will be set or valid (asserted). Conversely, when the master control 105 is arranged to communicate with the sensor device 400 to obtain data, the chip select signal CS0 will be set or valid. If the master control 105 is not arranged to communicate with the sensor device 400 and the auxiliary device 110, the chip select signals CS0 and CS1 will be cleared or invalid (de-asserted).

[0050] The processing circuit 120 of the sensor device 400 is arranged to listen to or monitor the chip select signal CS1 to detect whether the chip select signal CS1 is set or valid, so as to determine whether the main control 105 is communicating with the auxiliary device 110. In practice, the sensor device 400 will also be implemented with an additional signal port, which is connected to and receives the chip select signal CS1. In this way, when the chip select signal CS1 is detected to be set or valid, the processing circuit 120 can determine that the main control 105 is obtaining multiple data / data packets of the auxiliary device 110. In this way, the data packets currently being transmitted through the shared serial peripheral interface The multiple data / data packets of the bus are generated and output by the auxiliary device 110, and the processing circuit 120 is arranged to use the receiving port 125 to collect the multiple data / data packets currently transmitted through the shared serial peripheral interface bus and align the multiple auxiliary data / data packets currently transmitted with the multiple photoplethysmography data / data packets currently generated by the sensor device 400. In this way, the processing circuit 120 can integrate the multiple photoplethysmography data / data packets sensed during a given time period and the multiple accelerometer data / data packets sensed during the same given time period to generate and output multiple integrated data / data packets. That is, the processing circuit 120 can perform data alignment and synchronization operations for two sensors of different types or types.

[0051] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A multi-sensor device, characterized in that: include: processor; a first sensor and a second sensor; as well as a shared channel between the processor, the first sensor, and the second sensor; The first sensor is used to receive an auxiliary data packet and generate an integrated data packet, wherein the auxiliary data packet includes data from the second sensor and passes through the shared channel, and the integrated data packet includes data from the first sensor and the data from the second sensor; and the processor is used to obtain the integrated data packet to obtain the data from the first sensor and the data from the second sensor.

2. A sensor device for receiving data from a shared channel, characterized in that The shared channel is connected to the sensor device, the main control device and the auxiliary device, and the sensor device includes: a receiving port for receiving a plurality of auxiliary data packets during a given time period, wherein each auxiliary data packet includes data from the auxiliary device; and The data generating module is configured to generate a sensing data packet based on the number of the plurality of auxiliary data packets received during the given time period.

3. The sensor device according to claim 2, wherein include: a first oscillator circuit for generating a first clock signal; The data generation module is arranged to adjust the first clock signal according to the number of the plurality of auxiliary data packets received during the given period, and then arranged to generate the sensing data packet by referring to the adjusted first clock signal.

4. The sensor device according to claim 3, wherein include: a second oscillator circuit for generating a second clock signal, wherein the clock frequency of the second clock signal is different from the clock frequency of the first clock signal; The data generation module is arranged to adjust the second clock signal according to the number of the plurality of auxiliary data packets received during the given time period.