N2HET-HTU ADC Capture Around SPI and EMIF Speed Limits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional analog to digital conversion systems using external ADCs face limitations due to slow serial peripheral interface (SPI) and external memory interface (EMIF), which can lead to bottlenecks in high-speed data transfer, especially in demanding applications like motor control, causing system unreliability and CPU intervention.

Innovation Solution

The method employs a high-end timer unit (N2HET) and High-End Timer Transfer Unit (HTU) to perform ADC data conversion and acquisition without CPU intervention, by connecting conversion start, chip select, read enable, and data pins of the ADC with N2HET pins, and using HTU requests to transfer data from N2HET RAM to CPU RAM, thereby overcoming SPI and EMIF limitations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If SPI bus is used for ADC data transfer, then device compatibility is improved, but data transfer speed deteriorates

Engineering Contradiction:
Improvedevice compatibilityVSAvoiddata transfer speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent introduces N2HET as an intermediary device between the ADC and CPU. The N2HET receives conversion requests, controls the ADC conversion process, and manages data transfer through HTU, eliminating the need for CPU intervention and enabling high-speed parallel data transfer while maintaining compatibility with external ADC devices.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the software-based SPI control mechanism with a hardware-based N2HET control system. The N2HET uses dedicated hardware circuits to generate control signals for ADC conversion and employs HTU for direct memory access, substituting the slow serial software polling method with fast parallel hardware-controlled transfer.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Speed

If EMIF is used for ADC data transfer, then data transfer speed is improved, but system complexity increases

Engineering Contradiction:
Improvedata transfer speedVSAvoidsystem complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent combines the timer function (N2HET) and data transfer function (HTU) into a single integrated system. The N2HET generates conversion requests and the HTU automatically transfers data to predetermined memory locations, merging control and data transfer operations into one coordinated hardware system that simplifies the overall architecture compared to separate EMIF and DMA configurations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The N2HET system operates autonomously without CPU intervention. It self-generates conversion requests based on timer events, controls the ADC conversion process, and automatically triggers HTU to transfer data to memory. This self-service capability reduces system complexity by eliminating the need for CPU software management of the data transfer process.

Inventive Principle:
Principle #25Self-service

3Ease of operation

If CPU is used for ADC data acquisition, then control flexibility is improved, but system reliability deteriorates

Engineering Contradiction:
Improvecontrol flexibilityVSAvoidsystem reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent extracts the ADC data acquisition function from the CPU and assigns it to the dedicated N2HET module. The N2HET handles conversion requests, ADC control, and data transfer operations independently, freeing the CPU from these time-consuming tasks and improving system reliability by reducing CPU interruptions and potential software errors.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent assigns specific functions to specialized hardware modules: N2HET for timing and control, HTU for data transfer, and CPU for high-level processing. This division of labor gives each component optimized local capabilities - the N2HET provides precise timing control while the CPU maintains flexibility for complex decision-making, achieving both reliability and control flexibility.

Inventive Principle:
Principle #3Local quality

4Loss of time

If DMA is used for EMIF data transfer, then CPU time is saved, but DMA bandwidth becomes limited

Engineering Contradiction:
ImproveCPU timeVSAvoidDMA bandwidth
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The patent uses N2HET to preliminarily prepare for data transfer by generating conversion requests in advance based on timer events. The HTU is pre-configured with source and destination addresses, and data transfer is automatically triggered when conversion completes, eliminating the need for CPU software setup and maximizing DMA bandwidth utilization through pre-planned transfer operations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10628077B2System to acquire analog to digital (ADC) data using high end timer (N2HET) and high end timer transfer unit (HTU)
Publication Date: 2020.04.21 HAMILTON SUNDSTRAND CORP
  • US10628077B2 patent drawing
  • US10628077B2 patent drawing
  • US10628077B2 patent drawing

AI summary

A method of converting and acquiring external analog data without central processing unit (CPU) intervention using high-end timer unit (N2HET) and High End Timer Transfer Unit (HTU) to overcome serial peripheral interface (SPI) and external memory interface (EMIF) limitations encountered while performing high speed transfers. The method includes connecting a conversion start pin, a chip select (CS) pin, a read enable pin, a converter busy pin and data pins of an analog to digital converter (ADC) with the pins of the N2HET. The N2HET is configured to perform ADC data conversion and acquisition by performing steps of: activating a conversion start signal on the CS pin until a deactivation of the converter busy pin; and generating an HTU request to transfer data from a data N2HET pin to a N2HET random access memory (RAM) unit via a data transfer channel and then from N2HET RAM to RAM of the CPU.