This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB960-Q1: Camera's Maximum frame rate calculation question

Part Number: DS90UB960-Q1

Hi,

    I have 4x1080p YUV2 camera attatched to on DS90UB960,and output via one CSI-2 port.

1.according to CSI-2 port speed, I have calculations as follow:

total data rates it can transmitted:   4x1.6Gbps = 6.4G bps

considering blank time of MIPI, we use 6.4G bps x 0.75= 4.8 Gbps for raw image bits.

2.Regarded 4x camera, we have

total data rates:      4 x 1920 x 1080 x 16 x Camera Framerate

 so we have maximum Camera framerate  = 36.16 fps

     

     I have two questions here,

(1) If my calculations is right?   

(2) Is it OK for DS90UB960 paired with 4x1080p YUV 30fps camera? 

(3)In datasheet, DS90UB960 Supports 2-Megapixel Sensors With Full HD 1080p Resolution at 60-Hz Frame Rate.

Is this (1080p 60fps) real maximum capacity of DS90UB960 instead of 6.4G bps (this datarate will be 1080p  YUV2 120fps)

  • Hello Merlyn,

    Please see 960 datasheet section 7.4.20 which describes how to do a detailed calculation of CSI-2 aggregation bandwidth. The calculation is a little bit more complex than what was stated your question because an aggregated CSI-2 output carrying multiple virtual channels has additional overhead from packet boundary separation which needs to be considered. The method would be to do this:

    Calculate Input bandwidth sum for all 4 sensors which requires knowledge of the horizontal active pixels per line, color depth, FPS, and total vertical lines per frame (including vertical blanking):

    Input BW = (Hactive * bits per pixel)/Line time

    Where Line time = 1/(FPS*Vertical Total Lines)

    ex. 

    Sensor active = 1920x1080

    Sensor total (including blanking) = 2100x1296

    Bpp = 16

    FPS = 36.16

    Input BW = ~1.44Gbps per camera

    Sum of Input BW = ~5.76Gbps

     


    Next you must calculate the output bandwidth with Equation 1 or Equation 2 in the 960 datasheet. For example:

    Forwarding mode = Round Robin 

    NCSI Lanes = 4

    fCSI = 1.6GHz 

    Clock mode = Continuous 

    tCSI_Overhead = 0.76us

    Output BW = ~5.53Gbps


    So in this example aggregating these 4 cameras would probably not be viable in round robin mode, but may be feasible in synchronized line-concatenated mode (since the output bandwidth will be higher). To get accurate calculations you need the Vtotal or line time for each sensor. 

    Also please note that these calculations for output BW only hold when the input sensors are identical to eachother (same video parameters). If the sensors have different line lengths, number of pixels per line, frame rate, etc. then the output BW calculation becomes much more complex. We are working on a training video for this topic later in the year. 

    Best Regards,

    Casey 

  • Thank you for your help, and I think  an excel file to do these calculations may be eazier to use.