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

    MV-MIPI-IMX178M+树莓派4B+OSPI5.15,官网例程不能使用

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    45 Posts 2 Posters 25.8k Views 1 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.
    • veye_xummV Offline
      veye_xumm @maifengW2023
      last edited by

      @maifengw2023
      就是这个脚本。从github上下载到你树莓派上就行了。https://github.com/veyeimaging/mvcam_raspberrypi/tree/main/mv_tools_rpi

      Questions will be answered as soon as possible, please be patient.
      如果你使用中文,请直接用中文提问。
      May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

        @veye_xumm
        d5bfaddf-ac6d-4bd3-8fc8-dbad480be1fc-image.png
        现在采用硬件外触发模式显示图像,我们是采用5Hz、20Hz的频率发射一束光,触发信号后50us出光,外触发的参数应该怎样设置?请工程师帮忙解答一下,咱们这个触发的参数应该怎样设置才能捕捉到光的图像? 非外触发模式下,我们设置frame_rate=50;偶尔能捕捉到一束光,想用外触发精准时间来捕捉,这个就可以每一个触发周期都能捕捉到。

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

          @maifengw2023 有一个比较关键的参数,你的这束光的持续时间是多长?
          摄像机曝光时间设置的什么模式? 如果是手动曝光,那是多长时间?
          IMX178是rolling shutter的,也就是说每行的起始曝光时间并不一致,所以此参数比较重要。

          Questions will be answered as soon as possible, please be patient.
          如果你使用中文,请直接用中文提问。
          May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

          M 2 Replies Last reply Reply Quote 0
          • M Offline
            maifengW2023 @veye_xumm
            last edited by maifengW2023

            @veye_xumm
            光的时间很短10ns,手动曝光的,手动曝光,曝光时长,16000us;
            cb4d01e2-419a-4f33-be3f-b93a6dfdd977-image.png
            这个是非触发模式下抓到图片,红圈下方哪个白斑就是光斑

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

              @veye_xumm
              触发模式下,10Hz ,曝光时间设置到70000us,下面是照片
              6c5703de-ccb1-4344-9f77-4273ffffb8f8-image.png

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

                @maifengw2023 不好意思,回复有些晚了。
                像您这种使用场景,建议使用global shutter的传感器。比如IMX264这种。
                因为rolling shutter的传感器曝光是逐行的。
                1e0e7045-6206-434a-9aad-b08298f46b7b-image.png
                16ms或者70ms的曝光时间并不算长,也就是对应上图黄色的长度变短的效果。

                导致的现象是,有的行能捕捉到你这个激光,有的行可能就捕捉不到。

                Questions will be answered as soon as possible, please be patient.
                如果你使用中文,请直接用中文提问。
                May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                  @veye_xumm said in MV-MIPI-IMX178M+树莓派4B+OSPI5.15,官网例程不能使用:

                  IMX264

                  曝光应该是没有问题的,非触发模式下是能捕捉到光斑的,只是现在触发时间的时序需要调整一下,我们用这个IMX178主要是用它的高量子效应,在1100波段的相应能达到10%左右;其他传感器就没有怎么高了

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

                    @maifengw2023
                    所谓高量子效应,你可能是简单化的理解了传感器的光谱响应曲线。这个曲线是sensor自己在不同波段的波长光线下的响应。你可以注意到,此曲线的最高点总是1。 不同sensor的灵敏度是不同的,因此不同的imx178的10%不见得就比imx264的7%高。
                    我在sensor手册看到一个数据供你参考:

                    • IMX178
                      76328e14-8700-4d70-92c8-3f8916d97b32-image.png
                    • IMX264

                    55ea37ff-7619-42a9-8a14-f6ff1cd43d07-image.png

                    • 测试条件
                      5cbb5561-5540-4498-9255-fa13f6d8f9fa-image.png

                    如果一定要使用IMX178,有一个手段是增加sensor的曝光时间,拉长触发信号和激光之间的间隔。保证sensor所有行都开始曝光了,还没有曝光结束的时候,激光打出来。
                    你的光斑在图像中的相对位置是固定的吗?

                    Questions will be answered as soon as possible, please be patient.
                    如果你使用中文,请直接用中文提问。
                    May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                      @veye_xumm
                      你说这个也可以试试,imx178这个是非触发模式下,能看到的,而且效果也不错,现在是外触发模式,咱们哪个触发延时设置后没有效果,不清楚问题出在哪里,我今天再做一下试验,外触发信号的延迟放到我系统处理一下看看什么效果,IMX264我也在关注一下,264是全局曝光的吧

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

                        @maifengw2023 是的IMX264是全局曝光。

                        @maifengw2023 said in MV-MIPI-IMX178M+树莓派4B+OSPI5.15,官网例程不能使用:

                        我们是采用5Hz、20Hz的频率发射一束光,触发信号后50us出光,

                        我感觉你这个50us的时间太短了。sensor绝大部分行还没有开始曝光呢,你的激光已经完成发射了。
                        这个时间可以拉长吗?

                        Questions will be answered as soon as possible, please be patient.
                        如果你使用中文,请直接用中文提问。
                        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                          @veye_xumm
                          光的时间不能拉长,曝光的时间可以拉长,这个是脉冲光,卷帘的刷新模式是怎样的?触发一次就曝光一次还是不停的循环曝光,整个探测器刷新一遍的时间是多少?

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

                            @maifengw2023 我的意思不是增加光的时间,是增加触发信号和激光发射之间的间隔。

                            Questions will be answered as soon as possible, please be patient.
                            如果你使用中文,请直接用中文提问。
                            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                              @veye_xumm
                              这个可以,没问题

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

                                @maifengw2023 你使用的分辨率,帧率说一下,我给计算一下。

                                Questions will be answered as soon as possible, please be patient.
                                如果你使用中文,请直接用中文提问。
                                May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                                  @veye_xumm
                                  分辨率是1920*1080,帧率用的10跟50;外触发是10,流模式是50

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

                                    @maifengw2023
                                    首先你所说的外触发帧率是10,应该是你理想中的触发间隔,而不是相机的帧率。相机的帧率继续使用50fps的配置是没问题的。
                                    我给你解释一下rolling shutter。
                                    按照1920*1080分辨率,50fps的配置。我计算了一下,每行的传输周期大约是18us。
                                    也就是说,收到触发信号之后,第一行开始曝光,然后延迟18us第二行开始曝光,再延迟18us后第三行开始曝光。

                                    所以我的建议还是你选用global shutter的相机进行开发。全局曝光相机的好处是,收到触发信号之后,立刻开始全局一起曝光(不设置触发延迟的情况下),到约定的曝光时间完成之后,立刻同时结束曝光。时序上可控性更好。

                                    Questions will be answered as soon as possible, please be patient.
                                    如果你使用中文,请直接用中文提问。
                                    May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                                      @veye_xumm
                                      这个178的确实用不成,所有参数都试了,效果不行,想换个264的,你们店铺不给更换,能不能帮忙说一下,我换一个264的,这个178的在手上也是浪费,用不成

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

                                        @maifengw2023 好

                                        Questions will be answered as soon as possible, please be patient.
                                        如果你使用中文,请直接用中文提问。
                                        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

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

                                          @veye_xumm
                                          感谢!

                                          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