VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    RAW-MIPI-IMX462M 在 RK3566(RADXA ZERO 3W)平台上尝试设置 fps_ex < 1时读回异常,想确认是否支持 1fps以下长曝光

    Scheduled Pinned Locked Moved VEYE MIPI camera
    5 Posts 2 Posters 105 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jossen
      last edited by

      设备环境:

      • 模组型号:RAW-MIPI-IMX462M
      • 平台:Radxa Zero 3E / RK35xx Debian
      • I2C bus:2
      • 当前抓图链路:/dev/video0 + v4l2-ctl,RAW10(Y10)
      • 使用脚本:mv_mipi_i2c_new.sh

      需求:

      我现在在做夜空拍摄测试,希望把帧率降到 1 fps 以下,以获得更长曝光时间。
      文档中看到 fps_ex 支持更高精度帧率,并且主要用于长曝光模式,所以想尝试设置为 0.5 fps。

      我参考文档中的长曝光思路,做了如下操作:

      1. 停止采集
      2. 设置手动曝光 / 手动增益
      3. 设置 fps_ex=0.5
      4. 再开始采集

      我的测试脚本大致如下:

      #!/bin/bash
      
      BUS=2
      WIDTH=1920
      HEIGHT=1080
      FPS_EX=${1:-0.5}
      
      echo "stop capture"
      sudo ./mv_mipi_i2c_new.sh -w imgacq 0 -b $BUS
      sudo ./mv_mipi_i2c_new.sh -w imgdir 3 -b $BUS
      
      echo "set roi"
      v4l2-ctl -d /dev/v4l-subdev2 --set-ctrl roi_x=0
      v4l2-ctl -d /dev/v4l-subdev2 --set-ctrl roi_y=0
      
      echo "set stream mode"
      v4l2-ctl -d /dev/v4l-subdev2 --set-ctrl trigger_mode=0
      
      echo "set long exposure fps_ex"
      sudo ./mv_mipi_i2c_new.sh -w fps_ex $FPS_EX -b $BUS
      sudo ./mv_mipi_i2c_new.sh -r fps_ex -b $BUS
      
      echo "set format"
      media-ctl -d /dev/media0 --set-v4l2 "\"m00_b_mvcam ${BUS}-003b\":0[fmt:Y10_1X10/${WIDTH}x${HEIGHT}]"
      
      echo "start capture"
      sudo ./mv_mipi_i2c_new.sh -w imgacq 1 -b $BUS
      
      echo "warmup stream..."
      sleep 2
      
      echo "done, fps_ex=$FPS_EX"
      

      实际输出如下:

      ./init_camera_longexp.sh 0.5
      stop capture
      w image acq is 00
      w image direction is 3
      set roi
      set stream mode
      set long exposure fps_ex
      w fps 0.5000
      r fps is -0.0001 fps
      set format
      start capture
      w image acq is 01
      warmup stream...
      done, fps_ex=0.5
      

      另外我再单独读取参数:

      sudo ./mv_mipi_i2c_new.sh -r fps -b 2
      

      返回:

      r fps is 1.00 fps
      

      再读取:

      sudo ./mv_mipi_i2c_new.sh -r minfps -b 2
      

      返回:

      r minfps @ current setting is -0.0001 fps
      

      我目前的疑问:

      1. RAW-MIPI-IMX462M 是否真正支持 fps_ex < 1 的长曝光模式?

      2. 当前 r fps is -0.0001 fps / minfps = -0.0001 fps 这种返回值,是否说明:

        • 当前模式下不支持低于 1 fps
        • 或者读回接口存在异常
        • 或者我的配置顺序不对
      3. 如果 IMX462 支持低于 1 fps,正确的配置流程应该是什么?

      4. 是否还需要额外设置某些参数,例如:

        • 特定 readmode
        • 特定 ROI
        • 先查询某个 capability
        • 或者必须使用 fps_ex 之外的方式

      补充说明:

      • 当前 fps=1 时,长曝光拍摄已经可以正常工作,并且通过增加曝光时间能采到更多星点。
      • 现在只是希望进一步确认:IMX462 在当前固件/驱动下,是否能稳定工作在 0.5 fps 或更低帧率。

      如果需要,我可以继续补充:

      • version
      • model
      • fmtcap
      • readmodecap
      • exptime_range
      • 以及实际抓图测试结果。
      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @jossen
        last edited by

        @jossen
        这个版本,由于硬件设计的限制,下面是极限值。

        Camera Model Min Framerate Max Exptime
        RAW-MIPI-IMX462M 0.12fps 8s

        另外,这个型号,需要用fps来进行配置,不要用fps_ex功能。
        fps命令,支持到0.01的精度。
        因此,你使用

        sudo ./mv_mipi_i2c_new.sh -w fps 0.12 -b 2
        

        进行参数配置。

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jossen @veye_xumm
          last edited by

          @veye_xumm
          感谢您的答复,根据您的提示和命令,我成功将fps设置到1以下,使曝光时间设置变得更高了😊

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @jossen
            last edited by

            @jossen 不客气。

            veye_xummV 1 Reply Last reply Reply Quote 0
            • veye_xummV Offline
              veye_xumm @veye_xumm
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post