Optical Image Stabilizer SPI Burst Mode Data Reading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional optical image stabilization (OIS) systems experience reduced data processing speed due to the lengthy time required to read data from gyro sensors using serial peripheral interface (SPI) communications, necessitating improvements in communication efficiency.
Innovation Solution
The implementation of a camera apparatus with a control circuit and digital circuit configured to perform SPI communications using various modes, including burst modes with status checks, to optimize data reading and processing, utilizing a mask pattern register for status bit checks and preset frames to validate data validity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If conventional SPI communication method is used to read data from sensor device, then data can be read with simple protocol, but data processing speed is reduced due to multiple sequential commands and status checks
Solution Approach 1:
The patent implements a burst mode where multiple data bytes are read in a single continuous SPI transaction without intermediate status checks or command retransmissions. The sensor device is pre-configured to output multiple data bytes sequentially, and the digital circuit receives all data in one go, eliminating the need for repeated status verification and command issuance that characterizes conventional SPI reading methods
Solution Approach 2:
The burst mode maintains continuous SPI clock signaling and data transfer throughout the entire data reading process. The SPI master continues clocking without interruption, and the SPI slave continuously shifts out multiple data bytes, ensuring the useful action of data transfer remains uninterrupted. This contrasts with conventional methods where the SPI transaction is repeatedly interrupted for status checks and command retransmissions
2Reliability
If multiple status checks are performed via SPI communications to ensure data validity, then data accuracy is improved, but communication time and processing delay increase
Solution Approach 1:
The system performs preliminary configuration of the sensor device before the actual data burst transfer. The sensor is pre-programmed with the appropriate register addresses and data formats, and the digital circuit is pre-configured with the expected data structure. This preliminary setup enables the burst mode to read multiple data bytes continuously without needing intermediate status checks to verify data format or validity
Solution Approach 2:
The burst mode eliminates interruptive status checks by maintaining continuous SPI data transfer. The SPI master continuously clocks data from the SPI slave without pausing to verify status bits, trusting the pre-configured system to deliver valid data. This continuous operation significantly reduces communication delay compared to conventional methods that repeatedly interrupt the transfer for status verification
3Ease of operation
If MCU sequentially transmits commands via SPI to read different data types from gyro sensor, then data can be read with proper protocol compliance, but the number of SPI transactions increases reducing overall efficiency
Solution Approach 1:
The patent merges multiple separate SPI transactions into a single burst mode transaction. Instead of issuing individual SPI commands for each data type (gyro X, gyro Y, gyro Z, acceleration X, acceleration Y, acceleration Z), the system combines all data reads into one continuous SPI transfer sequence. The sensor device outputs all required data bytes in a predetermined sequence within the single transaction, maintaining protocol compliance while dramatically reducing the number of SPI master interventions required
Solution Approach 2:
The system performs preliminary configuration to establish the burst mode reading pattern. The sensor device is pre-programmed with the sequence of data bytes to output, and the digital circuit is pre-configured to receive and process the burst data stream. This preliminary setup enables subsequent high-speed data acquisition without repeated protocol handshaking, improving efficiency while maintaining proper SPI protocol compliance through the pre-established communication pattern
Data Source
AI summary
A camera apparatus includes an optical image stabilizer (OIS) device including a control circuit controlling data processing including reading data and writing data, and a digital circuit including a serial peripheral interface bus (SPI) master performing data processing based on SPI communications performed using the SPI master under control of the control circuit to perform an OIS function; and a sensor device including an SPI slave communicating with the SPI master and responding to a request from the OIS device. The control circuit sets a selected SPI communications mode selected from a plurality of predefined SPI communications modes. The digital circuit performs the selected SPI communications mode, and in response to the selected SPI communications mode being a burst status mode with a status check, checks two or more status bits for corresponding data to be read from the sensor device before reading the corresponding data from the sensor device.


