The present invention generally relates to multi-state switching logic, and more particularly relates to robust methods, systems and devices for processing multi-state data.
Modern vehicles contain numerous electronic and electrical switches. Vehicle features such as climate controls, audio system controls other electrical systems and the like are now activated, deactivated and adjusted in response to electrical signals generated by various switches in response to driver/passenger inputs, sensor readings and the like. These electrical control signals are typically relayed from the switch to the controlled devices via copper wires or other electrical conductors. Presently, many control applications use a single wire to indicate two discrete states (e.g. ON/OFF, TRUE/FALSE, HIGH/LOW, etc.) using a high or low voltage transmitted on the wire.
To implement more than two states, additional control signals are typically used. In a conventional two/four wheel drive transfer control, for example, four active states of the control (e.g. 2WD mode, auto 4WD mode, 4WD LO mode and 4WD HI mode) as well as a default mode are represented using three to five discrete two-state switches coupled to a single or dual-axis control lever. As the lever is actuated, the various switches identify the position of the lever to place the vehicle in the desired mode. Power take-off (PTO) controls also typically contain three or more discrete switches to represent the various states of the PTO device, which is commonly used to power upfitter-installed accessories such as bucket lifts, snow plows, lift dump bodies and the like. Numerous other multi-state switches use multiple discrete switches to represent the various positions of a single or dual-axis control mechanism, which in turn represent the various states of a controlled device.
As consumers demand additional electronic features in newer vehicles, the amount of wiring present in the vehicle continues to increase. This additional wiring occupies valuable vehicle space, adds undesirable weight to the vehicle and increases the manufacturing complexity of the vehicle. There is therefore an ongoing need in vehicle applications to reduce the amount of wiring in the vehicle without sacrificing features. Further, there is a need to increase the number of features in the vehicle without adding weight, volume or complexity commonly associated with additional wiring, and without sacrificing safety. Still further, there is a demand for robust switches and switching systems that are reliable and dependable, particularly in the automotive setting.
In particular, it is desirable to formulate multi-state switching devices that reduce the cost, complexity and weight associated with multiple input switches, wires and other components without sacrificing safety or robustness. Furthermore, other desirable features and characteristics will become apparent from the subsequent detailed description and the appended claims, taken in conjunction with the accompanying drawings and the foregoing technical field and background.
Systems, methods and devices are described for robustly determining a desired operating state of a controlled device in response to the position of a multi-position actuator. Two or more ternary switch contacts provide input signals representative of the position of the actuator. Control logic then determines the desired state for the controlled device based upon the input signals received. The desired operating state is determined from any number of operating states defined by the ternary input values. Robustness is provided through proper selection of signal settings used to represent various operating states, as well as through mechanical interlocking and/or other techniques.
The present invention will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and:
The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary or the following detailed description.
According to various exemplary embodiments, single and/or multi-axis controls for use in vehicles and elsewhere may be formulated with ternary switches to reduce the complexity of the control. Such switches may be used to implement robust selection schemes for various types of control mechanisms, including those used for Normal/Performance/Economy mode switching, cruise control switching, power take off (PTO) controls, “tap up/tap down” switching and/or the like. Further, by selecting certain signal input combinations to represent the operating states of the controlled device and/or through mechanical interlocking of multiple switch contacts, the robustness of the system can be preserved, or even improved.
Turning now to the drawing figures and with initial reference to
Switches 102A-B are any devices capable of providing various logic signals 106, 112A-B to components 104, 110 in response to user commands, sensor readings or other input stimuli. In an exemplary embodiment, switches 102A-B respond to displacement or activation of a lever 108A-B or other actuator as appropriate. Various switches 102A-B may be formulated with electrical, electronic and/or mechanical actuators to produce appropriate ternary output signals onto one or more wires or other electrical conductors joining switches 102 and components 104, 110, as described more fully below. These ternary signals may be processed by components 104, 110 to place the components into desired states as appropriate. In various embodiments, a single ternary signal 106 may be provided (e.g. between switch 102A and component 104 in
Many types of actuator or stick-based control devices provide several output signals 112A-B that can be processed to determine the state of a single actuator 108B. Lever 108B may correspond to the actuator in a 2WD/4WD selector, electronic mirror control, power take off selector or any other device operating within one or more degrees of freedom. In alternate embodiments, lever 108A-B moves in a ball-and-socket or other arrangement that allows multiple directions of movement. The concepts described herein may be readily adapted to operate with any type of mechanical selector, including any type of lever, stick, or other actuator that moves with respect to the vehicle via any slidable, rotatable or other coupling (e.g. hinge, slider, ball-and-socket, universal joint, etc.).
Referring now to
Switch contacts 212 are any devices, circuits or components capable of producing a binary, ternary or other appropriate output on conductor 106. In various embodiments, switch contacts 212 are implemented with a conventional double-throw switch as may be commonly found in many vehicles. Alternatively, contacts 212 are implemented with a multi-position operator or other voltage selector as appropriate. Contacts 212 may be implemented with a conventional three-position low-current switch, for example, as are commonly found on many vehicles. Various of these switches optionally include a spring member (not shown) or other mechanism to bias an actuator 106 (
Switch contacts 212 generally provide an output signal selected from two reference voltages (such as a high reference voltage (e.g. Vref) and a low reference voltage (e.g. ground)), as well as an intermediate value. In an exemplary embodiment, Vref is the same reference voltage provided to digital circuitry in vehicle 100 (
Contacts 212 are therefore operable to provide a ternary signal 106 selected from the two reference signals (e.g. Vref and ground in the example of
The signals 106 produced by contacts 212 are received at a voltage divider circuit 216 or the like at component 104, 110 (
The ternary voltages present at common node 208 are then provided to an analog-to-digital converter 202 to decode and process the signals 204 as appropriate. In various embodiments, A/D converter 202 is associated with a processor, controller, decoder, remote input/output box or the like. Alternatively, A/D converter 202 may be a comparator circuit, pipelined A/D circuit or other conversion circuit capable of providing digital representations 214 of the analog signals 204 received. In an exemplary embodiment, A/D converter 202 recognizes the high and low reference voltages, and assumes intermediate values relate to the intermediate state. In embodiments wherein Vref is equal to about five volts, for example, A/D converter may recognize voltages below about one volt as a “low” voltage, voltages above about four volts as a “high” voltage, and voltages between one and four volts as intermediate voltages. The particular tolerances and values processed by A/D converter 202 may vary in other embodiments.
As described above, then, ternary signals 106 may be produced by contacts 212, transmitted across a single carrier, and decoded by A/D converter 202 in conjunction with voltage divider circuit 216. Intermediate signals that do not correspond to the traditional “high” or “low” outputs of contact 212 are scaled by voltage divider circuit 216 to produce a known intermediate voltage that can be sensed and processed by A/D converter 202 as appropriate. In this manner, conventional switch contacts 212 and electrical conduits may be used to transmit ternary signals in place of (or in addition to) binary signals, thereby increasing the amount of information that can be transported over a single conductor. This concept may be exploited across a wide range of automotive and other applications.
Referring now to.
In an exemplary embodiment, voltage divider 308 includes two or more resistors 302 and 304 electrically arranged between common node 208 and the input 306 to A/D converter 202. In
Using the concepts set forth above, a wide range of control circuits and control applications may be formulated, particularly within automotive and other vehicular settings. As mentioned above, the binary and/or ternary signals 106 produced by contacts 212 may be used to provide control data to any number of vehicle components 104, 110 (
Although FIGS. 4A-B show exemplary embodiments wherein controller 402 communicates with two switches 212A-B, alternate embodiments may use any number of switches 212, as described more fully below. The various outputs 214A-B of the switching circuits may be combined or otherwise processed by controller 402, by separate processing logic, or in any other manner, to arrive at suitable commands provided to device 104. The commands resulting from this processing may be used to place device 104 into a desired state, for example, or to otherwise adjust the performance or status of the device. In various embodiments, a desired state of device 104 is determined by comparing the various input signals 214A-B received from contacts 212A-B (respectively). The state of device 104, then, can be determined by the collective states of the various input signals 214A-B.
As used herein, input state 404 is arbitrarily referred to as ‘1’ or ‘high’ and corresponds to a short circuit to Vref, B+ or another high reference voltage. Similarly, input state 408 is arbitrarily referred to as ‘0’ or ‘low’, and corresponds to a short circuit to ground or another appropriate low reference voltage. Intermediate input state 406 is arbitrarily described as ‘value’ or ‘v’, and may correspond to an open circuit or other intermediate condition of switch 212. Although these designations are applied herein for consistency and ease of understanding, the ternary states may be equivalently described using other identifiers such as “0”, “1” and “2”, “A”, “B” and “C”, or in any other convenient manner. The naming and signal conventions used herein may therefore be modified in any manner across a wide array of equivalent embodiments.
In many embodiments, intermediate state 406 of contacts 212 is most desirable for use as a “power off”, “default” or “no change” state of device 104, since the open circuit causes little or no current to flow from contacts 212, thereby conserving electrical power. Moreover, an ‘open circuit’ fault is typically more likely to occur than a faulty short to either reference voltage; the most likely fault (e.g. open circuit) conditions may therefore be used to represent the least disruptive states of device 104 to preserve robustness. Short circuit conditions, for example, may be used to represent an “OFF” state of device 104. In such systems, false shorts would result in turning device 104 off rather than improperly leaving device 104 in an “ON” state. On the other hand, some safety-related features (e.g. headlights) may be configured to remain active in the event of a fault, if appropriate. Accordingly, the various states of contacts 212 described herein may be re-assigned in any manner to represent the various inputs and/or operating states of component 104 as appropriate.
Using the concepts of ternary switching, various exemplary mappings of contacts 212 for certain automotive and other applications may be defined as set forth below. The concepts described above may be readily implemented to create a multi-state control that could be used, for example, to control a power takeoff, powertrain component, climate or audio component, cruise control, other mechanical and/or electrical component, and/or any other automotive or other device. In such embodiments, two or more switches are generally arranged proximate to an actuator 108, with the outputs of the switches corresponding to the various states/positions of actuator 108. Alternatively, however, the two switches could interact with separate actuators 108, with the various input states representing the various positions of the distinct actuators. Stated another way, a common controller 402 may be used to decode the various states of multiple switch contacts 212A-B. Further, any number of binary, ternary and/or other types of switch contacts 212 may be interconnected or otherwise inter-mixed to create switching arrangements of any type.
The various mappings and arrangements of input signals used to represent the states of device 104 may be assigned in any manner. In various embodiments, however, certain combinations of input signals may provide various benefits such as reduced electrical current consumption, improved safety, or the like. Accordingly, by choosing the particular combinations of input signals used to represent the various operating states of device 104, control system 400 can be designed for improved performance.
By associating the “default” state for device 104 with one or more “open circuit” positions of contacts 212, for example, the amount of current consumed when the device is in the default position may be suitably reduced, since little or no current flows through the contact 212 when the contact is in the intermediate “open circuit” state. Because very little current flows while the switch is in this state, current consumption is minimized in the default state of device 104.
Further, using the assumption that open circuits are more likely to be encountered than shorts to ground, which in turn are more likely than shorts to the battery voltage (B+), the various device states can be mapped to the inputs such that least-desired state is associated with the input conditions that are least likely to occur accidentally. Using the previous assumptions in the embodiment shown in
The control system 400 may be made even more robust by selecting the operating state conditions to increase the number of signal transitions used to alter the operating state of device 104, as discussed more fully above. By increasing the number of signal transitions required to switch device 104 between two different states, the likelihood of an accidental state transition caused by a faulty switch or other factors is significantly reduced, thereby making the system more robust. If each state change requires at least two signal transitions, for example, the system is insulated against accidental state changes caused by a single broken wire, faulty contact 212 or the like. This concept can be exploited to improve the robustness of the control system 400.
Generally speaking, two ternary switches are capable of representing nine distinct states, as shown in TABLE 1 below:
In embodiments wherein only three operating states of device 104 need to be represented, however, the three sets of inputs used to represent the three operating states may be chosen to improve the robustness of system 400. That is, the sets may be chosen such that any change from one state to another involves at least two signal transitions. By choosing, for example, sets three, five and seven in Table 1 to represent the three operating states of the controlled device, each state change would require transitions in the values of both input1 and input 2.
With particular reference now to
The various positions of actuator 108 may therefore be indicated by the values of signals 112A and 112B. In the example shown in
In the embodiment of
Any state in TABLE 1 may be associated with any position of the actuator 108 by simply changing the reference voltages (e.g. ground, battery, open circuit) coupled to the switch contacts for the various positions of actuator 108. Various robust state combinations could therefore be used in a wide array of equivalent embodiments. Examples of other combinations of signal inputs suitable for use in robust three-state switches include states 1, 5 and 9; states 2, 4 and 9; states 3, 4 and 8; states 3, 5 and 7; states 1, 6 and 8; and states 2, 6 and 7 (as described in TABLE 1). Each of these state combinations could be used to create robust switching arrangements wherein state changes result only from multiple signal transitions. State 1 could be used as a default state in alternate embodiments, for example, with any other two states (e.g. states 6 and 8) representing the other two active states. In various further optional embodiments, any unused states could be used as “diagnostic states”, with occurrences of the non-assigned states indicating the occurrence of one or more faults or other undesirable conditions.
In various embodiments, the outputs of the switches may be processed using conventional software logic, logic gates (e.g. AND/NAND, OR/NOR or the like) and/or processing circuitry to determine the state of the actuator. Turning to
In the exemplary embodiment shown in
These concepts may be applied in any number of practical settings, including various settings in automotive and other environments. By mapping State1, State2 and State3/Default to various operating modes of a controlled device, numerous embodiments could be formulated across a wide array of commercial and other settings.
The various states of switching system 400 could be mapped to “economy”, “performance” and “normal” operating modes of an engine or other vehicle component, for example. In such embodiments, the normal operating mode could correspond to the “Default”/State3 mode shown in
The general concepts described herein could be modified in many different ways to implement a diverse array of equivalent multi-state switches, actuators and other controls. The various positions of actuator 108 may be extracted and decoded through any type of processing logic, including any combination of discrete components, integrated circuitry and/or software, for example. Moreover, the various positional and switching structures shown in the figures and tables contained herein may be modified and/or supplemented in any manner. Still further, the concepts presented herein may be applied to any number of ternary and/or discrete switches, or any combination of ternary and discrete switches to create any number of potential or actual robust and non-robust state representations. Similar concepts to those described above could be applied to three or more input signals, for example, allowing for control systems capable of processing any number of robust states in a wide array of equivalent embodiments.
Although the various embodiments are most frequently described with respect to automotive applications, the invention is not so limited. Indeed, the concepts, circuits and structures described herein could be readily applied in any commercial, home, industrial, consumer electronics or other setting. Ternary switches and concepts could be used to implement a conventional joystick, for example, or any other pointing/directing device based upon four or more directions. The concepts described herein could similarly be readily applied in aeronautical, aerospace, marine or other vehicular settings as well as in the automotive context.
While at least one exemplary embodiment has been presented in the foregoing detailed description, a vast number of variations exist. The various circuits described herein may be modified through conventional electrical and electronic principles, for example, or may be logically altered in any number of equivalent embodiments without departing from the concepts described herein. The exemplary embodiments described herein are intended only as examples, and are not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing one or more exemplary embodiments. Various changes can therefore be made in the functions and arrangements of elements set forth herein without departing from the scope of the invention as set forth in the appended claims and the legal equivalents thereof.