On-vehicle electronic device

Abstract: An on-vehicle electronic device includes a main body (100) which is fastened to a vehicle and has a first terminal (T1), and an operation unit (101) which is detachably mounted in the main body and which has a second terminal (T2) electrically connected to the first terminal when the operation unit is mounted in the main body. The main body includes a reference power source (V DD ) applying a reference voltage to the first terminal, and a voltage detection unit (R₁,R₂) for detecting a voltage applied to the first terminal. The main body further includes a mounting detection unit (11). The mounting detection unit determines, based on a difference between a first detection voltage detected by the voltage detection unit when the operation unit is mounted and a second detection voltage detected by the voltage detection unit when the operation unit is not mounted, whether or not the operation unit is mounted and electrically connected to the main body via the first and second terminals.

Description: Field of the Invention The present invention generally relates to an on-vehicle electronic device, such as a car stereo device, and more particularly to an on-vehicle electronic device having burglarproof function. Description of the Related Art There are two types of car stereo devices. A first type of the car stereo devices is fixedly or permanently installed in a cockpit, and a second type thereof is detachably installed. The car stereo devices of the second type can be protected against burglary by detaching them from the cars when the users leave the cars. There are, as detachment mechanisms for such car stereo devices of detachably installed type, a partially detachable system (see e.g. EP-A-0 451 406, published after the priority date, according to Art. 54(3) EPC) and a totally detachable system (see e.g. EP-A-0 365 109). In the partially detachable system, only essential parts of the car stereo device are detached from the cockpit. In the totally detachable system, the whole car stereo device is detached from the cockpit. A description will now be given for the partially detachable system. In the partially detachable system, an operation panel is detachably mounted in front of a cabinet which is fixed to the vehicle. A cassette tape is inserted into the cabinet via an opening. Main parts of the car stereo device are provided in the operation panel. Hence, the car stereo device with the operation panel detached therefrom does not function. In this manner, the above detachment mechanism of the operation panel substantially serves as a burglarproof means. A mechanical switch for detecting the presence of the operation panel is attached to the cabinet. When the operation panel is mounted into the cabinet, a projection provided on a back surface of the operation panel comes into contact with the mechanical switch, and, presses it. Thereby, the mechanical switch is turned ON. Then, the turned ON signal of the mechanical switch is detected as a signal indicating whether or not the operation panel is mounted to the cabinet. However, the above-mentioned car stereo device of the partially detachable type has the following disadvantages. First of all, in order to detect the presence of the operation panel, it is necessary to provide the mechanical switch and a circuit for detecting the state of the switch. This needs a complex configuration and increases the production cost. Secondly, in this car stereo device, even if an operation panel of another electronic device is mistakenly mounted into the cabinet, the detection mechanism detects the presence of the operation panel since the mechanical switch is operated even by the mistakenly mounted electronic device. In other words, the detection mechanism of this type of car stereo device cannot detect the fact that another operation panel is mistakenly mounted. In another detection mechanism for such car stereo devices of detachably installed type, there are provided terminals fastened to the cabinet, such that one terminal is connected to the mechanical switch, and the other terminal is grounded. Further, there are provided terminals, which are short-circuited, fastened to the operation panel at positions facing to the terminals of the cabinet. Accordingly, when the operation panel is placed in position, a current path is established between the cabinet and the operation panel via the terminals only when an appropriate operation panel is mounted. Thus, if the operation panel of another electronic device, which has terminals located at positions different from those of the terminals of the pertinent operation panel, is mistakenly mounted to the cabinet, no current flows through the terminals, so that the judgement whether or not an appropriate operation panel is mounted can be performed by use of the current flow through the terminal. However, this type of detection mechanism using the terminals, essentially has a following problem. Namely, it is necessary for the operation panels of electronic devices of different types to have the terminals located at different positions, resulting in increases in cost and difficulty of production. It will be noted that other detachable audio devices, such as radios, have disadvantages as described above. It is therefore an object of the present invention to provide an on-vehicle electronic device capable of detecting the presence of an appropriate operation panel without a special switch. The above object of the present invention can be achieved by an on-vehicle electronic device comprising: a cabinet which is fastened to a vehicle; and an operation panel which is detachably mounted in said cabinet, characterized in that the cabinet has a first detachment sense pin, the operation panel has a second detachment sense pin electrically connected to the first detachment sense pin when the operation unit is mounted in the cabinet, and the cabinet comprises: a reference power source applying a reference voltage to the first detachment sense pin; voltage detection means for detecting a voltage applied to the first detachment sense pin; and mounting detection means, coupled to the voltage detection means, for determining, based on a difference between a first detection voltage detected by the voltage detection means when the operation panel is mounted and a second detection voltage detected by the voltage detection means when the operation panel is not mounted, whether or not the operation panel is mounted and electrically connected to the cabinet via the first and second detachment sense pins. Accordingly, this on-vehicle electronic device can detect the presence of an appropriate operation panel in the cabinet, by detecting the voltage at the first detachment sense pin which is generated by the reference power source and is affected by the connecting condition between the first and second detachment sense pins, without the use of a mechanical switch. Accordingly, this on-vehicle electronic device can detect the presence of an appropriate operation panel in the cabinet, without the use of the mechanical switch. The nature, utility, and further features of this invention will be more clearly apparent from the following detailed description with respect to preferred embodiments of the invention when read in conjunction with the accompanying drawings briefly described below. In the accompanying drawings:- FIG. 1 is a perspective view of an on-vehicle electronic device as a first embodiment of the present invention; FIG. 2 is a perspective view of the on-vehicle electronic device of FIG.1, with an inner lid thereof opened; FIG. 3 is a perspective view of the on-vehicle electronic device of FIG.1, with an operation panel detached therefrom; FIG. 4 is a block diagram of the first embodiment of the present invention; FIG. 5 is a diagram showing functions of contact pins used in the first embodiment of the present invention of FIG. 4; FIG. 6 is a circuit diagram of an operation panel including a key switch circuit in a second embodiment of the present invention; FIG. 7 is a diagram showing functions of contact pins used in the second embodiment of the present invention of FIG. 6; and FIGS. 8A and 8B are diagrams each showing an operation panel including a key switch circuit in a third embodiment of the present invention. A description will now be given for a partially detachable system of a car stereo device as one embodiment of the present invention, with reference to FIGS. 1 through 3. In FIG. 1, the car stereo device has a cabinet 100 and an operation panel 101 disposed in front of the cabinet 100. The operation panel 101 is detachably supported by an inner lid 102, which is pivotably fixed on the cabinet main body to be opened and closed as shown in FIG. 2. When the operation panel 101 is to be detached from the cabinet 100, the operation panel 101 is opened together with the inner lid 102. In this case, the operation panel 101 is detached from the inner lid 102, as shown in FIG. 3. A cassette tape is inserted into the cabinet 100 via an opening 103 shown in FIGS. 2 and 3. In FIG. 3, the operation panel 101 is provided with a contact terminal 104 including a plurality of contact pins, while the cabinet 100 is provided with a contact terminal 105, which includes a plurality of contact pins and is adapted to be connected with the contact terminal 104 when the operation panel 101 is set to the inner lid 102. Main parts of the car stereo device are provided in the operation panel 101. Hence, the car stereo device with the operation panel 101 detached therefrom does not function. In this manner, the detachment mechanism of the operation panel 101 substantially serves as a burglarproof means. FIG. 4 shows the internal circuit related to the burglarproof function of the cabinet 100 and the operation panel 101 of the first embodiment. More particularly, the cabinet 100 is provided with a microcomputer 11 as a controller, resistors R₁ and R₂, a voltage source V DD , and a detachment sense pin T1. The operation panel 101 is provided with a register R3 and a detachment sense pin T2. The cabinet 100 and the operation panel 101 are detachably connected to each other via the terminals 104 and 105 shown in FIG.3, including the detachment sense pins T1 and T2, respectively. As shown in FIG. 5, each of the cabinet 100 and the operation panel 101 includes a connector having 14 pin terminals. The pin #11 labeled DENSE is used for determining whether or not the operation panel 101 has been mounted. This determination process is referred to as a detachment sense process. A detachment sense voltage is a voltage between, for example, 1.304V and 2.350V. When it is detected that a voltage within the above voltage range is applied to the pin #11, it is determined by the microcomputer 11 that the operation panel 101 has been mounted. It is preferable that the detachment sense voltage be set to a voltage not equal to 0V. Hence, even if the pin #11 is short-circuited, it is not determined that the operation panel 101 has been mounted. The detachment sense pin T1 shown in FIG. 4 is fastened to the cabinet 100 and corresponds to the above pin #11, is connected to an A/D (Analog-to- Digital) port 12 of the microcomputer 11. A detachment sense circuit, which detects whether or not the operation panel 101 has been mounted, is connected to the A/D port 12. The A/D port 12 is a circuit that generates digital data indicating a voltage range in which an analog input signal applied to the A/D port 12 is present. For example, in a case where the A/D port 12 is designed to have an analog input voltage range of 0V to 10V, the A/D port 12 generates digital data "00" when the analog input voltage is between 0V and 2.5V, and data "01" when the analog input voltage is between 2.5V and 5.0V. Further, in the above vase, the A/D port 12 generates digital data "10" when the analog input voltage is between 5.0V and 7.5V, and generates digital data "11" when the analog input voltage is between 7.5V and 10V. The detachment sense circuit provided in the cabinet 100 includes the resistors R₁ and R₂. The resistor R₁ is connected between a reference power source V DD and the detachment sense pin T₁. The resistor R₂ is connected between the A/D port 12 and the detachment sense pin T₁. The operation panel 101 includes the detachment sense circuit, which consists of the resistor R₃ connected to the detachment sense pin T₂ attached to the operation panel 101 and the ground. A description will now be given for the operation of the first embodiment shown in FIG. 4. When the terminals i.e. the detachment sense pins T₁ and T₂ are not connected to each other, a reference voltage of the reference power source V DD is applied to the A/D port 12 of the microcomputer 11, via the resistors R₁ and R₂. In the above-mentioned case, if a threshold voltage is 1.7V, the resistance values of the resistors R₁ and R₂ are selected so that a voltage applied to the A/D port 12 is between 1.7V and 2.350V (that voltage corresponding to a "H" level). In actuality, it is preferred that the resistance values of the resistors R₁ and R₂ be selected so that a voltage higher than the threshold voltage is applied to the A/D port 12 in order to make sure the detecting operation. When the microcomputer 11 detects the "H" voltage between 1.7V and 2.350V applied to the A/D port 12, the microcomputer 11 understands that the operation panel 101 has not been mounted. When the terminals T₁ and T₂ are connected to each other, a current from the reference power source V DD flows to the ground via the resistor R₁, the detachment sense pin T₁ attached to the cabinet 100, the detachment sense pin T₂ attached to the operation panel 101, and the resistor R₃. The resistance value of the resistor R₃ is adjusted so that a voltage applied to the A/D port 12 falls into a voltage range between 1.304V and 1.7V (that voltage corresponding to a "L" level). When the microcomputer 11 detects a voltage within the above voltage range, it understands that the operation panel 101 has duly been mounted. Then, the microcomputer 11 starts to execute a control operation so that electricity is supplied to the operation panel 101, so that the operation panel 101 is activated. In this state, the user can operate the operation panel 101. According to the first embodiment of the present invention, it is possible to easily detect whether or not the operation panel 101 has been correctly mounted in the cabinet 100. It is easily possible for different electronic devices to have different detachment sense voltages by adjusting the resistor R₃ in the operation panel 101. In this manner, it becomes possible to prevent the electronic device 10 from operating in a state where an operation panel which does not match the operation panel has been mounted, without changing the structure of the contact terminals. A description will now be given, with reference to FIGS. 6 and 7, of an on-vehicle electronic device according to a second embodiment of the present invention. The cabinet of the second embodiment is the same as that of the first embodiment. The second embodiment has an operation panel different from the operation panel 101 of the first embodiment. FIG. 6 shows an operation panel 101A of the second embodiment of the present invention. As shown in FIG. 6, a key switch circuit 20 of the operation panel 101A includes 19 key switches, and 17 resistors. Key data output from the key switch circuit 20 is transferred to the cabinet 100 via four key sense lines KD1 - KD4. In the second embodiment of the present invention, the key sense line KD4 is also used as a detachment sense circuit. A detachment sense voltage is set to be between, for example, 3.1519V and 4.3578V. It is preferable that the detachment sense voltage be set to a voltage other than 0V in order to prevent erroneous understanding such that the operation panel 101A were mounted if the connector is short-circuited by a metal or the like. The key sense line KD4 is connected to the A/D port 12 of the micorcomputer 11 via the detachment sense pin T₂ attached to the operation panel 101A and the detachment sense pin T₁ attached to the cabinet 100. A detachment sense circuit, which is provided in the cabinet 100 and detects whether or not the operation panel 101A has been mounted, is connected to the A/D port 12. As shown in FIG. 4, the detachment sense circuit provided in the cabinet 100 includes the aforementioned resistor R₁ connected to the reference power source V DD and the detachment sense pin T₁, and the resistor R₂ connected to the A/D port 12 of the microcomputer 11 and the detachment sense pin T₁. A detachment sense circuit provided in the operation panel 101A includes resistors R₄ and R₅ connected in series. The resistor R₄ is connected to the detachment sense pin T₂, and the resistor R₅ is grounded. A switch SW₁ is connected between a node at which the resistors R₄ and R₅ are connected in series to each other and the ground. As shown in FIG. 7, the operation panel 101A includes a connector having 14 terminal pins. As shown in FIG. 6, the operation panel 101A has 19 keys. The key sense lines KD1 - KD4 are connected to pins #8 - #11 as shown in FIG. 7, respectively, and are used for determining which one of the 19 keys is pressed. The pin #11 is used as the detachment sense pin T₂. A description will now be given for the operation of the second embodiment of the present invention. In the state where the detachment sense pin T₂ attached to the operation panel 101A is not connected to the detachment sense pin T₁ of the cabinet 100, the voltage of the reference power source V DD is applied to the A/D port 12 via the resistors R₁ and R₂. In the above-mentioned case, when the threshold voltage is 3.75V, the resistance values of the resistors R₁ and R₂ are adjusted so that a voltage applied to the A/D port 12 is between 3.75V and 4.3578V (that voltage corresponding to a "H" level ). When the microcomputer 11 detects the "H" level at the A/D port 12, it understands that the operation panel 101 has not been mounted. In the state where the detachment sense pin T₂ attached to the operation panel 101A is connected to the detachment sense pin T₁ of the cabinet 100, a current from the reference power source V DD flows to the ground via one of the following two routes. One of the routes includes the reference power source V DD , the resistor R₁, the detachment sense pin T₁ of the cabinet 100, the detachment sense pin T₂ of the operation panel 101A, and the resistors R₄ and R₅. The other route includes the reference power source V DD , the resistor R₁, the detachment sense pin T₁ of the cabinet 100, the detachment sense pin T₂ of the operation panel 101A, the resistor R₄ and the switch SW₁. The resistance values of the resistors R₄ and R₅ are adjusted so that a voltage applied to the A/D port 12 is between 3.1519V and 3.75V (that voltage corresponding to a "L" level). When the microcomputer 11 detects the "L" level at the A/D port 12, it understands that the operation panel 101A has been mounted. Then, the microcomputer 101A starts to execute a control operation so that electricity is supplied to the operation panel 101A. According to the second embodiment of the present invention, it is possible to easily detect whether or not the operation panel 101 has been correctly mounted in the cabinet 100. It is further possible to use a part of the circuit for determining which key is operated in order to form the detachment sense circuit. Hence, it is not necessary to provide an exclusive circuit for forming the detachment sense circuit. Moreover, it is easily possible for different electronic devices to have different detachment sense voltages by adjusting the resistance values of the resistors R₄ and R₅ in the operation panel 101A. In this manner, it becomes possible to prevent the electronic device from operating in a state where an operation panel which does not match the operation panel has been mounted. A description will now be given for an electronic device according to a third embodiment of the present invention. The third embodiment uses a cabinet identical to the cabinet 100 used in the first and second embodiments. The third embodiment is different from the first embodiment in that the detachment sense line is formed by means of a part of the key sense lines, as in the case of the second embodiment. Further, the third embodiment is different from the second embodiment in that a plurality of keys are provided for the detachment sense line. FIG. 8A shows an operation panel 101B of the third embodiment of the present invention. The input voltage range of the A/D port 12 is divided into six voltage ranges. If it is not necessary to take into account a possibility that an operation panel of another electronic device is mistakenly mounted, in a key switch circuit 30 shown in FIG. 8B, it is possible to commonly use a maximum of four key switches and one data sense line. More particularly, two terminals f are short-circuited, and key switches SWb, SWc, SWd and SWe are provided between terminals b, c, d and e, respectively. When a voltage between 1.3V and 4.79V is detected at the A/D port 12 in the cabinet 100, it is possible to detect that the operation panel 101B has been correctly mounted. It is possible to take into account, in the following manner, the fact an operation panel of another electronic device is mistakenly mounted. Namely, in a first type of electronic device including the operation panel 101B, a key switch is connected between terminals b, and the terminals c are short-circuited. In a second type of electronic device, key switches are respectively provided between terminals d and terminals e, and the terminals f are short-circuited. Thus, when a voltage between 1.3V and 3.15V is detected at the A/D port 12, the microcomputer 11 understands that the operation panel for the first electronic device has been mounted. When a voltage between 3.15V and 4,79v is detected at the A/D port 12, the microcomputer 11 understands that the operation panel for the second electronic device has been mounted. In other words, it is possible to understand that an operation panel of another electronic device has been mounted and thus generate an alarm signal notifying the user of erroneous mounting.

Claims: An on-vehicle electronic device comprising: a cabinet (100) which is fastened to a vehicle; and an operation panel (101) which is detachably mounted in the cabinet, characterized in that the cabinet (100) has a first detachment sense pin (T₁), the operation panel has a second detachment sense pin (T₂) electrically connected to the first detachment sense pin (T₁) when the operation panel (101) is mounted in the cabinet (100), and the cabinet (100) comprises: a reference power source (V DD ) applying a reference voltage to the first detachment sense pin (T₁); voltage detection means (R₁,R₂) for detecting a voltage applied to the first detachment sense pin (T₁); and mounting detection means (11), coupled to the voltage detection means (R₁,R₂), for determining, based on a difference between a first detection voltage detected by the voltage detection means (R₁,R₂) when the operation panel (101) is mounted and a second detection voltage detected by the voltage detection means (R₁,R₂) when the operation panel (101) is not mounted, whether or not the operation panel (101) is mounted and electrically connected to the cabinet (100) via the first and second detachment sense pins (T₁,T₂). An on-vehicle electronic device according to claim 1, wherein the voltage detection means (R₁,R₂) comprises a first resistor (R₁) connected between the reference power source (V DD ) and the first detachment sense pin (T₁), and a second resistor (R₂) connected between the mounting detection means (11) and the first detachment sense pin (T₁); and the operation panel (101) comprises a third resistor (R₃) connected between the second detachment sense pin (T₂) and a ground. An on-vehicle electronic device according to claim 1 or 2, wherein the cabinet (100) comprises a first contact terminal (105) comprising a plurality of terminal pins, one of which corresponds to the first detachment sense pin (T₁); and the operation panel (101) comprises a second contact terminal (104) which is engaged with the first contact terminal (105) and comprises a plurality of terminal pins, one of which corresponds to the second detachment sense pin (T₂). An on-vehicle electronic device according to any one of claims 1 to 3, wherein the cabinet (100) comprises an inner lid (102) which detachably supports the operation panel (101). An on-vehicle electronic device according to any one of claims 1 to 4, wherein the mounting detection means (11) comprises a microcomputer (11) having an analog-to- digital port (12) to which the first detachment sense pin (T₁) is electrically connected. An on-vehicle electronic device according to claim 1, wherein the operation panel (101) further has a plurality of key switch circuits (20,30); the cabinet (100) further comprises key switch circuit identifying means (11) for identifying which one of the key switch circuits (20,30) is operated in a state where the operation panel (101) is mounted in the cabinet (100); and the voltage detection means (R₁,R₂) detects a voltage of a signal applied to the first detachment sense pin (T₁). An on-vehicle electronic device according to claim 6, wherein the second detachment sense pin (T₂) is connected to a ground via one key switch (SW₁) which is linked with one of the key switch circuits (20,30). An on-vehicle electronic device according to claim 6, wherein the second detachment sense pin (T₂) is connected to a ground via a plurality of key switches (SW b , SW c , SW d , SW e ) which are respectively linked with the key switch circuits (20,30).

Inventors: AOYAGI YOSHIO C O PIONEER ELEC, IIJIMA TAKAYUKI C O PIONEER EL, KATO SHIGETOSHI C O PIONEER EL, KAWAHARA AKIRA C O PIONEER ELE, NAMIKI AKIO C O PIONEER ELECTR, WAKIMOTO HIROSHI C O PIONEER E, YOSHIZAWA OSAMU C O PIONEER EL, AOYAGI, YOSHIO, C/O PIONEER ELECTRONIC CORP., IIJIMA, TAKAYUKI, C/O PIONEER ELECTRONIC CORP., KATO, SHIGETOSHI, C/O PIONEER ELECTRONIC CORP., KAWAHARA, AKIRA, C/O PIONEER ELECTRONIC CORP., NAMIKI, AKIO, C/O PIONEER ELECTRONIC CORP., WAKIMOTO, HIROSHI, C/O PIONEER ELECTRONIC CORP., YOSHIZAWA, OSAMU, C/O PIONEER ELECTRONIC CORP.
Applicants: PIONEER ELECTRONIC CORP, PIONEER ELECTRONIC CORPORATION
Application year: 1992
Main classification: B60R11
IPC codes: B60L1, G08B15, B60R11