Prior Art
The present invention relates to a security device of the generic type of the main claim, in particular for use in motor vehicles.
Security devices for motor vehicles usually contain both mechanical and electrical apparatuses. Mechanical apparatuses are generally based on blocking the steering wheel in that a lock which is to be actuated by means of a key prevents the said key from rotating. An electronic apparatus of this kind is known for example from the Australian application No. 68 203/90 whose subject matter is included in the present application. In this application, an electrical apparatus is disclosed which permits electronic immobilization, for example by blocking the injection system.
The major part of the previously customary electronic devices for immobilizing vehicles is realized as a simple on/off type which can be bypassed relatively easily, if necessary using suitable resources. This takes place in a simple way in that the ignition contact is shortcircuited.
The object of the present invention is to specify a security device which is not based on a simple switch-on/switch-off principle and which can only be bypassed with difficulty.
Summary of the Invention
This object is achieved by means of a security device with the characterizing features of the main claim. Advantageously, the security device according to the invention has an electronic control unit for controlling the operation of an apparatus to be protected, a plurality of sensors for detecting specific operating parameters of the apparatus to be protected and a safety circuit which is connected to the sensors and is influenced by them. When starting up occurs, the electronic control unit tests the security circuit and controls the operation of the apparatus to be protected as a function of the result of this test.
Advantageously, the security circuit and the electronic control unit each have a memory in which identical security codes are stored. During the testing of the security circuit; at least one code is transmitted from its memory to the electronic control unit. If one of the sensors determines that an operating parameter has assumed an unacceptable value, the transmission of the codes is scrambled or terminated.
In a preferred embodiment, the sensors monitor the axial and/or the angular position of the shaft of a motor vehicle steering lock.
An exemplary embodiment of the proposed security device is explained in greater detail below with reference to the drawing.
Brief Description of the Drawings
FIG. 1 is a schematic view of the design of the security device according to the invention in use in a motor vehicle. FIGS. 2a to 5a and 2b to 5b are cross-section and plan views, respectively, showing different operating states of a security device according to the invention arranged on a steering lock of a motor vehicle corresponding to FIGS. 2 to 5. FIG. 6 shows a table of the possible operating states.
Detailed Description of the Preferred Embodiment
In FIG. 1, the reference number 10 designates an electronic control unit which in the application in a motor vehicle, as assumed here, serves for example to control an engine starter relay 18 and/or an engine control device 12 which itself monitors in particular the ignition and the gasoline supply of the engine 17. Expediently, in order to avoid a large number of circuits which would otherwise be required it consists essentially of one microprocessor.
An electronic circuit 42 which is arranged in the base 22 of an ignition lock housing 24 is connected via a data line 11 to the control unit 10. In the ignition lock housing 24 there is also a shaft 26 which is turned with the locking cylinder 27 (illustrated) schematically of the ignition lock. The shaft 26 has a coupling element 28 which engages in a corresponding complementary coupling element on an ignition switch 32. Both coupling elements 28, 30 can be secured by a pin 34. The ignition switch 32 is located inside the base 22 and is attached by means of driver pins 36. At the shaft-side coupling element 28, a reflective vane 38 in the form of a circular disc out of which an angular segment has been cut out is arranged coaxicily. Under the vane 38 there is a printed circuit board 40 on which the electronic circuit 42 is arranged. Furthermore, on the printed circuit board 40 there are two sensors U.sub.1 and U.sub.2 for detecting the position of the vane 38. In the exemplary embodiment described here, the sensors U.sub.1, U.sub.2 are electro-optical sensors which both transmit and receive visible radiation. The sensors can, however, also be realized as magnetic sensors, Reed switches, ultrasonic sensors, radio frequency sensors, mechanical switches or comparable arrangements. Each sensor U.sub.1, U.sub.2 has both an emitter a for transmitting light and a detector b for detecting incident light, in particular light reflected from the vane 38 and/or ambient light. The arrangement of the vane 38 and sensors U.sub.1, U.sub.2 is constructed such that if the vane 38 covers a sensor U.sub.1, U.sub.2, the radiation emitted by the emitter a of this sensor U.sub.1, U.sub.2 is reflected onto the detector b. A circuit 42 which contains a read only memory 44, expediently in the form of an electrically erasable, programable read only memory (EEPROM) is connected to the sensors U.sub.1, U.sub.2. The memory 44 can however also be a RAM, ROM, EPROM, flash memory or any other type of memory. If an EEPROM is used as memory 44, the circuit 42 only requires four external inputs or outputs since an EEPROM is a component which operates serially, the said inputs and outputs being earth, the voltage supply, chip-select counter and data input/output. The outlay on wiring with such a design is low.
As illustrated in FIGS. 2 and 3, the sensor U.sub.2 is always covered by the vane 38 during normal operation. If the vane 38 or the ignition switch 32 are removed, the sensor U.sub.2 detects this by the absence of the signal reflected by the vane 38. The second sensor U.sub.1 detects the position of the shaft 26 by reference to the position of the vane 38 connected to the said shaft 26. The position of the shaft 26 itself determines the position of the ignition switch 32 which, as indicated in FIG. 1, is in turn detected by the control 10 via inputs 60, 61 and 62. Usually, the ignition switch 32 can assume the positions "ignition off", input 62; "vehicle voltage on", input 61; and "ignition on" and "start", input 60. As indicated in FIG. 2, in the position "ignition off" the vane 38 covers both sensor U.sub.1 and sensor U.sub.2. 0n the other hand, as shown in FIG. 3, in the start/ignition position, the vane 38 is turned in such a way that the cut out segment of the vane 38 is located directly over the sensor U.sub.1, and as a result the latter is not covered by the vane 38. Light emitted by the sensor U.sub.1 is correspondingly not reflected from the vane 38 in this position. The output of the sensor U.sub.1 is connected to the "ORG" pin of the memory 44. By means of the latter, the sensor U.sub.1 controls whether the memory outputs 8-bit or 16-bit data. The sensor U.sub.1 is connected on the output side to the "ENABLE" or "CS" pin of the memory 44. According to its state, it activates or deactivates the memory 44. In the memory 44, there are for example eight codes stored in memory positions 1 to 8. The precise number and form of the codes depends on the respective requirements.
In the exemplary embodiment described, the code is designed in such a way that a different code is assigned to each vehicle. The probability that two vehicles are assigned the same code is in this case smaller than 1:16 million. In the memory 46 of the electronic control unit 10, codes identical to those arranged in the memory 44 are stored. As illustrated in FIG. 1, the intention in the exemplary embodiment is that the positions 5 of both memories 44 and 46 each contain the identical code A.
The mode of operation of the security device is described below. If, during the operation or during the starting up of the apparatus to be protected, here a motor vehicle, the electronic control unit 10 detects, in the exemplary embodiment particularly by reference to the movement of the ignition switch 32 into the position "ignition/start" that processing of security or diagnostic data is required, the said control unit 10 initially transmits a serial data train via the data line 11 to the electronic circuit 42 which causes a specific contents of the memory 44 to be read out. For this purpose, such a data train typically contains a start bit, a code for initiating the read function and an address which designates the selected memory contents. The circuit 42 interprets the serial data train and transmits back the contents, determined by it, out of the memory 44, for example the code A to the electronic control unit 10. The latter tests the code received from the circuit 42 for correctness, in particular by comparison with the identical code A stored in the memory 46. If the code sent back to the control unit 10 is not correct, starting up of the vehicle or of the apparatus to be protected is prevented. Since electrical faults may possibly occur in particular in a vehicle, it is appropriate to exchange in each case at least three different codes in this way between the circuit 42 and electronic control unit 10. If at least two of the codes interrogated in the circuit 42 by the electronic control unit 10 are correct, the vehicle is enabled so that it can be started. If the ignition switch 32 is in the "off" position, as illustrated in FIG. 2, the vane 38 covers both sensors U.sub.1 and U.sub.2. As represented in FIG. 6, in this case via the ORG pin of the memory 44, the sensor U.sub.1 has the effect that only 8-bit data, instead of 16-bit data can be transmitted. In the exemplary embodiment according to FIG. 2, this means that an incorrect response code is transmitted to the control unit 10. The vehicle or the apparatus to be protected cannot be started up. If the shaft 26 is moved from the "off" position into the "start/ignition" position, the cut out circular segment of the vane 38 lies opposite the sensor U.sub.1. In this case, the ORG pin of the memory 44 is activated in order to transmit 16-bit data. If at least two of three codes requested by the electronic control unit 10 have been transmitted correctly, the electronic control unit 10 enables the engine control device 12 which subsequently activates the injection system and closes the engine starter relay 18. The vehicle, or generally the apparatus to be protected, can then be started up.
If the shaft 26 is rotated incorrectly, as indicated in FIG. 5, only the sensor U.sub.1, but not the sensor U.sub.2 is covered by the vane. As a result, the sensor U.sub.2 deactivates the memory 44 via the ENABLE pin. As illustrated in FIG. 6, no data are transmitted to the electronic control unit and the vehicle cannot be started.
In the case of an attempt to short-circuit the vehicle, the ignition signal on the line 61 initially triggers a transmission of data via the electronic control unit 10. Since the shaft 26, and with it, the ignition switch 32 is however unchanged in the "off" position, the sensor U.sub.1 remains covered by the vane 38, as a result of which, as illustrated in FIG. 6, only 8-bit data are transmitted from the circuit 42 to the electronic control unit 10. In the exemplary embodiment described here, an 8-bit data train corresponds to an incorrect code. Therefore, engine and starter functions are not enabled. If, on the other hand, the ignition switch 32 is removed, for example violently, so that the situation indicated in FIG. 4 is present, both sensors U.sub.1 and U.sub.2 are exposed. Since sensor U.sub.2 does not receive any reflected signals in this case, the transmission of data from the circuit 42 to the electronic control unit 10 is blocked. The only possible way of exposing the sensor U.sub.1 in the correct way consists in moving the vane 38 into the correct position, illustrated in FIG. 3, by turning the shaft 26. Since the shaft 26 is in turn connected to the closing cylinder of the ignition lock, the correct key must be used in order to bring about rotation of the shaft 26. Since, in addition, the transmission of digital data only takes place within the security device, it is difficult for an unauthorized user to penetrate the line system of the security device in order to bypass it.
The security device described can be retrofitted easily to existing vehicles both with and without an engine control device. In addition, it is possible to integrate the security device into the engine management system.
Although the exemplary embodiment described above related to a motor vehicle, it is equally possible to use a similar security device in other applications also, for example to protect houses or industrial plant.
In addition, the underlying concept can be retaomed as the basis for a wide range of variations, in particular regarding the shape, the design and the arrangement of the components used.