diff --git a/docs_src/docs/api_guide/components/current_sense/current_sense.md b/docs_src/docs/api_guide/components/current_sense/current_sense.md index 164040d..75dd5ea 100644 --- a/docs_src/docs/api_guide/components/current_sense/current_sense.md +++ b/docs_src/docs/api_guide/components/current_sense/current_sense.md @@ -13,16 +13,22 @@ ICSS %SDFM is a sigma delta interface for phase current measurement in high perf - Normal current (NC) for data read: SINC3 filter with OSR 16 to 256 - Overcurrent (OC) for comparator: free running SINC3 filter with OSR 16 to 256 - Event generation(ARM interrupt for data read from DMEM, GPIO toggle for high and low thresholds) - - High and Low threshold comparator + - Single level High and Low threshold comparator - Trigger based normal current sampling - Double update: Double normal current sampling per EPWM cycle - %SDFM Sync with EPWM + - Fast detect + - PWM Trip generation for overcurrent ## Features Not Supported - Zero cross comparator -- OSR below 16 - Clock phase compensation -- Fast detect and trip generation +- Multi-level threshold + +## System design considerations +### Over Sample Ratio +- OSR Below 16 at SD_CLK greater than 20MHz. The normal current task takes 300ns to 400ns to complete and its execution is based on CMP event and task manager. When we configure OSR below 16 for greater than 20 MHz SD clock, the NC will not be able to complete its processing until the next sample is ready, this will cause the NC samples to be inaccurate. + ## ICSS SDFM Design \subpage SDFM_DESIGN explains the design in detail. diff --git a/docs_src/docs/api_guide/components/current_sense/sdfm_design.md b/docs_src/docs/api_guide/components/current_sense/sdfm_design.md index 937e247..314cb9a 100644 --- a/docs_src/docs/api_guide/components/current_sense/sdfm_design.md +++ b/docs_src/docs/api_guide/components/current_sense/sdfm_design.md @@ -103,6 +103,10 @@ The firmware initiates normal current sampling at the sample trigger point in ea Here ONE_SAMPLE_TIME is: OSR*(1/SD_CLK) \image html SDFM_epwm_sync_and_trigger_timing.png "Sync with EPWM and trigger timing" +#### Fast Detect and Trip generation +The Fast Detect block is used for fast over current detection, it comparatively measures the number of zeros and ones presented in a programmable sliding window of 4 to 32 bits. It starts the comparison after the first 32 sample clocks. Based on the configured zero max/min count limits, it compares zero counter with these limits. If zero counter crosses limit then it sends a error signal to respective PWM Trip zone block. +PWM TZ block receives this error signal and generates a Trip on TZ_OUT pin. + #### AM64x/AM243x EVM Pin-Multiplexing
| PIN_PRG0_PRU0_GPO16 | (J1.7)Comman %SDFM clock input pin | |
| PWM0_TZ_OUT + | PIN_PRG0_PRU0_GPO19 + | (J5.45)TZ output pin for Axis-1 + |