CN114885102A - Method, device and system for processing control signals of multiple vehicle-mounted cameras - Google Patents
Method, device and system for processing control signals of multiple vehicle-mounted cameras Download PDFInfo
- Publication number
- CN114885102A CN114885102A CN202210664842.1A CN202210664842A CN114885102A CN 114885102 A CN114885102 A CN 114885102A CN 202210664842 A CN202210664842 A CN 202210664842A CN 114885102 A CN114885102 A CN 114885102A
- Authority
- CN
- China
- Prior art keywords
- processor
- channel
- control signal
- cameras
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000008054 signal transmission Effects 0.000 claims description 7
- 238000003672 processing method Methods 0.000 claims 1
- 101000821257 Homo sapiens Syncoilin Proteins 0.000 description 16
- 102100021919 Syncoilin Human genes 0.000 description 16
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 230000002085 persistent effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000016776 visual perception Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 239000002355 dual-layer Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/90—Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及自动驾驶技术领域,尤其涉及一种多路车载摄像头控制信号的处理方法、装置及系统。The present application relates to the technical field of automatic driving, and in particular, to a method, device and system for processing control signals of multi-channel on-board cameras.
背景技术Background technique
相关技术中,自动驾驶车辆通常采用多路摄像头来采集自动驾驶车辆的驾驶状态和周围环境信息,多路摄像头的视频数据是自动驾驶车辆重要的信息来源。In the related art, multi-channel cameras are usually used for autonomous driving vehicles to collect the driving state and surrounding environment information of the autonomous driving vehicle, and the video data of the multi-channel cameras is an important source of information for the autonomous driving vehicle.
相关技术中,多路车载摄像头由一路CPU(Central Processing Unit,中央处理器)进行控制,当控制摄像头的CPU出现故障时,自动驾驶车辆无视觉感知输入,需要对CPU进行故障排除,才能使自动驾驶车辆重新获得视觉感知输入,而这导致自动驾驶车辆无法实时地获得多路车载摄像头的视频数据,影响自动驾驶车辆的规划决策,无法满足自动驾驶的安全要求。In the related art, the multi-channel vehicle cameras are controlled by one CPU (Central Processing Unit, central processing unit). When the CPU that controls the cameras fails, the autonomous vehicle has no visual perception input. It is necessary to troubleshoot the CPU to enable the automatic driving. The driving vehicle regains the visual perception input, which makes the autonomous vehicle unable to obtain the video data of the multi-channel in-vehicle cameras in real time, which affects the planning decision of the autonomous driving vehicle and cannot meet the safety requirements of the autonomous driving.
发明内容SUMMARY OF THE INVENTION
为解决或部分解决相关技术中存在的问题,本申请提供一种多路车载摄像头控制信号的处理方法、装置及系统,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In order to solve or partially solve the problems existing in the related art, the present application provides a method, device and system for processing control signals of multi-channel on-board cameras, which can obtain the video stream data of the multi-channel on-board cameras in real time, and reduce the consumption of camera video stream data. Obtain the delay to meet the safety requirements of autonomous driving.
本申请第一方面提供一种多路车载摄像头控制信号的处理方法,所述方法包括:A first aspect of the present application provides a method for processing multi-channel vehicle-mounted camera control signals, the method comprising:
分别获得第一路处理器的控制信号和第二路处理器的控制信号;respectively obtain the control signal of the first processor and the control signal of the second processor;
选择所述第一路处理器的控制信号或所述第二路处理器的控制信号;selecting the control signal of the first processor or the control signal of the second processor;
将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头。Input the selected control signal of the first processor or the control signal of the second processor into at least one of the multi-channel vehicle cameras, so that the first processor or the second processor The processor controls at least one camera in the multi-channel vehicle-mounted cameras.
优选的,所述分别获得第一路处理器的控制信号和第二路处理器的控制信号,包括:Preferably, obtaining the control signal of the first processor and the control signal of the second processor, respectively, includes:
通过第一I2C从控制器获得所述第一路处理器的控制信号,通过第二I2C从控制器获得所述第二路处理器的控制信号。The control signal of the first processor is obtained from the controller through the first I2C, and the control signal of the second processor is obtained from the controller through the second I2C.
优选的,选择所述第一路处理器的控制信号或所述第二路处理器的控制信号,包括:Preferably, selecting the control signal of the first processor or the control signal of the second processor includes:
通过仲裁器选择所述第一路处理器的控制信号或所述第二路处理器的控制信号。The control signal of the first processor or the control signal of the second processor is selected by an arbiter.
优选的,所述将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头,包括:Preferably, the selected control signal of the first processor or the control signal of the second processor is input to at least one of the multi-channel vehicle cameras, so that the first processor or The second-channel processor controls at least one camera of the multi-channel vehicle-mounted cameras, including:
依据选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号,通过I2C主控制器在多路解串器中选择至少一路解串器;According to the selected control signal of the first processor or the control signal of the second processor, select at least one deserializer among the multiple deserializers through the I2C master controller;
将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入选择的至少一路解串器,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头,选择的至少一路解串器与所述多路车载摄像头中的至少一路摄像头连接。Input the selected control signal of the first processor or the control signal of the second processor to the selected at least one deserializer, so that the first processor or the second processor At least one camera in the multi-channel vehicle-mounted cameras is controlled, and the selected at least one deserializer is connected to at least one camera in the multi-channel vehicle-mounted cameras.
本申请第二方面提供一种多路车载摄像头控制信号的处理装置,所述装置包括:A second aspect of the present application provides a multi-channel vehicle-mounted camera control signal processing device, the device comprising:
信号获取模块,用于分别获得第一路处理器的控制信号和第二路处理器的控制信号;a signal acquisition module for respectively acquiring the control signal of the first processor and the control signal of the second processor;
信号选择模块,用于选择所述信号获取模块获得的所述第一路处理器的控制信号或所述第二路处理器的控制信号;a signal selection module, configured to select the control signal of the first processor or the control signal of the second processor obtained by the signal acquisition module;
信号传输模块,用于将所述信号选择模块选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头。The signal transmission module is used for inputting the control signal of the first processor or the control signal of the second processor selected by the signal selection module to at least one of the multi-channel vehicle cameras, so that the The first processor or the second processor controls at least one camera in the multiple vehicle cameras.
优选的,所述信号传输模块还用于:Preferably, the signal transmission module is also used for:
依据所述信号选择模块选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号,通过I2C主控制器在多路解串器中选择至少一路解串器;According to the control signal of the first processor or the control signal of the second processor selected by the signal selection module, select at least one deserializer among the multiple deserializers through the I2C master controller;
将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入选择的至少一路解串器,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头,选择的至少一路解串器与所述多路车载摄像头中的至少一路摄像头连接。Input the selected control signal of the first processor or the control signal of the second processor to the selected at least one deserializer, so that the first processor or the second processor At least one camera in the multi-channel vehicle-mounted cameras is controlled, and the selected at least one deserializer is connected to at least one camera in the multi-channel vehicle-mounted cameras.
本申请第三方面提供一种多路车载摄像头控制信号的处理系统,所述系统包括第一路处理器、第二路处理器、如上所述的处理装置;A third aspect of the present application provides a multi-channel vehicle camera control signal processing system, the system includes a first-channel processor, a second-channel processor, and the above-mentioned processing device;
所述第一路处理器,用于向所述处理装置发送控制信号;the first processor, configured to send a control signal to the processing device;
所述第二路处理器,用于向所述处理装置发送控制信号;the second processor, configured to send a control signal to the processing device;
所述处理装置,用于分别获得第一路处理器的控制信号和第二路处理器的控制信号,选择所述第一路处理器的控制信号或所述第二路处理器的控制信号,将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头。The processing device is configured to obtain the control signal of the first processor and the control signal of the second processor respectively, and select the control signal of the first processor or the control signal of the second processor, Input the selected control signal of the first processor or the control signal of the second processor into at least one of the multi-channel vehicle cameras, so that the first processor or the second processor The processor controls at least one camera in the multi-channel vehicle-mounted cameras.
优选的,所述处理系统还包括多路解串器;Preferably, the processing system further comprises a de-multiplexer;
所述处理装置,还用于依据选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号,通过I2C主控制器在所述多路解串器中选择至少一路解串器,将选择的所述第一路处理器的控制信号或所述第二路处理器的控制信号输入选择的至少一路解串器;The processing device is further configured to select at least one channel in the demultiplexer through the I2C master controller according to the selected control signal of the first channel processor or the control signal of the second channel processor a deserializer, which inputs the selected control signal of the first processor or the control signal of the second processor into the selected at least one deserializer;
所述多路解串器,用于分别与所述处理装置和所述多路车载摄像头连接,以使所述第一路处理器或所述第二路处理器控制所述多路车载摄像头中的至少一路摄像头。The multi-channel deserializer is used to connect with the processing device and the multi-channel vehicle camera respectively, so that the first channel processor or the second channel processor controls the multi-channel vehicle camera. at least one camera.
本申请第四方面提供一种电子设备,包括:A fourth aspect of the present application provides an electronic device, comprising:
处理器;以及processor; and
存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如上所述的方法。A memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described above.
本申请第五方面提供一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如上所述的方法。A fifth aspect of the present application provides a computer-readable storage medium on which executable codes are stored, and when the executable codes are executed by a processor of an electronic device, the processor is caused to execute the above method.
本申请提供的技术方案可以包括以下有益效果:The technical solution provided by this application can include the following beneficial effects:
本申请的技术方案,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,能够及时切换另一路处理器继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the technical solution of the present application, the selected control signal of the first processor or the control signal of the second processor is input to at least one of the multi-channel vehicle cameras, so that the first processor or the second processor Control at least one camera in the multi-channel vehicle camera. The multi-channel vehicle camera is connected to two processors: the first processor and the second processor, and one processor can be selected from the two processors to control the multi-channel vehicle camera. , when one processor fails, the other processor can be switched in time to continue to control the multi-channel vehicle cameras, and the video stream data of the multi-channel vehicle cameras can be obtained in real time, reducing the acquisition delay of the camera video stream data and meeting the requirements of automatic driving. safety requirements.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
通过结合附图对本申请示例性实施方式进行更详细地描述,本申请的上述以及其它目的、特征和优势将变得更加明显,其中,在本申请示例性实施方式中,相同的参考标号通常代表相同部件。The above and other objects, features and advantages of the present application will become more apparent from the more detailed description of the exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the exemplary embodiments of the present application. same parts.
图1是本申请实施例示出的多路车载摄像头控制信号的处理系统的结构示意图;1 is a schematic structural diagram of a multi-channel vehicle-mounted camera control signal processing system shown in an embodiment of the present application;
图2是本申请实施例示出的多路车载摄像头控制信号的处理系统的另一结构示意图;FIG. 2 is another schematic structural diagram of a multi-channel vehicle-mounted camera control signal processing system shown in an embodiment of the present application;
图3是本申请实施例示出的多路车载摄像头控制信号的处理方法的流程示意图;3 is a schematic flowchart of a method for processing multi-channel vehicle-mounted camera control signals according to an embodiment of the present application;
图4是本申请实施例示出的多路车载摄像头控制信号的处理方法的另一流程示意图;4 is another schematic flowchart of a method for processing a multi-channel vehicle-mounted camera control signal according to an embodiment of the present application;
图5是本申请实施例示出的多路车载摄像头控制信号的处理装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for processing control signals of a multi-channel vehicle-mounted camera shown in an embodiment of the present application;
图6是本申请实施例示出的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
具体实施方式Detailed ways
下面将参照附图更详细地描述本申请的实施方式。虽然附图中显示了本申请的实施方式,然而应该理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of this application to those skilled in the art.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语“第一”、“第二”、“第三”等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the present application, "plurality" means two or more, unless otherwise expressly and specifically defined.
本申请实施例提供一种多路车载摄像头控制信号的处理方法,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。The embodiments of the present application provide a method for processing a control signal of a multi-channel vehicle-mounted camera, which can obtain video stream data of the multi-channel vehicle-mounted camera in real time, reduce the acquisition delay of the camera video stream data, and meet the safety requirements of automatic driving.
以下结合附图详细描述本申请实施例的技术方案。The technical solutions of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1是本申请实施例示出的多路车载摄像头控制信号的处理系统的结构示意图。FIG. 1 is a schematic structural diagram of a multi-channel vehicle camera control signal processing system according to an embodiment of the present application.
参见图1,一种多路车载摄像头控制信号的处理系统,包括第一路处理器110、第二路处理器120、处理装置130。Referring to FIG. 1 , a multi-channel vehicle camera control signal processing system includes a
第一路处理器110,用于向处理装置130发送控制信号。The
第二路处理器120,用于向处理装置130发送控制信号。The
在一实施例中,第一路处理器110和第二路处理器120能够分别通过处理装置130控制多路车载摄像头。第一路处理器110和第二路处理器120分别通过独立的连接线与处理装置130连接,分别独立向处理装置130发送控制信号。In one embodiment, the
处理装置130,用于分别获得第一路处理器110的控制信号和第二路处理器120的控制信号,选择第一路处理器110的控制信号或第二路处理器120的控制信号,将选择的第一路处理器110的控制信号或第二路处理器120的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器110或第二路处理器120控制多路车载摄像头中的至少一路摄像头。The
在一实施例中,处理装置130用于分别接收第一路处理器110的控制信号和第二路处理器120的控制信号;在第一路处理器110的控制信号和第二路处理器120的控制信号中选择其中一路处理器的控制信号,确定控制多路车载摄像头的处理器;将确定控制多路车载摄像头的处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器110和第二路处理器120中的一路处理器控制多路车载摄像头中的至少一路摄像头。In one embodiment, the
例如,处理装置130分别接收第一路处理器110的控制信号和第二路处理器120的控制信号;按设定规则在第一路处理器110的控制信号和第二路处理器120的控制信号中进行选择;如果选择的是第一路处理器110的控制信号,则将第一路处理器110的控制信号发送至多路车载摄像头中需要控制的至少一路摄像头,实现多路车载摄像头的控制。For example, the
本申请实施例示出的技术方案,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,能够及时切换另一路处理器继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the technical solution shown in the embodiments of the present application, the selected control signal of the first processor or the control signal of the second processor is input to at least one of the multi-channel on-board cameras, so that the first processor or the second The processor controls at least one camera in the multi-channel vehicle camera, and the multi-channel vehicle camera is connected to two processors: the first processor and the second processor, and one processor can be selected from the two processors to control the multiple processors. When one processor fails, the other processor can be switched to continue to control the multi-channel vehicle cameras, and the video stream data of the multi-channel vehicle cameras can be obtained in real time, reducing the acquisition delay of the camera video stream data, satisfying the Safety requirements for autonomous driving.
图2是本申请实施例示出的多路车载摄像头控制信号的处理系统的另一结构示意图。图2相对于图1更详细描述了本申请的方案。FIG. 2 is another schematic structural diagram of a multi-channel vehicle camera control signal processing system according to an embodiment of the present application. FIG. 2 depicts the scheme of the present application in more detail relative to FIG. 1 .
参见图2,一种多路车载摄像头控制信号的处理系统,包括第一路处理器110、第二路处理器120、处理装置130、多路解串器、多路电源装置。Referring to FIG. 2, a multi-channel vehicle camera control signal processing system includes a
在一实施例中,自动驾驶车辆设置有十六路车载摄像头,将十六路车载摄像头分成四组:第一组摄像头141、第二组摄像头142、第三组摄像头143、第四组摄像头144,每组包括四路摄像头;每组的四路摄像头分别与一路解串器、一路电源装置连接,四组摄像头共四路解串器、四路电源装置,第一组摄像头141的四路摄像头分别与第一路解串器151、第一路电源装置161连接,第二组摄像头142的四路摄像头分别与第二路解串器152、第二路电源装置162连接,第三组摄像头143的四路摄像头分别与第三路解串器153、第三路电源装置163连接,第四组摄像头144的四路摄像头分别与第四路解串器154、第四路电源装置164连接;第一路解串器151、第二路解串器152、第三路解串器153和第四路解串器154等四路解串器分别与处理装置130连接;第一路处理器110、第二路处理器120分别与处理装置130连接。In one embodiment, the autonomous vehicle is provided with sixteen on-board cameras, and the sixteen on-board cameras are divided into four groups: a first group of cameras 141 , a second group of cameras 142 , a third group of cameras 143 , and a fourth group of cameras 144 , each group includes four cameras; the four cameras of each group are respectively connected with one deserializer and one power supply device, the four groups of cameras have four deserializers and four power supply devices in total, and the four cameras of the first group of cameras 141 They are respectively connected with the first deserializer 151 and the first power supply 161, the four cameras of the second group of cameras 142 are respectively connected with the second deserializer 152 and the second power supply 162, and the third camera 143 The four-way cameras are respectively connected with the third-way deserializer 153 and the third-way power supply device 163, and the four-way cameras of the fourth group of cameras 144 are respectively connected with the fourth-way deserializer 154 and the fourth-way power supply device 164; Four deserializers such as one deserializer 151, second deserializer 152, third deserializer 153, and fourth deserializer 154 are respectively connected to the processing device 130; the first processor 110, The second processors 120 are respectively connected to the processing devices 130 .
在一实施例中,第一路处理器110包括第一路CPU,第二路处理器120包括第二路CPU。处理装置130采用I2C((Inter-Integrated Circuit,简称I2C)协议传输第一路CPU的控制信号和第二路CPU的控制信号。处理装置130包括FPGA(Field Programmable GateArray,现场可编程逻辑门阵列)。第一路CPU分别通过SPI(Serial Peripheral Interface,串行外设接口)接口、I2C接口与FPGA连接;第二路CPU分别通过SPI接口、I2C接口与FPGA连接。FPGA分别通过第一I2C接口、第一组SYNC(Synchronous Interface,同步接口)与第一路解串器151连接,分别通过第二I2C接口、第二组SYNC与第二路解串器152连接,分别通过第三I2C接口、第三组SYNC与第三路解串器153连接,分别通过第四I2C接口、第四组SYNC与第四路解串器154连接。FPGA通过第一I2C接口与第一路电源装置161连接,通过第二I2C接口与第二路电源装置162连接,通过第三I2C接口与第三路电源装置163连接,通过第四I2C接口与第四路电源装置164连接。第一路解串器151和第一路电源装置161通过四个接口的FAKRA连接器170与第一组摄像头141的四个摄像头连接;第二路解串器152和第二路电源装置162通过四个接口的FAKRA连接器170与第二组摄像头142的四个摄像头连接;第三路解串器153和第三路电源装置163通过四个接口的FAKRA连接器170与第三组摄像头143的四个摄像头连接;第四路解串器154和第四路电源装置164通过四个接口的FAKRA连接器170与第四组摄像头144的四个摄像头连接。电源装置监测到故障时能够输出低电平信号至FPGA,FPGA接收低电平信号,根据低电平信号通过I2C读取具体的故障类型。In one embodiment, the
在一实施例中,每组SYNC的SYNC个数与每路解串器连接的摄像头个数相同,即一路解串器连接几路摄像头,就需要几路SYNC,SYNC和摄像头的数量一致。例如,第一路解串器与第一组摄像头的四个摄像头连接,则需要四路SYNC信号,四个SYNC;如果一路解串器连接两个摄像头,则需要两路SYNC信号,两个SYNC;如果一路解串器连接一个摄像头,则需要一路SYNC信号,一个SYNC。In one embodiment, the number of SYNCs in each group of SYNCs is the same as the number of cameras connected to each deserializer, that is, if one deserializer is connected to several cameras, several SYNCs are required, and the number of SYNCs and cameras are the same. For example, if the first deserializer is connected to the four cameras of the first group of cameras, four SYNC signals and four SYNCs are required; if one deserializer is connected to two cameras, two SYNC signals and two SYNCs are required. ; If one deserializer is connected to one camera, one SYNC signal and one SYNC are required.
在一实施例中,第一路CPU和第二路CPU可以分别通过FPGA、解串器控制车载摄像头。第一路CPU的I2C主控制器将控制信号以I2C信号发送至FPGA;第二路CPU的I2C主控制器将控制信号以I2C信号发送至FPGA。FPGA通过第一I2C从控制器获得第一路CPU的控制信号(I2C信号),通过第二I2C从控制器获得第二路CPU的控制信号(I2C信号)。In one embodiment, the first CPU and the second CPU can respectively control the vehicle camera through the FPGA and the deserializer. The I2C master controller of the first CPU sends the control signal to the FPGA as an I2C signal; the I2C master controller of the second CPU sends the control signal to the FPGA as an I2C signal. The FPGA obtains the control signal (I2C signal) of the first CPU from the controller through the first I2C, and obtains the control signal (I2C signal) of the second CPU from the controller through the second I2C.
在一实施例中,FPGA包括两个slave从控制器,第一路CPU通过I2C主控制器将控制信号以I2C信号发送至FPGA,FPGA通过第一slave从控制器(第一I2C从控制器)获得第一路CPU的控制信号(I2C信号);第二路CPU通过I2C主控制器将控制信号以I2C信号发送至FPGA,FPGA通过第二slave从控制器(第二I2C从控制器)获得第二路CPU的控制信号(I2C信号)。In one embodiment, the FPGA includes two slave controllers, the first CPU sends a control signal to the FPGA as an I2C signal through the I2C master controller, and the FPGA passes the first slave slave controller (the first I2C slave controller) Obtain the control signal (I2C signal) of the first CPU; the second CPU sends the control signal to the FPGA as an I2C signal through the I2C master controller, and the FPGA obtains the first control signal through the second slave controller (second I2C slave controller). Two-way CPU control signal (I2C signal).
在一实施例中,FPGA的仲裁器根据第一路CPU的控制信号和第二路CPU的控制信号的时序,在第一路CPU的控制信号和第二路CPU的控制信号中进行选择,选择第一路CPU的控制信号或第二路CPU的控制信号,确定由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。仲裁器根据第一I2C从控制器接收的I2C信号和第二I2C从控制器接收的I2C信号的时序,选择第一I2C从控制器接收的I2C信号或第二I2C从控制器接收的I2C信号,即仲裁器允许第一路CPU的I2C主控制器或第二路CPU的I2C主控制器访问FPGA的第一I2C从控制器和第二I2C从控制器,阻塞第二路CPU的I2C主控制器或阻塞第一路CPU的I2C主控制器通过I2C从控制器访问FPGA的I2C主控制器,实现对第一I2C从控制器和第二I2C从控制器的分时访问,确定由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。In one embodiment, the arbiter of the FPGA selects from the control signal of the first CPU and the control signal of the second CPU according to the timing of the control signal of the first CPU and the control signal of the second CPU, and selects The control signal of the CPU of the first channel or the control signal of the CPU of the second channel determines that at least one camera of the multi-channel vehicle cameras is controlled by the CPU of the first channel or the CPU of the second channel. The arbiter selects the I2C signal received by the first I2C slave controller or the I2C signal received by the second I2C slave controller according to the timing of the I2C signal received by the first I2C slave controller and the I2C signal received by the second I2C slave controller, That is, the arbiter allows the I2C master controller of the first CPU or the I2C master controller of the second CPU to access the first I2C slave controller and the second I2C slave controller of the FPGA, and blocks the I2C master controller of the second CPU. Or block the I2C master controller of the first CPU to access the I2C master controller of the FPGA through the I2C slave controller, so as to realize the time-sharing access to the first I2C slave controller and the second I2C slave controller. Or the second-way CPU controls at least one camera in the multi-channel vehicle cameras.
例如,仲裁器根据第一I2C从控制器接收的I2C信号和第二I2C从控制器接收的I2C信号的时序,选择第一I2C从控制器接收的I2C信号,允许第一路CPU的I2C主控制器访问FPGA的第一I2C从控制器,阻塞第二路CPU的I2C主控制器通过I2C从控制器访问FPGA的I2C主控制器,确定由第一路CPU控制多路车载摄像头中的至少一路摄像头。For example, the arbiter selects the I2C signal received by the first I2C slave controller according to the timing of the I2C signal received by the first I2C slave controller and the I2C signal received by the second I2C slave controller, allowing the I2C master control of the first CPU The device accesses the first I2C slave controller of the FPGA, blocks the I2C master controller of the second CPU to access the I2C master controller of the FPGA through the I2C slave controller, and determines that at least one camera of the multi-channel vehicle cameras is controlled by the first CPU .
在一实施例中,FPGA依据选择的第一路CPU的控制信号或第二路CPU的控制信号,通过FPGA的I2C主控制器在多路解串器中选择至少一路解串器;将选择的第一路CPU的控制信号或第二路CPU的控制信号输入选择的至少一路解串器,以使第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头,选择的至少一路解串器与多路车载摄像头中的至少一路摄像头连接。In one embodiment, the FPGA selects at least one deserializer among the multiple deserializers through the I2C main controller of the FPGA according to the control signal of the first CPU or the control signal of the second CPU; The control signal of the first-channel CPU or the control signal of the second-channel CPU is input to the selected at least one deserializer, so that the first-channel CPU or the second-channel CPU controls at least one camera of the multi-channel vehicle-mounted cameras, and the selected at least one channel The deserializer is connected with at least one camera in the multi-channel vehicle cameras.
在一实施例中,FPGA的Master主控制器依据仲裁器选择的第一路CPU的I2C信号或第二路CPU的I2C信号,使用2根地址位在4个地址中进行选择,选择4个地址中的一个,其中4个地址包括I2C0、I2C1、I2C2和I2C3,一个地址对应一路解串器和一路电源装置;将仲裁器选择的第一路CPU的I2C信号或第二路CPU的I2C信号发送至与选择的地址对应的解串器和/或电源装置,将第一路CPU的I2C信号或第二路CPU的I2C信号输入多路车载摄像头中的至少一路摄像头,由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。In one embodiment, the master controller of the FPGA selects 4 addresses by using 2 address bits according to the I2C signal of the first CPU or the I2C signal of the second CPU selected by the arbiter, and selects 4 addresses. One of the four addresses including I2C0, I2C1, I2C2 and I2C3, and one address corresponds to one deserializer and one power supply; send the I2C signal of the first CPU or the I2C signal of the second CPU selected by the arbiter To the deserializer and/or power supply corresponding to the selected address, input the I2C signal of the first CPU or the I2C signal of the second CPU to at least one of the multi-channel vehicle cameras, and the first CPU or the second The two-way CPU controls at least one camera among the multi-channel vehicle cameras.
在一实施例中,与地址I2C0对应的是第一路解串器151和第一路电源装置161,与地址I2C1对应的是第二路解串器152和第二路电源装置162,与地址I2C2对应的是第三路解串器153和第三路电源装置163,与地址I2C3对应的是第四路解串器154和第四路电源装置164。Master主控制器依据仲裁器选择的第一路CPU的I2C信号,在4个地址中选择一个地址,如果选择4个地址中的I2C0;将第一路CPU的I2C信号通过4路SYNC信号发送至第一路解串器151,第一路解串器151将第一路CPU的I2C信号发送至第一组摄像头141的四路摄像头,实现第一路CPU对第一组摄像头141的四路摄像头的控制。In one embodiment, the address I2C0 corresponds to the
本申请实施例示出的技术方案,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,另一路处理器能够继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the technical solution shown in the embodiments of the present application, the selected control signal of the first processor or the control signal of the second processor is input to at least one of the multi-channel on-board cameras, so that the first processor or the second The processor controls at least one camera in the multi-channel vehicle camera, and the multi-channel vehicle camera is connected to two processors: the first processor and the second processor, and one processor can be selected from the two processors to control the multiple processors. When one of the processors fails, the other processor can continue to control the multi-channel vehicle cameras, and can obtain the video stream data of the multi-channel vehicle cameras in real time, reducing the acquisition delay of the camera video stream data and satisfying the automatic driving. security requirements.
进一步的,本申请实施例示出的技术方案,通过仲裁器选择第一路处理器的控制信号或第二路处理器的控制信号;多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,在一路处理器出现故障时,能够快速无缝地选择另一路处理器继续控制多路车载摄像头,降低甚至消除两路处理器控制多路车载摄像头的延迟,实现第一路处理器和第二路处理器的交叉访问,多路车载摄像头能够及时地响应第一路处理器和第二路处理器的控制,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。Further, in the technical solutions shown in the embodiments of the present application, the control signal of the first processor or the control signal of the second processor is selected by the arbiter; the multi-channel vehicle cameras are respectively connected to two processors: the first processor. With the second processor, when one processor fails, the other processor can be quickly and seamlessly selected to continue to control the multi-channel vehicle cameras, reducing or even eliminating the delay of the two-channel processors controlling the multi-channel vehicle cameras. The cross access of the processor and the second processor, the multi-channel car camera can respond to the control of the first processor and the second processor in time, and can obtain the video stream data of the multi-channel car camera in real time, reducing the camera speed. The acquisition of video stream data is delayed to meet the safety requirements of autonomous driving.
本申请还提供一种多路车载摄像头控制信号的处理方法。The present application also provides a method for processing a control signal of a multi-channel vehicle-mounted camera.
图3是本申请实施例示出的多路车载摄像头控制信号的处理方法的流程示意图。FIG. 3 is a schematic flowchart of a method for processing a multi-channel vehicle camera control signal according to an embodiment of the present application.
参见图3,一种多路车载摄像头控制信号的处理方法,包括:Referring to Fig. 3, a method for processing control signals of a multi-channel vehicle-mounted camera includes:
在步骤S310中,分别获得第一路处理器的控制信号和第二路处理器的控制信号。In step S310, the control signal of the first processor and the control signal of the second processor are obtained respectively.
在一实施例中,第一路处理器包括第一路CPU,第二路处理器包括第二路CPU。第一路CPU和第二路CPU能够分别通过FPGA控制多路车载摄像头。第一路CPU和第二路CPU分别通过独立的连接线与FPGA连接,分别独立向FPGA发送控制信号;FPGA分别接收第一路CPU的控制信号和第二路CPU的控制信号。In one embodiment, the first processor includes a first CPU, and the second processor includes a second CPU. The first CPU and the second CPU can respectively control the multi-channel vehicle cameras through the FPGA. The first CPU and the second CPU are respectively connected to the FPGA through independent connecting lines, and respectively send control signals to the FPGA independently; the FPGA receives the control signals of the first CPU and the second CPU respectively.
在步骤S320中,选择第一路处理器的控制信号或第二路处理器的控制信号。In step S320, the control signal of the first processor or the control signal of the second processor is selected.
在一实施例中,FPGA在第一路CPU的控制信号和第二路CPU的控制信号中选择其中一路CPU的控制信号,确定控制多路车载摄像头的CPU。In one embodiment, the FPGA selects one of the control signals of the CPU from the control signals of the first CPU and the control signals of the second CPU to determine the CPU that controls the multi-channel vehicle-mounted cameras.
在步骤S330中,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头。In step S330, input the selected control signal of the first processor or the control signal of the second processor into at least one of the multi-channel vehicle cameras, so that the first processor or the second processor controls At least one of the multiple vehicle cameras.
在一实施例中,FPGA将确定控制多路车载摄像头的CPU的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路CPU和第二路CPU中的一路CPU控制多路车载摄像头中的至少一路摄像头。In one embodiment, the FPGA will determine that the control signal of the CPU controlling the multi-channel vehicle-mounted camera is input to at least one camera in the multi-channel vehicle-mounted camera, so that the first-channel CPU and the second-channel CPU control the multi-channel vehicle-mounted camera. at least one of the cameras.
例如,FPGA分别接收第一路CPU的控制信号和第二路CPU的控制信号;按设定规则在第一路CPU的控制信号和第二路CPU的控制信号中进行选择;如果选择的是第一路CPU的控制信号,则将第一路CPU的控制信号发送至多路车载摄像头中需要控制的至少一路摄像头,实现多路车载摄像头的控制。For example, the FPGA receives the control signal of the first CPU and the control signal of the second CPU respectively; selects the control signal of the first CPU and the control signal of the second CPU according to the set rules; The control signal of one channel of CPU is sent to the control signal of the first channel of CPU to at least one camera to be controlled among the multi-channel vehicle-mounted cameras, so as to realize the control of the multi-channel vehicle-mounted cameras.
本申请实施例示出的多路车载摄像头控制信号的处理方法,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,另一路处理器能够继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the method for processing the control signal of the multi-channel vehicle-mounted camera shown in the embodiment of the present application, the selected control signal of the first-channel processor or the control signal of the second-channel processor is input into at least one camera of the multi-channel vehicle-mounted cameras, so that the first One processor or the second processor controls at least one camera in the multi-channel vehicle camera, and the multi-channel vehicle camera is connected to two processors: the first processor and the second processor, which can be used in the two processors. One processor is selected to control the multi-channel car cameras. When one processor fails, the other processor can continue to control the multi-channel car cameras, and can obtain the video stream data of the multi-channel car cameras in real time, reducing the camera video stream data. Obtain the delay to meet the safety requirements of autonomous driving.
图4是本申请实施例示出的多路车载摄像头控制信号的处理方法的另一流程示意图。图4相对于图3更详细描述了本申请的方案。FIG. 4 is another schematic flowchart of a method for processing a multi-channel vehicle camera control signal according to an embodiment of the present application. FIG. 4 describes the scheme of the present application in more detail with respect to FIG. 3 .
参见图2和图4,一种多路车载摄像头控制信号的处理方法,包括:Referring to FIG. 2 and FIG. 4 , a method for processing control signals of a multi-channel vehicle-mounted camera includes:
在步骤S410中,通过第一I2C从控制器获得第一路处理器的控制信号,通过第二I2C从控制器获得第二路处理器的控制信号。In step S410, the control signal of the first processor is obtained from the controller through the first I2C, and the control signal of the second processor is obtained from the controller through the second I2C.
在一实施例中,自动驾驶车辆设置有十六路车载摄像头,将十六路车载摄像头分成四组:第一组摄像头141、第二组摄像头142、第三组摄像头143、第四组摄像头144,每组包括四路摄像头;每组的四路摄像头分别与一路解串器、一路电源装置连接,四组摄像头共四路解串器、四路电源装置,第一组摄像头141的四路摄像头分别与第一路解串器151、第一路电源装置161连接,第二组摄像头142的四路摄像头分别与第二路解串器152、第二路电源装置162连接,第三组摄像头143的四路摄像头分别与第三路解串器153、第三路电源装置163连接,第四组摄像头144的四路摄像头分别与第四路解串器154、第四路电源装置164连接;第一路解串器151、第二路解串器152、第三路解串器153和第四路解串器154等四路解串器分别与处理装置130连接;第一路处理器110、第二路处理器120分别与处理装置130连接。In one embodiment, the autonomous vehicle is provided with sixteen on-board cameras, and the sixteen on-board cameras are divided into four groups: a first group of cameras 141 , a second group of cameras 142 , a third group of cameras 143 , and a fourth group of cameras 144 , each group includes four cameras; the four cameras of each group are respectively connected with one deserializer and one power supply device, the four groups of cameras have four deserializers and four power supply devices in total, and the four cameras of the first group of cameras 141 They are respectively connected with the first deserializer 151 and the first power supply 161, the four cameras of the second group of cameras 142 are respectively connected with the second deserializer 152 and the second power supply 162, and the third camera 143 The four-way cameras are respectively connected with the third-way deserializer 153 and the third-way power supply device 163, and the four-way cameras of the fourth group of cameras 144 are respectively connected with the fourth-way deserializer 154 and the fourth-way power supply device 164; Four deserializers such as one deserializer 151, second deserializer 152, third deserializer 153, and fourth deserializer 154 are respectively connected to the processing device 130; the first processor 110, The second processors 120 are respectively connected to the processing devices 130 .
在一实施例中,第一路处理器110包括第一路CPU,第二路处理器120包括第二路CPU。处理装置130采用I2C协议传输第一路CPU的控制信号和第二路CPU的控制信号。处理装置130包括FPGA。第一路CPU和第二路CPU可以分别通过FPGA、解串器控制车载摄像头。第一路CPU的I2C主控制器将控制信号以I2C信号发送至FPGA;第二路CPU的I2C主控制器将控制信号以I2C信号发送至FPGA。FPGA通过第一I2C从控制器获得第一路CPU的控制信号(I2C信号),通过第二I2C从控制器获得第二路CPU的控制信号(I2C信号)。In one embodiment, the
在步骤S420中,通过仲裁器选择第一路处理器的控制信号或第二路处理器的控制信号。In step S420, the control signal of the first processor or the control signal of the second processor is selected by the arbiter.
在一实施例中,FPGA的仲裁器根据第一路CPU的控制信号和第二路CPU的控制信号的时序,在第一路CPU的控制信号和第二路CPU的控制信号中进行选择,选择第一路CPU的控制信号或第二路CPU的控制信号,确定由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。仲裁器根据第一I2C从控制器接收的I2C信号和第二I2C从控制器接收的I2C信号的时序,选择第一I2C从控制器接收的I2C信号或第二I2C从控制器接收的I2C信号,即仲裁器允许第一路CPU的I2C主控制器或第二路CPU的I2C主控制器访问FPGA的第一I2C从控制器和第二I2C从控制器,阻塞第二路CPU的I2C主控制器或阻塞第一路CPU的I2C主控制器通过I2C从控制器访问FPGA的I2C主控制器,实现对第一I2C从控制器和第二I2C从控制器的分时访问,确定由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。In one embodiment, the arbiter of the FPGA selects from the control signal of the first CPU and the control signal of the second CPU according to the timing of the control signal of the first CPU and the control signal of the second CPU, and selects The control signal of the CPU of the first channel or the control signal of the CPU of the second channel determines that at least one camera of the multi-channel vehicle cameras is controlled by the CPU of the first channel or the CPU of the second channel. The arbiter selects the I2C signal received by the first I2C slave controller or the I2C signal received by the second I2C slave controller according to the timing of the I2C signal received by the first I2C slave controller and the I2C signal received by the second I2C slave controller, That is, the arbiter allows the I2C master controller of the first CPU or the I2C master controller of the second CPU to access the first I2C slave controller and the second I2C slave controller of the FPGA, and blocks the I2C master controller of the second CPU. Or block the I2C master controller of the first CPU to access the I2C master controller of the FPGA through the I2C slave controller, so as to realize the time-sharing access to the first I2C slave controller and the second I2C slave controller. Or the second-way CPU controls at least one camera in the multi-channel vehicle cameras.
在步骤S430中,依据选择的第一路处理器的控制信号或第二路处理器的控制信号,通过I2C主控制器在多路解串器中选择至少一路解串器。In step S430, according to the selected control signal of the first processor or the control signal of the second processor, select at least one deserializer among the multiple deserializers through the I2C master controller.
在一实施例中,FPGA的Master主控制器依据仲裁器选择的第一路CPU的I2C信号或第二路CPU的I2C信号,使用2根地址位在4个地址中进行选择,选择4个地址中的一个,其中4个地址包括I2C0、I2C1、I2C2和I2C3,一个地址对应一路解串器和一路电源装置。In one embodiment, the master controller of the FPGA selects 4 addresses by using 2 address bits according to the I2C signal of the first CPU or the I2C signal of the second CPU selected by the arbiter, and selects 4 addresses. One of the four addresses includes I2C0, I2C1, I2C2 and I2C3, and one address corresponds to one deserializer and one power supply.
在步骤S440中,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入选择的至少一路解串器,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,选择的至少一路解串器与多路车载摄像头中的至少一路摄像头连接。In step S440, the control signal of the selected first processor or the control signal of the second processor is input to the selected at least one deserializer, so that the first processor or the second processor controls the multiplexer At least one camera in the on-board cameras, and the selected at least one deserializer is connected to at least one camera in the multi-channel on-board cameras.
在一实施例中,FPGA的Master主控制器将仲裁器选择的第一路CPU的I2C信号或第二路CPU的I2C信号发送至与选择的地址对应的解串器和/或电源装置,将第一路CPU的I2C信号或第二路CPU的I2C信号输入多路车载摄像头中的至少一路摄像头,由第一路CPU或第二路CPU控制多路车载摄像头中的至少一路摄像头。In one embodiment, the master controller of the FPGA sends the I2C signal of the first CPU or the I2C signal of the second CPU selected by the arbiter to the deserializer and/or power supply corresponding to the selected address, The I2C signal of the first CPU or the I2C signal of the second CPU is input to at least one camera of the multi-channel vehicle cameras, and the first CPU or the second CPU controls at least one camera of the multi-channel vehicle cameras.
在一实施例中,与地址I2C0对应的是第一路解串器151和第一路电源装置161,与地址I2C1对应的是第二路解串器152和第二路电源装置162,与地址I2C2对应的是第三路解串器153和第三路电源装置163,与地址I2C3对应的是第四路解串器154和第四路电源装置164。Master主控制器依据仲裁器选择的第一路CPU的I2C信号,在4个地址中选择一个地址,如果选择4个地址中的I2C0;将第一路CPU的I2C信号通过4路SYNC信号发送至第一路解串器151,第一路解串器151将第一路CPU的I2C信号发送至第一组摄像头141的四路摄像头,实现第一路CPU对第一组摄像头141的四路摄像头的控制。In one embodiment, the address I2C0 corresponds to the
本申请实施例示出的多路车载摄像头控制信号的处理方法,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,另一路处理器能够继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the method for processing the control signal of the multi-channel vehicle-mounted camera shown in the embodiment of the present application, the selected control signal of the first-channel processor or the control signal of the second-channel processor is input into at least one camera of the multi-channel vehicle-mounted cameras, so that the first One processor or the second processor controls at least one camera in the multi-channel vehicle camera, and the multi-channel vehicle camera is connected to two processors: the first processor and the second processor, which can be used in the two processors. One processor is selected to control the multi-channel car cameras. When one processor fails, the other processor can continue to control the multi-channel car cameras, and can obtain the video stream data of the multi-channel car cameras in real time, reducing the camera video stream data. Obtain the delay to meet the safety requirements of autonomous driving.
进一步的,本申请实施例示出的多路车载摄像头控制信号的处理方法,通过仲裁器选择第一路处理器的控制信号或第二路处理器的控制信号;多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,在一路处理器出现故障时,能够快速无缝地选择另一路处理器继续控制多路车载摄像头,降低甚至消除两路处理器控制多路车载摄像头的延迟,实现第一路处理器和第二路处理器的交叉访问,多路车载摄像头能够及时地响应第一路处理器和第二路处理器的控制,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。Further, in the method for processing multi-channel vehicle-mounted camera control signals shown in the embodiments of the present application, the control signal of the first processor or the control signal of the second processor is selected by the arbiter; the multi-channel vehicle cameras are respectively connected to two channels for processing Controller: The first processor and the second processor, when one processor fails, the other processor can be quickly and seamlessly selected to continue to control the multi-channel vehicle cameras, reducing or even eliminating the need for two processors to control the multi-channel vehicle cameras. The delay of the camera realizes the cross access of the first processor and the second processor. The multi-channel vehicle camera can respond to the control of the first processor and the second processor in time, and can obtain the multi-channel vehicle camera in real time. The video stream data of the camera reduces the acquisition delay of the video stream data of the camera and meets the safety requirements of autonomous driving.
与前述应用功能实现方法实施例相对应,本申请还提供了一种多路车载摄像头控制信号的处理装置、电子设备及相应的实施例。Corresponding to the foregoing application function implementation method embodiments, the present application further provides a multi-channel vehicle camera control signal processing apparatus, electronic equipment, and corresponding embodiments.
图5是本申请实施例示出的多路车载摄像头控制信号的处理装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for processing a control signal of a multi-channel vehicle camera according to an embodiment of the present application.
参见图5,一种多路车载摄像头控制信号的处理装置,包括信号获取模块510、信号选择模块520、信号传输模块530。Referring to FIG. 5 , a multi-channel vehicle camera control signal processing device includes a signal acquisition module 510 , a signal selection module 520 , and a signal transmission module 530 .
信号获取模块510,用于分别获得第一路处理器的控制信号和第二路处理器的控制信号。The signal obtaining module 510 is configured to obtain the control signal of the first processor and the control signal of the second processor respectively.
信号选择模块520,用于选择信号获取模块510获得的第一路处理器的控制信号或第二路处理器的控制信号。The signal selection module 520 is configured to select the control signal of the first processor or the control signal of the second processor obtained by the signal acquisition module 510 .
信号传输模块530,用于将信号选择模块520选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头。The signal transmission module 530 is used to input the control signal of the first processor or the control signal of the second processor selected by the signal selection module 520 into at least one of the multi-channel vehicle cameras, so that the first processor or The second-channel processor controls at least one camera in the multi-channel vehicle cameras.
本申请实施例示出的技术方案,将选择的第一路处理器的控制信号或第二路处理器的控制信号输入多路车载摄像头中的至少一路摄像头,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,多路车载摄像头分别连接两路处理器:第一路处理器和第二路处理器,能够在两路处理器中选择一路处理器控制多路车载摄像头,在一路处理器出现故障时,另一路处理器能够继续控制多路车载摄像头,能够实时地获得多路车载摄像头的视频流数据,降低摄像头视频流数据的获取延时,满足自动驾驶的安全要求。In the technical solution shown in the embodiments of the present application, the selected control signal of the first processor or the control signal of the second processor is input to at least one of the multi-channel on-board cameras, so that the first processor or the second The processor controls at least one camera in the multi-channel vehicle camera, and the multi-channel vehicle camera is connected to two processors: the first processor and the second processor, and one processor can be selected from the two processors to control the multiple processors. When one of the processors fails, the other processor can continue to control the multi-channel vehicle cameras, and can obtain the video stream data of the multi-channel vehicle cameras in real time, reducing the acquisition delay of the camera video stream data and satisfying the automatic driving. security requirements.
在一实施例中,信号获取模块510,还用于通过第一I2C从控制器获得第一路处理器的控制信号,通过第二I2C从控制器获得第二路处理器的控制信号。In one embodiment, the signal obtaining module 510 is further configured to obtain the control signal of the first processor from the controller through the first I2C, and obtain the control signal of the second processor through the second I2C from the controller.
信号选择模块520,还用于通过仲裁器选择信号获取模块510获得的第一路处理器的控制信号或第二路处理器的控制信号。The signal selection module 520 is further configured to select the control signal of the first processor or the control signal of the second processor obtained by the signal acquisition module 510 through the arbiter.
信号传输模块530,还用于依据信号选择模块520选择的第一路处理器的控制信号或第二路处理器的控制信号,通过I2C主控制器在多路解串器中选择至少一路解串器;将选择的第一路处理器的控制信号或第二路处理器的控制信号输入选择的至少一路解串器,以使第一路处理器或第二路处理器控制多路车载摄像头中的至少一路摄像头,选择的至少一路解串器与多路车载摄像头中的至少一路摄像头连接。The signal transmission module 530 is further configured to select at least one channel for deserialization in the multi-channel deserializer through the I2C master controller according to the control signal of the first channel processor or the control signal of the second channel processor selected by the signal selection module 520 input the control signal of the selected first-channel processor or the control signal of the second-channel processor into the selected at least one-channel deserializer, so that the first-channel processor or the second-channel processor can control the multi-channel vehicle camera At least one camera of the selected at least one deserializer is connected to at least one camera of the multi-channel vehicle-mounted cameras.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不再做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be described in detail here.
图6是本申请实施例示出的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device shown in an embodiment of the present application.
参见图6,电子设备600包括存储器610和处理器620。Referring to FIG. 6 , an electronic device 600 includes a memory 610 and a processor 620 .
处理器620可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 620 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-available processor Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
存储器610可以包括各种类型的存储单元,例如系统内存、只读存储器(ROM)和永久存储装置。其中,ROM可以存储处理器620或者计算机的其他模块需要的静态数据或者指令。永久存储装置可以是可读写的存储装置。永久存储装置可以是即使计算机断电后也不会失去存储的指令和数据的非易失性存储设备。在一些实施方式中,永久性存储装置采用大容量存储装置(例如磁或光盘、闪存)作为永久存储装置。另外一些实施方式中,永久性存储装置可以是可移除的存储设备(例如软盘、光驱)。系统内存可以是可读写存储设备或者易失性可读写存储设备,例如动态随机访问内存。系统内存可以存储一些或者所有处理器在运行时需要的指令和数据。此外,存储器610可以包括任意计算机可读存储媒介的组合,包括各种类型的半导体存储芯片(例如DRAM,SRAM,SDRAM,闪存,可编程只读存储器),磁盘和/或光盘也可以采用。在一些实施方式中,存储器610可以包括可读和/或写的可移除的存储设备,例如激光唱片(CD)、只读数字多功能光盘(例如DVD-ROM,双层DVD-ROM)、只读蓝光光盘、超密度光盘、闪存卡(例如SD卡、min SD卡、Micro-SD卡等)、磁性软盘等。计算机可读存储媒介不包含载波和通过无线或有线传输的瞬间电子信号。Memory 610 may include various types of storage units, such as system memory, read only memory (ROM), and persistent storage. The ROM may store static data or instructions required by the processor 620 or other modules of the computer. Persistent storage devices may be readable and writable storage devices. Permanent storage may be a non-volatile storage device that does not lose stored instructions and data even if the computer is powered off. In some embodiments, persistent storage devices employ mass storage devices (eg, magnetic or optical disks, flash memory) as persistent storage devices. In other embodiments, persistent storage may be a removable storage device (eg, a floppy disk, an optical drive). System memory can be a readable and writable storage device or a volatile readable and writable storage device, such as dynamic random access memory. System memory can store some or all of the instructions and data that the processor needs at runtime. Additionally, memory 610 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (eg, DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and magnetic and/or optical disks may also be employed. In some embodiments, memory 610 may include a removable storage device that is readable and/or writable, such as a compact disc (CD), a read-only digital versatile disc (eg, DVD-ROM, dual-layer DVD-ROM), Read-only Blu-ray Disc, Ultra-Density Disc, Flash Card (eg SD Card, Min SD Card, Micro-SD Card, etc.), Magnetic Floppy Disk, etc. Computer readable storage media do not contain carrier waves and transient electronic signals transmitted over wireless or wire.
存储器610上存储有可执行代码,当可执行代码被处理器620处理时,可以使处理器620执行上文述及的方法中的部分或全部。Executable codes are stored on the memory 610, and when the executable codes are processed by the processor 620, the processor 620 can be caused to execute some or all of the above-mentioned methods.
此外,根据本申请的方法还可以实现为一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括用于执行本申请的上述方法中部分或全部步骤的计算机程序代码指令。Furthermore, the method according to the present application can also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps in the above method of the present application.
或者,本申请还可以实施为一种计算机可读存储介质(或非暂时性机器可读存储介质或机器可读存储介质),其上存储有可执行代码(或计算机程序或计算机指令代码),当可执行代码(或计算机程序或计算机指令代码)被电子设备(或服务器等)的处理器执行时,使处理器执行根据本申请的上述方法的各个步骤的部分或全部。Alternatively, the present application can also be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) on which executable codes (or computer programs or computer instruction codes) are stored, When the executable code (or computer program or computer instruction code) is executed by the processor of the electronic device (or server, etc.), the processor is caused to perform some or all of the steps of the above method according to the present application.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施例。Various embodiments of the present application have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664842.1A CN114885102A (en) | 2022-06-14 | 2022-06-14 | Method, device and system for processing control signals of multiple vehicle-mounted cameras |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664842.1A CN114885102A (en) | 2022-06-14 | 2022-06-14 | Method, device and system for processing control signals of multiple vehicle-mounted cameras |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114885102A true CN114885102A (en) | 2022-08-09 |
Family
ID=82682508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210664842.1A Pending CN114885102A (en) | 2022-06-14 | 2022-06-14 | Method, device and system for processing control signals of multiple vehicle-mounted cameras |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114885102A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108819881A (en) * | 2018-06-05 | 2018-11-16 | 武汉环宇智行科技有限公司 | A kind of intelligent driving control system |
US20180370540A1 (en) * | 2017-06-23 | 2018-12-27 | Nvidia Corporation | Method of using a single controller (ecu) for a fault-tolerant/fail-operational self-driving system |
CN214504177U (en) * | 2021-04-20 | 2021-10-26 | 新驱动重庆智能汽车有限公司 | Automobile driving control device, equipment and automobile equipment |
CN214959849U (en) * | 2021-03-25 | 2021-11-30 | 长沙智能驾驶研究院有限公司 | Image processing system and vehicle |
-
2022
- 2022-06-14 CN CN202210664842.1A patent/CN114885102A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180370540A1 (en) * | 2017-06-23 | 2018-12-27 | Nvidia Corporation | Method of using a single controller (ecu) for a fault-tolerant/fail-operational self-driving system |
CN108819881A (en) * | 2018-06-05 | 2018-11-16 | 武汉环宇智行科技有限公司 | A kind of intelligent driving control system |
CN214959849U (en) * | 2021-03-25 | 2021-11-30 | 长沙智能驾驶研究院有限公司 | Image processing system and vehicle |
CN214504177U (en) * | 2021-04-20 | 2021-10-26 | 新驱动重庆智能汽车有限公司 | Automobile driving control device, equipment and automobile equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2006318480A (en) | Memory system and method for accessing a memory chip of a memory system | |
US20140019657A1 (en) | Dividing a port into smaller ports | |
US20070150687A1 (en) | Memory system with both single and consolidated commands | |
CN102298508B (en) | Stream-based method and device for prereading solid state disk | |
JP4282394B2 (en) | System and method for establishing peer-to-peer communication | |
WO2006124300A1 (en) | Identical chips with different operations in a system | |
WO2017128905A1 (en) | Communication system using single host and multiple ring topology most networks | |
CN106407145A (en) | An interface access method and system and a memory card | |
WO2007078632A2 (en) | Multiported memory with ports mapped to bank sets | |
US20130159593A1 (en) | Apparatus, system, and method for analyzing and managing data flow of interface apapratuses | |
CN101021817A (en) | Usb host system, AV data reproduction device, and AV data recording device | |
CN114885102A (en) | Method, device and system for processing control signals of multiple vehicle-mounted cameras | |
RU2417414C2 (en) | Auxiliary recording over address channel | |
CN103699504B (en) | DDR physical layer data processing methods, device and DDR physical layers | |
CN105744120A (en) | High speed data collection card and data collection method | |
US20230153262A1 (en) | Command transforming system and command transforming method | |
CN112612733B (en) | A device and method for multiple machines to share RAID function | |
US20060200606A1 (en) | Bus connection method and apparatus | |
US6976143B2 (en) | Systems and methods for controlling communication with nonvolatile memory devices | |
US7254658B2 (en) | Write transaction interleaving | |
US7617330B2 (en) | System and method for preloading a bus controller with command schedule | |
US9336174B1 (en) | Dynamic interface model | |
CN114885103A (en) | Method and device for processing video data of multiple paths of vehicle-mounted cameras | |
CN101390066B (en) | Auxiliary writes over address channel | |
JP2001320390A (en) | Device and method for controlling serial bus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |