|Publication number||US4965550 A|
|Application number||US 07/429,114|
|Publication date||Oct 23, 1990|
|Filing date||Oct 30, 1989|
|Priority date||Oct 30, 1989|
|Publication number||07429114, 429114, US 4965550 A, US 4965550A, US-A-4965550, US4965550 A, US4965550A|
|Inventors||Thomas R. Wroblewski|
|Original Assignee||Chrysler Corporation|
|Export Citation||BiBTeX, EndNote, RefMan|
|Patent Citations (3), Referenced by (48), Classifications (13), Legal Events (5)|
|External Links: USPTO, USPTO Assignment, Espacenet|
1. Field of the Invention
This invention relates to a wake-up system multiplexing technique for obtaining status of a plurality of switches, disposed at remote locations of a monitored region, and connected to a controller by a single wire bus and more particularly to an automatic wake-up system which turns on the controller in responses to actuations of any one of a chosen number of high priority switches.
2. Description of the Prior Art
Switch monitoring systems normally operate after an operator initiates a POWER-ON switch to start a POWER-ON sequence in a computer or microcontroller. A problem exists when a need occurs for the system to self-initiate the POWER-ON sequence of the computer.
In an effort to develop a system that would automatically wake-up and initiate a multiplex monitoring operation of a plurality of switches, a search was initiated for a scheme that uses several high priority switches which, if activated, would wake-up a microcontroller and cause multiplex monitoring of all the remaining switches connected to the single wire bus. That search resulted in the automatic wake-up circuit of the present invention.
The present invention concerns an automatic system wake-up scheme involving a microcontroller that wakes up out of a wait or standby mode and proceeds to cause power to route to components in a switch monitoring system. The system uses a group of high priority switches or a manual power switch to initiate the wake-up process of the microcontroller. While awake, the microcontroller addresses a plurality of smart sensor modules, each of which connects to a switch. The sensor modules connected to the high priority switches contain special wake-up circuits that respond to a special address pulse that emanates from the microcontroller during a chosen interval while in the standby mode. When the system wakes up, all the switches, i.e., the high as well as the low priority switches, are monitored.
FIG. 1 illustrates a block diagram of an automatic wake-up circuit arrangement for a single wire bus multiplex switch monitoring system;
FIG. 2 illustrates in partial block, partial schematic diagram the switch monitoring system of FIG. 1;
FIG. 3 depicts a waveform/address code used by a microcontroller to detect activated high priority switches used to initiate automatic wake-up of the system;
FIG. 4 depicts a waveform of address codes used to poll all the switches when the system wakes up; and
FIG. 5 illustrates in flowchart form the program routine used by the microcontroller of this invention to effect the automatic wake-up and the polling of switches.
FIG. 1 depicts the automatic wake-up system 10. The system consists of a control unit 12, a single wire bus or serial link 52 and a series of high priority smart sensor modules 22A-22E and a series of low priority smart switch sensor modules 23A-23B. With the source voltage or ignition off, the high priority sensor modules have the capability of awaking the system and initiating a polling of all the switches, both the high priority as well as the low priority switches.
The initial conditions for system 10 places battery power to control unit 12 but the ignition voltage is held off by activation voltage (ACT) switch 11 until activated by an operator.
Each high priority sensor module 22A-22E includes a wake-up circuit. The high priority sensor module monitors the operation of a normally closed switch which, when the serial bus 52 is activated, will produce a 5-volt clamped signal within the sensor module. The low priority sensor modules 23A-23B will also connect to normally closed single pole, single throw switches but will not contain a wake-up circuit.
With reference now to FIG. 2, there is shown a partial block, partial schematic diagram of the preferred embodiment of a automatic wake-up system 10 for a single wire bus multiplex switch monitoring system. FIG. 2 depicts control unit 12 which includes power unit 14 and a microcontroller (MCU) 16 and a schematic diagram of a single high priority smart switch sensor module 22 and a series of other high priority sensor modules 22A-22E in block diagram form connected to a serial link or bus 52 along with a series of low priority sensor modules 23A-23C shown in block diagram form.
Initially, a 12 volt source such as a battery supplies 12 volts to a 5 volt regulator 26 of power unit 14. The 5 volt regulator 26 generates a regulated 5 volts DC which routes to MCU 16 to initiate a POWER-ON mode.
During the POWER-ON mode, a timing system within MCU 16 (not shown) activates, and an internal oscillator (also not shown) turns on and stabilizes. An integrator or delay circuit 11 connected to the output of regulator 26 provides a delayed signal to a /reset terminal of MCU 16 to provide a delay signal which holds the /reset terminal LOW and, after the delay the /reset signal goes HIGH and then MCU 16 starts executing a factory installed initialization program stored in ROM. (The /symbol represents a NOT logic function.)
MCU 16, illustratively, a signal chip unit such as a Motorola MC68HC05B6 microcontroller unit contains a CPU, an internal timing system, a ROM, a RAM, an EEPROM and input/output ports. Ports A and B provide input/output lines and port D provides an input to an internal A/D converter.
After initialization of registers and memories in MCU 16, and in accordance with the main program, an input port is read to sense the presence of the ignition voltage; i.e., whether the operator has turned on the ignition switch 11. If the ignition is OFF, MCU 16 executes a wait mode operation which includes an interrupt of the timing system every, illustratively, 1/8 of a second. The interrupt causes MCU 16 to place a high logic signal at port PB2 which activates the power unit 14.
When PB2 goes HIGH, Vbatt and Vdd power are provided to system 10. The logic HIGH from PB2 routes to the base of transistor 28 causing it to conduct which, in turn, places a near ground potential at the base of PNP transistors 30 and 32. When transistor 30 conducts, the 5 volt regulated voltage routes to junction 36 providing switched Vdd to MCU 16. When transistor 32 conducts, the 12 V source voltage routes to the Vbatt terminal providing 12 volts DC to the system.
After activating power unit 12, in accordance with the main program, MCU 16 generates logic signals from port A and B to form a first address pulse which passes over the serial link 52 as a bus voltage Vcsc signal. FIG. 3 depicts this first address pulse.
The first address pulse is generated if the ACT switch 11 is OFF and the main program causes MCU 16 to execute a wait mode instruction which causes the first address pulse to generate. This first address pulse placed on serial link 52 comprises four states; namely, an OFF state, a first 6 volt state (high priority switch sensors become active), a 9 volt state (wake-up address Q0 detected) and a second 6 volt state (MCU reads wake-up address).
To generate these various states, the logic circuitry in a driver/receiver circuit (D/R) 20 of FIG. 2 produces the several levels of voltage signals. The zero state occurs when both A and B input lines from MCU 16 go LOW; 6 volt state occurs when the A input goes HIGH and the B input goes LOW and the 9 volt state occurs when both A and B input lines go HIGH. Each state is enabled for 500 microseconds and after the transition from the 9 volt state down to the 6 volt state, MCU 16 reads the A/D input to determine whether or not a current signal has been sent over serial link 52 from the sensor module back to D/R 20 due to a switch closing causing a high priority sensor module to initiate the current signal.
A sensor module activates if it: (1) senses the first address placed on the serial link 52; (2) contains a wake enable (wake-en) circuit; and (3) a sensing element or a sensing switch associated with it activates. If a wake-en signal along with the switch-in signal (this signal generates when a high-priority switch activates) occurs simultaneously with the first address, then the sensor module 22 sends the current signal over serial link 52 back to D/R 20 during trailing edge 6 volt portion of the first address. D/R 20, in turn, sends a voltage equivalent signal to the A/D input of MCU 16 to indicate that MCU 16 should stay awake and should poll all 30 addresses of switches. This is done to determine which of the high priority sensing switches has been activated while the ACT switch 11 is OFF.
To accomplish this, all circuits of the sensor module 22 utilizes the leading edge of the Vcsc pulse.
The POWER-ON circuit 60 activates to apply Vcsc (6 or 9 volts) to the circuits in the sensor module. This switched Vcsc DC signal is referred to as SVdd. As the Vcsc signal goes through the transition from 0 to 6 volts, NPN transistor 60A conducts causing the base PNP transistor 60B to be biased on which, in turn, transfers Vcsc to the collector circuit of transistor 60B. A 5.6 volt zener diode limits the Vcsc voltage to approximately 5 volts forming the SVdd signal.
After the generation of the SVdd signal, the leading edge of the Vcsc signal provides a base bias voltage signal to NPN transistor 58A causing a logic low reset output signal to generate. This reset signal resets a 5 bit binary counter 62 in the stay-awake circuit 61 in sensor module 22.
Also during the transfer of the first address pulse, counter 62 counts to 1; that is, the output Q0 goes HIGH while the outputs Q1 through Q4 goes LOW. This status of counter 62 causes AND gate 64 to provide a logic 1 at one of the inputs of AND gate 67. If the sensor module 22 includes the wake-en circuit 63 and that circuit has been activated; that is, to provide a HIGH logic wake-en signal and the sensing element 70 or mechanical switch 72 associated with the sensor module is activated or at a logic HIGH level, then the output of AND gate 67 will go HIGH causing the output of NOR gate 68 to go LOW generating a /sink signal.
The /sink signal routes to the current sink circuit 56 and applies a low base bias current signal that turns on a PNP transistor 56A. The SVdd voltage applied to the emitter of transistor 56A routes to the base of an NPN transistor 56B but is limited to approximately 4.7 volts by 4.7 volts zener diode 56C. The base voltage on transistor 56B causes it to conduct; the conduction of transistor 56B pulls the serial link 52 LOW to a current level dictated by a resistor 56D which is tied to ground.
This increased current on serial link 52 routes to junction 49 in D/R 20. Transistor 42 in D/R 20 is turned on by the base voltage which mirrors the voltage at the non-inverting terminal of voltage follower 40. Hence, the collector current of transistor 42 becomes substantially the same as the current at junction 49. Hence, the voltage across the resistor 48 at the input of the differential amp of 50 becomes the difference between the collector voltage of transistor 42 and Vbatt. The output of differential amplifier 50 provides an analog voltage signal to the A/D input of MCU 16 which permits MCU 16 to read the status of the addressed sensor module. This status is displayed by MCU 16 on display panel 18.
With reference again to FIG. 1, any one of the sensor modules 22A through 22E would respond in the manner described supra. If the sensor modules 22A through 22E are not sensing a sensing element or a mechanical switch, then the first address as depicted in FIG. 3 would terminate and MCU 16 will go back to sleep.
Within another 1/8 of a second, MCU 16 would again wake-up and issue a first address and monitor via the A/D input the high priority sensor modules 22A through 22E while ACT switch 11 is OFF to determine whether or not any of the sensor modules connected to a mechanical switch or to a sensing element has been activated.
If MCU 16 detects a high priority sensor module, while ACT switch 11 is OFF, that is connected to an activated sensing element or an activated mechanical switch, then MCU 16 executes a program which causes the polling of all 30 switches including the low priority switches. This first complete polling cycle is primarily conducted to determine which of the high priority switches have been activated. MCU 16 determines this by noting that if none of the high priority switches are activated when the ACT switch 11 is OFF, then the voltage signal sent back to the A/D input would represent a current of approximately two milliamps. If one of the high priority sensor modules has sensed an activated mechanical switch or sensing element, then the voltage at the A/D input would represent a 15 milliamp current on the serial link.
To relate the operation of MCU 16 of FIG. 2 with D/R 20 and the high priority sensor modules 22-22E, reference is now made to FIG. 5, a flowchart of the program executed by MCU 16. Before describing the flowchart, some comments are in order.
The flowchart diagram of FIG. 5 differs from the conventional box and diamond flowchart. In FIG. 5, the flow of control passes along the lines and proceeds down the page. Conventional start up of program and end of program symbols are used. Actions are signified by a small circle or dot on the lines with the description of the action being given to the left or right flow lines. Actions only take place on vertical lines. When a decision has to be introduced, the flow line branches to the right or left. The branch may be caused by either a yes or no condition, this being signified by a Y or N in a box as indicated. Where secondary flow rejoins the main flow, an arrowhead is used. The conventional trapezoid is used to indicate input or output operations. A reference number will indicate the point along the line being discussed.
In FIG. 5, a 12 volt source is connected to the power unit 14 of the system (dot 80). A 5 volt regulator 26 in power unit 14 converts the 12 volt source voltage into a 5 volt regulator voltage for use throughout the control unit 12. The regulator 5 volts DC routes to the Vdd input of MCU 16 for generating power (dot 82).
This Vdd power is used during a power up mode of MCU 16 (dot 84). In this mode, a timer system in MCU 16 is activated and an oscillator for the system is stabilized as indicated (dots 86 and 88 respectively).
The 5 volt regulated voltage is also applied to a RC circuit 11 which activates a /reset circuit (input operation box 90). After the reset operation, MCU 16 executes a small start-up program which sets all CPU registers with correct values and clears all information in the computer memory to 0 before accepting information from D/R 20. This is called initializing the registers (dot 92).
Following initialization, MCU 16, reads an input port PA1 (dot 94) to determine whether or not the system has been manually operated; illustratively, the ignition has been turned on; e.g., in a car, or a POWER-ON switch button to a monitoring system has been operated.
As indicated at decision box 96, MCU 16 makes a decision as to whether or not the ACT switch 11 is OFF and if it determines that it is OFF, the program in MCU 16 moves to the operation at dot 102. If the ACT switch 11 is not OFF, then MCU 16 places a logic one signal at PA2 to cause the power unit 14 to generate both the switch battery voltage (Sbatt) and SVdd voltages for powering D/R 20.
The power applied to D/R 20, MCU 16 generates suitable logic signals at port A and B which routes to D/R 20 to generate an off-set type square wave, first address signal over serial link 52 as shown in FIG. 3. This operation of generating Vcsc is depicted at dots 97A and 97B of FIG. 5.
The Vcsc signal travels over serial link 52 to each of the sensor modules in the system. If a sensing element or mechanical switch has been activated, then MCU 16 will stay awake and poll all switches (dot 98) and the various current signals placed on link 52 will return to MCU 16. MCU 16 will interpret them and provide a display of the results on display panel 18 so that the user may interpret the various result (output block 100).
If at decision block 96, the ACT switch 11 is found OFF, the program will cause MCU 16 to proceed to the operation at dot 102. As indicated at dot 102, MCU 16 will go to sleep for illustratively 1/8 of a second and this time will be added to the timer system value and sum is loaded in the timer comparator register.
As indicated at dot 104, MCU 16 executes a wait mode instruction. Then MCU 16 wakes up by a 1/8 second interrupt and again 1/8 second is added to the timer system value and the sum is loaded in the timer comparator register (dot 106).
After being awakened, MCU 16 reads the first address instruction (dot 108). During this period, MCU 16 generates a logic signal over lines A and B to cause the Vcsc signal on link 52 to go to six volts for 500 microseconds and, during this first 500 microseconds, MCU 16 reads the current and establishes a reference current. During the next 500 microseconds, MCU 16 causes the signal link 52 to go to 9 volts for 500 microseconds. At the end of the second 500 microsecond period, MCU 16 causes the serial link to go back to 6 volts for 500 microseconds. During this 500 microsecond period, MCU 16 reads the mechanical switch or the sensing element switch status by reading the voltage corresponding to the return current sent over serial link 52 at the A/D input.
As indicated at decision box 110, MCU 16 determines if any high priority sensor modules were activated or ACT switch 11 turned ON. MCU 16 would know whether or not this action occurs during the first address if it reads, illustratively, 15 ma. rather than 2 ma. If it does read the high priority sensor modules; i.e. 15 ma., then MCU 16 is instructed to go to operation dots 97A-98 and poll all switches and then proceed to the next operation at dot 100. If no high priority switches are detected, then MCU 16 is instructed to revert back to the operation at dot 104 and re-execute the wait mode instructions.
It is to be understood that the above-described embodiment is mainly illustrative of the principles of the present invention. Although a discrete embodiment is disclosed, an integrated embodiment equivalent could be developed. One skilled in the art may make changes and modifications to the embodiments disclosed herein and may devise other embodiments without departing from the scope and essential characteristics thereof.
|Cited Patent||Filing date||Publication date||Applicant||Title|
|US3927404 *||Oct 18, 1973||Dec 16, 1975||Standard Electric Time Corp||Time division multiple access communication system for status monitoring|
|US4677308 *||Dec 22, 1986||Jun 30, 1987||Chrysler Motors Corporation||Switch status monitoring system, single wire bus, smart sensor arrangement therefor|
|US4839530 *||Jan 7, 1988||Jun 13, 1989||Salplex Limited||Information handling and control systems|
|Citing Patent||Filing date||Publication date||Applicant||Title|
|US5038135 *||May 14, 1990||Aug 6, 1991||Chrysler Corporation||Sensor communications network, door latch mechanism therefor|
|US5305459 *||Apr 19, 1993||Apr 19, 1994||Valeo Securite Habitacle||Circuit for "waking up" a microprocessor power supply, in particular for an ID card in a car remote control system|
|US5386576 *||Apr 19, 1993||Jan 31, 1995||Valeo Neiman||Method and apparatus for associating the reception of reset pulses by a microprocessor with access to different subprograms|
|US5525959 *||Jun 26, 1990||Jun 11, 1996||Robert Bosch Gmbh||Device for monitoring the functions of a plurality of control units in a motor|
|US5585781 *||Aug 17, 1995||Dec 17, 1996||Sumitomo Wiring Systems, Ltd.||Electric current control circuit for switches|
|US5619417 *||Nov 23, 1994||Apr 8, 1997||Chrysler Corporation||Battery monitoring system for an electric vehicle|
|US5621250 *||Jul 31, 1995||Apr 15, 1997||Ford Motor Company||Wake-up interface and method for awakening an automotive electronics module|
|US5664204 *||Apr 30, 1996||Sep 2, 1997||Lichen Wang||Apparatus and method for supplying power and wake-up signal using host port's signal lines of opposite polarities|
|US5664335 *||Jun 6, 1995||Sep 9, 1997||Prince Corporation||Vehicle compass circuit|
|US5783989 *||Feb 28, 1995||Jul 21, 1998||Issa; Darrell E.||Alarm sensor multiplexing|
|US5794055 *||Jul 31, 1995||Aug 11, 1998||Ford Motor Company||Automotive electrical system and method for coupling power to such systems|
|US5805055 *||May 10, 1994||Sep 8, 1998||Elementare Watson S.R.L.||Antitheft system integrated with functions of security, information and navigation, based on electronic cartography, vocal synthesis and radio telecommunication|
|US5834854 *||Sep 21, 1995||Nov 10, 1998||Ford Motor Company||Motor vehicle electrical system|
|US5898238 *||Jan 12, 1998||Apr 27, 1999||Ford Motor Company||Wakeup generator for use with a multi-position resistor ladder switch|
|US5990646 *||Aug 10, 1998||Nov 23, 1999||Hunter Douglas Inc.||Remotely-controlled battery powered-window covering having power saving receiver|
|US6198995 *||Mar 31, 1998||Mar 6, 2001||Lear Automotive Dearborn, Inc.||Sleep mode for vehicle monitoring system|
|US6256746||Jul 31, 1998||Jul 3, 2001||Ubicom, Inc.||System and method for multi-input wake up in a microcontroller using a single clock|
|US6298066 *||Apr 14, 1999||Oct 2, 2001||Maxim Integrated Products, Inc.||Single wire bus interface for multidrop applications|
|US6300879 *||Jul 22, 1999||Oct 9, 2001||Daimlerchrysler Corporation||Wake-up circuit for a remotely located vehicle control module|
|US6317034 *||Apr 16, 1999||Nov 13, 2001||Directed Electronics, Inc.||Alarm sensor multiplexing|
|US6437460 *||Oct 27, 1999||Aug 20, 2002||Daimlerchrysler Corporation||Low power supervisor controller|
|US6532506 *||Aug 12, 1998||Mar 11, 2003||Intel Corporation||Communicating with devices over a bus and negotiating the transfer rate over the same|
|US6590758 *||Apr 17, 2001||Jul 8, 2003||John Friede||Wakeup and safety circuits|
|US6777825 *||Mar 1, 2000||Aug 17, 2004||Siemens Aktiengesellschaft||Data transmission method and system in a motor vehicle occupant protection system|
|US6850034||Aug 10, 2001||Feb 1, 2005||Robert Bosch Gmbh||Circuit arrangement for monitoring the state of charge of an accummulator|
|US7143215||Oct 7, 2002||Nov 28, 2006||Intel Corporation||Communicating with devices over a bus and negotiating the transfer rate over the same|
|US7725138 *||Dec 14, 2006||May 25, 2010||Motorola, Inc.||Apparatus for control of in-battery module|
|US7826525||Nov 2, 2010||Illinois Tool Works, Inc.||Pulse-based communication for devices connected to a bus|
|US8175099 *||May 14, 2007||May 8, 2012||Microsoft Corporation||Embedded system development platform|
|US8478917||Sep 22, 2010||Jul 2, 2013||Microsoft Corporation||Automatic addressing protocol for a shared bus|
|US8805637 *||Mar 25, 2011||Aug 12, 2014||Sony Corporation||Test element group and semiconductor device|
|US8948184 *||Apr 4, 2012||Feb 3, 2015||Microsoft Corporation||Embedded system development platform|
|US9104417 *||Sep 23, 2013||Aug 11, 2015||Cywee Group Limited||Electronic apparatus capable of being waked up through detecting motions|
|US20040056634 *||Aug 10, 2001||Mar 25, 2004||Wolfgang Seils||Circuit arrangement for monitoring the state of charge of an accummulator|
|US20070139844 *||Dec 16, 2005||Jun 21, 2007||Horey Leonard I||Power safety circuit for small appliances|
|US20080146188 *||Dec 14, 2006||Jun 19, 2008||Motorola, Inc.||Apparatus for control of in-battery module|
|US20080198917 *||Feb 16, 2007||Aug 21, 2008||Ark-Les Corporation||Pulse-based communication for devices connected to a bus|
|US20080288666 *||May 14, 2007||Nov 20, 2008||Microsoft Corporation||Embedded System Development Platform|
|US20080288919 *||May 14, 2007||Nov 20, 2008||Microsoft Corporation||Encoding of Symbol Table in an Executable|
|US20110246121 *||Oct 6, 2011||Sony Corporation||Test element group and semiconductor device|
|US20120198103 *||Aug 2, 2012||Microsoft Corporation||Embedded system development platform|
|US20140337651 *||Sep 23, 2013||Nov 13, 2014||Cywee Group Limited||Electronic Apparatus|
|DE102015102352A1 *||Feb 19, 2015||Aug 25, 2016||Dr. Ing. H.C. F. Porsche Aktiengesellschaft||Verfahren und Vorrichtung zum Überwachen eines Ruhezustandes bei einem Kraftfahrzeug|
|EP0863639A1 *||Feb 5, 1998||Sep 9, 1998||Philips Electronics N.V.||Data transmission system|
|EP1209477A2 *||Aug 16, 2001||May 29, 2002||Siemens Aktiengesellschaft||Circuit arrangement for detecting the state of at least one electrical actuating element|
|WO1999050098A1 *||Mar 22, 1999||Oct 7, 1999||Lear Automotive Dearborn, Inc.||Sleep mode for vehicle monitoring system|
|WO2000062455A1 *||Apr 4, 2000||Oct 19, 2000||Maxim Integrated Products, Inc.||Single wire bus interface for multidrop applications|
|WO2008076489A1 *||Sep 18, 2007||Jun 26, 2008||Motorola, Inc.||Apparatus for control of in-battery module|
|U.S. Classification||340/524, 340/518, 340/525, 340/461, 701/114, 340/459, 714/47.1|
|International Classification||G08B26/00, B60R16/03, B60R16/02|
|Cooperative Classification||G08B26/002, B60R16/0315|
|Nov 20, 1989||AS||Assignment|
Owner name: CHRYSLER MOTORS CORPORATION, MICHIGAN
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:WROBLEWSKI, THOMAS R.;REEL/FRAME:005184/0451
Effective date: 19891026
|Apr 13, 1994||FPAY||Fee payment|
Year of fee payment: 4
|May 19, 1998||REMI||Maintenance fee reminder mailed|
|Oct 25, 1998||LAPS||Lapse for failure to pay maintenance fees|
|Jan 5, 1999||FP||Expired due to failure to pay maintenance fee|
Effective date: 19981023