Means for controlling power door locks with an automobile burglar alarm
BACKGROUND OF THE INVENTION 
     In general, an automobile burglar alarm is designed to deter attempts of unauthorized entry into or vandalism to an automobile, and to alert the car&#39;s owner and/or passers-by of such attempts on the car. Yet if the owner does not remember to lock the car&#39;s doors, a would-be thief or vandal may be more able to by-pass the car&#39;s burglar alarm. 
     In view of the above defect, the inventor has invented a device which works in conjunction with an automobile burglar alarm to ensure that the car&#39;s doors are locked when the alarm is armed. The invention can lock and unlock the car&#39;s doors in one of two ways: either automatically when the alarm arms and disarms, or manually via an external switch. Said invention offers two benefits to automobile burglar alarm owners: the convenience of locking and unlocking the car&#39;s doors from inside or outside the vehicle, and the security of knowing that when the automobile burglar alarm is armed the car&#39;s doors are locked. 
     SUMMARY OF THE INVENTION 
     The present invention provides automatic locking or unlocking of a car&#39;s power door lock system, either in conjunction with the arming and disarming of an automobile burglar alarm, or via some other external switch. In the first case, when the automobile burglar alarm is armed, a signal is transmitted via the present invention to lock the car&#39;s doors. When the automobile burglar alarm is disarmed, a signal is transmitted via the present invention to unlock the car&#39;s doors. In the second case, the car&#39;s owner can override the automobile burglar alarm via another switch to lock or unlock the car&#39;s doors at will. In either case, the present invention will generate a lock or unlock signal of the appropriate length necessary to lock or unlock the car&#39;s doors. Note that the length of the lock and unlock signal is programmable according to the type of door lock system in a particular automobile. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of the present invention. 
     FIG. 2 is circuit diagram of a preferred embodiment according to the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The automatic door lock and unlock control means of the present invention is characterized by: a monitor circuit connected to an automobile burglar alarm to monitor whether the car&#39;s doors are open or closed, a switch control circuit to convert the alarm armed or disarmed signal from the automobile burglar alarm to the appropriate door lock or unlock signal; and a means of allowing the car&#39;s owner to manually override the alarm&#39;s arm or disarm signal to lock or unlock the car&#39;s doors at whenever needed. 
     The present invention is described below with reference to the attached drawings. As shown in FIG. 1, a block diagram of a preferred embodiment according to the present invention, the switch control circuit (1) can accept a door lock or unlock signal from one of two separate inputs. 
     In the first case, when the automotive burglar alarm is armed or disarmed, the appropriate lock or unlock signal is sent from the automotive burglar alarm (2) to the switch control circuit (1). If the signal is a lock signal, it is passed to the door lock circuit (3), which then activates door actuators (7) to lock the car&#39;s doors. If the signal is an unlock signal, it is passed to the door unlock circuit (4), which then activates door actuators (7) to unlock the car&#39;s doors. After the doors unlock, the unlock signal is held within the door monitor circuit (5) for a predetermined delay period. If a car door is not opened within said delay period, an unlock signal will be passed from the door monitor circuit (5) via the automotive burglar alarm (2) and the door lock circuit (3) to the door actuators (7), thereby relocking the doors. In this way, the car&#39;s doors cannot be permanently unlocked because of either accidental or malicious outside interference which would cause the automotive burglar alarm to disarm. 
     In the second case, the car&#39;s owner transmits a signal from some external switch via the manual override circuit (6). This external switch may be a pushbutton, remote control, digital keypad code, or some other switch, or more than one of such switches, and is not a point for which a patent is sought. The signal is sent to the switch control circuit (1). The switch control circuit (1) then passes either a lock signal via the door lock circuit (3) to the door actuators (7) to lock the doors, or an unlock signal via the door unlock circuit (4) to the door actuators (7) to unlock the doors as in the first case above. The signal sent depends on whether the car&#39;s doors most recently were locked or unlocked via the present invention. If the doors were most recently locked, the switch control circuit (1) will pass an unlock signal. If the doors were most recently unlocked, a lock signal will be passed. Note that said external switch (6) will operate the door locks as described above regardless of whether any car door is open or not. 
     DETAILED DESCRIPTION OF THE CIRCUIT DIAGRAM 
     FIG. 2 is the control circuit diagram of a preferred embodiment according to the present invention. As will be shown below, when the car&#39;s alarm is armed, the car&#39;s doors will lock automatically. At that time, output Q of IC11 will become &#34;HI,&#34; and output Q-bar will become &#34;LO&#34;  which is the normal state of IC11 when the last operation of the present invention was to lock the doors. Should the last operation of the present invention be to unlock the car&#39;s doors, output Q and output Q-bar of IC11 will reverse states to indicate this. With this understanding, we can examine said circuit diagram. 
     A, when the alarm is armed 
     As shown in the circuit diagram, when input R of IC22 is &#34;HI&#34; then output Q-bar of IC22 is &#34;HI.&#34; Input R is &#34;HI&#34; in one of two situations. First, when the car&#39;s ignition key is turned on, input R of IC22 is &#34;HI.&#34; Second, when any car door is opened, IC51 sends a &#34;HI&#34; via D51 to input R of IC22. If all the car&#39;s doors are closed while the ignition key is turned off, IC51 sends a &#34;LO&#34; via C22 and R24 to input C of IC22, and input R of IC22 is no longer &#34;HI,&#34; and so output Q-bar of IC22 becomes &#34;LO.&#34; Note that &#34;door&#34; as used in this discussion may include any opening in the car, including all doors, the hood, and the trunk, depending on how the alarm is installed. 
     When output Q-bar of IC22 is &#34;HI,&#34; such as when the car&#39;s ignition is off or a car door is opened, the car&#39;s alarm will not arm and the car&#39;s power door locks will not lock. However, when output Q-bar of IC22 is &#34;LO.&#34; a signal is sent to an exit delay timer consisting of R22, R23, D22 and C21. This timer determines the alarm&#39;s exit delay period. During this time period, the car&#39;s owner may interrupt the car&#39;s alarm&#39;s arming and doors&#39; locking if desired by opening the car&#39;s door, which, as shown above, causes output Q-bar of IC22 to become &#34;HI.&#34; When the time determined by said timer expires, a &#34;HI&#34; signal from IC23 is sent via C13 and R12 to IC11. If the output Q of IC11 is &#34;LO&#34; and output Q-bar of IC11 &#34;HI,&#34; then the signal from IC23 causes the outputs Q and Q-bar of IC11 to reverse. The &#34;HI&#34; from output Q of IC11 is sent via C12 and R13 to IC31. IC31 then outputs a &#34;LO&#34; signal to a door lock timer circuit consisting of C31, R31, R32. This signal is sent via R33 to Q31 for said timer&#39;s pre-set time, which causes the car&#39;s doors to lock. Note that the pre-set time of said door lock timer can be adjusted as needed according to the needs of the car&#39;s door lock actuators. In this case, the output Q from IC11 remains &#34;HI&#34; while the output Q-bar remains &#34;LO&#34; to indicate that the present invention caused the car&#39;s doors to lock. 
     On the other hand, when the car&#39;s ignition key is turned off and a car door is opened and closed, if the output Q of IC11 is already &#34;HI&#34; and output Q-bar of IC11 is already &#34;LO&#34; this indicates that the car&#39;s door should already locked. This may be because the driver locked the car&#39;s doors via the manual override (discussed below) from inside the car, then unlocked his or her door to exit the car. In this case, when the door is opened and closed, thereby causing output Q-bar of IC22 to become &#34;HI,&#34; and after the exit delay time as determined by said exit delay timer has expired, the &#34;HI&#34; signal from IC23 passes via D13 directly to IC31, IC31 then outputs a &#34;LO&#34; signal via said door lock timer and R33 to Q31 for said door lock timer&#39;s pre-set time, which causes the car&#39;s doors to lock again. In this fashion, the car&#39;s doors will always lock when the car&#39;s alarm is armed. 
     While the door lock timer circuit consisting of C31 R31 and R32 is counting the door lock time, IC31 is also passing a &#34;LO&#34; signal to IC32. IC32 then passes a &#34;HI&#34; signal to input S of IC11. While input S of IC11 is &#34;HI,&#34; input C of IC11 will not receive a lock or unlock signal from the car&#39;s alarm. This allows the car&#39;s doors to lock completely before the alarm attempts to lock or unlock them again, thus preventing excess wear on the door lock actuators. But after said door lock timer circuit is finished counting and IC31 is finished outputting the lock signal, IC11 can receive a lock or unlock signal from the car&#39;s alarm. 
     B. when the alarm is disarmed 
     To disarm the car&#39;s alarm and unlock the car&#39;s doors, a &#34;LO&#34; signal from some external switch passes via R61 to IC61, which is then converted to a &#34;HI&#34; signal which is passed directly to input C of IC11. Output Q of IC11 changes from &#34;HI&#34; to &#34;LO&#34; and output Q-bar of IC11 changes from &#34;LO&#34; to &#34;HI.&#34; The &#34;HI&#34; from output Q-bar of IC11 is passed to IC41. IC41 then outputs a &#34;LO&#34; signal via a door unlock timer circuit consisting of C41, R41, and R42 and from there via R43 to Q41 for said timer&#39;s pre-set time, which causes the car&#39;s doors to unlock. Note that the pre-set time of said door unlock timer can be adjusted as needed according to the needs of the car&#39;s door lock actuators. In this case, the output Q-bar from IC11 remains &#34;HI&#34; and the output Q remains &#34;LO&#34; to indicate that the present invention cuased the car&#39;s doors to unlock. 
     At the same time the car&#39;s doors are unlocking, the &#34;HI&#34; from IC61 is also passed via IC21 and R24 to input C of IC22. This causes output Q-bar of IC22 to output a &#34;LO&#34; signal jto said exit delay timer. If no car door is opened, a &#34;HI&#34; will be sent from IC23 to IC11 to lock the car&#39;s doors as shown above (since the doors were just unlocked, output Q of IC11 is &#34;LO&#34; and output Q-bar is &#34;HI,&#34; so the next operation will be to lock the doors). However, if a door is opened, output Q-bar of IC22 will become &#34;HI&#34; as shown above, which will stop the said exit delay timer, thus preventing the doors from being locked again. In this fashion, the car&#39;s doors will automatically relock themselves if unlocked accidentally. 
     While the door unlock timer circuit consisting of C41, R41 and R42 is counting the door lock time, IC41 is also passing a &#34;LO&#34; signal to IC42. IC42 then passes a &#34;HI&#34; signal to IC32, to disable the door lock time curciut. This allows the car&#39;s doors to unlock completely before the alarm attempts to lock or unlock them again, thus preventing excess wear on the door lock actuators. But after said door unlock timer circuit is finished counting and IC41 is finished outputting the unlock signal, IC11 can receive a lock or unlock signal from the car&#39;s alarm. C. manual override of the door lock/unlock circuit 
     The car&#39;s owner may desire to lock or unlock the car&#39;s door via some remote switch or push-button without arming or disarming the alarm. The present invention provides for this feature with an external switch circuit. A &#34;LO&#34; signal from some remote switch or push-button passes through the external switch circuit consisting of R61 and IC61. If the car&#39;s ignition key is off and the doors closed, the alarm will start to arm and the car&#39;s doors will start to lock via the exit delay circuit as shown in section B above. At the same time, IC61 transmits a &#34;HI&#34; directly to input C of IC11. Note that in this case said signal does not pass the said exit delay circuit, meaning that the doors will lock or unlock immediately upon command of the car&#39;s owner. On the other hand, if the car&#39;s ignition key is on or one of the car&#39;s doors is opened when said remote switch is used, output Q-bar of IC22 will remain &#34;HI,&#34; so the exit delay is not started. But the &#34;HI&#34; from IC61 is still transmitted directly to input C of IC11. 
     If output Q of IC11 is &#34;LO&#34; and output Q-bar of IC11 is &#34;HI,&#34; then the car&#39;s doors will lock as demonstrated in section A above. At the same time, output Q and Q-bar of IC11 will both reverse states to indicate that the present invention&#39;s last operation was to lock the doors. On the other hand, if output Q-bar of IC11 is &#34;LO&#34; and output Q of IC11 is &#34;HI,&#34; then the car&#39;s doors will unlock as demonstrated in section A above. At the same time, output Q and Q-bar of IC11 will both reverse states to indicate that the present invention&#39;s last operation was to unlock the doors.