Enabling a vehicle to follow closely behind one vehicle safely through partial or full automation has significant fuel savings, safety, and/or labor savings benefits, but is generally unsafe when a driver tries to do this manually. Presently, during normal driving, vehicle motion is controlled either manually, by a driver, or by convenience systems, such as cruise control or adaptive cruise control. The various types of cruise control systems control vehicle speed to make driving more pleasurable or relaxing, by partially automating the driving task. Some of these systems use range sensors and/or vehicle sensors to control the speed to maintain a constant headway relative to the leading vehicle (also referred to herein as a front vehicle). In general, these cruise control systems provide minimal added safety, and do not have full control of the vehicle (in terms of being able to fully brake or accelerate).
Driver control does not match the safety performance of even current systems, for several reasons. First, a driver cannot safely maintain a close following distance. In fact, the relatively short distances between vehicles necessary to get any measurable fuel savings results in an unsafe condition if the vehicle is under driver control, thereby risking a costly and destructive accident. Further, the driver is not as capable of maintaining an optimal headway as an automated system is. In fact, a driver trying to maintain a constant headway often causes rapid and large changes in command (accelerator pedal position for example), resulting in a loss of efficiency.
Thus, it would be desirable to have reliable and economical semi-automated vehicular convoying/platooning systems which enable vehicles to follow closely together in a safe, efficient, convenient manner.
The systems and methods comprising various aspects of the disclosure described herein provide for increased platooning safety.
For example, without limitation, aspects of the present invention enable methods for determining a rate of messages received at a brake electronic control unit (BECU) from an Anti-Lock Braking System (ABS) unit via a Power Line Communication (PLC). Further, an amount of messages received during one or more time intervals may be determined. After a rate of messages received and an amount of messages received during one or more time intervals is determined, they may be compared to a threshold rate and a threshold amount. If the rate of messages received is below the threshold rate and the rate of an amount of messages received is below the threshold amount, then a BECU and/or a Platoon ECU (PECU) may cause an adverse action to occur such as the disabling of full braking, the dissolve of a platoon, and/or the deauthorization of a vehicle to platoon.
In another aspect, without limitation, a system may cause an action such as whether ABS units are operating correctly on more than one trailer. There, a rate of MID11 messages received at a BECU from more than one ABS unit via PLC is determined. Also, an amount of MID11 messages received during one or more time intervals may be determined. In response to a rate of MID11 messages received being below a threshold and an amount of MID11 messages received at a during one or more time intervals being below a threshold an action may occur such as the disabling of full braking, the dissolve of a platoon, and/or the deauthorization of a vehicle to platoon.
It will be appreciated by those skilled in the art that the various features of the present disclosure can be practiced alone or in combination.
These and other features of the present disclosure will be described in more detail below in the detailed description of the disclosure and in conjunction with the following figures.
In order to describe the various aspects of the present disclosure, some detailed description now will be provided, by way of illustration, with reference to the accompanying drawings, in which:
The present invention will now be described in detail with reference to several embodiments thereof as illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present invention, including the description of a plurality of different aspects of the invention, including, in some cases, one or more alternatives. It will be apparent to those skilled in the art that the invention can be practice without implementing all of the features disclosed herein. Further, although many embodiments included in the instant application are related to the concept of platooning, it should be appreciated that many broader applications are envisioned.
Without limitation, the Applicant has proposed various vehicle platooning systems in which a second, and potentially additional, vehicle(s) is/are automatically, or semi-automatically controlled to closely follow a lead/front vehicle in a safe manner. By way of example, U.S. patent application Ser. Nos. 15/605,456, 15/607,902; 13/542,622 and 13/542,627; U.S. Provisional Patent Application Nos. 61/505,076, 62/377,970 and 62/343,819; and PCT Patent Application Nos. PCT/US2014/030770, PCT/US2016/049143, PCT/US2018/41684, and PCT/US2016/060167 describe various vehicle platooning systems in which a trailing vehicle (also referred to herein as a rear vehicle) is at least partially automatically controlled to closely follow a designated lead vehicle. Each of these earlier applications are incorporated herein by reference. These material included in these applications are not to be limiting the instant application in any manner.
One of the goals of platooning is typically to maintain a desired gap between the platooning vehicles and/or a desired relative speed and/or time headway (e.g., a gap may refer to a distance, a headway, or both). Thus, it should be appreciated that, herein, any reference to the term “gap” could refer to a distance, a headway, or both. Further, while the term “maintain” is used throughout this disclosure, maintaining may mean staying within a gap (distance/headway), staying at a gap, and/or keeping at least a certain gap. Further, a desired gap may include a relative distance, time headway, and/or angle/offset. A longitudinal distance and/or time headway is frequently referred to herein as a “target gap”. That is, it is desirable for the trailing vehicle (e.g., a rear vehicle) to maintain a designated gap relative to a specific vehicle (e.g., a lead vehicle). The vehicles involved in a platoon will typically have sophisticated control systems suitable for initiating a platoon, maintaining the gap under a wide variety of different driving conditions, and gracefully dissolving (e.g., ending) the platoon as appropriate. It should be appreciated that herein, a gap may refer to a distance, a time headway, or either.
As described herein, the concept of platooning, also known as convoying, is still in its infancy. Academics have toyed with the concept over the last few decades, but to date there are no commercial systems on the road where a vehicle is at least partially controlled by another vehicle via a vehicle-to-vehicle connection (V2V). The benefits provided by such systems are obvious. Namely, the safety provided by these systems is far greater than a system where a rear vehicle doesn't begin to slow down until its radar or LIDAR sensors determine that a lead vehicle is slowing down, such as with some adaptive cruise control systems. Further, by being able to follow another vehicle at a close distance, in some cases both a rear vehicle and a front vehicle may experience significant fuel savings.
As platoonable vehicles (e.g., vehicles capable of platooning or any type of following based on V2V communication, whether directly following each other, offset in different lanes, and/or with one or more vehicles between them) begin to roll out of the labs and into commercial production, their adoption faces significant challenges. For example, vehicle safety is a must.
In various embodiments described herein, new and improved methods and systems to improve vehicle safety and/or other vehicle functionality (e.g., creating more efficient platooning) are described.
As is well understood in the industry, tractor trailers include various components that communicate with each other—often using different communication protocols such as Society of Automotive Engineers standard SAE J1939 (which defines five layers in the seven-layer OSI network model, which includes the Controller Area Network (CAN) ISO 11898). Tractor-trailers also user power-line communication (PLC) techniques. For example, SAE standard J2497 discusses implementing a bidirectional, serial communications link over the vehicle power supply line. J2497 defines parameters of the serial link relating to hardware and software compatibility such as interface requirements, system protocols, and message format that pertain to PLC communications between tractors and trailers, including how to activate the trailer ABS Indicator Lamps.
While PLC attributes provide various advantages, they also have their drawbacks. For example, if more than one trailer is communicating via PLC to a tractor, messages sent by each trailer (and/or any dollies) may collide with messages sent by other trailers and/or dollies, causing those messages to not reach their destination. E.g., there may not be a scheduler to ensure packages travel to their destination unimpeded.
To ensure that a tractor is sending and/or receiving accurate information from trailers and dollies (e.g., with regard to safety, ABS brakes, brake lights, speed, torque, etc.), various algorithms may be implemented.
As one example, to ensure that a particular number of trailers and dollies are connected to a tractor, and that those trailers and dollies include ABS units that are operating properly, a brake ECU may receive messages transmitted from ABS units on each trailer and dolly. If these messages are not received by a brake ECU (also known as a BECU) and/or a platooning ECU (also known as a PECU), a tractor trailer may perform various actions, which may include the dissolving (e.g., an ending) of a platoon. For example, in some embodiments full braking (as opposed to pulsed braking) may only be available to a trailer if a BECU determines that the trailer's ABS is operating properly. In some embodiments, if only pulsed braking is available (e.g., because full braking is not available), a platoon may dissolve out of an abundance of caution.
In some embodiments, to determine whether ABS units are operating properly, a BECU determines whether it is receiving an anticipated number of messages (e.g., by determining whether a rate at which the BECU is receiving messages indicating ABS units are operating properly (which may be referred to as MID11 messages)).
For example, ABS units may transmit two messages per second indicating they are operating properly (e.g., ABS units may transmit two MID11 messages per second). Thus, if a tractor is pulling two trailers (and a dolly), it should receive six MID11 messages per second (e.g., the tractor/BECU (or in some cases other component) should receive 2 MID11 messages from the first trailer, 2 MID11 messages from the dolly, and 2 MID11 messages from the second trailer).
Unfortunately, because multiple messages are sent over a PLC and collide with each other, typically not all MID11 messages will reach a BECU. As such, for example, anywhere between 1-6+MID11 messages may be received by a BECU when 2 trailers and a dolly are connected to a tractor. In such an example, if a BECU is only receiving 2 MID11 messages per second, it may determine that it cannot guarantee that ABS units are operating properly on a dolly and/or a second trailer. When a BECU cannot guarantee that ABS units are operating properly on a dolly and/or a second trailer, in some embodiments, a PECU, BECU, and/or another component may cause a platoon that a tractor trailer is part of to dissolve.
In some embodiments, a BECU guarantees that 3 ABS units are operating properly when an average number of received MID11 messages is above 4.5 per second. For example, a system may determine that two trailers and a dolly's ABS units are operating properly if, over the course of 10 1-second intervals, an average amount of MID11 messages received per second is at least 4.5. If the average amount of MID11 messages received per second falls below 4.5, because the system determines that it cannot guarantee that 3 ABS units are operating properly, a platoon may dissolve.
In some cases, such a method causes false positives more often than desired. As such, the instant disclosure discusses systems and methods that may improve on this method.
In various embodiments described herein, a system may determine whether ABS units are operating properly based on both: (1) an average number of MID11 messages received per second, and (2) an amount of MID11 messages received per second. The reason for this is simple. Namely, in some embodiments, even if an average number of MID11 messages received per second is below 4.5, if—within a one-second interval—a number of messages received is above 4 (e.g., 5 or 6), then a system may determine that the ABS units are functioning properly because it would be impossible to receive 5 or 6 MID11 messages per second if only one trailer were connected (e.g., a system could not receive more than 2 MID11 messages second if only 1 trailer were connected). Of course, similar logic applies to tractor trailer combinations that include more than 2 trailers, more than 1 dolly, trailers that include multiple ABS units (e.g., wherein 4 or more MID11 messages may be sent by a trailer within one second), etc.
Accordingly, various systems and methods described herein discuss determining whether an adverse action (e.g., a dissolve) should occur not only when (1) an average rate of MID11 messages received are below a certain rate, and (2) when a certain amount of MID11 messages (e.g., 5 or 6) were not received within a one-second interval within a certain period of time.
Of course, embodiments of processes and methods described herein may apply to other applications that use PLC. For example, speed information, refrigeration information, other brake information, trailer content information, etc. could be determined by modifying current methods of determining information based on data sent via a PLC. Further, rates, amounts of verification (e.g., MID11) messages, and other variables may be changed and/or tuned based on a variety of conditions. For example, a required rate of MID11 messages may be 6.5, an amount of MID11 messages received per second may need to be above 8, etc.
In various embodiments, vehicles 110, 112, 114, 116, 120, and 122 may be configured to platoon, and may platoon with one another. In some embodiments, vehicles may transmit and/or receive data (e.g., to a NOC and/or fleet management system, etc.) including, but not limited to data indicating: whether they are available to platoon; whether they are platooning; whether a platoon they were part of dissolved; what direction they are traveling; what direction they are predicted (e.g., predetermined/planning on/suggested) to be traveling on for a particular period of time; when they are expected to stop (e.g., predetermined to stop, planning on stopping, suggested stopping time); where they plan on stopping; what route(s) they plan to travel (e.g., a route suggested and/or determined by a system, a route determined by a navigation/mapping system based on their destination such a system may be a rendezvousing system, a fleet management system, a navigation system, etc.); what type of platooning system they are equipped with; how many hours they have been on the road; weather they are capable of following the leader (e.g., if one or more vehicles can platoon without a driver); whether they are capable of being the leader in a follow-the-leader system; whether the vehicle is fully autonomous (e.g., capable of level 4 according to the SAE classification system); how much fuel they have saved; how much money they have saved; an area they are allowed to travel within; an area they are not allowed to travel outside of; whether they are capable of platooning on city streets; whether they are only capable of platooning on a highway; whether they are capable of platooning on non-public roads; whether they are capable of platooning in a particular construction site, mine, forest, etc.; and whether other attributes associated with a vehicle's account allows them to platoon. As should be understood, one or more of these attributes may be used to determine whether a vehicle can platoon with one or more additional vehicles, and whether a vehicle should platoon with one or more additional vehicles. It is contemplated that in some embodiments, a system may rank one or more vehicles with which a vehicle should platoon. In such an embodiment, if a target vehicle (e.g., a vehicle with a high ranking) that a first vehicle attempts to platoon with platoons with second vehicle before the first vehicle is able to platoon with the target vehicle, then the first vehicle may select another (e.g., the next) ranked vehicle that the system would like it to (e.g., determines that it should attempt to) platoon with.
In addition to these factors, other information that a vehicle may transmit and/or receive may include data including, but not limited to data associated with a/an: position, latitude, longitude, altitude, heading, speed, longitudinal and lateral acceleration, relative angle, type of load (e.g., type of materials a vehicle is carrying), brake status, brake pressure, path history, path projection, travel plans, vehicle size, vehicle type, brake type, current operating mode (autonomous or manual), map data, traffic information, GPS augmentation information (e.g., delays from infrastructure), wheel speed, wheel torque, gross torque, net torque, wind, rain, music, video, infotainment system, suspension, axle weight(s), transmission status (e.g., what gear the vehicle is in, what gear the vehicle was in, what gears the vehicle transferred from and to (e.g., fifth gear to fourth gear)), previous transmission status, hybrid vehicle drivetrain (e.g., a parallel hybrid or an electric hybrid), whether a vehicle has an electric motor, battery, electronic throttle control, throttle pedal, brake pedal, power steering, adaptive cruise control, a blowout, interior lighting, exterior lighting, retarder, anti-lock brakes, emergency braking, engine governor, powertrain, gear ratio, wheel size, wheel type, trailer length, trailer type, trailer height, amount of trailers, trailer position, current trailer position, past trailer position, tractor type, tractor height, transceiver type, current fuel, next determined stop, projected miles remaining until fuel tanks are empty, malfunctions, turn signals, LIDAR, radar, ultrasonic sensors, road surface, wheel angle, tire pressure, cabin temperature, engine temperature, trailer interior temperature, camera, fleet of vehicles, NOC, computer vision, other vehicle traveling in the same direction, other vehicle traveling in an opposite direction, and intervening traffic (e.g., cut-ins, also referred to as the situation when a vehicle enters an area between a lead vehicle and a rear vehicle). This information can be used by one or more vehicles, systems, fleets, etc. to determine whether a vehicle may platoon with another vehicle and/or to determine the best vehicle with which a vehicle may platoon. Again, it is contemplated that in some embodiments, a system may rank one or more vehicles with which a vehicle should platoon, and this ranking may be based on vehicle attributes described above. In such an embodiment, if a target vehicle that a first vehicle wishes to platoon with platoons with another vehicle before the first vehicle is able to platoon with the target vehicle, then the first vehicle may move to another (e.g., the next) ranked vehicle that the system would like it to (e.g., determines that it should attempt to) platoon with.
It should be understood that, herein, when a system determines a rendezvous location and/or rendezvous time, that any of these attributes/information/data may be used alone or in combination to determine: whether two or more vehicles can platoon together, a rendezvous location, a rendezvous time, etc.
In addition to NOC 240, client devices 252 (e.g., a smartphone or tablet), 254 (e.g., a desktop computer or terminal), and 256 (e.g., a laptop computer or terminal) may be used to send and/or receive information about vehicles 210 and 220, NOC 240, or information from canonical sources such as the Internet (e.g., Google Maps or another online map provider, a traffic provider, a weather provider, etc.). Client devices can be used to view attributes of vehicles 210 and 220 such as their location, an estimate of their weight, their speed, an amount of engine torque, amount of applied break, a destination, etc.
Of course, it should be appreciated that the system described in
In the example embodiment illustrated in system 300, a platoon controller 310, receives inputs from a number of sensors 330 on the tractor and/or one or more trailers or other connected units, and a number of actuator controllers 350 (also referred to as electronic control units or ECUs) arranged to control operation of the tractor's powertrain and other vehicle systems. An actuator interface 360 may be provided to facilitate communications between the platoon controller 310 and the actuator controllers 350. In some embodiments, one or more of the actuator interfaces 360 may be included in one or more of the actuator controllers 350 (e.g., an actuator interface may be included in an ECU). Platoon controller 310 also interacts with an inter-vehicle communications controller 370 (also referred to as an inter-vehicle communications ECU) which orchestrates communications with the platoon partner and a NOC communications controller 380 (also referred to as a NOC communication ECU) that orchestrates communications with a NOC. The vehicle also may have selected configuration files 390 that include known information about the vehicle.
Some of the functional components of the platoon controller 310 include gap controller 312, a variety of estimators 314, one or more partner vehicle trackers 316 and various monitors 318. In many applications, the platoon controller 310 will include a variety of other components 319 as well.
Some of the sensors utilized by platoon controller 310 may include GNSS unit 331, wheel speed sensors 332, inertial measurement devices 334, radar unit 337, lidar unit 338, cameras 339, accelerator pedal position sensor 341, steering wheel position sensor 342, brake pedal position sensor 343, and various accelerometers 344. Of course, not all of these sensors will be available on all vehicles involved in a platoon and not all of these sensors are required in any particular embodiment. A variety of other sensors 349 (now existing or later developed or commercially deployed) may be additionally or alternatively be utilized by platoon controller 310 in other embodiments.
Many (but not all) of the described sensors, including wheel speed sensors 332, radar unit 337, accelerator pedal position sensor 341, steering wheel position sensor 342, brake pedal position sensor 343, and accelerometer 344 are relatively standard equipment on newer trucks (tractors) used to pull semi-trailers. However, others, such as GNSS unit 331 and lidar unit 338 (if used) are not currently standard equipment on such tractors or may not be present on a particular vehicle and may be installed as needed or desired to help support platooning.
Some of the vehicle actuator controllers 350 that platoon controller 310 may direct at least in part include engine torque controller 352; brake controller 354; transmission controller 356; steering/automated steering controller 357; and clutch controller 358. Of course, not all of these actuator controllers will be available or are required in any particular embodiment and it may be desirable to interface with a variety of other vehicle actuator controllers 359 that may be available on the vehicle as well. Therefore, it should be appreciated that the specific actuator controllers 350 directed or otherwise utilized by the platoon controller on any particular controlled vehicle may vary widely. Further, the capabilities of any particular actuator controller (e.g. engine torque controller 352), as well as its interface (e.g., the nature and format of the commands, instructions, requests and messages it can handle or generate) will often vary with the make and model of that particular actuator controller. Therefore, an actuator interface 360 is preferably provided to translate requests, commands, messages and instructions from the platoon controller 310 into formats that are appropriate for the specific actuator controller hardware and software utilized on the controlled vehicle. The actuator interface 360 also provides a mechanism for communicating/translating messages, commands, instructions and requests received from the various actuator controllers back to the platoon controller 310. In some embodiments, an appropriate actuator interface may be provided to interact with each of the specific vehicle controllers utilized. In various embodiments, this may include one or more of: an engine torque interface 361; a brake interface 362; a transmission interface 364; a retarder interface 365; a steering interface 367; and/or any other appropriate controller interface 369. In some embodiments, various controllers may be combined (e.g., in the case of a chassis controller, or an engine ECU that also controls a retarder—which may obviate the need for a retarder ECU).
Large trucks and other heavy vehicles frequently have multiple systems for “braking” the truck. These include the traditional brake system assemblies mounted in the wheels of the vehicle—which are often referred to in the industry as the “foundation brakes.” Most large trucks/heavy vehicles also have a mechanism referred to as a “retarder” that is used to augment the foundation brakes and serve as an alternative mechanism for slowing the vehicle or to help prevent the vehicle from accelerating down a hill. Often, the retarder may be controlled by the engine torque controller 352 and in such embodiments, the retarder can be controlled by sending appropriate torque commands (which may be negative) to engine torque controller 352. In other embodiments a separate retarder controller (not shown) may be accessible to, and therefore directed by, platoon controller 310 through an appropriate retarder interface 365. In still other embodiments, the platoon controller 310 may separately determine a retarder command that it sends to the actuator interface 360. In such embodiments the actuator interface will interpret the retard command and pass on appropriate retardation control commands to an Engine ECU or other appropriate vehicle controller.
The communications between vehicles may be directed over any suitable channel and may be coordinated by inter-vehicle communications controller 370. As described above, the DSRC protocol may work well.
The specific information transmitted back and forth between the vehicles may vary widely based on the needs of the controllers. In various embodiments, the transmitted information may include the current commands generated by the platoon controller 310 such as requested/commanded engine torque, and/or requested/commanded braking deceleration 382. They may also include steering commands, gear commands, etc. when those aspects are controlled by platoon controller 310. Corresponding information is received from the partner vehicle, regardless of whether those commands are generated by a platoon controller or other suitable controller on the partner vehicle (e.g., an adaptive cruise control system (ACC) or a collision mitigation system (CMS)), or through other or more traditional mechanisms—as for example, in response to driver inputs (e.g., accelerator pedal position, brake position, steering wheel position, etc.).
In many embodiments, much or all of the tractor sensor information provided to platoon controller 310 is also transmitted to the platoon partner and corresponding information is received from the platoon partner so the platoon controllers 310 on each vehicle can develop an accurate model of what the partner vehicle is doing. The same is true for any other relevant information that is provided to platoon controller 310, including any vehicle configuration information 390 that is relevant to platoon controller 310. It should be appreciated that the specific information transmitted may vary widely based on the requirements of platoon controllers 310, the sensors and actuators available on the respective vehicles, and the specific knowledge that each vehicle may have about itself.
The information transmitted between vehicles may also include information/data about intended future actions as will be discussed in greater detail below. For example, if the lead vehicle knows it is approaching a hill, it may expect to increase its torque request (or decrease its torque request in the context of a downhill) in the near future and that information can be conveyed to a rear vehicle for use as appropriate by the platoon controller 310. Of course, there is a wide variety of other information that can be used to foresee future torque or braking requests and that information can be conveyed in a variety of different forms. In some embodiments, the nature of the expected events themselves can be indicated (e.g., a hill, curve, or exit is approaching) together with the expected timing of such events. In other embodiments, the intended future actions can be reported in the context of expected control commands such as the expected torques and/or other control parameters and the timing at which such changes are expected. Of course, there are a wide variety of different types of expected events that may be relevant to the platoon control.
The communications between the vehicles and the NOC may be transmitted over a variety of different networks, such as a cellular network, various Wi-Fi networks, DSRC networks, satellite communications networks and/or any of a variety of other networks as appropriate. The communications with the NOC may be coordinated by NOC communications controller 380. The information transmitted to and/or received from the NOC may vary widely based on the overall system design. In some circumstances, the NOC may provide specific control parameters such as a target gap. These control parameters or constraints may be based on factors known at the NOC such as speed limits, the nature of the road/terrain (e.g., hilly vs. flat, winding vs. straight, etc.) weather conditions, traffic or road conditions, etc. In other circumstances the NOC may provide information such information to platoon controller 310. The NOC may also provide information about the partner vehicle including its configuration information and any known relevant information about its current operational state such as weight, trailer length, etc.
Lastly, with regard to
An Anti-Lock Braking System (ABS) helps prevent a vehicle's (e.g., a trailer and/or trailers's) wheels from locking in the case of excessive actuation of service braking system, especially on slippery roads. ABS may help a driver to keep control of the vehicle during emergency maneuvers and optimizes the stopping distance compared to blocking wheels. In some embodiments, tractor trailer braking systems only allow for full (e.g., hard) braking when a system determines that every trailer and/or dolly include ABS (also referred to as an ABS system and/or ABS brakes for ease of reading).
As can be seen in example message log 700, FULL braking is available at a time represented by row 721 because the rate 714 in row 721 is at least 4.5 seconds. At row 722, an adverse action (e.g., pulsed braking) is applied because the rate 714 in row 722 is below 4.5 seconds. Of course, any average may be used to cause any action (adverse or otherwise) (e.g., an average amount speed of a wheel (provided via PLC) above a certain speed may cause a vehicle's engine ECU (EECU) to perform an action). Further, any number shown in
When rate 714 drops below 4.5 second, pulsed braking is applied (e.g., at rows 722-724 and 726-735). The reason pulse braking is applied is because this particular method assumes that if the rate is below 4.5 per second a second trailer and dolly may not be connected (or at least receiving power). In other words, this method does not guarantee that a dolly and a second trailer have ABS brakes when a rate of MID11 messages is below 4.5 messages per second.
However, as described herein, it is contemplated that, in some embodiments, if an amount of messages received in a one-second interval is greater than 4.5, then components attached over a PLC to a first trailer must exist—since a single trailer does not send 5 or 6 MID11 messages in a one-second interval.
Thus, embodiments described herein articulate a method that does not produce as many false positives (e.g., where a rate under 4.5 causes an adverse action by itself, regardless of an amount of MID11 messages received over a previous one-second interval).
Herein, a method is contemplated wherein response to an average rate being below an amount (e.g., an average MID11 receipt rate of 4.5 MID11 messages per second): (1) a determination is made as to whether more than a threshold amount of messages (e.g., four MID11 messages) were received in the previous interval (e.g., the previous one-second interval). If there were more than a threshold amount of messages (e.g., four MID11 messages) received in the previous interval (e.g., the previous one-second interval), no adverse action is applied. (2) A determination is made as to whether this is the first instance of a rate falling below a threshold amount of messages (e.g., 4.5 MID11 messages per second). If it is the first instance of the rate falling below the threshold amount of messages, no adverse action (e.g., ending full braking capability/ending platooning) will be applied, but a counter will start. The counter may determine whether an amount of messages received within a certain amount of the previous intervals (e.g., the previous three one-second intervals) exceeds a threshold (e.g., 4 messages). (3) In response to the counter not having a threshold amount of messages received within one of the previous intervals (e.g., the previous one-second intervals), then an adverse action such as pulsed braking or the dissolve of a platoon may occur.
As an example of why this method may reduce the number of false negatives (adverse actions when not necessary), take the following situation:
If in a first on-second interval, an amount of messages received were 6, a rate would be 6. If the next one-second interval received 2 messages, the rate would be 4, and an adverse action would occur. If the next one second interval included 6 received messages, the rate would be 4.666, which would reverse the adverse action, or at least not causes an adverse action. If the next one second interval included 2 received messages the rate would be 4. If the next one second interval included 6 received messages, the rate would be 4.4, and so on—causing adverse actions even though there must be two trailers and a dolly (for example) since the received messages is often 6.
In other words, if an amount of received messages oscillated between 6 and 2 (or 5 and 3 for that matter), a method that only relied on an average (which may be referred to as method 1) would cause false negatives more often than and a method that relied on an average and discarded that average if more than 4 messages were received in one of the previous 3 one-second intervals (which may be referred to as method 2) would not cause false negatives as often. In fact, the latter method may respond to a loss in power/communication with ABS units (e.g., cause an adverse action) faster than the former method.
In this example, a rate of received packets fell below a threshold (e.g., 4.5 per second) at instances 940/960 and 950/970, but a counter (e.g., a data structure that includes information about received messages in a previous set of time intervals) included a representation of a time interval that included more than a threshold (e.g., 4) received messages (e.g., MID11 messages).
In this example, a rate of received packets fell below a threshold (e.g., 4.5 per second) at instances 1040/1050. Further, a time interval that included more than a threshold received messages (e.g., MID11 messages) was not received at instances leading up to instances 1070/1080. In some embodiments, because a method such as method 2 includes a counter that only assesses three intervals of time (e.g., one-second intervals) as opposed to ten intervals (e.g., when taking an average as with method 1 described above), a method such as method 2 may determine that there is an error in power/communication between an ABS and a BECU sooner.
In this example, at line 1090 indicates the time at which a method (e.g., method 2) wherein an adverse action was caused when a rate was below a certain amount and an amount of messages received in each time interval in a set of previous time intervals caused an adverse action. Line 1095 indicates the time at which a method where only a rate is assessed (as with method 1) causes an adverse action.
Moreover, in some embodiments a portion of a step may be omitted and/or added. For example, step 1224—where a determination is made as to whether a rate is above a threshold or an amount of messages received in a current time interval is above a threshold—may only call for a determination as to whether a rate is above a threshold, or it may only call for a determination as to whether an amount of messages received in a current time interval are greater than a threshold. Thus, in such an example, even if a rate is above a threshold, if an amount of messages received in a current time interval is below a threshold the determination will result in “no”, and process 1200 may proceed from step 1224 to step 1226.
It should also be understood that, in some embodiments, process 1200 may be a loop. In some examples, process 1200 may occur every time a message (e.g., an MID11 message) is received. For example, in response to receiving a message, a determination may be made as to whether it is an MID10 message, the number of messages received in a current time interval may be incremented, etc.
Accordingly, the specific arrangement of steps shown in
In step 1202 in some embodiments, process 1200 starts. In some embodiments, it is assumed that a certain amount of messages (e.g., MID11 messages) have already been sent and that a system is currently operating correctly. In other words, at step 1202 it is assumed that a message rate (e.g., column 714 of each row of table 700) and an amount of messages in each cell of a buffer (e.g., wherein a cell of a buffer is an object (and wherein each object constitutes the buffer) and each object includes an amount of received messages in a time interval (e.g., column 713 of each row of table 700)).
In step 1204 in some embodiments, a determination is made as to whether a received message is an MID10 message. If yes, in some embodiments, process 1200 proceeds to step 1206.
In step 1206 in some embodiments, an adverse action occurs, and process 1200 proceeds to step 1206. An adverse action may include causes allowing a tractor only having the authority to pulsed brake, instead of having full braking authority. In some embodiments, an adverse action may include the dissolve of a platoon or the inability to initiation a platoon.
In step 1208 in some embodiments, process 1200 ends.
In step 1210 in some embodiments, if an MID10 message was not received, a determination is made as to whether a received message is an MID11 message. If the received message is an MID11 message, a count of MID11 messages is increased at step 1212 (e.g., a cell of a message buffer representing the current time interval increases an amount of MID11 messages received during the current time interval by one). If not, then process 1200 does nothing at step 1214.
In step 1212 in some embodiments, the MID11 count for a time period (e.g., a one-second interval) is increased.
In step 1214 in some embodiments, the system does nothing, and continues as it is currently operating. Process 1200 then ends at step 1216.
In step 1216 in some embodiments, process 1200 ends.
In step 1218 in some embodiments, a determination is made as to whether it is time for the system to update the rate (e.g., a determination is made as to whether a new time interval should begin). If yes, in some embodiments, the process 1200 proceeds to step 1220. If not, in some embodiments, process 1200 proceeds to step 1214 and does nothing, then ends process 1200 at step 1216.
In step 1220 in some embodiments, a current time interval is incremented. For example, the previous one-second interval ends and a new one-second interval begins. In some embodiments, at step 1220, (1) each cell in the message buffer is populated with the values in each cell's previous cell (e.g., cell one is populated with information included in cell two, such as the amount of MID11 messages received during the one-second time interval represented by cell two, cell two is populated with information included in cell three, such as the amount of MID11 messages received during the one-second time interval previously represented by cell three, and the information that was populating cell one is discarded), (2) a cell in a message buffer representing the current time is populated with an amount of MID11 messages received during the current time interval (e.g., cell three is populated with the amount of messages received in during current time interval), (3) the total amount of messages included in a message buffer is updated to include the total amount of messages included in the message buffer cells (e.g., cells one-three), (3) an average message rate may be updated to include the new total amount of messages included in the message buffer cells divided by the number of cells in the message buffer, and (4) the MID11 count for the new time interval restarts at 0.
In step 1222, in some embodiments, a determination is made as to whether a system is operating correctly and a driver has selected a number of trailers attached to a trailer. If this has not happened, in some embodiments, process 1200 may continue to step 1214 and nothing may occur. In some embodiments, if this has happened process 1200 may continue to step 1224. Of course, a variety of other actions, attributes of a system, etc. may be present and/or occur to cause process 1200 to proceed to step 1224. Moreover, in some embodiments, it is contemplated that when process 1200 proceeds to step 1222 it may automatically proceed to step 1224.
In step 1224 in some embodiments, a determination is made as to whether a rate is above a threshold rate or if an amount of messages received in a current time interval is greater than a threshold amount of messages received in a current time interval (e.g., if the number of messages included in a current cell of a buffer is above a threshold) In some embodiments, the threshold rate is 4.5 MID11 messages per second, and the threshold amount of messages received in a current time interval is 4.5. If a rate is above a threshold rate then nothing is done and process 1200 proceeds to step 1214 and process 1200 ends at step 1216. If the amount of messages received in a current time interval is above greater than a threshold amount of messages received in a current time interval then nothing is done and process 1200 proceeds to step 1214 and process 1200 ends at step 1216. In some embodiments, if either the rate is below a threshold rate and an amount of messages received in a current time interval is less than a threshold amount of messages received in a current time interval then process 1200 proceeds to step 1226. In some embodiments, if process 1200 proceeds to step 1214, a counter indicating how many times process 1200 did not proceed from step 1224 to step 1214 is reset to 0.
In step 1226 in some embodiments, a determination is made as to whether the rate is above a threshold rate or the amount of messages received in a current time interval is greater than 0. If the rate is above a minimum threshold and the amount of messages received in a current time interval is above 0, then process 1200 may proceed to step 1228 where an adverse action occurs (e.g., as in step 1206), and process 1200 ends at step 1230.
It should be understood by one skilled in the art that if process 1200 (e.g., loop 1200) proceeds to step 1226 more than a threshold number of times, an adverse action may occur because this could be indicative of an abnormal function wherein step 1224 does not proceed to step 1214 within a given amount of loops through process 1200 (e.g., process 1200 is not determining that a rate is above a threshold or an amount of messages received in a current (or previous) time interval is above a threshold).
In step 1228 in some embodiments, a system causes an adverse action such as switching to pulsed braking, dissolving a platoon, and/or disabling an ability to platoon. In some embodiments, process 1200 then proceeds to step 1230 and ends.
In step 1230 in some embodiments, process 1200 ends.
In step 1232 in some embodiments, a determination is made as to whether how many times process 1200 did not proceed from step 1224 to step 1214 (e.g., lowcount==0 as described in
In step 1234 in some embodiments, a count indicating that process 1200 has not entered step 1226 a threshold number of times is increased, and an adverse action is not caused at step 1236. Process 1200 then ends at step 1238.
At step 1236 in some embodiments, a system may not cause an adverse action. For example, in some embodiments a system may continue to allow for full braking, or a system may continue to authorize and/or reauthorize a vehicle and/or a set of vehicles to platoon.
At step 1238 in some embodiments, process 1200 ends.
At step 1240 in some embodiments, a determination is made as to whether the amount of times process 1200 has entered step 1226 is below a threshold amount. If the count is below a threshold, process 1200 continues to step 1234 where the count is increased, and then to step 1236 where an adverse action does not occur, then process 1200 ends at step 1238.
Moreover, in some embodiments a portion of a step may be omitted and/or added. For example, step 1324—where a determination is made as to whether a rate is above a threshold or an amount of messages received in a current time interval is above a threshold—may only call for a determination as to whether a rate is above a threshold, or it may only call for a determination as to whether an amount of messages received in a current time interval are greater than a threshold. Thus, in such an example, even if a rate is above a threshold, if an amount of messages received in a current time interval is below a threshold the determination will result in “no”, and process 1300 may proceed from step 1324 to step 1326.
It should also be understood that, in some embodiments, process 1300 may be a loop. In some examples, process 1300 may occur every time a message (e.g., an MID11 message) is received. For example, in response to receiving a message, a determination may be made as to whether it is an MID10 message, the number of messages received in a current time interval may be incremented, etc.
As mentioned, some steps in process 1300 may correspond to steps in process 1200. In some embodiments, if a step in process 1200 corresponds to a step in process 1300 then actions, attributes, and/or descriptions associated with that step included in process 1200 may correspond to actions, attributes, and/or descriptions of the corresponding step in process 1300 and vice-versa.
In step 1304, which may correspond with step 1204, in some embodiments, process 1300 starts and a determination is made as to whether a received message is an MID10 message. If so, process 1300
a determination is made as to whether a received message is an MID10 message. If yes, in some embodiments, process 1300 proceeds to step 1306.
In step 1306, which may correspond with step 1206, in some embodiments, a fault is detected due to the reception of an MID10 message and an adverse action occurs. For example, full braking authority may be revoked and only pulsed braking authority may be provided. In some embodiments, a platoon may be dissolved and/or a vehicle may not have authorization to platoon.
In step 1310, which may correspond with step 1210, in some embodiments, a determination is made as to whether a received message is an MID11 message. If no, process 1300 proceeds to step 1314 and nothing is done. If it yes, then an amount of messages included in a current time interval is increased by one (e.g., messagesum+=1) at step 1312.
In step 1312, which may correspond with step 1212, in some embodiments, an amount of messages included in a current time interval is increased by one (e.g., messagesum+=1).
In step 1314, which may correspond with step 1214, in some embodiments, nothing is done.
In step 1318, which may correspond with step 1218, in some embodiments, a determination is made as to whether a current time subtracted by a previous time is equal to an amount of time at which a rate should be updated (e.g., if ((timeNow−timePrevious)==updaterate)) (e.g., a rate should be updated every one second). If no, nothing is done at step 1324. If yes, process 1300 may proceed to step 1320.
In step 1320, which may correspond with step 1200, in some embodiments, one or more of the following may occur: (1) the previous time interval is updated to be the current time interval (e.g., timePrevious=timeNow, (2) the contents of each cell in a message buffer is replaced with the contents of the next cell in the content buffer (e.g., Messagebuffer[n−1, n−2, . . . , 0]=n, n−1, . . . , 1), (3) the contents of the cell representing the current interval of time in the message buffer is populated with the current amount of messages received in the current time interval (e.g., Messagebuffer[n]=messagesum), (4) the total amount of messages included in the buffer is updated (e.g., Buffersum=sum(Messagebuffer[0:n])), (5) the rate may be populated with the total amount of messages included in the buffer divided by the length of a time interval (e.g., updaterate and/or one second) multiplied by the amount of messages included in a cell representing the current time interval, and (6) an amount of messages in a current time period is set to 0 (e.g., Messagesum=0).
In step 1322, which may correspond with step 1222, in some embodiments, a determination is made as to whether the time that the system is running is greater than the start timer of the system, and whether a driver has selected a trailer configuration (e.g., if (Key On Time>StartTimer & (Driver selected configuration==true)). If either of these have not happened, then process 1300 moves to step 1314 and does nothing. If either of this are true, then process 1300 moves to step 1324.
In step 1324, which may correspond with step 1224, in some embodiments, a determination may be made as to whether an average message rate for a current time interval is greater than a rate threshold or an amount of MID11 messages received in a current time interval is greater than a threshold (e.g., if (AverageMessageRate>upper minimum rate threshold) OR if (messagebuffer[n]>minimum value threshold)). If yes, then process 1300 moves to step 1336. If no, the process 1300 moves to step 1326. In some embodiments, if yes, then the counter (e.g., lowcount) indicating how many times the determination was no (e.g., where process 1300 would move to step 1326) is reset to 0.
In step 1326, which may correspond with step 1226, in some embodiments, a determination is made as to whether a message rate is greater than a threshold (which could be a minimum threshold (also referred to as a low threshold)) or if an amount of messages in a current time interval is more than 0 (e.g., if (AverageMessageRate>lower minimum message rate threshold) OR if (messagebuffer[n]>0)). If no, then process 1300 moves to step 1328. If yes, then process 1300 moves to step 1332. It should be understood by one skilled in the art that if process 1300 (e.g., loop 1300 (or 1200 for that matter)) proceeds to step 1326 more than a threshold number of times, an adverse action may occur because this could be indicative of an abnormal function wherein step 1324 does not proceed to step 1336 within a given amount of loops through process 1300 (e.g., process 1300 is not determining that a rate is above a threshold or an amount of messages received in a given time interval is above a threshold).
In step 1328, which may correspond with step 1228, in some embodiments, the input a driver entered with regard to a number of trailers does not equal the current configuration and/or an adverse action occurs. For example, full braking authority may be revoked and only pulsed braking authority may be provided and/or a platoon may dissolve and/or a vehicle may not be authorized to form part of a platoon.
In step 1332, which may correspond with step 1232, in some embodiments, a determination is made as to whether the current iteration of process 1300 (e.g., loop 1300) is low (e.g., below a threshold and/or equal to 0 (e.g., lowcount=0)). If yes, then process 1300 moves to step 1334. If no, then process 1300 moves to step 1336.
In step 1334, which may correspond with step 1234, in some embodiments, an amount of times that process 1300 has occurred (e.g., loop 1300) is incremented (e.g., Lowcount+=1). In some embodiments, this number is incremented because there has not been an instance in a particular number of loops wherein an average message rate is above a threshold or a amount of messages received in a time interval is above a threshold. Thus, process 1300 then proceeds to step 1336.
At step 1336, which may correspond with step 1236, in some embodiments, a driver input (e.g., a driver's selection of a trailer configuration including a number of trailers) is correct, and a system provides full braking authority and/or authorizes/reauthorizes a vehicle to form part of a platoon.
At step 1340, which may correspond with step 1240, in some embodiments, a determination is made as to whether an amount of times process 1300 has entered step 1326 (e.g., how many times a rate was not above a threshold and an amount of messages received within one or more time intervals was not above a threshold) is less than a threshold (e.g., if (lowcount<lowcount threshold). Such a determination is important because it may indicate whether a rate is ever above a threshold or a number of messages received within a time interval is ever above a threshold (if this never happens, there likely is an error). Thus, if yes, then process 1300 proceeds to step 1334. If no, then process 1300 proceeds to step 1328.
In step 1402, in some embodiments, process 1400 begins.
In step 1404, in some embodiments, an amount of received messages in at least two bins is determined. In some embodiments, a bin may be a cell that is part of a buffer (e.g., an array or other data structure). Each bin may represent a time interval (e.g., a one-second time interval) and may include an amount of messages (e.g., MID11 messages) received within the time interval represented by the bin.
In step 1406, in some embodiments, a weighting factor may be applied to the amount of messages received in each bin. For example, a weighting factor may be 1, or it may be 0.1. If a bin includes 5 received messages and a weighting factor is 1 is applied to that bin, then the amount of received messages in that bin after applying the weighting factor would be 5 (e.g., 1×5). If a bin includes 5 received messages and a weighting factor of 0.1 is applied to that bin, then the amount of received messages in that bin after applying the weighting factor would be 0.5 (e.g., 0.1×5).
In step 1408, in some embodiments, a sum of the weighted amount of received messages in each bin is determined. For example, if two bins include 5 messages (e.g., where each bin included 5 messages and a weighting factor of 1 was applied) and another two bins include 0.5 messages (e.g., where each bin included 5 messages and a weighting factor of 0.1 was applied), then the sum of those four bins would be 11 (e.g., (2× (5×1))+(2× (5×0.1))).
In some embodiments, the weighting factor applied to messages in bins representing more recent time intervals is greater than or equal to the weighting factor applied to messages in bins representing less recent time intervals (or vice-versa). For example, a first bin (which may represent a most recent time interval) may have a weighting factor of 1.0, a second bin may have a weighting factor of 0.8, a third bin may have a weighting factor of 0.8, a fourth bin may have a weighting factor of 0.5, and a fifth bin may have a weighting factor of 0.1. In this example, wherein the weighting factor applied to messages in bins representing more recent time intervals is greater than or equal to the weighting factor applied to messages in bins representing less recent time intervals, the fourth bin could not have a weighting factor of 0.9 since that would be greater than the weighting factor of the third bin. Of course, in some embodiments the weighting applied to messages may not be ordered/independent of the time (interval) at which a message was received.
In step 1410, in some embodiments, a determination is made as to whether the sum of the weighted amount of received messages in each bin less than a threshold. For example, if each of 5 bins originally included 5 received messages, and the first bin has a weighting factor of 1.0, the second bin has a weighting factor of 0.8, the third bin has a weighting factor of 0.8, the fourth bin has a weighting factor of 0.5, and the fifth bin may have a weighting factor of 0.1, then the sum of the weighted amount of received messages in each bin would be 16 (e.g., ((5×1.0)+(5×0.8)+(5×0.8)+(5×0.5)+(5×0.1), or (5+4+4+2.5+0.5)).
In step 1412, in some embodiments, process 1400 causes an action to occur in response to the sum of the weighted amount of received messages in each bin being below a threshold. For example, if the sum is 16, and the threshold is 20, then an action will occur. An action may be adverse, and may include disabling a vehicle's authority to use full braking, dissolving a platoon, and/or deauthorizing a vehicle from platooning.
For now, it should be understood that additional systems and methods may be used to perform actions as described herein, such as allowing a tractor to cause a trailer to use full braking as opposed to pulsed braking.
For example, in some embodiments, a system may determine whether trailers and/or dollies send messages over PLC that include information that identifies one or more of the trailers and/or dollies. Systems and methods described herein may use such information in addition to systems and methods described above, or without the systems and methods described above, to more accurately estimate a number of trailers and/or dollies connected to a tractor.
In some embodiments, in addition or alternatively to (1) determining how many trailers and dollies are attached to a tractor based on how many MID11 messages are received during each time interval (which may produce output in the form of an integer referred to as “NTABS_MID11”), embodiments described herein may also/alternatively (2) determine how many trailers and dollies are attached to a tractor based on messages that include information identifying the trailers and/or dollies attached to a tractor (these identifying IDs may be referred to as “dynamic MIDs”, and a method that uses them to produce an estimate of how many trailers and/or dollies are connected to a tractor may produce output in the form of an integer referred to as “NTABS_DID”).
Each dynamic MID may be assigned to a trailer or dolly in response to the trailer or dolly being powered on, or some other event. In some embodiments, one or more modules (e.g., an electronic device, a controller) located within a trailer or dolly may negotiate its dynamic ID with one or more other trailers and/or dollies via the PLC (hence the term dynamic MID). Such embodiments may provide for a more accurate count of trailers and dollies than only viewing a number of MID11 messages. For example, a dynamic MID method may simply produce an estimated number of trailers and/or dollies based on the number of individual IDs (e.g., 1 ID for each trailer and dolly).
For the ease of reading, various systems and methods described herein may be grouped into three methods: (1) MID11 counting (which may produce an output referred to as NTABS_MID11); (2) Dynamic MID counting (which may produce an output referred to as NTABS_DID); and (3) a TABS counter estimator (which may produce an output referred to as NTABS). Of course, other names could be used to describe systems and methods that operate at least partially in the same manner. In addition each of these methods could involve other types of messages, where these messages are either Statically Unique, Dynamically Assigned Unique, or Not Unique. In any case, in embodiments described below, method 3 may be calculated based at least in part on the outputs of methods 1 and 2 (NTABS_MID11 and NTABS_DID, respectively).
Method 1: Methods described above generally describe what is referred to herein as MID11 counting (e.g., as shown in
Method 2: Dynamic MID counting operates differently in that a “dynamic MID” is assigned to each trailer and dolly. In some embodiments, an array (e.g., of 5 cells) stores the number of unique IDs received over a time interval (e.g., 1 second). In other words, each cell in a dynamic MID array may be populated based on how many different dynamic MIDs were received during a particular time interval. In some embodiments, the number of different dynamic MIDs may be multiplied by two, and that result may be the output of Method 2. This output may be referred to as NTABS_DID. For example, NTABS_DID may be 6 if three unique dynamic MIDs are each received within a time interval (e.g., if each each the the three unique dynamic MIDs were received twice within the time interval). One skilled in the art will appreciate that this may be done without constraining to an MID, for example with a proprietary message that gets assigned to each unit.
Method 3: TABS counter estimator may operate differently from MID11 counting and dynamic MID counting (methods 1 and 2 as described herein). In some embodiments, methods 1 and 2 may be executed, the method that produces the larger result may be selected as the correct result, and (1) the correct result may be added to a stability array (e.g., of 5 cells) and (2) a stability counter (e.g., an integer (e.g., 0-5)) may be incremented if the current cell (representing the current time interval) matches the previous cell (representing the previous time interval).
For example, if method 1 indicates that there are 4 ABS units connected to a tractor and method 2 indicates that there are 6 ABS units connected to a tractor, method 3 may use the result of method 2 (NTABS_DID) to populate the first cell of the stability array, and the stability counter may be incremented if the previous cell in the array contains the same number (6 in this case).
A stability array of including outputs of methods 1 and/or 2 received within a time interval may be maintained. An example array may indicate that MIDi+4=6, MIDi+3=3, MIDi+2=5, MIDi+1=4, and MIDi=5, wherein i=0 and MIDx is cell x of the array. In some embodiments, when a new time interval begins, the stability array may be updated/shifted such that a current cell of the stability array corresponding to the present time interval (MIDi) is set to 0 (e.g., MIDi+4=MIDi+3, MIDi+3=MIDi+2, MIDi+1=MIDi, and MIDi=0).
In some embodiments, as described above, each cell in the stability array is populated with the larger number of messages produced by methods 1 and 2 for a respective time interval (e.g., 1 second), and if the same result is observed for a certain period (e.g., 5 seconds (MIDi+4=MIDi+3=MIDi+2=MIDi+1=MIDi)), then a result of the TABS counter estimator is considered stable, and that result (e.g., 6 ABS units as shown in each cell of the stability array) is provided as the result of the TABS counter estimator method (method 3) and can be referred to as NTABS. If a result is not stable (e.g., the cells are not populated with the same number), then method 3 may not produce a result and/or a result may be discarded.
In other words, in some embodiments, a TABS counter estimator (which may run every second), operates by:
(1) estimating a number of TABS units based on a number of MID11 messages accumulated for the last M seconds (e.g., method 1 which outputs NTABS_MID11);
(2) estimating a number of TABS units based on a number of dynamic MID messages received (and/or counting all non-zero cells in the dynamic MID array) (e.g., method 2 which outputs NTABS_DMID);
(3) shifting a stability array such that the first cell=0 (e.g., e.g., MIDi+4=MIDi+3=MIDi+2, MIDi+1=MIDi, and MIDi=0);
(4) selecting the higher of the outputs of methods 1 and 2 (e.g., MAX(NTABS_MID11, NTABS_DMID)) and populating cell 0 of the stability array with the result of MAX(NTABS_MID11, NTABS_DMID);
(5) if the newly populated cell 0 (e.g., MIDi) is different than the previous cell 0 (which may now be stored in MIDi+1), reset a stability counter to 0;
(6) otherwise, if the newly populated cell 0 is the same as the previous cell 0, then determine whether the stability counter=an agreed upon constant (S) (e.g., 5);
(7) if the counter is less than S, increment the counter; and
(8) if the counter=S, set Ntabs=MAX(NTABS_MID11, NTABS_DMID) and return that value as the output (NTABS) for the TABS counter estimator (method 3).
This method (method 3, TABS counter estimator), may be used to determine a number of trailers and/or dollies connected to a tractor with more accuracy than methods 1 and/or 2 alone.
Turning back to
In some embodiments a portion of a step may be omitted and/or added (e.g., added from another flowchart/process/method described herein). It should also be understood that, in some embodiments, process 1500 may be a loop. In some examples, process 1500 may occur every time a message (e.g., an MID11 message) is received. For example, in response to receiving a message, a determination may be made as to whether it is an MID10 message, the number of messages received in a current time interval may be incremented, etc.
In step 1502 process 1500 starts.
In step 1504, a determination may be made as to whether a received message is an message indicating a component is not operating correctly (e.g., an ABS unit not operating correctly, an MID10 message). If yes, in some embodiments, process 1500 proceeds to step 1506.
In step 1506, in some embodiments, an adverse action occurs as a result of receiving a message indicating a component is not operating correctly. For example, as adverse action may include full braking authority being revoked and only providing pulsed braking authority. In some embodiments, a platoon may be dissolved and/or a vehicle may not have authorization to platoon.
In response to an adverse action occurring, process 1500 may end at step 1508.
If a message indicating a component is not operating correctly is not received, process 1500 may proceed to step 1510, wherein an MID11 counting method, as described above (e.g., method 1) may be executed. Of course, it should be understood that, throughout this disclosure, messages may not be MID11 messages (they may be any type of message/data structure (e.g., a protobuf, Apache Thrift)), any nomenclature may be used (e.g., MID88, packet identifier 1.100, i32), and any portion of a message may be used to identify a message (e.g., not only an ID field). In various embodiments described herein, the MID11 counting method producing an output (e.g., an integer, NTABS_MID11).
At step 1512, a dynamic MID counting method may be executed (e.g., method 2), which may produce an output (e.g., an integer, NTABS_DMID). As discussed above, various steps in the processes described herein may be performed in an order other than the order described with respect to that process. For example, here, steps 1512 and 1510 may occur in any order, at the same time, or in some cases one of steps 1512 and/or 1510 may not be performed.
At step 1514, a determination is made as to whether an output (if one exists) of the MID11 counting method (e.g., NTABS_MID11) is greater than an output (if one exists) of the Dynamic MID counting method (e.g., NTABS_DMID). If step 1514 did not receive a result from 1510 or 1512, the determination may determine that the method it received a result from is greater than the other. In some embodiments, the output that determined to be greater is inserted into a cell of a stability array at step 1520.
Turning back to step 1514, if a determination is made that the output of the MID11 counting method is greater than the output of the Dynamic MID counting method, process 1500 may proceed to step 1516. Alternatively, if, at step 1514, a determination is made that the output of the MID11 counting method is less than the output of the Dynamic MID counting method, process 1500 may proceed to step 1518. At step 1516, process 1500 may cause the result of the MID11 counting method (e.g., an output of step 1510) to be an input for step 1520 (e.g., an input for a stability array). At step 1518, process 1500 may cause the result of the Dynamic MID counting method (e.g., an output of step 1512) to be an input for step 1520.
At step 1520, a received input (e.g., MAX(NTABS_MID11, NTABS_DMID), which would be the greater of NTABS_MID11 and NTABS_DMID) is inserted into an array (e.g., which may be referred to herein as a stability array). In some embodiments, before a received input is inserted into an array, the values in the cells of the array may be shifted. For example, the value in the first cell of the array may be moved to the second cell, the value in the second cell of the array may be moved to the third cell of the array, and so on. The value in the last cell of the array may be removed. In some embodiments, the value shifted from the first cell of the array to the second cell of the array may be the value (e.g., NTABS_MID11 or NTABS_DMID) most recently inputted into the array, while the last cell may include the least recent value inputted into the array. Thus, in some embodiments, the first cell may not contain a value such that the value inputted into the array at step 1520 does not overwrite another value within the array.
At step 1522, a determination may be made as to whether the previous cell of the stability array is equal to the inserted input. In other words, a determination may be made as to whether the new input (e.g., NTABS_MID11 or NTABS_DMID) is the same as the previous input (e.g., which may be the value that was in the first cell of the array and has now been moved to the second cell of the array). To put it another way, a determination is made as to whether the input is equal to the previous input. If so, process 1500 proceeds to step 1526. If not, process 1500 proceeds to step 1524.
At step 1524, a stability counter is set to zero. A stability counter may be an integer, or it may include a fractional component (e.g., 4.5). In some embodiments, the stability counter keeps track of/counts/indicates how many inputs (e.g., to the stability array) were received in a row that are equal. At step 1524—since step 1522 indicated that the previous cell of the stability array was not equal to the inserted input—the system has determined that the zero of the last two received inputs are equal, and the stability counter is set to 0. In response to the stability counter being set to 0, process 1500 may proceed to step 1504 (e.g., where it inspects the next message to determine whether it is an MID10 message).
If, at step 1522, a determination is made that the previous cell of the stability array is equal to the inserted input (e.g., the result of MAX(NTABS_MID11, NTABS_DMID) is equal to the previous result of MAX(NTABS_MID11, NTABS_DMID)), process 1500 proceeds to step 1526. At step 1526, a determination may be made as to whether the stability counter is equal to a particular amount/value (which may be predetermined). In some embodiments, step 1526 may determine whether the stability counter is greater that a particular amount/value. If a determination is made that the stability counter is less than the particular value, then process 1500 may proceed to step 1528 where the stability counter is incremented. After step 1528, process 1500 may proceed to step 1504 and determine whether a new message is an MID10 message or an MID11 message. However, if step 1526 determines that the stability counter is equal to (or greater than) a particular value, then process 1500 may proceed to step 1530.
At step 1530, in some embodiments, the value of the inserted input (e.g., the most recent result of (MAX(NTABS_MID11, NTABS_DMID)) is set as the value of the TABS counter estimator. In other words, at step 1530, Ntabs (e.g., the result of method 3) is produced. In response to process 1500 producing the result of method 3, process 1500 may proceed to step 1532 and end.
Of course, it should be appreciated that, in some embodiments, process 1500 may continue after step 1530. For example, the system may attempt to determine if there is a fault (e.g., an MID10 message was received, a PLC was disconnected, etc.). Further, in some embodiments, process 1500 may produce a new TABS counter estimate (e.g., the result of method 3/Ntabs). In some embodiments, in response to the new TABS counter estimate not being the same as the previous TABS counter estimate, a stability counter may be set to 0 and/or the new TABS counter estimate may replace the previous TABS counter estimate. If the response to the new TABS counter estimate is the same as the previous TABS counter estimate, in some embodiments, then process the previous TABS counter estimate may stay the same, or it may be replaced with the new TABS counter estimate (which is fine, since they are the same).
As discussed above, if the TABS counter estimate (as with systems that only use the MID11 counter and/or the Dynamic MID counter) is above a threshold value, a vehicle may be given the authority to fully brake. If the TABS counter estimate is below a threshold value, a vehicle may not be given the authority to apply full brakes, and instead only be able to use pulsed braking. In some embodiments herein, the TABS counter estimate may be referred to as a “stable value”. Thus, if a stable value does not correspond to an amount of expected trailers and dollies (e.g., as inputted by a driver, NOC, or other source) then a vehicle may not be authorized to fully brake, and may only have authorization for pulsed braking, for instance.
In various embodiments, the calculations performed above may be discussed in the general context of computer-executable instructions residing on some form of computer-readable storage medium, such as program modules, executed by one or more computers or other devices. By way of example, and not limitation, computer-readable storage media may comprise non-transitory computer-readable storage media and communication media; non-transitory computer-readable media include all computer-readable media except for a transitory, propagating signal. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or distributed as desired in various embodiments.
This disclosure contains numerous references to a NOC and to one or more processors. According to various aspects, each of these items may include various kinds of memory, including non-volatile memory, to store one or more programs containing instructions for performing various aspects disclosed herein.
For example, as shown in
One or more elements of the aforementioned computing system 1600 may be located at a remote location and connected to the other elements over a network 1614. Further, embodiments of the invention may be implemented on a distributed system having a plurality of nodes, where each portion of the invention may be located on a subset of nodes within the distributed system. In one embodiment of the invention, the node corresponds to a distinct computing device. Alternatively, the node may correspond to a computer processor with associated physical memory. The node may alternatively correspond to a computer processor or micro-core of a computer processor with shared memory and/or resources.
For example, one or more of the software modules disclosed herein may be implemented in a cloud computing environment. Cloud computing environments may provide various services and applications via the Internet (e.g., the NOC). These cloud-based services (e.g., software as a service, platform as a service, infrastructure as a service, etc.) may be accessible through a Web browser or other remote interface.
Communication media can embody computer-executable instructions, data structures, and program modules, and includes any information delivery media. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media. Combinations of any of the above can also be included within the scope of computer-readable media.
While the foregoing disclosure sets forth various embodiments using specific block diagrams, flowcharts, and examples, each block diagram component, flowchart step, operation, and/or component described and/or illustrated herein may be implemented, individually and/or collectively, using a wide range of hardware, software, or firmware (or any combination thereof) configurations. In addition, any disclosure of components contained within other components should be considered as examples because many other architectures can be implemented to achieve the same functionality.
The embodiments disclosed herein may also be implemented using software modules that perform certain tasks. These software modules may include script, batch, or other executable files that may be stored on a computer-readable storage medium or in a computing system. These software modules may configure a computing system to perform one or more of the example embodiments disclosed herein. One or more of the software modules disclosed herein may be implemented in a cloud computing environment.
While this disclosure has been described in terms of several aspects, there are alterations, modifications, permutations, and equivalents which fall within the scope of this disclosure. In view of the many alternative ways of implementing the methods and apparatuses of the present disclosure, it is intended that the following appended claims be interpreted to include all such alterations, modifications, permutations, and substitute equivalents as falling within the true scope of the present disclosure.
The present application is a continuation-in-part of U.S. patent application Ser. No. 16/175,674, filed on Oct. 30, 2018. The present application claims priority to U.S. patent application Ser. No. 16/175,674 and incorporates it herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 16175674 | Nov 2018 | US |
Child | 16228502 | US |