BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to an optical coordinate input device and, more particularly, to a matrix driver for scanning, driving, and controlling individual diodes contained in a diode matrix composed of a plurality of light emitting diodes.
2. Description of the Prior Art
The optical coordinate input device comprises, for example, a light emitting element array. This array includes a plurality of light emitting diodes arranged in the form of a matrix wherein each light emitting diode is driven and caused to emit light when a row signal and a column signal pertinent thereto, serving as scanning signals, coincide in timing with each other. The light emitting diodes are driven by pulses, and the peak value of a current supplied to each diode during the scanning is made as large as some ten times the rated value during the static driving.
Examples of the foregoing type of optical coordinate input device are disclosed in U.S. Pat. Nos. 3,764,813; 3,775,560; and 3,860,754.
According to these patents, the row signals and the column signals are given each in the form of a pulse signal of square waveform. Therefore, if some malfunction occurs in a section for generating such pulse signals and a "high" level is preserved, only light emitting diodes located at row-column positions pertinent to the pulse signals kept at that level are caused to emit light continuously. As a result, the diodes would be destroyed due to continued energization, or the lifetime would be shortened.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide a matrix driver for light emitting diodes which prevents continued energization of any peculiar light emitting diodes even when a signal state designating these diodes becomes abnormal.
To achieve the foregoing object, the present invention provides a matrix driver comprising a plurality of light emitting diodes, energizing means for successively pulse-driving and scanning the light emitting diodes, and control means for instructing the energizing means about the sequence of scanning, which is characterized by protective means for preventing one specified diode among the light emitting diodes from being continuously pulse-energized.
In another feature, the present invention provides a matrix driver comprising a diode matrix composed of a plurality of light emitting diodes arranged in the form of a matrix, scanning means for providing scanning signals to scan the plurality of light emitting diodes, driving means for driving and causing the designated light emitting diodes to emit light in accordance with the scanning signals, and drive terminating means for supplying a drive terminating signal to the driving means when the scanning signals come to a standstill. The drive terminating means may be a monostable multivibrator.
In still another feature, the present invention provides a matrix driver comprising a diode matrix composed of a plurality of light emitting diodes, signal supplying means for supplying a plurality of row signals and column signals, driving means for driving the light emitting diodes within the diode matrix designated by the row signals and the column signals, and drive control means for controlling the driving means so that when the row signals and the column signals become unchanged a position devoid of any light emitting diodes is designated. The matrix driver may include capacitive coupling means for supplying the row signals and the column signals to the driving means. Further, the drive control means may be monostable multivibrator circuits being actuated by the respective row signals and column signals.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a circuit diagram showing a first embodiment of a matrix driver according to the present invention;
FIGS. 2 and 3 are circuit diagrams showing second and third embodiments, respectively, of the present invention;
FIG. 4 is a diagram showing an example of a resetequipped multivibrator; and
FIG. 5 is a circuit diagram showing a fourth embodiment of the present invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
Embodiments of the present invention will now be described in detail with reference to the drawings.
FIG. 1 shows a first embodiment of a matrix driver according to the present invention. The illustrated matrix driver includes a diode matrix composed of light emitting diodes D, having m rows and n columns. That is, (m×n) light emitting diodes are arranged in the form of a matrix, indicated by D11 -D1n, D21 -D2n, . . . , Dm1 -mn.
Signals for driving and controlling these light emitting diodes D are supplied through a CPU 10. Specifically, a plurality of row control signals Sl1 -Slp are provided form row signal output terminals Ol1 -Olp of the CPU 10, and a plurality of column control signals Sr1 -Srq are provided from column signal output terminals Or1 -Orq of the CPU 10. These row control signals Sl1 -Slp are supplied to corresponding signal input terminals I1 -Ip of a row address decoder 20. The column control signals Sr1 -Srq are supplied to corresponding signal input terminals I1 -Iq of a column address decoder 30.
Signal output terminals O1 -Om of the row address decoder 20 are connected through PNP transistors T1 -Tm to the corresponding bases of m PNP transistors Ql1 -Qlm for driving the row side of the diode matrix and provide row signals SL1 -SLm serving as scanning signals. The bases of the transistors T1 -Tm are connected in common and grounded.
Similarly, signal output terminals O1 -On of the column address decoder 30 are connected through PNP transistors T'1 -T'n to the corresponding bases of n NPN transistors Qr1 -Qrn for driving the column side of the diode matrix and provide column signals SR1 -SRn. The bases of the transistors T'1 -T'n are connected in common with a Q terminal of a re-triggerable monostable multivibrator 40. As this re-triggerable monostable multivibrator 40 an integrated circuit "HD74LS123" is used in the embodiment which has A and B inputs and a Clear input. The A input is fixed to "L" and the B input is fixed to "H", and the Clear input is connected to a control terminal CON of the CPU 10. With the A and B inputs of the retriggerable monostable multivibrator 40 being fixed as described above, an "L" pulse signal is provided from the Q terminal when an "H" pulse signal is applied to the Clear input, whereas the level of the Q terminal transfers to "H" when an "L" pulse signal is applied to the Clear input. On the other hand, if the Clear input is held at "L" or "H", the Q terminal is kept in the "H" state.
The emitters of the transistors Ql1 -Qlm are connected in common with a driving voltage source +Vcc, and the collector of each transistor is connected in common with the anodes of the light emitting diodes of the corresponding row. The emitters of the transistors Qr1 -Qrn are connected in common and grounded, and the collector of each transistor is connected through a resistor, R1 -Rn, in common to the cathodes of the light emitting diodes of the corresponding column.
The operation of the matrix driver of the foregoing configuration according to the present invention will now be described.
The CPU 10 receives a pulse signal of a certain period from a pulse oscillator not shown and provides the row control signals Sl1 -Slp and the column control signals Sr1 -Srq so that in response to these control signals the individual light emitting diodes located at desired rowcolumn positions within the diode matrix are successively caused to emit light one at a time. These control signals Sl1 -Slp and Sr1 -Srq are of the square waveform type.
Consider now the case of causing one diode D22, for example, to emit light. This diode D22 is positioned at the spot of 2nd row and 2nd column, so the row address must be "2" and the column address must be "2".
During the operation, the CPU 10 provides the row control signal Sl2 and the column control signal Sr2. Consequently, the signal input terminals Ip, . . . , I2, I1 of the row address decoder 20 are supplied with address signals "O, . . . , 1, O"; thus, the row address decoder 20 decodes these address signals as "2" and provides the row signal SL2 serving as the scanning signal from the signal output terminal O2. Similarly, since the signal input terminals Iq, . . . , I2, I1 of the column address decoder 30 are supplied with address signals "O, . . . , 1, O", the column address decoder 30 decodes these address signals as "2"0 and provides the column signal SR2 serving as the scanning signal from the signal output terminal O2.
However, during the non-scanning interval, the signal output terminals O1 -Om of the row address decoder 20 are held at "H", and the foregoing row signal SL2 of 2nd row is now given in the form of an "L" signal. Therefore, the collector of the transistor T2 is changed to "L" and it is turned on; thus, the base voltage of the driving transistor Ql2 of 2nd row is changed to "L". Similarly, during the non-scanning interval, the signal output terminals O1 -On of the column address decoder 30 are held at "L", and the foregoing column signal SR2 of 2nd column is now given in the form of an "H" signal. On the other hand, the CPU 10 provides a pulse signal P of "H" level from its control terminal CON each time it provides the column signal, and this pulse signal P is supplied to the Clear input of the re-triggerable monostable multivibrator 40; thus, the Q terminal is changed to "L". As a result, the bases of the transistors T'1 -T'n are changed to "L". Consequently, the emitter of the transistor T'2 is changed to "H" owing to the column signal SR2 and it is turned on, then the base voltage of the driving transistor Qr2 of 2nd column is changed to "H". Accordingly, there is formed a closed circuit passing through the positive voltage source +Vcc, the emitter-collector of the tansistor Ql2, the diode D22, the resistor R2, the collector-emitter of the transistor Qr2 , and the ground, so that only one light emitting diode D22 is energized to emit light.
The foregoing relates to the control operation for causing the diode D22 to emit light. In the same way as the above, other diodes of the matrix can be controlled individually so as to emit light by the row control signals Sl1 -Slp and the column control signals Sr1 -Srq provided for the CPU 10.
During the operation, if either the pulse oscillator or the CPU 10 has become abnormal, the row signal Sl2 and the column signal Sr2, for example, are fixed to either "L" or "H". In such a case, the transistor Ql2 of 2nd row and the transistor Qr2 of 2nd column tend to be held in the conducting state to thereby cause the diode D22 to emit light continuously.
In this embodiment, however, the Clear input of the re-triggerable monostable multivibrator 40 is connected with the control terminal CON of the CPU 10. Therefore, when either the pulse oscillator or the CPU 10 has become abnormal, the control terminal CON of the CPU 10 is fixed to either "L" or "H", as a result, the Clear input of the re-triggerable monostable multivibrator 40 is held at "L" or "H" and its Q terminal is maintained in the "H" state. Consequently, the transistors T'1 -T'n become the non-conducting state and all the driving transistors Qr1 -Qrn become the non-conducting state too. Accordingly, the other light emitting diodes D, as well as the light emitting diode D22, cannot be energized and are prevented from becoming destroyed.
FIG. 2 shows a second embodiment of the present invention. In this embodiment, a counter 1 and a counter 2 of the CPU 10 count a pulse signal given from the pulse oscillator not shown and provided individually the row control signals Sl1 -Slp and the column control signals Sr1 -Srq each time of counting. A counter 3 of the CPU 10 provides a negative pulse signals P' each time a certain number of clock pulses are supplied from a clock circuit 10a. This negative pulse signal P' is applied through a condenser Ct and a resistor Rt to the bases of the transistors T'1 -T'n. The time constant of these condenser Ct and resistor Rt is set equal to or larger than the period of the pulse signal P'. The bases of the transistors T'1 -T'n are applied through the resistor Rt with the source voltage +Vcc. For reference, the clock circuit 10a is used also as a means for synchronizing the respective counters.
Normally, in this embodiment, each time the row signals SL1 -SLn and the column signals Sr1 -SRn are provided from the row address decoder 20 and the column address decoder 30, the pulse signal P' is provided from the counter 3 of the CPU 10, and this pulse signal P' turns on the transistors T'1 -T'n ; thus, the light emitting diodes D are scanned successively to emit light.
During the operation, if either the pulse oscillator or the CPU 10 has become abnormal, the counter 3 of the CPU 10 is fixed to "L" or "H" and the source voltage +Vcc is continuously applied through the resistor Rt to the bases of the transistors T'1 -T'n. Consequently, the transistors T'1 -T'n are made non-conductive, and thus, energization of all the light emitting diodes D is terminated in a similar manner to the foregoing.
FIG. 3 shows a third embodiment of the present invention. In this embodiment, there are interposed reset-equipped one-shot multivibrators 50 between the signal output terminals O1 -Om of the row address decoder 20 and the driving PNP transistors Ql1 -Qlm. Further, reset-equipped one-shot multivibrators 50' are interposed between the signal output terminals O1 -On of the column address decoder 30 and the driving NPN transistors Qr1 -Qrn. The multivibrator 50 has, as shown in FIG. 4, a reset input to be connected with each signal output terminal of the row address decoder 20, and a Q terminal to be connected with the base of each PNP transistor, Ql1 -Qlm. The time constant of a condenser Ct' and a resistor Rt' is set so that a negative pulse is provided from the Q terminal whose pulse duration is equal to or larger than that of the row signal. This reset-equipped multivibrator 50 provides a negative pulse from its Q terminal each time a negative pulse is applied to the reset input. Accordingly, when some row signal, for example, the row signal SL2, of "L" level is provided from the row address decoder 20, a negative pulse is provided from the Q terminal of the corresponding resetequipped multivibrator 50 and the PNP transistor Ql2 is turned on.
Similarly, the other reset-equipped multivibrator 50' has a reset input to be connected with each signal output terminal of the column address decoder 30 and a Q terminal to be connected with the base of each NPN transistor, QR1 -QRn, whose time constant on the output side is set in a similar manner to the above. This reset-equipped multivibrator 50' provides a positive pulse from its Q terminal each time a positive pulse is applied to the reset input. Accordingly, if, for example, the column signal SR2 of "H" level is provided form the column address decoder 30, a positive pulse is provided from the Q terminal of the corresponding reset-equipped multivibrator 50' and the NPN transistor QR2 is turned on. As a result, the light emitting diode D22 is driven to emit light.
If either the pulse oscillator or the CPU 10 has become abnormal, the row signals SL1 -SLm and the column signal Sr1 -SRn come to a standstill; thus, all the Q terminals of the reset-equipped multivibrators 50 are held at "H" level, whereas all the Q terminals of the reset-equipped multivibrators 50' are held at "L" level. Accordingly, the driving transistors Ql1 -Qlm and Qr1 -Qrn are maintained in the non-conducting state, and energization of all the diodes D is terminated.
For reference, in the embodiment shown in FIG. 3, the same effect can be attained by the use only of either group of reset-equipped multivibrators 50 or 50'.
FIG. 5 shows a fourth embodiment of the present invention. In this drawing, the diode matrix comprises m rows and n columns and includes (m×n-1) light emitting diodes. Specifically, these light emitting diodes distributed are indicated by D11 -D1n, D21 -D2n, D31 -D3n, . . . , Dml -Dm(n- 1), and the position of Dmn has no light emitting diode.
Signals for driving and controlling these light emitting diodes D are supplied through the CPU 10. Specifically, a plurality of row control signals Sl1 -Slp are provided from the row signal output terminals Ol1 -Olp, and another plurality of column control signals Sr1 -Srq are provided from the column signal output terminals Or1 -Orq.
These row control signals Sl1 -Slp are supplied through a plurality of condensers Cl1 -Clp to the signal input terminals I1 -Ip of the row address decoder 20, and the column control signals Sr1 -Srg are supplied through a plurality of condensers Cr1 -Crg to the signal input terminals I1 -Iq of the column address decoder 30. The input terminals I1 -Ip of the row address decoder 20 are grounded through resistors Rl1 -Rlp, and the input terminals I1 -Iq of the column address decoder 30 are grounded through resistors Rr1 -Rrq.
The signal output terminals O1 -Om of the row address decoder 20 are connected to the bases of m PNP transistors Ql1 -Qlm for driving the row side of the diode matrix, thus supply the row signals SL1 -SLm thereto.
Similarly, the signal output terminals O1 -On of the column address decoder 30 are connected to the bases of n NPN transistors Qr1 -Qrn for driving the column side of the diode matrix, thus supply the column signals Sr1 -SRn thereto.
The emitters of the transistors Ql1 -Qlm are connected in common with the driving voltage source +Vcc, and each collector is connected in common with the anodes of light emitting diodes of the corresponding row.
Similarly, the emitters of the transistors Qr1 -Qrn are grounded in common, and each collector is connected through a resistor, R1 -Rn, to the cathodes of light emitting diodes of the corresponding column in common.
The row address decoder 20 operates in such a manner that when a given row control signal is applied as the address signal it provides the row signals SLm from the signal output terminal Om, and if no address signal is applied it also provides the row signal SLm from the signal output terminal On. Similarly, the column address decoder 30 operates in such a manner that when a given column control signal is applied as the address signal it provides the column signal SRn from the signal output terminal On, and if no address signal is applied it also provides the column signal SRn from the signal output terminal On.
The operation of the foregoing configuration will now be described.
The CPU 10 receives a pulse signal of a certain period from the pulse oscillator not shown and provides the row control signals Sl1 -Slp and the column control signals Sr1 -Srg so that in response to these control signals the individual light emitting diodes located at desired row-column positions within the diode matrix are successively caused to emit light one at a time. These control signals Sl1 -Slp and Sr1 -Srg are of the square waveform type.
Consider now the case of causing one diode D22, for example, to emit light. This diode D22 is positioned at the spot of 2nd row and 2nd column, so the row address must be "2" and the column address must be "2".
During the operation, the CPU 10 provides the row control signal Sl2 and the column signal Sr2. Consequently, the signal input terminals Ip, . . . , I2, I1 of the row address decoder 20 are supplied with address signals "O, . . . , 1, O"; thus, the row address decoder 20 decodes these address signals as "2" and provides the row signal SL2 from the signal output terminal O2. Similarly, since the signal input terminals Iq, . . . , I2, I1 of the column address decoder 30 are supplied with address signals "O, . . . , 1, O", the column address decoder 30 decodes these address signals as "2" and provides the column signal SR2 from the signal output terminal O2.
However, during the non-scanning interval, the signal output terminals O1 -Om of the row address decoder 20 are held at "H", and the foregoing row signal SL2 of 2nd row is now given in the form of an "L" signal. Therefore, the base voltage of the driving transistor Ql2 of 2nd row is changed to "L". Similarly, during the non-scanning interval, the signal output terminals O1 -On of the column address decoder 30 are held at "L", and the foregoing column signal SR2 of 2nd column is now given in the form of an "H" signal. Therefore, the base voltage of the driving transistor Qr2 of 2nd column is changed to "H". Accordingly, there is formed a closed circuit passing through the positive voltage source +Vcc, the emittercollector collector of the transistor Ql2, the diode D22, the resistor R2, the collector-emitter of the transistor Qr2, and the ground, so that the two transistors Ql2 and Qr2 are turned on and only the diode D22 is energized to emit light.
The foregoing relates to the control operation for causing the diode D22 to emit light. In the same way as the above, other diodes of the matrix can be controlled individually so as to emit light by the row control signals Sl1 -Slp and the column control signals Sr1 -Srq provided from the CPU 10.
During the operation, if either the pulse oscillator or the CPU 10 has become abnormal, the row signal Sl2 and the column signal Sr2, for example, are fixed to either "L" or "H". In such a case, if the condensers Cl2 and Cr2 were not included, the row address decoder 20 and the column address decoder 30 are held in the foregoing abnormal state. As a result, the transistor Ql2 of 2nd row and the transistor Qr2 of 2nd column are held in the conducting state, so that the diode D22 emits light continuously.
On the contrary, in this embodiment, the row control signals Sl1 -Slp and the column control signals Sr1 -Srq are supplied through the respective condensers to the decoders 20 and 30, respectively. Therefore, in the foregoing abnormal state, the row signal Sl2 and the column signal Sr2 are prevented from reaching the subsequent stages by both condensers Cl2 and Cr2. Specifically, two voltages to be applied to the individual signal input terminals I2 of the two decoders 20 and 30 are varied by the time constant of the resistor Rl2 and the condenser Cl2 and the time constant of the resistor Rr2 and the condenser Cr2. Or, in accordance with these time constants the row control signal Rl2 and the column control signal Rr2 are changed smoothly from "H" to "L". Consequently, any part of the address signal does not become supplied to the row address decoder 20 and the column address decoder 30. As a result, the row signal SLm is provided from the signal output terminal Om of the row address decoder 20 and the column signal SRn is provided from the signal output terminal On of the column address decoder 30, and the driving transistors Qlm and Qrn are turned on. Accordingly, at the abnormal time, the position of Dmn within the diode matrix is surely scanned and since this position has no light emitting diode arranged there, destruction of any light emitting diode can surely be prevented.
Although the row control signals Sl1 -Slp and the column control signals Sr1 -Srq are supplied through the capacitive elements to either the address decoder 20 or 30, these elements may be replaced with monostable multivibrators. In the latter case, in response to the rising of each control signal each pulse signal of a certain duration is applied to the input terminal, I1 -Ip, I1 -Iq, of the decoder, 20, 30. Therefore, even if some control signal maintains its outputting state, no influence results after generation of one pulse; thus, it is possible to scan successively the Dmn position having no light emitting diode, similarly to the other positions.
In this embodiment, it is also possible to define external row-column positions not included in the diode matrix. If so modified, when the row and column control signals are prevented from changing, thereby resulting in the abnormal state, these external row-column positions are designated by the two decoders 20 and 30.
According to the present invention, since the driving means for causing the light emitting diodes to emit light are deactivated when the scanning signals come to a standstill, the continued emission action of the light emitting diodes that would otherwise be caused owing to, for example, a trouble of the device can surely be prevented. Thus, there can be provided the matrix driver capable of causing the light emitting diodes to emit light stably over a long time.
Further, since the position where no light emitting diode exists is automatically designated when the signals for controlling the row and column have become abnormal, a peculiar light emitting diode can be prevented from emitting light continuously. Thus, there can be provided the matrix driver which does not destroy any diodes and shorten the lifetime.