Electronic timepiece

Abstract: An electronic timepiece having analog hands, and a motor (6) for driving the hands, has means (13, 14) for generating sound having a predetermined rhythm. Control means (12) are arranged to initiate operation of the sound generating means and to control the motor to drive the hands in time to the rhythm of the sound. The control means include a store (2) for data representing a plurality of basic hand movements, and means (1, 4) for selecting from amongst such data according to an input applied to the control means the data relating to a respective one of a variety of predetermined combinations of the hand movements and for generating control signals for operating the motor in dependence upon the data selected.

Description: This invention relates to an electronic timepiece. Various attempts have been made to satisfy diverse needs of timepiece users by the use of the hands of an analog timepiece for applications other than the indication of the time. One such attempt, in which the hands are employed for indicating golf swing, is described in Japanese Published Patent No. 104281/1985. Another example, in which the hands are arranged to be moved in time to music, is described in European Patent Application No. 0 320 295 which is subject to an obligation of assignment to the same assignee. The movement of the hands in time to music is accomplished by means of a two chip structure consisting of a melody IC and a micro-processor. The melody IC generates acoustic signals representing the melodies and tones of a musical piece which have been programmed in advance, and supplies such signals to a piezo-electric speaker or the like for playing the music. This IC is available commercially. The micro-processor controls the timepiece functions using a suitable program, a series of hand movements to be performed in time to the music being programmed in the micro-processor. With the arrangement described above, the hand movements must be re-programmed, or alternatively the hand movements for several pieces of music must be programmed in the micro-processor in advance, to cover the situation where it is desired to change a piece of music. In the former case, a micro-processor is needed for each musical piece, and this is, of course, very uneconomical. In the latter case, the capacity of a ROM (read only memory) in the micro-processor for storing the programs is consumed wastefully, and the efficiency of the program is low. Scope for variety is also low. Examples of previous arrangements are to be found in U.K. patent document GB-A-2,218,379; Patent Abstracts of Japan Vol. 9, No. 253 (P-395) and U.S. patent number 4,612,841. According to the present invention there is provided an electronic timepiece having analog hands, a motor for driving the hands, and means for generating sound having a predetermined rhythm, characterised by control means arranged to initiate operation of the sound generating means and to control the motor to drive the hands in time to the rhythm of the sound, ie. independently of the tone of the sound, the control means including a store for data representing a plurality of basic hand movements, and selecting means for selecting from amongst such data the data relating to a respective one of a variety of predetermined combinations of the hand movements and for generating control signals for operating the motor in dependence upon the data selected, the selecting means being responsive to an input applied to the control means for selecting the data. The invention at least in its preferred form provides a multi-functional electronic timepiece, in which the hands may be operated in time to a plurality of musical pieces, in which the hand movement is easily changed when a musical piece is changed, and which employs one processor with an efficient program for the purpose. The preferred embodiment described below features an electronic timepiece which stores in advance in a ROM a plurality of basic hand movements, and which selects the basic hand movements sequentially. In this electronic timepiece, the basic hand movements stored in advance in the ROM are selected simultaneously with the start of the performance of a musical piece and are combined sequentially with one another by selecting means so as to operate the hands in either a normal or a reverse direction of rotation in time to the sound of the musical piece. The selection of the hand movements can be changed by selecting means which the musical piece is changed, and so the hand movements for a plurality of musical pieces can be obtained using one micro-processor. Furthermore, since the hand movements are not stored separately for each individual musical piece, the capacity of the ROM necessary for storing the hand movements need not be increased even when the number of musical pieces is increased. The invention will be described further, by way of example, with reference to the accompanying drawings, in which:- Figure 1 is a block diagram of one embodiment of electronic timepiece according to the present invention; Figure 2 is a diagram showing the contents of a RAM of the electronic timepiece; Figure 3 is a part of a flow chart illustrating the operation for writing the hand movement data into the RAM; Figure 4 is another part of the flow chart illustrating the operation for writing the hand movement data into the RAM; Figure 5 is a further part of the flow chart illustrating the operation for writing the hand movement data into the RAM; and Figure 6 is a flow chart illustrating the driving sequence of a motor of the electronic timepiece. With reference first to Figure 1, a micro-processor 12 consists primarily of a processor (hereinafter referred to as a "CPU") 1, a read only memory (hereinafter referred to as a "ROM") 2, a read/write memory (hereinafter referred to as a "RAM") 4, an IN port 15, an OUT port 16 and motor driving means 5. The CPU 1 counts the time, drives a stepping motor 6 through the motor driving means 5 and processes switch inputs, received from an external operation member 3 through the IN port 15, in accordance with the program stored in the ROM 2. The stepping motor 6 is connected to motor drive terminals MO1 and MO2 of the micro-processor 12, and moves the timepiece hands (not shown) through agear train (also not shown) so as to indicate the time etc. The external operation member 3 is connected to an input terminal I5 of the IN port 15. The data necessary for the processing by the CPU 1 and results of the processing are read from and written to the RAM 4. The CPU 1 controls a melody IC 13 through the OUT port 16, which has an output terminal 01 connected to an input terminal MS of the melody IC 13. When a high level signal is applied to the terminal MS, the melody IC 13 generates an acoustic signal at an output terminal SP OUT, and drives a piezo-electric speaker 14. The terminal SP OUT is also connected to an input terminal I4 of the micro-processor 12 so as to provide indications of the start and end of the sound. The micro-processor 12 further has four input terminals I0, I1, I2 and I3, each being settable to a high level or a low level for providing a 4 bit data signal which the CPU 1 can read through the IN port 15. The setting of the level of each of the input terminals I0 to I3 can be easily attained by cutting a pattern on a circuit substrate. Next, the operation of the circuit shown in Figure 1 will be explained. Initially, the CPU 1 is in a WAIT state and waits for inputs. When the inputs occur, the CPU 1 starts processing in accordance with the program in the ROM 2. Such inputs include the switch inputs received through the IN port 15 and clock pulses having a plurality of frequencies. It will be assumed herein that clock pulses having frequencies of 1 Hz, 16 Hz, 32 Hz and 64 Hz are available and that an enable state (open state) and an inhibit state (mask state) can be individually selected for these clock pulses in accordance with the software. Generally, the CPU 1 sends a signal every second to the motor driving means 5 based on the 1 Hz frequency clock pulses, and thereby drives the stepping motor 6 to count and display the time. However, when an input is supplied by the external operation member 3, the CPU 1 sends the high level signal to the melody IC 13 through the OUT port 16 so that the performance of a musical piece is started. During such performance, the CPU 1 drives the motor in synchronism with the music, while also counting the number of the 1 Hz clock pulses that occur. The RAM 4 stores therein the data which represents how the stepping motor 6 is to be driven for each tone in the musical piece, or in other words acts as a store for storing hand movement patterns. Whenever each tone in the musical piece is complete, the stepping motor 6 is driven in accordance with the value stored. Figure 2 shows a part of the RAM 4. The regions A to E therein store the hand movement patterns, the region S stores 4 bit values received from the input terminals I0 to I3, and the region N is used as a counter. Initial values are set into the RAM 4 at the time of initialisation. The regions A to E and N are set to the initial value 0 and the region S is set to the values of the input terminals I0 to I3. Five words for the hand movement pattern are then prepared and stored in the regions A to E respectively, with each word having a 4 bit structure and representing decimal values from 0 to 15. The driving direction of the stepping motor 6 is judged according to whether the most significant bit of the four bits constituting one word is 0 or 1. That is, if the word represents less than 8 in decimal notation, the stepping motor 6 is driven in the normal direction by that number of steps, and, if it is 8 or more, the stepping motor 6 is driven in reverse by the number of steps, which is the difference between the value of the digit and 16. For instance, if the values 2, 14 and 2 are stored in the regions A, B and C, the stepping motor is driven in the following sequence: the first tone, normal rotation by two steps; the second tone, reverse rotation by two steps; and the third tone, normal rotation by two steps. The hand movement pattern has to be written into the regions A to E of the RAM 4, in accordance with the progression of the musical piece. Figures 3, 4 and 5 show the writing sequence for the hand movement patterns. As shown in Figure 3, the CPU 1 is in the WAIT state. If the acoustic signal is output from the terminal SP OUT, an input of the input terminal I4 occurs, and the start of the sound generation is detected. At the processing step F1, a judgement is made as to whether or not an input is being supplied at the input terminal I4. If the input is from another source, the processing branches to the step F2. If the input is from the terminal I4, the processing proceeds to the step F3. In the step F3, a judgement as to whether or not the hand movement pattern is set into the RAM 4 is made. In other words, if the value of the region A of the RAM 4 is not 0, the processing proceeds to the step F5 having made the judgement that the hand movement pattern exists in the RAM 4. In the steps F5 and F6, the start and end of the generation of the sound is detected. More particularly, in the step F5, a delay time longer than one wavelength of the acoustic signal is generated and, in the step F6, a judgement is made in the interim as to whether or not the input at the terminal I4 exists. If the input exists, the sound is judged as continuing and the processing returns again to the step F5, where the delay is generated. If the input does not exist, the sound is judged as being complete and the processing advances to the step F7. In the step F7, the 32 Hz clock pulses are enabled and the CPU 1 is returned to the WAIT state. However, if in the step F3 the value of the region A is found to be 0, the processing branches to the step F4, where the hand movement data is set. In the step F4, one of sixteen branches S0 to S15 is selected in accordance with the value of the region S of the RAM 4. If the value of the region S is 0, the branch S0 is chosen and, if the value is N, the branch SN is chosen. Figure 4 shows the branches available in the step F4. A description of the case where the processing selects the branch S0 will be given. Step G1 offers a further sixteen selection steps H0 to H15 determined in accordance with the value of the region N. The region N is employed as a counter for sequentially altering the selection destination from H0 to H15. Therefore, when each of the steps H0 to H15 is executed, the value +1 is added to that of the region N. Following this, the hand movement patterns are selected in the steps N0 to N15 from data groups T1 to TM. Figure 5 shows the data groups for the hand movement patterns. In the case of the data group T0, for example, the numeric value 2 is written into the region A of the RAM 4 in the step R1, the value 14 is written into the region B in the step R2, and the value 2 is written into the region C in the step R3. The CPU 1 is then returned again to the WAIT state. M data groups T0 to TM are prepared in advance as the hand movement patterns and are selected in a given sequence by the processing routine shown in Figure 4. Next, the driving of the motor as shown in Figure 6 will be described. When the end of the generation of the sound is detected in the step F6 of Figure 3, the 32 Hz clock cycle is enabled in the step F7. Therefore, the 32 Hz clock pulses are permitted and the processing sequence advances to the step K1 of Figure 6 through the steps F1 and F2 of Figure 3. In the step K1, a judgement is made as to whether the input is the 32 Hz clock pulse input or not. If the input is other than the I4 and 32 Hz inputs, then the processing moves to the step K2. If it is the 32 Hz input, the processing proceeds to the step K3. In this step K3, a judgement as to whether or not the value of the region A of the RAM 4 is 8 or more is made. If this value is 8 or more, the processing proceeds to the step K4 and the stepping motor 6 is driven in reverse by one step. Next, +1 is added to the region A of the RAM 4 in the step K5, and, in the step K6, a judgement is made as to whether or not any carry forward exists. If no carry forward exists, the processing returns the CPU 1 to the WAIT state, and when the next 32 Hz clock pulse input occurs, the steps are repeated in the sequence K1 → K3 → K4 → K5 → K6. Accordingly, the stepping motor 6 keeps driving in reverse in a 32 Hz period until a carry forward is generated. If the carry forward arises in the step K6, the data for the hand movement patterns is shifted in the step K7. That is, the value of the region B is shifted to the region A, the value of the region C to the region B, the value of the region D to the region C, the value of the region E to the region D and the value 0 is put into the region E. Finally, the 32 Hz clock pulse input is masked in the step K8, and the 32 Hz clock pulses are inhibited until the end of the next sound is detected once again. If the value of the region A is found to be less than 8 in the step K3, the processing proceeds to the step K9, where the stepping motor 6 is driven for normal rotation. In the step K10, the value in the region A of the RAM 4 is reduced by one, and in the step K11 a judgement is made as to whether or not the value of the region A has become zero. If it is not zero, the processing returns the CPU 1 to the WAIT state and, if it is zero, the steps K7 and K8 are carried out. Accordingly, the stepping motor 6 continues its normal rotation until the value of the region A becomes zero. The RAM 4 also has areas for storing hand position data and time information, respectively. The hand position data is re-written in accordance with the motor driving signal to represent a present hand position. In addition, the time information is re-written in accordance with the 1 Hz clock pulses to represent the present time. Hence, even after the hand has moved irregularly in synchronism with the melody, it is possible invariably to return the hand to indicate the present time by controlling the motor driving means so that the hand position data coincides with the time information. As described above, the present invention can accomplish hand movement in time to music, and can easily change the mode of the hand movement in dependence upon a change in the musical piece by altering the combination of high and low levels at the input terminals I0 to I3. Accordingly, the present invention makes possible the mass production of a wide variety of timepieces. Since the hand movement for each musical piece is achieved by selecting and suitably combining a plurality of basic hand movement patterns prepared in advance in the ROM, the ROM capacity can be saved by comparison with the case where respective different hand movements for each different musical piece are stored in the ROM.

Claims: An electronic timepiece having analog hands, a motor (6) for driving the hands, and means (13, 14) for generating sound having a predetermined rhythm, characterised by control means (12) arranged to initiate operation of the sound generating means (13, 14) and to control the motor (6) to drive the hands in time to the rhythm of the sound, ie. independently of the tone of the sound, the control means (12) including a store (2) for data representing a plurality of basic hand movements, and selecting means (1, 4) for selecting from amongst such data the data relating to a respective one of a variety of predetermined combinations of the hand movements and for generating control signals for operating the motor (6) in dependence upon the data selected, the selecting means (1, 4) being responsive to an input applied to the control means (12) for selecting the data. A timepiece according to claim 1 characterised in that the selecting means (1, 4) include a further store (4) for receiving the data selected, and processing means (1) for generating the control signals. A timepiece according to claim 1 or 2 characterised in that control means (12) include time keeping means for controlling the motor (6) to drive the hands for normal time keeping, and recovering means responsive to the time keeping means for controlling the motor (6) to cause the hands to return to indicating the current time following operation of the sound generating means (13, 14). A timepiece according to any preceding claim characterised in that the sound generating means (13, 14) comprise means (13) for storing data representing the sound having the predetermined rhythm and for generating corresponding sound signals, and means (14) for converting the sound signals into sound.

Inventors: SARUWATARI TOMOZUMI, SARUWATARI, TOMOZUMI
Applicants: SEIKO INSTR INC, SEIKO INSTRUMENTS INC.
Application year: 1989
Main classification: G04C3
IPC codes: G04G13, G04C21, G04C3