Protocol Switching Circuit With Majority Sampling for Noise Immunity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing communication protocols between circuits face issues with noise immunity, particularly in situations where the chip select signal changes or the clock signal transitions, leading to improper protocol determination and potential communication failure.
Innovation Solution
A protocol determination circuit that includes a sampling circuit performing multiple samplings of a protocol specifying signal and a majority decision circuit to determine the communication protocol based on the majority outcome of these samplings, enhancing noise immunity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a single sampling of the protocol specifying signal is performed, then the device complexity is low, but the noise immunity deteriorates leading to communication failures
Solution Approach 1:
The protocol determination process is segmented into multiple independent sampling operations. Instead of relying on a single sampling point, the system performs multiple samplings of the protocol specifying signal at different time points, thereby dividing the determination process into discrete steps that can be evaluated independently and combined through majority decision.
Solution Approach 2:
The system employs periodic sampling of the protocol specifying signal at multiple time intervals. By periodically sampling the signal and applying majority decision logic to the sampled values, the system achieves robust protocol determination that is resistant to transient noise occurrences, as the noise would need to consistently affect all sampling points to cause misidentification.
2Reliability
If multiple samplings are performed on the protocol specifying signal, then the noise immunity improves, but the loss of time increases due to multiple sampling operations
Solution Approach 1:
The system performs preliminary sampling operations during the initial communication setup phase. By conducting multiple samplings in advance and determining the protocol before actual data transmission begins, the time penalty for multiple samplings does not impact the critical data communication phase, thus maintaining overall system efficiency while achieving robust noise immunity.
Solution Approach 2:
The protocol determination process using multiple samplings and majority decision is designed to complete rapidly during the initialization phase. Once the protocol is determined through the multiple sampling operations, the system rushes into the actual communication phase without delay, ensuring that the time consumed by multiple samplings is minimal and does not significantly impact overall communication performance.
Data Source
AI summary
Noise immunity of a protocol determination circuit that determines a communication protocol between circuits is improved. A protocol determination circuit includes: a sampling circuit; and a majority decision circuit. The sampling circuit performs a plurality of number of times of sampling on a protocol specifying signal, the protocol specifying signal being any one of a value indicating a first communication protocol I2C and a value indicating a second communication protocol SPI. The majority decision circuit outputs a majority decision signal, the majority decision signal indicating a communication protocol corresponding to a value sampled majority number of times in the plurality of number of times of sampling.


