Generating commands locally to vehicle sensors
By using Ethernet transceivers and local processors in vehicles to independently generate control commands, the problem of extended response time and network load in sensor control is solved, efficient and low-power sensor control is achieved, and the performance of the vehicle is improved. and security.
Patent Information
- Application Number
- CN202380019744.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-15
- Filing Date
- 2023-02-14
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technologies have problems with extended response time, network overload, and increased power consumption when controlling sensors in vehicles, especially in communication between sensors and remote controllers, resulting in poor overall performance.
A device that uses an Ethernet transceiver, sensor interface, and local processor to generate control commands independently from the remote processor, reduce Ethernet network load, and power down during predefined periods to save energy, enabling efficient local sensors control.
Significantly reduces response time, reduces network load and power consumption, and improves sensor control efficiency and safety in vehicles, especially in driving automation applications.
Smart Images

Figure CN118633294A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 63 / 310,188, filed on February 15, 2022, the disclosure of which is incorporated herein by reference. Technical Field
[0003] The present disclosure relates generally to communication networks, and more particularly to methods and systems for locally controlling sensors in a vehicle via a sensor bridge. Background Art
[0004] Various systems and applications, such as automotive systems and industrial control systems, employ sensors connected to Ethernet networks. The sensors send the data they acquire and receive control commands over the network.
[0005] The above description is presented as a general overview of the relevant art in this field and should not be construed as an admission that any of the information it contains constitutes prior art against the present patent application. Summary of the invention
[0006] Embodiments described herein provide an apparatus for controlling an imaging sensor in a vehicle, the apparatus comprising an Ethernet transceiver, a sensor interface, and a local processor. The Ethernet transceiver is configured to communicate with a remote processor via an in-vehicle Ethernet network. The sensor interface is configured to communicate with the imaging sensor. A local processor located locally in the apparatus and remote from the remote processor is configured to receive image data and auxiliary data associated with the image data from the imaging sensor via the sensor interface, and to send at least the image data to the remote processor via the Ethernet transceiver, to generate control commands based on the auxiliary data locally and independently of the remote processor to control operational aspects of the imaging sensor, and to send control commands to the imaging sensor via the sensor interface.
[0007] In some embodiments, the local processor is configured to generate at least some of the control commands locally, instead of the remote processor, so as to reduce the traffic load in the Ethernet network, which is created by the remote processor sending the control commands for controlling the sensor through the Ethernet network. In other embodiments, the transceiver includes a transmitter and a receiver, and the local processor is configured to: in response to detecting that no commands are received from the remote processor within a predefined period, power off the receiver. In other embodiments, the imaging sensor includes a camera, the camera is configured to: generate image data by capturing individual image frames and provide auxiliary data for the individual image frames, and the local processor is configured to generate the control commands locally by processing the auxiliary data for the individual image frames.
[0008] In an embodiment, the individual image frames include a plurality of image pixels, the auxiliary data includes a histogram of brightness levels associated with the image pixels of the given image frame, and the local processor is configured to generate the control command locally by processing the histogram of the given image frame. In another embodiment, the local processor is configured to generate the control command to control the quality level of the individual image frames by controlling one or more operational aspects of the camera selected from a list including: exposure time, contrast, color balance, aperture, and sensor sensitivity. In other embodiments, the local processor is configured to provide the given control command locally to the sensor with a first delay that is shorter than a second delay incurred when the given control command is remotely provided by the remote processor.
[0009] In some embodiments, the local processor is configured to selectively inform the remote processor of the control command generated by the local processor. In other embodiments, the local processor is configured to receive from the remote processor a given control command that the remote processor has generated based on one or both of the image data and the auxiliary data, and send the received given control command to the imaging sensor. In other embodiments, the sensor includes a camera that generates image data by capturing a plurality of image frames, and the given control command includes a focus command for controlling a focus setting of the camera, and the remote processor generates the focus command by analyzing two or more of the image frames.
[0010] According to the embodiments described herein, a method for controlling an imaging sensor in a vehicle is additionally provided, the method comprising, in a device that communicates locally with the imaging sensor via a sensor interface and locally with a remote processor via an in-vehicle Ethernet network using an Ethernet transceiver, receiving image data and auxiliary data related to the image data from the imaging sensor via the sensor interface, and sending at least the image data to the remote processor via the Ethernet network using the Ethernet transceiver. Based on the auxiliary data, control commands are generated locally in the device and independently of the remote processor to control operational aspects of the imaging sensor. The control commands are sent to the imaging sensor via the sensor interface.
[0011] The present disclosure will be more fully understood through the following detailed description of embodiments of the present disclosure taken in conjunction with the accompanying drawings, in which: BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a block diagram schematically illustrating an automotive Ethernet communication system with local sensor control according to embodiments described herein;
[0013] Figure 2is a block diagram schematically illustrating a communication system according to embodiments described herein, depicting implementation details of a central processor and a sensor bridge;
[0014] Figure 3 is a flow chart schematically illustrating a method for locally generating commands for controlling a camera in a vehicle according to embodiments described herein; and
[0015] Figure 4 is a flow chart schematically illustrating a method for relaying commands generated by a remote controller for controlling a camera in a vehicle according to embodiments described herein. DETAILED DESCRIPTION
[0016] In systems that involve communicating with sensors over a network, it is sometimes necessary to control the sensors.
[0017] The embodiments described herein provide improved systems and methods for controlling sensor operations by generating selected commands for controlling various aspects of sensor operations locally at a local processor separated from a remote central processor. The embodiments described herein are primarily directed to automotive systems in which multiple sensors are connected to an Ethernet network. However, the disclosed technology is suitable for use in any other suitable system (e.g., an industrial control system) and for use with various types of sensors. Non-limiting examples of sensors used in automotive systems include cameras, speed sensors, accelerometers, audio sensors, infrared sensors, radar sensors, lidar sensors, ultrasonic sensors, range finders or other proximity sensors, etc.
[0018] In some embodiments, the system includes one or more sensors and a remote controller that receives data from the sensors and controls the sensors via an Ethernet network. The controller may include, for example, a system central processor unit (CPU), a graphics processing unit (GPU), or any other suitable type of processor. In some embodiments, the controller may be integrated into a switch of the Ethernet network. A given sensor is typically connected to the network via a "sensor bridge". The sensor bridge communicates with the controller via the network using Ethernet, and communicates with the sensor using one or more local interfaces. The type of local interface may vary depending on the type of sensor. As will be described below, in the disclosed embodiments, the primary control of the sensor is offloaded from the remotely located controller to the sensor bridge, and the primary control of the sensor is performed locally by the sensor bridge.
[0019] In an embodiment, the link between the sensor bridge and the Ethernet network is generally configured for asymmetric communication to reduce power consumption. The direction in which data from the sensor is sent to the controller to carry high-speed data is called a "downlink", and the direction in which commands from the controller are sent to the sensor to carry low-speed commands is called an "uplink".
[0020] In a typical conventional system, the sensor sends image data and auxiliary data related to the image data to the controller. The auxiliary data includes, for example, any suitable data that can be used to quickly generate commands for controlling the sensor, such as statistical information about the sensor data, such as a histogram of image pixels.
[0021] In principle, a remotely located controller can generate control commands for controlling and configuring the sensor based on the auxiliary data, and send the control commands back to the sensor via the Ethernet network and via the sensor bridge. However, as described herein, this control scheme has several disadvantages. For example, the above control scheme will undesirably interrupt the controller used to analyze the auxiliary data and generate the control commands. As another example, since both the auxiliary data in the downlink direction and the commands in the uplink direction are sent via the Ethernet network, the communication travel time between the sensor and the remote controller may affect (i.e., extend) the overall response time. Moreover, the controller typically sends many commands to the sensor, which will (i) potentially overload the network, cause congestion and further extend latency, and (ii) increase power consumption in the bridge.
[0022] Consider an apparatus for controlling an imaging sensor in a vehicle, the apparatus comprising an Ethernet transceiver, a sensor interface, and a processor local to the apparatus. The Ethernet transceiver is configured to communicate with a remote processor (such as a central controller) via an in-vehicle Ethernet network. The sensor interface is configured to communicate with the imaging sensor. The local processor is configured to receive image data and auxiliary data related to the image data from the imaging sensor via the sensor interface, and to send at least the image data to the remote processor via the Ethernet transceiver. The local processor is also configured to generate control commands locally and independently of the remote processor based on the auxiliary data to control operational aspects of the imaging sensor, and to send the control commands to the imaging sensor via the sensor interface.
[0023] In some embodiments, the local processor generates at least some of the control commands locally instead of the remote processor to reduce traffic load in the Ethernet network created by the remote processor sending control commands for controlling the sensor over the Ethernet network.
[0024] In some embodiments, the receiver of the Ethernet transceiver needs to be authorized to communicate in the upstream direction and is preferably powered off when not needed. In such an embodiment, in response to detecting that no commands have been received from the remote processor within a predefined period, the local processor powers off the receiver. In an embodiment, the local processor schedules the power-on and power-off of the receiver according to the Energy Efficient Ethernet (EEE) protocol to reduce power consumption. For example, EEE is specified in IEEE Standard 802.3ch-2020, entitled "IEEE Standard for Ethernet-Amendment 8: Physical Layer Specifications and Management Parameters for 2.5 Gb / s, 5 Gb / s, and 10 Gb / s Automotive Electrical Ethernet" in July 2020, which is incorporated herein by reference.
[0025] In some embodiments, the imaging sensor includes a camera that generates image data by capturing individual image frames, and provides auxiliary data for the individual image frames, and the local processor generates the control command locally by processing the auxiliary data of the individual image frames. For example, in an embodiment, the individual image frames include a plurality of image pixels, the auxiliary data includes a histogram of brightness levels associated with the image pixels of a given image frame, and the local processor generates the control command locally by processing the histogram of the given image frame.
[0026] In an embodiment, the local processor generates control commands to control the quality level of individual image frames by controlling one or more operational aspects of the camera selected from a list comprising: exposure time, contrast, color balance, aperture, and sensor sensitivity.
[0027] Providing commands to the sensor via a local processor rather than a remote processor significantly reduces response time, which is critical to safety in some use cases such as driving automation. In one embodiment, the local processor locally provides a given control command to the sensor with a first latency that is shorter than a second latency incurred when the given control command is remotely provided by the remote processor.
[0028] The local processor can selectively inform the remote processor of control commands generated by the local processor. In an example embodiment, the local processor signals the remote processor to avoid sending commands that have been generated by the local processor.
[0029] In an upstream direction, the local processor forwards the command sent by the remote processor through the Ethernet network to the sensor. The local processor receives from the remote processor a given control command that the remote processor has generated based on one or both of the image data and the auxiliary data, and sends the received given control command to the imaging sensor. For example, the sensor includes a camera that captures a plurality of image frames, and the given control command includes a focus command for controlling a focus setting of the camera, and the remote processor generates the focus command by analyzing two or more of the image frames.
[0030] In the disclosed technology, a sensor bridge communicates locally with a sensor via a local link and remotely with a remote controller via an Ethernet network. The sensor sends sensor data, such as image frames and auxiliary data (e.g., statistical information related to the image frames) to the bridge. The sensor bridge locally generates commands for controlling various operational aspects of the sensor. The controller can also generate commands for controlling the sensor, such as commands that the sensor bridge cannot generate due to insufficient computing power.
[0031] The control loop in which the sensor bridge provides commands to the sensor locally is more efficient and has reduced latency compared to a conventional control loop that includes an Ethernet network and a remote controller. Reduced latency is important for safety in automotive applications. Moreover, generating at least some commands locally reduces the number of commands that the remote controller needs to generate and thus reduces the traffic load on the Ethernet network. Power consumption is also reduced because the reduced command rate allows the Ethernet uplink to be shut down for longer periods.
[0032] Figure 1 is a block diagram schematically illustrating an automotive Ethernet communication system 20 with local sensor control according to embodiments described herein. In the embodiments described herein, the communication system 20 is installed in a vehicle 24 and includes a plurality of sensors 28 that communicate with and are controlled by a controller 32. In other embodiments (not seen), the system 20 may be installed in an industrial network, a monitoring network, or other suitable communication network.
[0033] In various embodiments, the sensor 28 may include any suitable type of sensor. Several non-limiting examples of sensors include cameras, speed sensors, accelerometers, audio sensors, infrared sensors, radar sensors, lidar sensors, ultrasonic sensors, range finders or other proximity sensors, etc. The controller 32 may include any suitable type of processor, such as a CPU or a GPU.
[0034] The sensors 28 and controller 32 communicate via an Ethernet network that includes a plurality of network links 40 and one or more Ethernet switches 44. The Ethernet links 40 may include, for example, twisted pair cables. The sensors 28 are connected to the Ethernet network via one or more sensor bridges 36. A given sensor bridge may connect a single sensor or multiple sensors to the Ethernet network.
[0035] The sensor bridge 36, switch 44, and controller 32 can communicate over the network link 40 at any suitable bit rate. Example bit rates are 2.5 Gb / s, 5 Gb / s, or 10 Gb / s in accordance with the IEEE 802.3ch-2020 standard. In some embodiments, the sensor bridge 36 and controller 32 communicate using EEE in accordance with the IEEE 802.3ch-2020 referenced above.
[0036] Figure 1 The illustration on the left side of shows an example implementation of the controller 32 and the sensor bridge 36 in an embodiment. In this example, the controller 32 and the sensor bridge 36 communicate via an in-vehicle Ethernet network 48 supporting EEE. Figure 1 A high-level description of the flow of sensor data and commands in the system is provided.
[0037] exist Figure 1 In the embodiment of the present invention, the controller 32 includes an Ethernet transceiver (TCVR) 52 for communicating over the network 48 and a processor 56 for performing various controller tasks. The processor 56 may include an analyzer 60 (also called a "remote analyzer") and other components. The sensor bridge 36 includes an Ethernet transceiver (TCVR) 72 for communicating over the network 48, a processor 76 for performing various sensor bridge tasks, and a sensor interface 80 for communicating with the sensor 28 over a local link. The sensor interface 80 may use, for example, an inter-integrated circuit (IC) 2 C) bus, improved inter-IC (I 3 The processor 76 may exchange control data with the sensor 28 using a CPU (CPU) bus, a general purpose input / output (GPIO) interface, a peripheral component interconnect express (PCIe) bus, a serial peripheral interface (SPI), or any other suitable local link. Additionally, the sensor interface 80 receives sensor data and auxiliary data related to the sensor data from the sensor 28 using a suitable data interface. The processor 76 may include an analyzer 88 (also referred to herein as a "local analyzer") and other components.
[0038] In a typical flow starting from the sensor 28, the processor 76 receives sensor data and auxiliary data related to the sensor data from the sensor 28 via the sensor interface 80, and sends the sensor data and auxiliary data to the Ethernet network 48 in the form of Ethernet packets using the Ethernet transceiver 72. Based on the analysis of the auxiliary data by the local analyzer 88, the processor 76 generates a control command, also referred to herein as a "local command", and sends the local command directly to the sensor 28 via the sensor interface 80.
[0039] The Ethernet transceiver 52 receives Ethernet packets carrying sensor data and optionally auxiliary data and forwards them to the processor 56. The remote analyzer 60 analyzes the sensor data and / or auxiliary data, and based on the analysis results, the processor 56 generates control commands for controlling the sensor. The control commands generated by the processor 56 are also referred to herein as "remote commands" to distinguish them from "local commands" generated by the processor 76 of the sensor bridge.
[0040] Controller 60 sends remote commands in the form of Ethernet packets to network 48 using Ethernet transceiver 52. Ethernet transceiver 72 receives the packets carrying the remote commands from the network, and processor 76 sends the remote commands to sensor 28 using sensor interface 80.
[0041] In an embodiment, the controller 32 may perform the above process concurrently on multiple Ethernet packets that transmit control data to the various sensors 28 via the various sensor bridges 36. Similarly, the sensor bridges 36 may perform the above process concurrently on multiple Ethernet packets that transmit control data to the various sensors 28 connected thereto.
[0042] Figure 2 1 is a block diagram schematically illustrating a communication system 100 according to an embodiment described herein, including implementation details of a central processor 104 and a sensor bridge 108. The system 100 may be used to implement Figure 1 Communication system 20.
[0043] In the communication system 100 depicted by way of example, the sensor 28 comprises a digital camera that communicates data and control information with the central processor 104 of the vehicle 24 via the sensor bridge 108 and over the Ethernet network 48 .
[0044] exist Figure 2 In the example of FIG. 1 , the camera 28 sends video data to the sensor bridge via the high-speed link 106 , and communicates control and management data with the sensor bridge via the low-speed control link 110 .
[0045] The camera 28 generates video data by capturing image frames at a desired frame rate. Each of the image frames includes a plurality of image pixels, for example arranged in a two-dimensional (2D) array. For example, the image pixels carry brightness information in a suitable format, such as grayscale brightness levels or color brightness levels according to a red, green, and blue (RGB) representation or a YUV model.
[0046] The camera 28 can be controlled using control commands, for example, sent to the camera via the control link 110. These commands control various operational aspects of the camera, such as, for example, frame rate, image resolution, viewing angle, zooming in and out, sensor sensitivity, aperture, exposure time, color balance (e.g., white balance), and focal length. In response to receiving a command, the camera controls one or more operational aspects accordingly.
[0047] In some embodiments, in addition to the video data, the camera 28 also outputs auxiliary data related to the video data. The auxiliary data can be used to generate control commands for the camera via the sensor bridge 36, the central processor 104, or both.
[0048] In some embodiments, the auxiliary data includes per-frame statistics related to pixels in the image frame, such as a histogram of brightness levels of pixels of the image frame. Alternatively or additionally, the auxiliary data may include other per-frame attributes, such as contrast level, color shift, saturation, etc. In an embodiment, some of the auxiliary data includes camera settings reported on demand by the camera and confirmation notifications sent by the camera in response to commands.
[0049] In sensor bridge 108, the data path includes a mapper / media access control (MAC) module 112 and an Ethernet physical layer (PHY) transceiver 114, which includes a PHY transmitter 116 and a PHY receiver 118. In this example, PHY transceiver 114 is coupled to network 48 using twisted pair link 166.
[0050] In the downstream direction, the mapper / MAC module 112 receives video data and auxiliary data from the camera 28 via the link 106 and applies mapping and MAC functions, such as identifying the video and control signals (in the header of the video frame) and mapping them into a format that can be used by the MAC to encapsulate the video data and auxiliary data via Ethernet packets. The mapper / MAC module transmits the Ethernet packets carrying the video data and auxiliary data to the Ethernet network 48 using the PHY transmitter 116. In the upstream direction, the PHY receiver 118 receives Ethernet packets from the network 48 that carry commands generated by the remote controller to control the camera. The MAC module 112 unpacks the received Ethernet packets to extract the commands and sends the commands to the camera 28 via the control link 110.
[0051] The sensor bridge 108 also includes an identifier 130 and a local processor 134. The identifier 130 monitors the link 106 to identify the auxiliary data and provides the identified auxiliary data to the local processor. The local processor processes the auxiliary data to locally generate commands for controlling the camera 28. The local processor sends the locally generated commands directly to the camera via the control link 110.
[0052] In some embodiments, the auxiliary data includes a histogram (or multiple histograms, such as where YUV or RGB channels are provided separately) for each video frame. In such embodiments, the local processor can generate commands for the sensor based on the histogram(s), such as by identifying filled histogram bins that may indicate a non-optimal sensor configuration. For example, in some embodiments, the local processor can generate commands for dynamically adjusting sensor exposure or white balance based on the histogram.
[0053] In an embodiment, the local processor generates commands based on the histogram using a lookup table (LUT). For example, the local processor sums the number of pixels in the histogram bins associated with overexposure (e.g., the histogram bins with the highest brightness level) and accesses the LUT using a normalized version of the summed result. In this example, the LUT entry stores the appropriate command for reducing sensor exposure. In some embodiments, the local processor determines the final command based on the outputs from multiple LUTs (e.g., separate LUTs for the three RGB channels).
[0054] As another example, sensor temperature is embedded in the auxiliary data, and in response to identifying dangerously high temperatures, the local processor can shut down or slow down the sensor (eg, reduce frame rate and / or resolution) to reduce the temperature.
[0055] In some embodiments, the sensor bridge supports downloading and / or configuring a program that is run by the local processor to generate commands. This feature allows the user to flexibly apply modifications to the functionality of the local processor as needed.
[0056] The central processor 104 includes a PHY transceiver 150 including a PHY transmitter 156 and a PHY receiver 158, and a MAC module 162. The PHY transceiver 150 is coupled to the Ethernet network 48 using a twisted pair link 166. In the downstream direction, the MAC module 162 receives Ethernet packets carrying video data (e.g., a sequence of image frames) and auxiliary data from the camera via the PHY receiver 158.
[0057] MAC module 162 unpacks the packets to extract the image frames and auxiliary data, forwards the image frames using DMA module 170 for storage in memory 174, and forwards the auxiliary data to controller 178. Data processor 182 reads the image frames from memory 174 and processes the read image frames, such as for display and control of vehicle operation.
[0058] Memory 174 may include any suitable type of memory. For example, memory 174 may include volatile memory (such as random access memory (RAM)) or non-volatile memory. Memory 174 may reside within the central processing unit seen in the drawings, or may reside outside the central processing unit.
[0059] The controller 178 processes the image frames and optionally the auxiliary data to generate control commands for controlling the camera. The controller 178 sends these commands to the MAC module 162 for packets, and the PHY transmitter 156 transmits the packets to the network 48.
[0060] In some embodiments, the local processor 134 generates commands for the camera that were originally generated by the remote controller. In this sense, the local processor generates these commands on behalf of the remote controller.
[0061] Typically, the local processor 134 controls the sensor so that the sensor output is valid and meaningful. For example, the local processor controls the sensor to output a video frame with proper exposure, white balance, contrast, etc. The local processor may also handle safety related matters, such as high temperature. In contrast, the remote central processor (104) processes the actual sensor data, such as video frames or LiDar data. The remote central processor may analyze the video frames, for example, to identify certain objects in the scene.
[0062] In some embodiments, the controller 178 generates commands for controlling the camera 28 based on the image frames, the auxiliary data, or both. The controller 178 may generate commands that are different from commands generated locally by the local processor 134, such as commands that override commands generated by the local processor, and / or commands that the local processor cannot generate due to limited computing resources.
[0063] In an embodiment, the local processor 134 may inform the controller 178 of at least some of the commands generated locally by the local processor, for example to avoid redundant commands sent by the controller 178. The local processor 134 may selectively inform the controller 178 of at least some of the commands generated locally, for example, commands frequently generated by the local processor.
[0064] In some embodiments, the controller 178 has higher computing power than the local processor 134 of the sensor bridge. Therefore, the local processor 134 can generate commands based only on auxiliary data and not on image frames. In contrast, the controller 178 has sufficient resources to generate commands based on full image frame information (and possibly on auxiliary data). For example, based on the video data (image frames), the controller 178 can detect that the number of saturated pixels in one or more video frames exceeds a specified threshold number and generate one or more commands for the camera to reduce the exposure time, aperture, or both. Commands that can be generated by the controller 178 but not by the local processor 134 can include commands for modifying one or more camera settings, such as frame rate, image resolution, viewing angle, zoom in and out, and focal length.
[0065] Some types of cameras (28) are sensitive to temperature and may even fail at high temperatures. In an embodiment, to prevent such camera failures, the local processor 134 monitors the temperature, and in response to detecting that the temperature exceeds a specified temperature limit, the local processor 134 can quickly take action to reduce the temperature, such as by shutting down the camera.
[0066] In some embodiments, the sensor bridge and the camera are physically close to each other, in which case the camera can absorb the heat generated by the sensor bridge. By reducing the power dissipation in the sensor bridge due to the reduced command rate sent by the remote controller (as described above), the camera temperature is also reduced.
[0067] Figure 3 is a flow chart schematically illustrating a method for locally generating commands for controlling a camera in a vehicle according to embodiments described herein.
[0068] The method will be described as follows: Figure 2 The sensor bridge 108 is implemented by the elements of the sensor bridge 108. It is assumed that the sensor bridge is coupled to a sensor including a camera.
[0069] The method begins with the sensor bridge 108 receiving video frames captured by the camera and auxiliary data associated with the video frames from the sensor 28 in a receiving operation 200. In an identifying operation 204, the identifier 130 monitors the data received in operation 200 to identify the auxiliary data and sends the identified auxiliary data to the local processor 134.
[0070] In forwarding operation 208, the sensor bridge sends the video frames (and optionally the auxiliary data) received in operation 200 to the controller 178 via the network 48. In local processing operation 212, the local processor 134 processes the auxiliary data to locally generate one or more commands for controlling the camera. In local control operation 216, the sensor bridge sends the locally generated commands directly to the camera. In informing operation 220, the sensor bridge optionally informs the controller 178 of the locally generated commands, for example to avoid the same commands being generated by the local processor 134 and the controller 178.
[0071] After operation 220, the method loops back to operation 200 for receiving subsequent video frames and auxiliary data from the camera.
[0072] Figure 4 is a flow chart schematically illustrating a method for relaying commands generated by a remote controller to control a camera in a vehicle according to embodiments described herein.
[0073] The method will be described as follows: Figure 2 The sensor bridge 108 is implemented by the elements of the sensor bridge 108. It is assumed that the sensor bridge is coupled to a sensor including a camera.
[0074] The method begins at command receiving operation 250, where the sensor bridge 108 receives a command for controlling the camera via the network 48, where the command is generated by the remote controller 178 (rather than generated locally by the sensor bridge). In command relay operation 254, the sensor bridge sends the remotely generated command to the camera.
[0075] After operation 254, the method loops back to operation 250 to receive subsequent commands from the remote controller.
[0076] In the embodiment, the above Figure 3 and 4 The methods can be executed in parallel with each other.
[0077] The above embodiments are given by way of example only, and other suitable embodiments may also be used. For example, although the EEE protocol is used in the above embodiments, other suitable protocols may also be used to connect the sensor to the Ethernet network. Examples of such protocols include the Mobile Industry Processor Interface (MIPI) (A-PHY) protocol and the Automotive SerDes Alliance (ASA) protocol.
[0078] Figure 1 and 2The configurations of the various systems, controllers, and sensor bridges shown are example configurations and are depicted for clarity only. In alternative embodiments, any other suitable configuration may be used. The various elements of the various systems, controllers, and sensor bridges described herein may be implemented using dedicated hardware or firmware, such as using hardwired or programmable logic, for example in an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). Additionally or alternatively, some functions of the disclosed systems, controllers, and sensor bridges may be implemented in software and / or using a combination of hardware and software elements. For clarity, elements that are not mandatory for understanding the disclosed technology are omitted from the accompanying drawings.
[0079] In some embodiments, some functions of the disclosed systems, controllers, and sensor bridges (e.g., functions of processors 56, 76, 134, and / or 182, identifiers 130, and / or controllers 178) may be implemented in one or more programmable processors, such as one or more central processing units (CPUs), microcontrollers, and / or digital signal processors (DSPs), which are programmed in software to perform the functions described herein. The software may be downloaded to any processor in electronic form, such as over a network, or it may alternatively or additionally be provided and / or stored on a non-transitory tangible medium, such as a magnetic, optical, or electronic memory.
[0080] It should be noted that the above embodiments are cited by way of example, and the present invention is not limited to the contents specifically shown and described above. On the contrary, the scope of the present invention includes combinations and sub-combinations of the various features described above and changes and modifications that would occur to a person skilled in the art when reading the foregoing description and that are not disclosed in the prior art. The documents incorporated by reference into this patent application should be considered as an integral part of the present application, unless any term is defined in these incorporated documents in a manner that conflicts with the definition made explicitly or implicitly in this specification, otherwise only the definition in this specification should be considered.
Claims
1. A device for controlling an imaging sensor in a vehicle, the device include: an Ethernet transceiver configured to communicate with a remote processor via an in-vehicle Ethernet network; a sensor interface configured to communicate with the imaging sensor; as well as a local processor, local to the device and located remotely from the remote processor, the local processor being configured to: receiving image data and auxiliary data associated with the image data from the imaging sensor via the sensor interface, and transmitting at least the image data to the remote processor via the Ethernet transceiver; generating control commands locally and independently of the remote processor to control operational aspects of the imaging sensor based on the auxiliary data; and The control command is sent to the imaging sensor via the sensor interface.
2. The apparatus of claim 1 , wherein the local processor is configured to generate at least some of the control commands locally instead of the remote processor so as to reduce a traffic load in the Ethernet network created by the remote processor sending control commands for controlling the sensor through the Ethernet network.
3. An apparatus according to claim 1 or 2, wherein the transceiver comprises a transmitter and a receiver, and wherein the local processor is configured to: in response to detecting that no commands are received from the remote processor within a predefined period, power off the receiver.
4. An apparatus according to claim 1 or 2, wherein the imaging sensor comprises a camera, the camera being configured to generate the image data by capturing individual image frames and to provide auxiliary data for the individual image frames, and wherein the local processor is configured to locally generate the control command by processing the auxiliary data for the individual image frames.
5. An apparatus according to claim 4, wherein the individual image frames include a plurality of image pixels, wherein the auxiliary data includes a histogram of brightness levels associated with the image pixels of a given image frame, and wherein the local processor is configured to: generate the control command locally by processing the histogram of the given image frame.
6. The apparatus of claim 4, wherein the local processor is configured to generate the control commands to control the quality level of the individual image frames by controlling one or more operational aspects of the camera selected from a list comprising: exposure time, contrast, color balance, aperture, and sensor sensitivity.
7. An apparatus according to claim 1 or 2, wherein the local processor is configured to provide a given control command locally to the sensor with a first delay, and the first delay is shorter than a second delay generated when the given control command is remotely provided by the remote processor.
8. The apparatus according to claim 1 or 2, wherein the local processor is configured to selectively inform the remote processor of the control command generated by the local processor.
9. An apparatus according to claim 1 or 2, wherein the local processor is configured to receive from the remote processor a given control command that the remote processor has generated based on one or both of the image data and the auxiliary data, and to send the received given control command to the imaging sensor.
10. The apparatus of claim 9, wherein the sensor comprises a camera that generates the image data by capturing a plurality of image frames, and wherein the given control command comprises a focus command for controlling a focus setting of the camera, the remote processor generating the focus command by analyzing two or more of the image frames.
11. A method for controlling an imaging sensor in a vehicle, the method include: In an arrangement that communicates locally with an imaging sensor via a sensor interface and with a remote processor over an in-vehicle Ethernet network using an Ethernet transceiver, receiving image data and auxiliary data associated with the image data from the imaging sensor via the sensor interface, and transmitting at least the image data to the remote processor over the Ethernet network using the Ethernet transceiver; generating control commands locally at the device and independent of the remote processor to control operational aspects of the imaging sensor based on the auxiliary data; and The control command is sent to the imaging sensor via the sensor interface.
12. The method according to claim 11, wherein the control command is generated include: At least some of the control commands are generated locally instead of the remote processor in order to reduce a traffic load in the Ethernet network created by the control commands for controlling the sensor being sent by the remote processor over the Ethernet network.
13. The method according to claim 11 or 12, wherein the transceiver comprises a transmitter and a receiver, and the method include: In response to detecting that no commands have been received from the remote processor within a predefined period, the receiver is powered off.
14. A method according to claim 11 or 12, wherein the imaging sensor includes a camera, which generates the image data by capturing individual image frames and provides auxiliary data for the individual image frames, and wherein generating the control command locally includes processing the auxiliary data for the individual image frames.
15. The method of claim 14, wherein the individual image frames comprise a plurality of image pixels, wherein the auxiliary data comprises a histogram of brightness levels associated with the image pixels of a given image frame, and wherein generating the control command comprises processing the histogram of the given image frame.
16. The method of claim 14, wherein the control command is generated to control the quality level of the image frame include: Controlling one or more operational aspects of the camera selected from a list consisting of: exposure time, contrast, color balance, aperture, and sensor sensitivity.
17. The method according to claim 11 or 12, further comprising: include: A given control command is provided locally to the sensor with a first time delay that is shorter than a second time delay incurred when the given control command is provided remotely by the remote processor.
18. The method according to claim 11 or 12, further comprising: include: The remote processor is informed of the control command generated by the local processor.
19. The method according to claim 11 or 12, further comprising: include: A given control command that has been generated by the remote processor based on one or both of the image data and the auxiliary data is received from the remote processor, and the received given control command is transmitted to the imaging sensor.
20. The method of claim 19, wherein the sensor comprises a camera that generates the image data by capturing a plurality of image frames, and wherein the given control command comprises a focus command for controlling a focus setting of the camera, the remote processor generating the focus command by analyzing two or more of the image frames.
