# Patent

## Title
Brake control unit

## Abstract

Towed vehicles can be extremely heavy. Accordingly, it is too much of a burden to the braking system of a towing vehicle to not have brakes on the towed vehicle. Controlling the brakes of the towed vehicle must be accurately applied otherwise undesirable conditions can be created. There is a need for a method for controlling braking of a towed vehicle. This method comprises receiving a first signal via a communication bus of a towing vehicle, the first signal relating to at least one operating condition of at least one the towing vehicle and a towed vehicle, sending a second signal to brakes of the towed vehicle, the second signal based on said first signal.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority from U.S. Provisional Patent Application No. 60/617,062 filed on Oct. 8, 2004, and U.S. Provisional Patent Application No. 60/616,979 filed on Oct. 8, 2004, which are both hereby incorporated by reference.


FIELD OF THE INVENTION
The present invention relates generally to a brake control unit, and more specifically, to a brake control unit that provides a brake output signal to brakes of a towed vehicle based on certain inputs received.
BACKGROUND OF THE INVENTION
A variety of prior art brake control units that provide a brake output signal to the brakes of a towed vehicle have been proposed and/or manufactured. Few, if any, of these brake control units, however, use speed inputs to provide the brake output signal. They are mostly inertia or pressure based units. Additionally, most current brake control units do not efficiently operate in conjunction with a towing vehicles anti-lock brake system to create a stable braking event.
On most brake control units if the main input is unavailable, the brake control unit will not function properly. Similarly, if a short occurs in most current control brake units, the unit will either disable itself or will shut down, further causing a potentially undesirable situation. And, if a reverse voltage is applied to most brake control units, they will be disabled. Finally, if an error occurs in the brake control unit or between the communication of the brake control unit and the towing vehicle, most systems do not have a way of notifying the operator independent of the brake control unit or storing the error for a technician's review thereof.
Most current brake control units are not integral with the towing vehicle's instrument panel. They are aftermarket units. They are not able to communicate with and communicate over existing systems within the towing vehicle. For example, these units are not able to warn an operator of an error through the towing vehicle's current warning systems. They are unable to operate with the rest of the displays on the towing vehicle's instrument panel.
Finally, most current brake control units are not effectively configurable or completely operable with a particular towing vehicle. The brake control units are unable to be configured to respond to the idiosyncrasies of a particular vehicle, they are unable to provide diagnostic data, they are unable to adjust to conditions in the environment or in the towing vehicle, and are unable to provide life-cycle data regarding the brake control unit.
SUMMARY OF THE INVENTION
What is needed is a brake control unit that generates an output signal to the brakes of a towed vehicle directly related to a variety of input signals sent from the towing vehicle, the towed vehicle, the operator, or a combination of any of the three. Additionally, it would be helpful if such brake control unit stores diagnostic code information and other events that will assist a service technician in diagnosing failure modes in the brake control unit or other modules with which it interfaces. Finally, it would be helpful if brake control unit includes several safety features and redundant procedures built in it to protect against failures in the brake control unit, the towed vehicle, or the towing vehicle.
An embodiment of the present invention is directed to a method for controlling braking of a towed vehicle. The method comprises receiving a first signal via a communication bus of a towing vehicle, the first signal relating to at least one operating condition of at least one the towing vehicle and a towed vehicle, sending a second signal to brakes of the towed vehicle, the second signal based on said first signal.
According to another embodiment of the present invention, a method for controlling braking of a towed vehicle comprises receiving a first signal relating to at least one of an operating condition of a towing vehicle, a manual input, and an operating condition of a towed vehicle, the first signal being received via a communication bus of the towing vehicle, sending a second signal to brakes of the towed vehicle, the second signal based on the first signal, and sending a third signal to the towing vehicle via the communication bus, the third signal relating to the operating condition of at least one of the towing vehicle and the towed vehicle, and storing the third signal in a memory for diagnostic or life cycle management of a brake control unit.
According to yet another embodiment of the present invention, a brake control unit comprises a processor, a first signal relating to at least one of an operating condition of a towing vehicle, a manual input, and an operating condition of a towed vehicle, the first signal sent to the processor via a communication bus of the towing vehicle, and a second signal sent by the processor to brakes of the towed vehicle, the second signal based on the first signal.
According to another embodiment, a brake control unit comprises a first signal from a towing vehicle's communication bus, the first signal relating to at least one operating condition of the towing vehicle or the towed vehicle, a processor capable of receiving the first signal, a second signal sent from said processor to brakes of a towed vehicle, the second signal based on said first signal, a third signal sent to said towing vehicle from the processor, the third signal based on a failure of at least one of the towing vehicle, the towed vehicle, and the brake control unit, and memory operably coupled to the processor to store the third signal.
According to yet another embodiment, a method for controlling braking of a towed vehicle comprises receiving a first signal via a communication bus of a towing vehicle, the first signal relating to anti-lock brakes of the towing vehicle, sending a second signal to brakes of the towed vehicle, the second signal based on the first signal releasing the brakes to prevent wheels of the towed vehicle from locking; and reapplying the brakes of the towed vehicle based on the first signal.
These and other features, advantages and objects of the present invention will be further understood and appreciated by those skilled in the art by reference to the following specification, claims, and appended drawings.



DESCRIPTION OF THE DRAWINGS
Objects and advantages together with the operation of the invention may be better understood by reference to the following detailed description taken in connection with the following illustrations, wherein:
FIG. 1A is an exemplary electrical block diagram of a brake control unit, according to an embodiment of the present invention;
FIG. 1B is an exemplary electrical block diagram of a brake control unit, according to an embodiment of the present invention;
FIG. 2 is a front view of a faceplate display of an embodiment of the brake control unit;
FIG. 3 is a front view of the faceplate display of an embodiment of the brake control unit integrated with the instrument panel of a towing vehicle;
FIG. 4 is an electrical schematic of a typical connection of a brake control unit without reversed battery protection;
FIG. 5 is an electrical schematic of a reversed connected towing vehicle battery;
FIG. 6 is an electrical schematic of a reversed connected breakaway battery with the breakaway switch closed;
FIG. 7 is an electrical schematic of the parts required to prevent damage from reverse connection of either battery;
FIG. 8 is an electrical schematic of the reversed connection of the towing vehicle battery; and
FIG. 9 is an electrical schematic of a reversed connection of the breakaway battery.



DETAILED DESCRIPTION
A brake control unit for a towed vehicle, e.g., a trailer, disclosed herein generates an output signal to the brakes of the towed vehicle to apply a certain brake load thereto. The output signal is related to a variety of input signals received by the brake control unit from the towing vehicle, the towed vehicle, the operator, or any combination of the three. Additionally, the brake control unit has the capability of storing diagnostic information and other events, including error events, in memory in the brake control unit. This information can assist a service technician in diagnosing failure modes in the brake control unit or other modules such as those of the towing vehicle and/or towed vehicle with which it interfaces. Further, the brake control unit has several safety/performance features and redundant procedures built in to it to protect against failures in the brake control unit, the towed vehicle, and/or the towing vehicle. Finally, the brake control unit drives the towed vehicle's and towing vehicle's brake lamps directly during a manual override braking event. The power to drive the brake lamps comes from a separately fused supply where other brake control units use a single supply for all functions.
The present brake control unit can be an original equipment manufactured (OEM) unit that is installed in the towing vehicle at the factory. Alternatively, the trailer brake control unit can be incorporated into the towing vehicle as an after-market component. The brake control unit can be installed in the dashboard of the towing vehicle, much like a car radio is. In either embodiment, the trailer brake control unit is integrated with the towing vehicle as an electronic control device that provides variable braking power to electric brakes on a vehicle towed by the towing vehicle.
More specifically, the brake control unit generates and applies a particular voltage to the brakes of the towed vehicle so as to apply a brake load to slow-down or stop the towed vehicle. The voltage applied is related to the input signals available on and/or from the towing vehicle, among other available inputs. Several of these input signals are diagrammatically represented on FIG. 2. It should be understood, however, that the brake control unit can have other input signals inputted therein leading to other responsive outputs applied thereto. These additional input signals may come directly from the operator of the towing vehicle, from the towed vehicle, or a combination of any of the three.
The brake control unit uses a variety of preselected or continuously modified algorithms to generate the appropriate output to the towed vehicle brakes based on the received inputs. A processor on the towing vehicle (although it may be located on the towed vehicle) receives the input signals from the source (such as the ABS system, a speed meter, the ignition, the brake pedal, other processors on the towing vehicle, etc.) and generates the appropriate output signal. The algorithms stored within the processor may be updated by having new algorithms entered therein or having the existing algorithms modified automatically or manually. It should be noted that the brake control unit is capable of being reprogrammed meaning that the algorithms stored therein can be modified by a technician or a completely new set of algorithms may be entered therein by a technician. This allows the brake control unit to be updated with new information regarding the towing vehicle, the towed vehicle, or the brake control unit itself. The algorithms stored in the brake control unit correspond to each unique combination of inputs. The selection of the appropriate algorithm or algorithms is done by the processor once it receives the appropriate input information. Further, depending upon changes in the input(s), the processor may select a different algorithm or algorithms to generate the appropriate brake output signal. Of course, the processor or a technician/operator may alter the algorithms stored to generate an appropriate brake output signal.
The braking energy provided to the trailer is varied with a pulse width modulated (PWM) signal that switches between zero volts and the available battery voltage. The higher the duty cycle (more time spent at the available battery voltage), the more braking power available. Algorithm(s) controlled by the brake control unit determines the brake output signal, for example the PWM output signal, to the towed vehicle brakes based on information it receives from the towing vehicle, towed vehicle, and/or directly from operator selected settings captured via the brake control unit, including those captured via the brake control unit's faceplate display. (The faceplate display is accessible to the operator by its position in the towing vehicle's instrument panel, which is discussed in more detail below.)
The brake output signal controlled by the brake control unit based on information it receives can be represented as a transfer function. This transfer function relating the brake output signal to the various input signals can be defined as, for example, by: PWM %=f1(BPT−BPToffset)*f2(vehicle states from ABS)*f3(gain)*f4(voltage)*f5(brakes-on-off)*f6(manual override)*f7(redundant brake signal)*f8(time). It should be understood, however, that the transfer function can include any or all of the input signals listed above in any manner or combination. Additionally, it should be understood that the transfer function is not limited to those input signals listed above.
As shown in the electrical block diagram of FIG. 2, the brake control unit 10 can receive and send signals via a communication bus 20, such as the high speed controlled area network (HSCAN) bus 20 shown. For example, the brake control unit 10 can receive and send signals relating to wheel speeds of the towing and/or towed vehicle, vehicle state information from ABS, brake-on-off, etc. The brake control unit 10 can also receive signals from the brake pressure transducer 30 (BPT) of the towing vehicle, and can also receive a power signal 40. The brake control unit 10 is grounded 50 as means of protection and safety. The brake control unit 10 is also capable of: sending signals to the brakes of the towed vehicle 60; sending signals to the stoplight 70 of the towed vehicle, including stoplight power 75; sending other signals to the towed vehicle; and sending signals to the towing vehicle. The brake control unit 10 is also capable of receiving information regarding the ignition of the towing vehicle 80.
Further, the brake control unit 10 can include an input/output buffer and filtering device 100. The brake control unit 10 also can include a load dump and reverse connection protection device 110, BPT power interface 115, output drivers with current sense and flyback 120, and a communication bus interface 130. The brake control unit 10 can also include a voltage regulator and watchdog with reset 140, a stop light drive 160, and a power failure advanced notice 170. It should be understood, however, that the brake control unit 10 may be alternatively configured and should not be limited to the embodiment shown in the drawings.
Finally, the brake control unit 10 includes a faceplate display 200, which is shown in FIG. 3. It should be understood that the brake control unit 10 is not limited to the faceplate display shown in FIG. 3. Any sort of display system can be used. The brake control unit 10 drives the faceplate display thereof to communicate information such as percentage of brake signal output, gain value settings, and trailer connectivity status. In one embodiment, the brake control unit 10 utilizes a display 230 for displaying the current gain setting, such as two seven segment displays. The brake control unit 10 may use another display to represent the current brake control output level, such as a ten segment bar graph 220 shown in the drawings. Finally, a trailer icon 210 that uses an operator notification system to indicate a connected and disconnected state, e.g., a green state symbolizing the connected state and a red state symbolizing a disconnected state. In an exemplary embodiment a light emitting diode can be used to indicate the towing vehicle connected and disconnected state. Finally, the faceplate display may include a manual override control 240, which may have a thumb rest 242, and gain switches 250, which are described in more detail below.
The brake control unit 10 can be fully integrated with the towing vehicle, as shown in FIGS. 3 and 4. This allows the brake control unit to be originally installed equipment in a towing vehicle. In other words, the brake control unit can be a factory-installed option on a towing vehicle. In such circumstances, the displays and the controls for the brake control unit are integrated into the instrument panel 280 of the towing vehicle. As such, it is imperative that the controls operate similarly to the other controls contained in the towing vehicle's instrument panel. In particular, automatic dimming and light harmony with the dash lighting elements is important.
Accordingly, the brake control unit incorporates a mechanism via software and hardware interface to adjust the lighting intensity of the displays to coordinate with the intensity of the dash lighting elements of the towing vehicle. The adjustment of the brake control unit display is triggered through a message list being received via the towing vehicle communication bus. This adjustment is controlled through communication with the display driver and the display elements, such as by serial communication. Through a series of commands the functionality of the display, for example, dimming, blinking, setting element values, scrolling, etc., can be modified. For example, the gain buttons on the brake control unit are backlit to assist the operator in locating these adjustment devices. The intensity of the back lighting is also varied based on the operator's adjustment of the interior dash light adjustment of the towing vehicle.
In order to operate the components above, the brake control unit 10 includes a processor 300. As used herein, the term “processor” may include a general-purpose processor, a microcontroller (e.g., an execution unit with memory, etc., integrated within an integrated circuit), a digital signal processor (DSP), a programmable logic device (PLD) or an application specific integrated circuit (ASIC), among other processing devices. The processor must have enough on-board memory to contain the software requirements to communicate with the towing vehicle's communication bus (such as the CAN or a high-speed controlled area network (HSCAN)), or other communication systems (such as a local interconnect network (LIN) and a J1850), in-vehicle diagnostics, and required functionality for interpreting vehicle and driver inputs. It must also have the capabilities to provide proper control to the: brakes of the towed vehicle, towing vehicle stop lamps during a manual braking event, towed vehicle stop lamps during a manual braking event, and faceplate display information accessible to the operator. Further, as shown in FIG. 2, the processor 300 is operably coupled to a display driver 305, a manual control override 310, and gain up/down switches 320. The display driver 305 is operably coupled to the LEDs for trailer connect and disconnect 325 (discussed in more detail below) and a bar graph display and dual seven segment display 330. It should be understood that alternative configurations are also contemplated herein, not just that shown in the drawings.
As previously stated, the brake control unit generates an output signal based on a variety of information received from the towing vehicle (as well as other information from the operator and the towed vehicle). This towing vehicle information can be received through hard-wired inputs from a brake pressure transducer, a brake on-off switch, and an ignition run line, as shown in FIG. 2. Additional vehicle provided information can be received through the towing vehicle's communication bus. Although, towing vehicle information from the brake pressure transducer, brake on-off switch, and ignition line can also be received through the towing vehicle's communication bus. Among the information received via the towing vehicle's communication bus is the redundant brake signal status, the brake on-off status, ABS event in progress flag, wheel speed data, vehicle deceleration data, and dimming information for the faceplate display. Most signals received by the brake control unit will be “debounced,” meaning that in order for the brake control unit to output a signal based on the input, it will receive more than one such input signal. It is used to verify each signal so that one rogue signal will not inadvertently alter the brakes of the towed vehicle. The brake control unit also sends out information on the brake control unit system status via the towing vehicle's communication bus. These messages are displayed on the instrument cluster message center in the towing vehicle.
One of several input factors used to effectively apply the brakes of the towed vehicle by, e.g., obtaining the appropriate voltage to apply to the brakes of the towed vehicle, is a speed signal. As electric brakes are speed dependent in their operation to most effectively and efficiently operate the brakes speed must be considered and accounted for. The speed signal may be received from the towing vehicle or even the towed vehicle via a speed meter, such as a global positioning system (GPS) receiver, a wheel speed sensor, an engine speed sensor, a throttle position sensor, a Doppler sensor, etc. Alternatively, the speed signal may be received from the speedometer of the towing vehicle.
Additionally, the brake control unit can receive an input signal from the brake pressure transducer (BPT). The BPT input signal can be received via the towing vehicle's communication bus or through hard-wired inputs. This input signal represents the braking effort by the operator. When the brakes of the towing vehicle are not active (pressed), there is certain offset voltage present on the output of the BPT. This offset voltage needs to be nulled to determine the input signal representative of the braking effort. The offset signal is acquired when the brake control unit is in the idle mode. In this mode, there is no manual or automatic braking event. Several samples are acquired and averaged to determine the offset voltage. During a normal braking event, the BPT input voltage is sensed and the offset voltage is subtracted from it.
A performance feature of the brake control unit is that it can detect a failure of the BPT. In this situation, the brake control unit will sense the voltage supplied by the BPT when the brake-on-off switch (stoplight switch) or the redundant brake signal indicates an active braking. If this voltage is lower than or the same as the offset voltage, a failure of the BPT has occurred (there is no pressure in the BPT) and the event is reported, e.g., storing such event as part of the diagnostic information.
The brake control unit can also receive an input signal from the towing vehicle's anti-lock braking system (ABS) so as to adjust the application of the towed vehicle's brakes. In particular, the algorithm applies the ABS signal of the towing vehicle and responds to that signal by altering the brakes of the towed vehicle based on the ABS event. For example, the algorithm can cause the towed vehicle to continue to fully brake if the ABS is triggered due to wheel slip on a high μ surface, or can be used to reduce the braking to the towed vehicle if the ABS condition results from braking on a low or split μ surface. Using the ABS signal allows the total braking event to become more stable. Alternatively, the brake control unit may use a speed signal and/or accelerometer as an input to provide a stable braking event as described below.
More specifically, when an ABS event occurs on the towing vehicle or when the speed signal input or accelerometer input indicate, the brake control unit will attempt to provide stable braking. It may first release the brakes to ensure that the towed vehicle wheels are not locked. Then it may reapply the towed vehicle brakes based on a deceleration input, e.g., a signal supplied from the ABS system over the towing vehicle communication bus. This strategy may remain in effect until the brake event has ceased, or until the ABS event has ceased.
Further, the brake control unit is aware of the absence or invalidity of the ABS signal and deceleration signal and stores the diagnostic information thereof. If the ABS signal and/or deceleration signal are absent or invalid, the brake control unit uses a proportion of the BPT signal, such as 50%, to reduce the power to the brakes of the towed vehicle to prevent the wheels of the towed vehicle from locking in case an ABS braking event is occurring.
The brake control unit can also receive the vehicle identification number (VIN) from a particular towing vehicle and configure itself based on that particular vehicle's variables, such as its brake systems, stability systems, wheel base, 4×4, 2×4, GVW, etc. The towing vehicle can store the VIN in its memory. The brake control unit can receive this information from the towing vehicle via its communication bys. Based on the VIN, the brake control unit uses its algorithms stored in the processor (or can modify such) to configure the towed vehicle's brakes (including their braking curve) based on the variables of the towing vehicle with that particular VIN. The brake control unit can also configure itself based upon variable of the particular towing vehicle with that particular VIN.
The brake control unit can receive a signal from the towing vehicle that confirms whether or not such towing vehicle is configured to function with a brake control unit or with the particular brake control unit installed. The brake control unit can use the VIN, or alternatively, can use other information provided by the towing vehicle. This signal is sent over the towing vehicle's communication bus. If the brake control unit receives this signal from the towing vehicle, the brake control unit can notify the operator and will shut itself down to prevent unauthorized use.
Another input signal that can be sent to the brake control unit is whether the ignition of the towing vehicle is on or off. The brake control unit uses at least one algorithm stored in the processor that is based on sensing the ignition of the towing vehicle or the lack thereof. The ignition input signal can also be used as part of the sensing for a sleep mode of the brake control unit. In the sleep mode the idle current can be minimized for the brake control unit to minimize the drain of the battery on the towing vehicle. In other words, when the ignition of the towing vehicle is turned off, a signal is sent to the brake control unit via the communication bus instructing the brake control unit to go into a sleep mode. In this sleep mode, the brake control unit draws significantly less voltage. The ignition signal going to high, or on, is used to wake up the brake control unit. In this case, when the ignition is turned on, the brake control unit is awakened. It will draw sufficient voltage to be completely active. An alternative method for waking the brake control unit up is to base it on towing vehicle communication bus activity. The brake control unit can be programmed such that any towing vehicle communication bus activity can wake up the brake control unit. As with the ignition on-off, when there is little to no towing vehicle communication bus activity the brake control unit goes into a sleep mode. This also minimizes the idle current down to the microampere level. When communication bus activity resumes, the brake control unit is awakened.
Additionally, the brake control unit has access to the park, reverse, neutral, drive, and low gear signals of the transmission of the towing vehicle to further modify the brake output signal. Again, algorithms stored in the processor can be altered and/or a particular algorithm(s) selected based on this additional input. This is useful because towed vehicle brakes do not have the same braking efficiency in reverse as they do in forward. For example, if the towing vehicle is in reverse, a signal is sent to the brake control unit notifying of such reverse condition. Then, the brake control unit sends a brake output signal to apply more voltage to the brakes so that they may be applied more aggressively. Therefore, the algorithms can be adjusted based on this information to effectively and efficiently apply the brakes for the current gear setting.
Another input signal that can be used to adjust the braking output is the powertrain load of the towing vehicle. The load on the powertrain can be used to help determine the total load (weight) of the combination of the towing vehicle and the towed vehicle. This information is inputted from the appropriate sensor into the appropriate algorithm to configure the brake control unit to have an improved braking performance based on the actual weight of the towing vehicle and towed vehicle.
In addition to automatic inputs, the brake control unit can use inputs manually entered from an operator to control the output of the towing vehicle brakes by using predetermined algorithms, modifiable algorithms, or both. In particular, an operator can manually enter an input and the brake control unit can output a brake output signal that can apply the brakes of the towed vehicle in a predetermined manner based on such input.
One operator input available is the gain buttons, which may be present on the faceplate display of the brake control unit. The gain buttons can provide several different inputs to the brake control unit. For example, holding the gain buttons simultaneously with the brake-on-off active input may allow the brake control unit to change its configuration to allow the algorithm to convert from electric brake curves to electric over hydraulic algorithms (or brake curves). Other operator interface controls of the brake control unit can be used in combination to achieve other means to alter configurations of the brake control unit. Since the load sensing and performance curves are significantly different for the two types of braking systems, this allows for adapting the brake control unit via the operator input to a unique algorithm(s) for electric over hydraulic brakes. Also, the display can show the use of the alternate configurations to notify the operator of the configuration currently set. For example, a flashing digital character representation may show that the brake control unit is interfacing to an electric over hydraulic braking system.
Another input the gain buttons can provide is to adjust the maximum duty cycle available. More specifically, if manual activation occurs during a normal or ABS braking event the greater of the two duty cycles, i.e., a normal ABS event or a limited operating strategy (LOS) deceleration braking event, is used. The determined duty cycle is then adjusted according to the current gain setting. The gain setting is used as a multiplier to the duty cycle. Therefore, it will produce an output that is scaled to a certain percentage of the current braking level the operator is requesting. For example, if the operator is requesting 75% desired braking capacity at a gain setting of 6.0, the brake control unit will provide 45% of the maximum duty cycle available (60% times 75%).
Additionally, along with the gain setting the reference speed is inputted into a transfer function. This scales the gain adjusted duty cycle output according to the towing vehicle speed. At low speeds, a scaled percentage of the brake output signal is computed based on the curve that is present in a lookup table present in the processor. This thereby causes reduced braking strength at lower speeds to prevent the brakes of the towed vehicle from jerking. At higher speeds, the brake output signal is set to 100% of calculated duty cycle. This duty cycle value is stored to be used for the output display on the brake control unit console. The unadjusted value of this signal is used to drive the bar graph display on the brake control unit console, thereby, communicating to the operator the total level of braking requested at a specific gain setting.
As showing in FIG. 3, the present embodiment of the brake control unit uses two separate buttons, one to increase and one to decrease the gain setting. Pressing each button activates its own momentary push switch. It should be understood, however, that any number of buttons can be used herewith. Additionally, any sort of device can be used, not just the buttons shown. For example, one could use a slide, knob, touch-screen, etc.
Another operator input that is present on the faceplate of the brake control unit is a manual override control. The manual override control can be, e.g., a manual slide having a linear travel potentiometer, controlled by the towing vehicle operator. In this embodiment, the manual slide can be part of the brake control unit faceplate and is spring-loaded to an at rest (inactive) position. This input to the brake control unit allows the operator to manually apply towed vehicle brakes without having to depress the brake pedal. The manual override control is mainly used in conjunction with the gain adjustment buttons described above to calibrate maximum towed vehicle braking available based on specific towed vehicle loading, towed vehicle tire and brake conditions, and road conditions. Normal maximum is that braking force that is just short of causing the wheels of the towed vehicle to skid. When the operator activates the manual override control the brake control unit sends a signal over the communication bus to the towing vehicle. Additionally, whenever there is a normal braking event, e.g., the operator depressing the brake pedal of the towing vehicle, a signal is also sent to the towing vehicle from the brake control unit via the communication bus.
In order to communicate between the towing vehicle, the towed vehicle, and the brake control unit, the brake control unit utilizes communication bus methods. The brake control unit extracts data from the towing vehicle's bus as well as transmits information to the towing vehicle's bus to interface with other subsystems in the towing vehicle, e.g., cluster, ABS, vehicle stability systems, transmissions, dimming features, etc. The brake control unit is in constant communication with the towing vehicle's communication systems and can alert the operator and other vehicle systems of operation, lack of operation, defects found within the interfacing systems, etc. In particular, the brake control unit receives and sends messages over the towing vehicle's communication bus interface. The trailer brake controller periodically transmits status message information over the towing vehicle communication bus interface. These messages include diagnostic messages, data interfaces to other modules of the towing vehicle, and informational and alert messages to the cluster, which in turn displays visual alerts and initiates audible alerts.
In addition to the communication bus above, the brake control unit can also receive a measure of the brake pressure from a brake pressure transducer mounted to the master cylinder of the towing vehicle. The brake control unit can also receive inputs from an operator interface, including a set of gain switches and a manual brake apply lever, which independently actuates the towed vehicle's brakes.
Integrating the brake control unit with the towing vehicle's communication system using the towing vehicle's communication bus also allows information relating to the brake control unit, the towing vehicle, and the towed vehicle to be stored. For example, brake control unit diagnostic code information and other events that can assist a service technician in diagnosing failure modes in the brake control unit or other modules (including those of the towing vehicle) it interfaces with can be stored.
The brake control unit collects and stores information in memory, for example in electrically erasable programmable read-only memory (EEPROM) or Flash memory, to allow for diagnostics, life cycle management, etc. of the brake control unit, the towing vehicle, and/or the towed vehicle. More specifically, the brake control unit can read and store the number of ignition cycles, the gain adjustments, number of manual activations, the VIN of the towing vehicle, calibration data, other defect codes during the life of the brake control unit, serial number of the brake control unit, date of manufacture of the brake control unit, and other configuration management data of the brake control unit. This information is useful in understanding the life of the brake control unit as well as representing the conditions the brake control unit has been subjected to throughout its life. For example, storing the serial number of the brake control unit helps traceability of the unit itself as well as the components that make up the unit. This helps with the serviceability of the unit and its components. Additionally, the diagnostic section determines if a valid fault exists. If it does, it is stored in memory. Again, this assists a technician with maintenance of the brake control unit. Finally, depending on the severity of the fault the towing vehicle may be notified that a serious fault exists that could hinder the normal operation of the brake control unit. The towing vehicle will notify the operator of such fault occurring, for example, through the cluster message center. If the fault is not severe, it is merely stored in memory to be accessed by a technician at a later time.
Many specific codes can be used with the brake control unit to allow it to diagnose other subsystem failures of the towing vehicle, towed vehicle, and brake control unit and report this information back via the communication bus so the towing vehicle, brake control unit, and towed vehicle can be diagnosed. The brake control unit has complete self-diagnostics as well as diagnostics for interfacing with other components of the towing vehicle and towed vehicle, such as brake pressure transducer, ABS system, brake on-off, cluster instrument panels, vehicle stability system, and power distribution. This allows for real-time troubleshooting and adjustments to algorithms for performance based on the diagnostic capabilities built into the brake control unit. More specifically, the brake control unit can, based upon the diagnostic information received from the towing vehicle or towed vehicle, adjust the algorithms stored therein to optimize its operation. For example, the brake control unit can receive diagnostic information regarding the ABS system of the towing vehicle and can adjust the brake output signal to account for the specific operation of the ABS system.
In an embodiment, the brake control unit uses memory to store information relating to every ignition cycle of the towing vehicle. The storage and usage of this information generated in such a manner that minimizes the storage size so a small microprocessor can be used, for example a Motorola Mc68HC908AZ32A. The brake control unit utilizes a storage array as a fixed area of memory within which may exist a number of ignition configurations. The ignition configuration is a variable length stored data grouping for a specific vehicle ignition cycle and includes an end of configuration marker. After several ignition cycles there will be several ignition configurations stored. Each will follow the previous ignition configuration then wrap back to the beginning of the storage area when the end of the storage array has been reached. At start-up the brake control unit looks for the end of configuration marker that is always written at the end of the latest configuration. This configuration is then used to initialize the current operating variables and diagnostic information of the brake control unit. The current configuration overwrites the previous end of configuration marker with a new ignition configuration. For example, the most current ignition cycle configuration is followed with two or more bytes of storage in their erased state. At a power on/reset event the presence of two or more bytes of storage in their erased state would identify the most current ignition configuration. The number of valid ignition cycles is stored in an ignition configuration as an increment of the value stored during the previous valid ignition cycle.
In addition to the number of valid ignition cycles, operating characteristics of the brake control unit, such as the gain setting, operating characteristics of the towing vehicle, operating characteristics of the towed vehicle, the number of diagnostic failures, and the diagnostic failure information can be stored in the ignition configuration. The diagnostic failure information includes the failure that occurred, the number of ignition cycles such failure occurred, and the number of ignition cycles since the last occurrence of such failure. Each ignition configuration also includes a checksum to assist in identifying good or incomplete/incorrect data stored in a specific ignition configuration. A technician can then access the information stored in the ignition configuration to diagnose any problems with the brake control unit, towing vehicle, or towed vehicle.
When the diagnostic mode of operation has verified that certain specific faults have occurred, a limited operating strategy, which is described in more detail below, is entered. The diagnostic mode runs simultaneously with the operational modes of the module. It runs a system of tests to verify certain faults that have occurred during normal operations and also determines whether the module should enter the limited operating strategy.
The brake control unit includes several performance features and safety characteristics built therein. For example, the brake control unit has a redundancy built into it. This redundancy is a limited operating strategy (LOS). It allows the brake control unit to continue to function despite the main input (e.g., brake pressure transducer) being unavailable. This permits the brake control unit to give the operator the ability to brake at a comparable deceleration mode to the current controls despite losing the main input. It, also, notifies the operator of the error by requesting the instrument cluster, via the communication bus, to display a message regarding the error. In an embodiment of the current brake control unit, BPT is the primary input, deceleration is the secondary redundancy, and the final default would be a time-based output as a third means for redundancy. In the situation in which BPT has failed, the deceleration signal from the communication bus is used to calculate the brake output signal, which can be represented as: PWM %=f5(deceleration)*f2(speed)*f3(gain)*f4(voltage). If the deceleration signal is unavailable, a time-based output is used to calculate the brake output signal, which is defined as follows: PWM %=f6(time)*f2(speed)*f3(gain)*f4(voltage). This will allow the brakes of the towed vehicle to active despite failures of the BPT, ABS, and/or communication bus.
Another performance feature is that the brake control unit automatically adjusts its output based on variable inputs from the vehicle. The brake control unit continuously samples the supply voltage and will adjust its algorithm to keep the brake control unit voltage output consistent even with variations in the supply voltage. The algorithm will adjust the duty cycle of the PWM to maintain a constant energy to the towed vehicle brakes. For example, the brake control unit will continually monitor the supply voltage of the towing vehicle to ensure that such voltage is within a normal range. If the supply voltage is lower than normal, e.g., from a loss of the alternator, then the PWM is increased to maintain a constant output energy to the brakes of the towed vehicle.
Another performance feature included in the brake control unit is inductive and resistive load sensing for detecting proper loads of the brakes of the towed vehicle. The brake control unit monitors the current in the towed vehicle's brake line over a predetermined time, for example, every four seconds, to determine if the load that is present represents a normal electric towed vehicle brake system. The primary feature of the brake magnets is that it has a certain range of resistance and inductance. Accordingly, the brake control unit performs the resistive test more quickly, for example every 4 milliseconds, instead of the time that it takes for the inductive test. The resistive test verifies that the resistance of the load is within range. The results of the resistive test are further “debounced” to make sure that one erroneous reading is not counted. A change in the result of the resistive test causes the inductive load sensing to be performed to confirm that the load present has inductive value within range. The feature of the inductive load that is used is its exponential current rise with a step input voltage. The resistive test is performed every loop cycle, regardless of connectivity status. The purpose of this test is to expedite the indication of an open load, if one exists, within a specific time, e.g., 4 msec, after it occurs. Normally, the inductive test is performed if the resistive test passes every set period of time, e.g., 4 seconds, when the resistive test has indicated that the trailer is connected. In the case that the resistive test indicates a disconnected load for the first time after having shown a connection in the past, this triggers an immediate inductive test. This is done because the resistive test requires significantly less current than the inductive test and does not cause the towed vehicle brakes to apply. The inductive test finally determines the connectivity status of the towed vehicle. However, during a braking event, all tests are suspended to prevent interference with the trailer brake control output. Regardless of the outcome of the inductive/resistive tests, the brake output signal is applied to the towed vehicle brakes during a braking event.
If the inductive test determines the presence of a normal load, it is indicated to the operator via a display on the faceplate of the brake control unit, such as trailer icon being lit green. This display will also indicate when the towed vehicle load is present and the towed vehicle brake control is active. If the towed vehicle becomes electrically disconnected during a dynamic state, such as while towing vehicle is moving above a certain speed (or moving at all), a display, such as a trailer icon flashing red continuously, notifies the operator of such condition. The towing vehicle is notified of such condition and the display on the instrument panel is activated and the cluster sounds a chime to immediately notify the operator. If the towed vehicle becomes disconnected during a static state, such as unplugging the towed vehicle while it is standing still, the icon flashes for a predetermined time, for example approximately 30 seconds, then shuts off. No chime is set since it is assumed to be a normal condition. However, the operator is still notified of the event in case someone inadvertently removed the connection.
The initial start-up status or default status for the towed vehicle upon start-up is “trailer not connected.” From this status, if the inductive test output passes, the module will enter the “trailer connected” state. If, on the other hand, the inductive test output fails while in the “trailer connected” state, the module will enter the “trailer disconnected” state. If the inductive test output passes while in this state, the module will revert back to the “trailer connected” state. When a “trailer disconnected” state exists, the brake control unit will determine what sort of disconnection has occurred, a static or dynamic disconnection. In the static disconnection state, the towing vehicle is traveling below a minimum speed. In the dynamic disconnection state, the towing vehicle is traveling above the minimum speed. It should be understood that the minimum speed may be zero so that any movement triggers a dynamic disconnection state.
Another performance feature is that the brake control unit integrates a short circuit protection for both the towed vehicle brake output line and the stop lamp drive output line. Both circuits are continuously monitored and are protected in the event a short on either of these lines exists. The short circuit sensing is continuous and automatically reactivates in a normal mode of operation once the short is removed. The input power voltage is monitored. When the control signal to the input of the POWER MOSFET is activated, the input power voltage is monitored to sense a sag in it. If this sag crosses a predetermined threshold, e.g., 50%, a shorted condition will be determined. In case of the stop lamps, there is a delay before this sag in input power supply voltage is sensed. The reason for this is the inrush currents in the incandescent stop lamps typically used in the automobiles lasts for a varying time, e.g., about 50 msec or more depending on the temperature. Alternatively, the output voltage can be sensed and compared with the power supply voltage before turning the stop lamps on.
The circuitry is also designed to identify if the stop lamp circuit is to be driven by the brake control unit if the manual override control is activated, or through the brakes-on-off circuit on the towing vehicle. There is constant sensing of the brakes-on-off line and a decision is made if the brake control unit is to drive the brakes-on-off line high or shut down its drive to the brakes-on-off line if the manual override control mode is engaged. There is only one source to supply the brakes-on-off line so there is only one current source for the stop lamps.
The stoplights of the present embodiment are driven from a dedicated voltage input, separately fused, where most brake control units drive the stoplights from a common voltage input with the brake output power. The current from most common sourced voltage input can be significant enough to cause opening of a circuit breaker or a fuse rendering the brake control unit inoperative. The dedicated input of the present brake control unit, on the other hand, eliminates the additional current draw from the main voltage input.
Similarly, the incorporation of the field effect transistor (FET) in the brake control unit output line allows for protection against the destruction of the circuit due to a reverse polarity situation on the primary supply. It also protects against a reversed breakaway battery installation on the towed vehicle, which puts a negative 12 volts back onto the towed vehicle brake output line of the control brake unit when a breakaway switch is pulled. Normally a diode is placed across the towed vehicle brake output line to ground to maintain the brake magnet current in the off time of the PWM. This same diode becomes forward biased in a reverse breakaway battery application and places 12 volts across the diode and destroys the diode and the circuit board. The use of the FET allows for opening of the ground line during abnormal conditions protecting the brake control unit and allowing for passing of the brake current under normal operations without sacrificing voltage drop or heating.
FIG. 5 is a typical connection of a brake control unit without reversed battery protection. This figure shows the output stage (U1) of that brake control unit in which a single VN920 high side switch is used. Other optional configurations may include using two or more VN920s in parallel, one or more power MOSFETs in parallel, or one or more power transistors in parallel. U1 delivers a PWM (Pulse Width Modulated) drive to the brake magnets L1 and L2. (Most towed vehicles use from 2 to 8 magnets in parallel.) The frequency of this signal is usually in the 200 Hz to 400 Hz range with a duty cycle ranging from 0% to 100%.
While U1 is on, battery voltage is applied and current builds up in the magnet. While U1 is off, the current established in the magnets continues to flow through D1. The duty cycle times the battery voltage is the effective voltage applied to the brake magnets. The current does not continue to increase because each magnet has a resistance of about 4 ohms due to the resistance of the copper wire.
Most towed vehicles have a breakaway system to apply voltage to the magnets in case the towed vehicle becomes disconnected from the towing vehicle. S1 is the switch that connects BAT2 to the magnets. BAT2 is sized to provide braking for about 15 minutes. This stops the towed vehicle and keeps it from rolling until chocks or such can be placed in front of the tires.
FIG. 6 shows a reversed connected towing vehicle battery. As can be appreciated D1 and the substrate diode in U1 provide a very low resistance path for current to flow. Typically the brake control unit and or the wiring are destroyed. This can occur when installing the brake control unit or when installing the battery in the towing vehicle.
FIG. 7 shows a reversed connected breakaway battery with the breakaway switch closed. D1 is now forward biased by the battery causing high current to flow, which normally results in damage to the control and wiring.
FIG. 8 illustrates the parts required to prevent damage from reverse connection of either battery. The MOSFET Q1 is a high current MOSFET capable of handling the currents of normal operation. The major current is the fly back current from the magnets. It can reach 24 amps with 8 magnets. Q1 is biased full on by the connection of the gate to 12.6 volts through R1. This keeps the on resistance below 10 milliohms for preferred MOSFETs. This resistance dissipates very little power during operation. It will be noticed that Q1 serves as a controlled switch isolating the circuit ground from chassis ground when the switch is off.
FIG. 9 depicts the reversed connection of the towing vehicle battery. In this case the gate is biased at or below the Q1 source voltage and so Q1 is off and the circuit is protected from heavy current. If the towed vehicle is connected current will flow through the magnets and the substrate diode in U1. This current will be limited to a safe level by the magnet resistance.
FIG. 10 shows reversed connection of the breakaway battery. In this case when SW1 is closed a spike of heavy current will flow. This current will develop a voltage drop across the on resistance of Q1. The divider voltage formed by R2 and R3 will reach the base-emitter voltage of Q2 when the current is at the desired trip point. When Q2 starts to turn on the gate of Q1 is pulled down. This results in the drain voltage rising and provides a snap action with the positive feedback.
Another safety routine is to determine stuck operator inputs, such as the gain button scroll and stuck manual override control (e.g., stuck manual slider routine). These allow for continuous sampling of inputs that should normally be activated by the operator to determine if the inputs are real or if a mechanical or electrical failure has occurred. The sampling routine of the + and − gain buttons, along with the variables of ignition, brake-on-off, speed, and manual input allow for determination of the inputs being legitimate and indexed accordingly or to disable this section of the brake control unit and default back to a prior setting. A notification is then sent to the operator regarding the error. A stuck gain button could result from a mechanical or electrical failure. This could lead to continuous cycling of the gain without brake activation. This could also result if something was moving inside the cab of the towing vehicle and was pressing against the control. When the operator depresses a gain button, if the gain limit is reached and the operator continues to hold it for a period of time, the gain setting will return to the value prior to the change. A depressed and held gain button scrolls through settings until released or until the maximum or minimum value has been attained. The selected gain setting is stored in memory, e.g., EEPROM or Flash/memory, for future use.
A diagnostic feature for operator inputs is a manual override control input, e.g., a manual slider input, sensing for out-of-range (high and low out-of-range) and in-range. The software and hardware used for this allows for the determination of a fault mode, out-of-range, that puts the brake control unit into a potential brakes-on-all-the-time mode, or low to no-brakes with the manual invoked. The out-of-range allows for flagging internal part issues that may arise due to components, manufacturing, assembly, etc.
Additionally, the brake control unit includes stuck manual override control input sensing. This permits notification to the operator of the towing vehicle of potential hazards of a stuck manual override control input while the manual input is in-range and allows for an alternative algorithm that shuts this portion of the brake control unit down until the problem has been resolved. These safeguards will prevent damage to or destruction of the brakes of the towed vehicle in the event that the brake output signal says it should be active when it should not be. The brake control unit samples this input along with the speed input to allow for an accurate decision to be made regarding this condition. The stuck manual override control, e.g., stuck slider position, is saved in memory, e.g., EEPROM or flash memory, during an ignition configuration so that during a subsequent ignition cycle, the stuck manual override control, e.g., stuck manual slider, fault will remain active.
Additionally, the brake control unit determines the present mode of operation of the control system. The modes are: power-up (wake-up), power-down (sleep), normal operations, diagnostics and limited operating strategies. Upon turning on the towing vehicle, the brake control unit determines the present mode of operation by using software stored on the processor's memory. During operating of the brake control unit, it will continually determine the present mode of operation until the brake control unit is powered down.
In the power down mode, the brake control unit prepares to shut down and stop execution. The ignition voltage is verified to be below a threshold to continue the shut down procedures. The brake control unit output is then disabled, the display is shut down and any diagnostic data is stored in memory and/or reported over the communication bus. Upon completion of these the power supply shutdown is initiated, the brake control unit is set into low power mode and the processor is issued a stop instruction shutting it down until the brake control unit is powered on again. The shut down is implemented using, for example, the system basis chip (SBC). The processor on detection of low ignition signal and after finishing all housekeeping functions sends a serial command to SBC to further shut down the process. The brake control unit initiates a power down sequence by disabling the brake control unit output, brake lamp control, and all brake control unit console display indicators are turned off, e.g., trailer icon, gain displays, and the bar graph. A flag is set in this state for modeling the power up/down strategies within the module. The power down mode can also be activated by inactivity on the communications bus. Alternatively, the power down mode can be activated solely by inactivity on the communication bus.
Once in the power down mode, the brake control unit will wake up after detecting a positive transition on the ignition input. For example, this can be done via the SBC. The SBC can also be woken up by activity on the communications bus. Alternatively, the wake up can occur solely by activity on the communication bus.
The brake control unit also includes a feature that detects when the software has entered an unintended operating condition and fails to follow a program code, e.g., program runaway, and resets the system for an orderly power up. This can be accomplished by including a device, such as a power-management chip or an SBC, in the brake control unit. The power-management chip must periodically receive a signal, such as a serial command, from the processor. In absence of this signal for a pre-determined period of time it will reset the whole system and proper operation will resume.
Modification of the invention will occur to those skilled in the art and to those who make or use the invention, including, without limitation, the values provided for the various elements disclosed above. It should be understood that such values are exemplary values and the present invention is not limited to those values. Therefore, it is understood that the embodiments shown in the drawings and described above are merely for illustrative purposes and not intended to limit the scope of the invention, which is defined by the following claims as interpreted according to the principles of patent law, including the Doctrine of Equivalents.

## Claims

1. A method for controlling braking of a towed vehicle, said method comprising:
receiving a first signal at a brake controller via a communication bus contained within a towing vehicle, said first signal relating to at least one operating condition of at least one of said towing vehicle and a towed vehicle; and
sending a second signal from the brake controller to brakes of said towed vehicle, said second signal based on said first signal; and
wherein said communication bus is configured to communicate electronic signals and wherein said communication bus interconnects a plurality of components on said towing vehicle and is externally connected to said brake controller.

2. The method of claim 1, further comprising sending a third signal to said towing vehicle via said communication bus, said third signal based on at least one of said first signal and said second signal.

3. The method of claim 1, wherein said first signal is received by a processor from at least one source.

4. The method of claim 3, wherein said at least one source comprises at least one of a brake pressure transducer of said towing vehicle, a brake-on-off line, towing vehicle interior lighting, memory of said towing vehicle, transmission of said towing vehicle, powertrain of said towing vehicle, an anti-lock brake system of said towing vehicle, a speed meter, an ignition of said towing vehicle, a speedometer of said towing vehicle, and a brake pedal of said towing vehicle.

5. The method of claim 4, wherein said second signal is based upon algorithms stored within said processor.

6. The method of claim 1, further comprising receiving a signal from a brake pressure transducer of said towing vehicle.

7. The method of claim 6, wherein said second signal is based on said first signal and said signal from said brake pressure transducer.

8. The method of claim 1, wherein said at least one operating condition comprises at least one of speed of said towing vehicle, speed of said towed vehicle, said towing vehicle's anti-lock brakes, vehicle identification number of said towing vehicle, condition of an ignition of said towing vehicle, gears of a transmission of said towing vehicle, and powertrain load of said towing vehicle.

9. The method of claim 1, further comprising receiving a manual input signal from an operator of said towing vehicle, wherein said second signal is based on said manual input signal and said first signal.

10. The method of claim 9, wherein said manual input signal comprises at least one of gain setting and boost setting.

11. The method of claim 1, further comprising collecting and storing information in a memory to allow for diagnostics, life cycle management, and variables for future use.

12. The method of claim 11, wherein said life cycle management considers at least one of number of ignition cycles of said towing vehicle, gain adjustments, number of manual activations, vehicle identification number of said towing vehicle, calibration data of said towing vehicle, calibration data of a brake control unit, date of manufacture of said brake control unit, configuration data of said brake control unit, and calibration data of said towed vehicle.

13. The method of claim 1, further comprising interfacing with components of said towing vehicle to diagnose said components of said towing vehicle.

14. The method of claim 13, wherein said components of said towing vehicle comprises at least one of brake pressure transducer, anti-lock brake system, brake on-off, cluster instrument panels, stability system, and power distribution.

15. The method of claim 1, further comprising receiving a signal from a brake control unit, said signal from said brake control unit relating to operating conditions or specifications of said brake control unit.

16. The method of claim 15, wherein said operating conditions or specifications of said brake control unit includes at least one of serial number of said brake control unit, configuration of said brake control unit, date of manufacture of said brake control unit, and components of said brake control unit.

17. The method of claim 1, further comprising receiving a signal from said towing vehicle relating to detection of said ignition of said towing vehicle being turned off and sending a signal to a brake control unit via said communication bus instructing said brake control unit to power down.

18. The method of claim 17, further comprising receiving a signal relating to detection of ignition of said towing vehicle being turned on and sending a signal to said brake control unit to power up.

19. The method of claim 1, further comprising receiving a signal relating to a lack of activity on said communication bus of said towing vehicle and sending a signal to a brake control unit via said communication bus instructing said brake control unit to power down.

20. The method of claim 19, further comprising receiving a signal relating to detection of activity on said communication bus of said towing vehicle and sending a signal to said brake control unit to power up.

21. The method of claim 1, further comprising performing at least one of a limited operating strategy, an automatic adjustment of output based on variable inputs from said towing vehicle, an inductive and resistive load testing, an internal short circuit protection procedure, and a gain button and scroll stuck routine.

22. The method of claim 21, wherein performing said limited operating strategy comprises operating said brakes of said towed vehicle despite unavailability of a main input.

23. The method of claim 21, wherein performing said automatic adjustment of output based on variable inputs from said towing vehicle comprises continuously sampling supply voltage and adjusting said second signal based on said sampling.

24. The method of claim 21, further comprising performing inductive and resistive load testing comprising sensing load of said brakes of said towed vehicle to determine if said load is normal and sensing if said brakes are available on said towed vehicle.

25. The method of claim 21, wherein performing said gain button and scroll stuck routine comprises continuously sampling inputs activated by an operator and determining if said inputs are real or an electrical failure.

26. The method of claim 1, wherein said first signal is related to an operating condition of said towed vehicle.

27. The method of claim 1, wherein said communications bus is a HSCAN communications bus.

28. The method of claim 1, wherein said communications bus is a CAN communications bus.

29. The method of claim 1, wherein said communications bus is a LIN communications bus.

30. A method for controlling braking of a towed vehicle, said method comprising:
receiving a first signal relating to said towing vehicle;
sending a second signal to brakes of said towed vehicle, said second signal based on said first signal; and
receiving an ignition signal related to an ignition cycle of said towing vehicle and a gain signal;
recording and storing information related to ignition cycles and adjustments in a gain setting related to said gain signal in a non-volatile memory for use at a later time;
adjusting said second signal based on stored information related to the ignition cycles or the adjustments in the gain settings; and
generating a brake output signal to said brakes of said towed vehicle based on said second signal.

31. The method of claim 30, further comprising sending a third signal to said towing vehicle, said third signal relating to an operating condition of at least one of said towing vehicle and said towed vehicle.

32. The method of claim 31, further comprising modifying said brake output signal based on said third signal.

33. The method of claim 30, further comprising using variable length data grouping in storing each ignition cycle.

34. The method of claim 33, further comprising using an end of configuration marker in storing each ignition cycle.

35. The method of claim 34, further comprising using said end of configuration marker to initialize operating variables and diagnostic information for each subsequent ignition cycle.

36. The brake control unit of claim 30, wherein said non-volatile memory comprises electrically erasable programmable read-only memory.

37. The method of claim 30, wherein said non-volatile memory comprises at least one of an EEPROM and a flash memory.

38. A brake control unit comprising:
a processor configured to receive:
a first signal relating to at least one of an operating condition of a towing vehicle, a manual input, and an operating condition of a towed vehicle, said first signal sent to said processor via a communication bus contained within said towing vehicle; and

wherein said processor is configured to send a second signal to brakes of said towed vehicle, said second signal based on said first signal; and
wherein said communication bus is configured to communicate electronic signals and wherein said communication bus interconnects a plurality of components on said towing vehicle and is externally connected to said brake controller.

39. The brake control unit of claim 38, further comprising a third signal sent to said towing vehicle from said processor via said communication bus, said third signal relating to said operating condition of at least one of said towing vehicle and said towed vehicle.

40. The brake control unit of claim 39, wherein said brake control unit is integrated with said towing vehicle.

41. The brake control unit of claim 40, wherein said towing vehicle includes a dash having dash lighting elements and wherein a display is integrated with said dash of said towing vehicle.

42. The brake control unit of claim 41, wherein said display includes lighting that is adjustable to match said dash lighting elements of said towing vehicle.

43. The brake control unit of claim 42, wherein said display includes a notification for a towed vehicle connected state and a towed vehicle disconnected state.

44. The brake control unit of claim 38, further comprising a controlled area network communication device to communicate with a controlled area network of said towing vehicle.

45. The brake control unit of claim 38, further comprising a manual input device, wherein said manual input device is capable of changing configuration of said brake control unit from electric to electric over hydraulic.

46. The brake control unit of claim 38, wherein said first signal is related to an operating condition of said towed vehicle.

47. The brake control unit of claim 38, wherein said communications bus is a HSCAN communications bus.

48. The brake control unit of claim 38, wherein said communications bus is a CAN communications bus.

49. The brake control unit of claim 38, wherein said communications bus is a LIN communications bus.