Abstract:
The present disclosure relates to a trailer tracking apparatus ( 2 ) for monitoring movement of a trailer ( 3 ) connected to a vehicle ( 1 ). The trailer tracking apparatus ( 2 ) has a controller ( 5 ) comprising an electronic processor ( 6 ) having an electrical input for receiving image data (DAT) from an imaging sensor ( 10 ) disposed on the vehicle ( 1 ). An electronic memory device ( 7 ) having instructions stored therein is electrically coupled to the electronic processor ( 6 ). The electronic processor ( 6 ) is configured to access the memory device ( 7 ) and to execute the instructions stored therein. The electronic processor ( 6 ) is operable to select a subset of said image data (DAT SUB1 ). One or more element ( 16 ) are detected and monitored within the selected subset (DAT SUB1 ) of said image data (DAT). The electronic processor ( 6 ) determines movement of the trailer ( 3 ) relative to the vehicle ( 1 ) in dependence on evolution of said one or more detected element ( 16 ) with respect to time. The present disclosure also relates to a method of tracking a trailer ( 3 ); and to a vehicle ( 1 ) incorporating the trailer tracking apparatus ( 2 ).

Description:
TECHNICAL FIELD 
       [0001]    The present disclosure relates to a trailer tracking apparatus and method. More particularly, but not exclusively, the present disclosure relates to a trailer tracking apparatus, to a vehicle incorporating a trailer tracking apparatus, and to a method of tracking a trailer. 
       BACKGROUND 
       [0002]    It is known to use an imaging sensor to track movements of a trailer connected to a vehicle. In order to accurately to track the trailer, prior art systems require that a target is mounted to the front of the trailer. The target can, for example, take the form of three circles arranged in a triangular configuration. An optical camera mounted to the vehicle identifies the target and tracks its movement relative to the vehicle. There are certain shortcomings associated with these prior art systems, notably the requirement that the target is fitted to the vehicle. The initial setup of the trailer tracking system can be time-consuming. In order to track the trailer, the target must be installed in a specified location on the trailer, but this may not be possible depending on the configuration of the trailer. Furthermore, accuracy of the prior art systems may be affected in the low visibility conditions meaning that certain control functions may not be available. 
         [0003]    It is against this background that the present invention has been conceived. At least in certain embodiments, the method and apparatus described herein seek to overcome or ameliorate at least some of the shortcomings associated with prior art systems. 
       SUMMARY OF THE INVENTION 
       [0004]    Aspects of the present invention relate to a trailer tracking apparatus, to a vehicle incorporating a trailer tracking apparatus, and to a method of tracking a trailer. 
         [0005]    According to a further aspect of the present invention there is provided a trailer tracking apparatus for monitoring movement of a trailer connected to a vehicle. The trailer tracking apparatus may comprise a controller comprising an electronic processor having an electrical input for receiving image data from an imaging sensor disposed on the vehicle. The trailer tracking apparatus may comprise an electronic memory device electrically coupled to the electronic processor and having instructions stored therein. The electronic processor may be configured to access the memory device and execute the instructions stored therein such that it is operable to select a subset of said image data and/or detect and monitor one or more element within the selected subset of said image data and/or determine movement of the trailer relative to the vehicle in dependence on evolution of said one or more detected element with respect to time. The apparatus may predict the movement of active contours and features of the trailer based on at least a probabilistic assessment. 
         [0006]    The evolution of said one or more element provides an indication of the movement of the trailer relative to the vehicle. The evolution of the said one or more element may be in dependence on the statistical probability. At least in certain embodiments, the trailer tracking apparatus may track the trailer without requiring provision of a target thereon. In other words, the trailer tracking apparatus may perform target-less tracking of a trailer. A trailer setup procedure may be simplified when the trailer is connected to the vehicle. The image data corresponds to an image generated by the imaging sensor; and the subset of said image data corresponds to a defined region within said image. 
         [0007]    The trailer tracking apparatus may be configured to output a tracking signal. The tracking signal may be used by other vehicle systems, for example to facilitate hitching and towing of the trailer. The tracking signal could also be used to facilitate reversing the trailer when connected to the vehicle. The tracking signal may also be used to monitor trailer stability etc. 
         [0008]    In order to enable tracking of the trailer, the selected subset of said image data may comprise at least a portion of the trailer contained within the image data. The electronic processor may be configured to characterise each detected element as a persistent element or as a transient element. 
         [0009]    The evolution of said one or more element may comprise one or more of the following: acceleration, velocity, angular velocity, angular acceleration, movement, size, shape and orientation. The electronic processor may be configured to determine movement of the trailer in dependence on the evolution of each persistent element. 
         [0010]    The electronic processor may be configured to modify the selected subset of said image data to include image data representing one or more persistent element. Thus, if the electronic processor determines that the selected subset of said image data does not comprise any persistent elements, a modified or alternative subset of said image data may be selected. The electronic processor may be configured to disregard any transient elements since these typically correspond to features other than the trailer, for example other vehicles or features in the background, which are unrelated to the movement of the trailer. 
         [0011]    The electronic processor may be configured to disregard any transient elements identified within the selected subset of said image data. The electronic processor may be configured to modify the selected subset of said image data to exclude each transient element. The electronic processor could, for example, determine that a localised area containing transient elements corresponds to a region offset from the trailer. The electronic processor could exclude that the localised area from analysis to track movements of the trailer. The electronic processor could, for example, be configured automatically to redefine the selected region of said image data. 
         [0012]    The electronic processor may be configured to receive a user input to select said subset of the image data. For example, the user may define a window or frame on a graphical display of said image data. The graphical display could be a touch screen to facilitate definition of said window or a frame. Alternatively, a separate controller could be used to define the extent of the window or a frame. 
         [0013]    In a variant, the electronic processor may be configured to select said subset of the image data. The subset of the image data could be selected for a predefined region of the image data. Alternatively, the subset could be selected dynamically, for example by identifying persistent elements within a localised area. The electronic processor could be configured to redefine the region of the image data if the selected region does not contain adequate persistent elements to track movement of the trailer. 
         [0014]    According to a still further aspect of the present invention there is provided a trailer tracking apparatus for monitoring movement of a trailer connected to a vehicle. The trailer tracking apparatus may comprise a controller comprising an electronic processor having an electrical input for receiving image data from an imaging sensor disposed on the vehicle. The trailer tracking apparatus may comprise an electronic memory device electrically coupled to the electronic processor and having instructions stored therein. The electronic processor may be configured to access the memory device and execute the instructions stored therein such that it is operable to detect one or more element within said image data and/or monitor said one or more element and characterise said one or more element as a persistent element or a transient element and/or determine movement of the trailer relative to the vehicle in dependence on the evolution of each persistent element with respect to time. 
         [0015]    According to a yet further aspect of the present invention there is provided a vehicle comprising a trailer tracking apparatus as described herein. 
         [0016]    According to a further aspect of the present invention there is provided a method of monitoring movement of a trailer connected to a vehicle. The method may comprise receiving image data from an imaging sensor. The method may comprise selecting a subset of said image data. The method may comprise detecting and monitor one or more element within the selected subset of said image data. The method may comprise determining movement of the trailer relative to the vehicle in dependence on evolution of said one or more detected element with respect to time. 
         [0017]    The method may comprise characterising each detected element as a persistent element or a transient element. The movement of the trailer may be determined in dependence on the evolution of each persistent element. 
         [0018]    The method may comprise modifying the selected subset of said image data to include image data representing one or more persistent element. The method may comprise disregarding each transient element. 
         [0019]    The method may comprise modifying the selected subset of said image data to exclude each transient element. 
         [0020]    The evolution of said one or more element may comprise one or more of the following: acceleration, velocity, angular velocity, angular acceleration, movement, size, shape and orientation. 
         [0021]    The method may comprise selecting said subset of the image data in dependence on a user input. The user may, for example, use a human machine interface to define the subset. Alternatively, the method may comprise automatically selecting said subset of the image data. 
         [0022]    According to a yet further aspect of the present invention there is provided a method of monitoring movement of a trailer connected to a vehicle. The method may comprise receiving image data from an imaging sensor. The method may comprise detecting one or more element within said image data. The method may comprise characterising said one or more element as a persistent element or a transient element. The method may comprise determining movement of the trailer relative to the vehicle in dependence on the evolution of each persistent element with respect to time. 
         [0023]    Within the scope of this application it is expressly intended that the various aspects, embodiments, examples and alternatives set out in the preceding paragraphs, in the claims and/or in the following description and drawings, and in particular the individual elements thereof, may be taken independently or in any combination. That is, all embodiments and/or elements of any embodiment may be combined in any way and/or combination, unless such elements are incompatible. The applicant reserves the right to change any originally filed claim or file any new claim accordingly, including the right to amend any originally filed claim to depend from and/or incorporate any element of any other claim although not originally claimed in that manner. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0024]    One or more embodiments of the present invention will now be described, by way of example only, with reference to the accompanying figures, in which: 
           [0025]      FIG. 1  shows a schematic representation of a vehicle having a trailer tracking apparatus in accordance with an embodiment of the present invention; 
           [0026]      FIG. 2  shows a schematic representation of the vehicle and the trailer tracking apparatus shown in  FIG. 1 ; and 
           [0027]      FIG. 3  illustrates processing of the image data by the trailer tracking apparatus in accordance with an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0028]    A vehicle  1  incorporating a trailer tracking apparatus  2  in accordance with an embodiment of the present invention will now be described by way of example. The vehicle  1  is connected to a trailer  3 , as illustrated in  FIG. 1 . As described herein, the trailer tracking apparatus  2  is disposed in the vehicle  1  to track movement of the trailer  3 . 
         [0029]    The vehicle  1  in the present embodiment is an automobile, but it will be appreciated that the present invention is not limited in this respect. For example, the trailer tracking apparatus  2  could be incorporated into a tractor unit. Furthermore, the trailer  3  in the present embodiment is illustrated as a caravan, but it will be appreciated that the present invention is not limited in this respect. For example, the trailer  3  could be a horse trailer or a box trailer. 
         [0030]    As shown in  FIG. 1 , the trailer  3  is pivotally connected to a connector  4 . The connector for is mounted centrally at the rear of the vehicle  1  coincident with a central original axis X of the vehicle  1 . The connector  4  in the present embodiment is in the form of a hitch ball connector which allows the trailer  3  to pivot about a vertical axis Z 1 . The connector  4  also allows a limited rotational movement of the trailer  3  about a longitudinal axis X 1 , and a transverse axis Y 1 . It will be appreciated that the connector  4  could take a variety of forms, for example a towbar ring, a pintle hook, a ball pintle hook, a clevis hitch, a ball and pin towing hitch. 
         [0031]    A schematic representation of the trailer tracking apparatus  2  is shown in  FIG. 2 . The trailer tracking apparatus  2  comprises a controller  5  having one or more electronic processor  6  (only one is shown for simplicity of explanation) and system memory  7  having computer code  8  stored thereon. As described herein, the electronic processor  6  is operative to implement an image processing module  9  configured to analyse image data DAT received from an imaging sensor  10 . The imaging sensor  10  is in the form of an optical camera. The imaging sensor  10  is rearward facing and is arranged such that its field of view includes a front portion  11  of the trailer  3  (when the trailer  3  is connected to the vehicle  1 ). The imaging sensor  10  is operative to provide a video image to enable changes in the relative position of the trailer  3  to be determined, as described herein. It will be appreciated that the image sensor  10  could provide additional functions, for example as a parking aid for the vehicle  1 . 
         [0032]    The imaging sensor  10  transmits the image data DAT to the electronic processor  6  over a vehicle communication network, such as a communication area network (CAN) bus. The image processing module  9  receives the image data DAT and a first subset DAT SUB1 , of the image data DAT is selected for analysis. The first subset DAT SUB1 , corresponds to a portion of the image captured by the imaging sensor  10  and is intended to capture a section of the front portion  11  of the trailer  3 . The first subset DAT SUB1 , can be selected automatically, for example corresponding to a predefined region of the image; or can be selected by a user, for example using a human machine interface (HMI)  12 . In the present embodiment, the trailer tracking apparatus  2  is configured to receive user inputs via the HMI  12  to select the first subset DAT SUB1 . The HMI  12  comprises a display screen  13  (such as a liquid crystal display) to which the image data DAT is output in the form of an image  14 . The user is prompted to select a region of the image  14  which includes at least a portion of the trailer  3  visible in said image  14 . The user can, for example, use a touch-screen interface to trace a window  15  within the image  14 . The first subset DAT SUB1 , corresponds to the region selected by the user. 
         [0033]    The image processing module  9  implements an image processing algorithm to track movement of the trailer  3 . In particular, the image processing module  9  analyses the first subset DAT SUB1  to identify at least one element  16  which can be tracked with respect to time. 
         [0034]    The analysis of the first subset DAT SUB1  can comprise applying a mathematical operator to identify said at least one element  16 . The mathematical operator can be in the form of a filter, for example a “particle filter”, suitable for tracking and predicting the movements of active contours and features in the real image. The mathematical operator can thereby estimate the model configuration that at least substantially matches the current observations. In the present embodiment, the image processing module  9  is configured to identify a plurality of said elements  16  each corresponding to a visible feature within the image. The elements  16  can each correspond to one or more pixels defined by the image data DAT. In the context of analysing the image data DAT, each element  16  identified by the image processing module  9  can be referred to as a particle. By analysing the first subset DAT SUB1 , with respect to time, the image processing module  9  can monitor particle evolution. The particle evolution can, for example, be tracked by identifying the particle state S t  in an image scan at time t, and the related state S t+1 , in a subsequent scan at time t+1. By comparing the properties of the states S t  and S t+1 , the image processing module  9  can monitor particle evolution. The particle evolution can, for example, identify one or more of the following: position, size, trajectory and orientation. 
         [0035]    The image processing module  9  is configured to select those elements  16  which are identifiable within the first subset DAT SUB1 , for a time period longer than a predetermined time threshold (or in a series of scanning cycles greater than a predetermined scanning threshold); these elements  16  are referred to herein as “persistent elements”. The image processing module  9  can also analyse the first subset DAT SUB1 , to identify those elements  16  which are identifiable only for a time period less that the predetermined time threshold (or in a series of scanning cycles less than the predetermined scanning threshold); these elements  16  are referred to herein as “transient elements”. The image processing module  9  characterises the elements  16  as either persistent elements  16 P or transient elements  16 T. There is a higher statistical probability that the persistent elements  16 P correspond to a feature of the trailer  3  (since they are present for an extended time period and are more likely to form part of the trailer  3  being towed behind the vehicle  1 ). The transient elements  16 T are more likely to represent a feature away from the trailer  3 , for example in the scenery or another vehicle, which may be visible only fleetingly or over a short time period. Thus, there is a lower statistical probability that the transient elements  16 T correspond to a element forming part of the trailer  3  (since they are present for a relatively short time period). The image processing module  9  can be configured to disregard any transient elements  16 T identified in the first subset DAT SUB1 . Further analysis of the first subset DAT SUB1 , can be performed in respect of the persistent elements  16 P. 
         [0036]    The image processing module  9  identifies and monitors the persistent elements  16 P to track their evolution (progression) with respect to time, for example over a plurality of scan cycles. The evolution of the persistent elements  16 P in the present embodiment comprises their movement trajectories (direction and magnitude) which can be used to track the movement of the trailer  3 . For example, a vertical or lateral movement of one or more persistent element  16 P can correspond respectively to a vertical or lateral movement of the trailer  3 . A combination of vertical and lateral movements can indicate a pivoting movement of the trailer  3  about the vertical axis Z. 
         [0037]    The image processing module  9  can determine the spatial location of each persistent element  16 P and this can be used to determine the associated movement of the trailer  3 . For example, the movement trajectory of each persistent element  16 P can be mapped to a reference datum (such as a known spatial position of the connector  4 ) to identify a pivoting movement of the trailer  3 . The image processing module  9  could optionally compare relative movement trajectories of several of said persistent elements  16 P identified within the first subset DAT SUB1 . 
         [0038]    Alternatively, or in addition, the evolution of each persistent element  16 P can comprise changes in the size of said one or more persistent element  16 P. A change in the size of the persistent element  16 P can also indicate a pivoting movement of the trailer  3 . For example, the size of a persistent element  16 P will increase or decrease depending on the direction in which the trailer  3  pivots. 
         [0039]    Alternatively, or in addition, the evolution of each persistent element  16 P can comprise changes in the shape and/or orientation of the persistent element  16 P. The image processing module  9  could, for example, identify a persistent element  16 P having a clearly defined feature (for example corresponding to an edge of a window in the front portion  11  of the trailer  3 ). The change in the shape and/or orientation of the persistent element  16 P could be used to track movement of the trailer  3 . The image processing module  9  tracks the trailer  3  and outputs a tracking signal SIG. The tracking signal SIG  1  can be used by other vehicle systems, for example to assist with towing, stability, hitching and manoeuvring. 
         [0040]    If the image processing module  9  is unable to identify any persistent elements  16 P within the region of the image  14  selected by the user, a notification can be output to the user. For example, the electronic processor  6  can output a prompt to the user to re-select the region of the image  14  by re-tracing the window  15  on the display screen  13 . A second data subset DAT SUB2  can be selected form the image data DAT in dependence on the re-selected region of the image  14 . The image processing module  9  repeats the analysis in respect of said second data subset DAT SUB2 . 
         [0041]    The operation of the image processing module  9  will now be described with reference to  FIG. 3 . The trailer  3  is connected to the connector  4  in conventional manner. The imaging sensor  10  generates image data DAT which is output to the electronic processor  6 . An image  14  corresponding to a field of view FOV of the imaging sensor  10  is also output to the display screen  13 . The user uses the HMI  12  to trace the window  15  to select a region of the image  14 . The window  15  should be traced to cover at least a portion of the trailer  3  and an on-screen prompt can be displayed to the user. A first data subset DAT SUB1 , is extracted from the image data DAT corresponding to the region selected by the user. The image processing module  9  analyses the first data subset DAT SUB1 , to identify a plurality of elements  16  contained therein. The image processing module  9  analyses the elements  16  and characterises them as either persistent elements  16 P or transient elements  16 T. The image processing module  9  tracks the persistent elements  16 P with respect to time to monitor their evolution. The evolution of the persistent elements  16 P can, for example, comprise changes in shape and/or position and/or movement. The evolution of the persistent elements  16 P is used to track the movement of the trailer  3  relative to the vehicle  1 . The image processing module  9  outputs a tracking signal SIG which can be used by other vehicle systems to facilitate towing of the trailer  3 . If the image processing module  9  determines that the first data subset DAT SUB1 , does not contain sufficient persistent elements  16 P for reliable analysis, a prompt can be output to request that the user selects an alternate region within the image  14 . 
         [0042]    It will be appreciated that various changes and modifications can be made to the trailer tracking apparatus  2  described herein. For example, the electronic processor  6  can be configured automatically to select the first data subset DAT SUB1 , from the image data DAT generated by the imaging sensor  10 . Furthermore, the electronic processor  6  can be configured to receive dynamic operating parameters from the communication network which could be used in the analysis of the first data subset DAT SUB1 . The dynamic operating parameters could, for example, comprise one or more of the following: vehicle speed, acceleration and steering angle. The electronic processor  6  could, for example, be configured to select the first data subset DAT SUB1  from a region of the image data DAT in dependence on the steering angle in order to reduce the likelihood of selecting a portion of the background. Alternatively, or in addition, the image processing module  9  could be configured to analyse the first data subset DAT SUB1  to identify persistent elements  16 P only when the vehicle  1  is moving (i.e. the vehicle speed is greater than 0). Alternatively, or in addition, the image processing module  9  could be configured to correlate movements of each persistent element  16 P identified in the image data DAT with the steering angle of the vehicle  1 . A further possibility would be to determine one or more characteristics of the trailer  3 , for example wheelbase and or length, by comparing the response of the trailer  3  to steering inputs to the vehicle  1 .