Switching Mechanism for 1-Wire Peripheral Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Portable devices with 1-wire bus connections continuously poll for peripheral devices, leading to increased power consumption and reduced battery life, even when no 1-wire devices are connected.
Innovation Solution
An electronic device with a switching mechanism that selectively connects to either a detection pin or a 1-wire pin based on the type of peripheral device, allowing for efficient 1-wire communication only when a 1-wire device is detected, thereby reducing unnecessary power usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the portable device continuously polls the 1-wire bus to detect peripheral devices, then the device can detect connected peripherals, but power consumption increases and battery life decreases
Solution Approach 1:
The system transitions from continuous polling to periodic action by using interrupt-driven detection. The portable device only activates the detection function when an interrupt signal indicates a peripheral device has been connected, rather than continuously polling the bus. This resolves the contradiction by maintaining detection reliability while dramatically reducing power consumption during idle periods.
Solution Approach 2:
The peripheral device itself generates the interrupt signal that triggers the detection process. Instead of the portable device continuously主动 polling, the system allows the peripheral device to signal its presence through the interrupt mechanism, making the detection process event-driven and energy-efficient.
2Device complexity
If the portable device uses a 1-wire bus with only one transmission line, then the number of I/O ports is reduced and system design is simplified, but power consumption increases due to continuous polling requirements
Solution Approach 1:
The patent applies periodic action by implementing interrupt-driven detection instead of continuous polling on the simplified 1-wire bus. The detection pin remains in a low-power state until an interrupt signal triggers the detection sequence, allowing the system to maintain hardware simplicity while reducing the energy cost of peripheral detection.
Solution Approach 2:
The detection pin serves as an intermediary between the connector port and the processor. It monitors the connector port for connection events and only activates the full detection and communication sequence when needed, mediating between the simplified 1-wire bus architecture and the power-consuming detection operations.
3Reliability
If the processor continuously monitors the connector port for peripheral connections, then connection status is always known, but power consumption increases affecting battery life
Solution Approach 1:
The system implements periodic action by using interrupt-driven monitoring instead of continuous processor monitoring. The processor enters low-power states between interrupt events, activating full monitoring only when connection changes occur. This maintains reliable connection status tracking while extending battery usage time by minimizing active monitoring duration.
Solution Approach 2:
The interrupt mechanism provides feedback about connection status changes without requiring continuous processor involvement. When a peripheral device connects or disconnects, the detection pin generates an interrupt signal that feeds back to the processor, triggering status updates only when necessary and allowing the processor to conserve power during stable states.
Data Source
AI summary
An electronic device including a housing, a connector port and a switching device is provided. The connector port is embedded in the housing for a peripheral device inserted therein to electrically connect thereto. The processor is electrically connected to the connector port and comprises a detection pin and a 1-wire pin. The switching device is coupled between the connector port and the processor to selectively connect the connector port to one of the detection pin or the 1-wire pin. When the peripheral device is inserted into the connector port, the processor controls the switching device to connect the connector port to the detection pin to determine whether the connected peripheral device is a 1-wire device. When the processor determines that the connected peripheral device is a 1-wire device, the processor controls the switching device to connect the connector port to the 1-wire pin and the processor executes 1-wire communication with the peripheral device via the 1-wire pin.


