The present invention relates to a circuit arrangement for tuning into one of a number of radioelectric signals receivable on a signal receiver set, consisting of a controllable oscillator, the frequency of which is determined by a control loop, depending on a binary number N, sent out by a processing unit on the basis of coded input data, the said loop consists of frequency-dividing means to obtain from the said controllable oscillator a first signal dependent at least on the said number N; means for comparing the said first signal with a second frequency reference signal, to obtain a third signal for required tuning; memory means having a number of storage locations for storing data relative to the signals to be tuned in digital form; means for scanning the said cells of the said memory means and, finally, means for supplying the said number N both in direct response to the said coded input data and by calling up data from the said memory means.
Circuit arrangements of this type, suitable, in particular, for a television receiver, are described in British Pat. Nos. 1,538,294; 1,538,295; 1,550,413 and 1,540,459 made by the present applicant.
These arrangements provide for considerable improvement in receiver design as compared with known systems, especially as regards precision and tuning stability out have a number of drawbacks. In particular, no provision is made in these arrangements for automatic scanning of receivable channels or tuning into stations transmitting over non-standard frequencies. Also, they are fairly complex which makes modification difficult. The aim of this invention is to provide a perfected circuit arrangement to overcome these known drawbacks.
With this aim in view, the present invention relates to a circuit arrangement for tuning to one of a number of radioelectric signals receivable on a signal receiver set, consisting of a controllable oscillator, the frequency of which is determined by a control loop, depending on a digital number N, sent out by a processing unit on the basis of coded input data, the said loop consisting of frequency-dividing means to obtain from the said controllable oscillator a first signal dependent at least on the said number N; means for comparing the said first signal with a second frequency reference signal, to obtain a third signal for required tuning; memory means having a number of storage locations for storing data relative to the signals to be tuned into in digital form; means for scanning the said cells of the said memory means sequentially, either automatically or manually step-by-step, and, finally, means for supplying the said number N both in direct response to the said coded input data and by calling up data from the said memory means, characterised by the fact that the said processing unit, in response to a first coded input signal, is set to generate a first sequence of N numbers, corresponding to the total number of receivable radioelectric signals, according to a pre-established transmission standard, and, in response to a second coded input signal, advances one step of the said first sequence.
For a clearer understanding of the invention, it will now be described with reference to the attached drawings provided by way of a non-limiting example in which:
FIG. 1 shows the block diagram of part of a television receiver according to the present invention;
FIG. 2 shows a number of FIG. 1 circuits in more detail; and
FIGS. 3 to 10 show block diagrams of the basic logic functions performed by the circuit arrangement covered by the present invention.
Number 1 in FIG. 1 is a receiver aerial connected to varicap-diode tuner 2, at the output of which a signal converted to intermediate frequency IF is available.
The tuner is of the known type and essentially consists of a selective amplifier stage, a mixer circuit and a local oscillator circuit. One of the local oscillator circuit outputs is connected to a first frequency-dividing circuit 3 which divides by a fixed number N 1. This has its output connected to the signal input of a second divider, 4, which divides by a variable number N with 12-bit programming which means it can divide by any number from 1 to 2.sup.12. The output of divider 4 is connected to the first input of a phase- and frequency-comparing circuit, 5, the second input of which receives, via a third frequency-dividing circuit, 7, a reference signal, generated by quartz generator 6, and the output of which is connected, via amplifier and filter circuit 8, to the varicap-diode-voltage test input of the tuning circuit.
Number 10 is a control element connected to a group of inputs on a processing unit 11. Of this, a group of input-output terminals is connected to a memory circuit 12, a first group of output terminals to a display system (DSP) 9, a second group of 12 output terminals to the programming input of 12-bit divider 4 and 2 outputs U and B to the corresponding test inputs of tuner 2.
Operation of the circuit will now be described with reference to FIG. 2 also in which 9, 10, 11 and 12 indicate in more detail the blocks shown with the same numbers in FIG. 1.
Control element (10) is a keyboard with 10 numbered keys (0-9), 6 auxiliary keys marked I, D, M, R.sub.1, R.sub.2 and R.sub.3, other accessory control keys, two of which marked + and -, as well as others not shown in the diagram, such as the on/off switch, temporary audio cut-out key, data display key, etc.
Display system 9 consists of 4 LED-diode alphanumerical indicators. The processing unit 11 includes two 8-bit output circuits (ports) PA and PB. The first output circuit and first 4 bits of the second supply the programming signal for divider circuit 4, while another 2 bits of the second supply tuner 2 with band-switch signals U and B.
Memory circuit 12 is arranged in 8-bit words (bytes) and consists of 3 blocks marked RAM1, RAM2 and ROM.
The first (RAM1) consists of a non-volatile read/write memory containing registers K0-K9, S0-S9, RA and RB. The second (RAM2) consists of a read/write memory containing registers MO, K, S, C, F, RX, INT and T.
The third (ROM) is a read-only programme memory, that is, it contains in coded form the sequence of basic logic functions to be performed by the processing unit.
The circuit operates as follows:
Circuits 3, 4, 5 and 8, together with the varicap-diod-controlled (VCO) local oscillator on tuner 2, form a phase lock loop controlled by the reference signal generated by quartz generator 6 and divided by divider circuit 7 according to known techniques.
The function of divider circuit 3 is to reduce the frequencies involved to more easily processed levels while programmable divider 4 enables phase locking to be affected at different local oscillator frequencies by creating a frequency synthesizing circuit.
In fact, when a number of divisions N is selected for divider 4, phase-frequency comparator 5 supplies circuit 2, through amplifier 8, with a voltage to bring about the following condition:
f.sub.2 is the oscillation frequency of the local oscillator in tuner 2; f6 is the oscillation frequency of reference oscillation circuit 6; N.sub.2, N.sub.1 and N are the division ratios of dividers 7, 3 and 4 respectively; P=f6.multidot.N1/N2 indicates the variation in local oscillator frequency alongside a variation in number N.
The receiver must be capable of tuning into emitter stations of a specific transmission standard, e.g. C.C.I.R/B-G, with channeling as agreed at the European Broadcasting Conference held in Stockholm (1961), that is, with one-step spacing of emitter stations between 7 MHz adjacent channels on (VHF) bands I and II and 8 MHz channels on (UHF) bands IV and V with a 5 MHz video signal bandwidth.
These emittter stations fall within the 2-69 television channel range (video carrier frequencies 48.25 MHz and 855.25 MHz respectively) with an intermediate frequency IF of 38.9 MHz. The local oscillator on the tuner must therefore be capable of generating frequencies ranging from 87.15 to 894.15 MHz.
The step P selected was 0.25 MHz, so that, for the two channels mentioned above, equation 2 gives the following results:
By varying number N between these two limits, any television channel on the VHF and UHF bands can be tuned into with a maximum error of 125 KHz.
As use of this frequency range is incomplete, the tuner has two band-switch inputs U (UHF/VHF) and B (BIII/BI) which ensure only effective bands are covered.
Divider 3 is a high-speed ECL which divides by 64 (SP 8750 type as available from Plessey Semiconductors). Divider 4 is a programmable TTL capable of operating up to frequencies of roughly 15 MHz (3.times.SN74LS191), as available from Texas Instruments. Circuits 5, 6 and 7 consist of an SP8760 integrated circuit as available from Plessey Semiconductors with 250 KHz frequency quartz and an N2=64 division ratio so that comparator circuit 5 operates at 3906.25 Hz frequency equivalent to a quarter of line frequency.
The function of amplifier-filter 8 is to adapt the output level of comparator 5 (max. 5 V) to that required by tuner 2 (max. 30 V) as well as to provide the best possible filtering and locking speed conditions.
The function of circuits 11 and 12 is to generate N numbers and band-switch signals for tuning into specific television emitter stations on the basis of data relative to the signals to be tuned into, supplied either by the operator on keyboard 10 or called up from the memory circuits.
As shown in FIG. 2, RAM 2 contains registers K, S, C and F. For tuning into a given station, the following data is loaded into the registers, as described later on: channel number (K), tuning correction (S), constant correction (C) and multiplication factor (F) which depends on the step between two adjacent channels. Number N is calculated as follows:
starting with the data contained in the above registers and performing the arithmetical operations shown in equation 3 with a sequence of elementary operations (additions and displacements) using the arithmetical logic circuits (ALU) on the processing unit (CPU) according to the instructions in the ROM (programme). The constant correction (C) and factor (F) depend solely on the band selected. K is the channel number according to the said standard and S has a constant initial value of S.sub.c which can be modified for fine tuning corrections as opposed to nominal tuning, that is, for making small displacements of local oscillator frequency as compared with video band width, as shown on the following table:
In fact, taking channel 69 as an example, the above table and equation 3 gives:
which corresponds to a local oscillator frequency of 894 MHz (equation 2) or rather, optimum tuning of channel 69 with a slight displacement towards the video.
By merely changing the channel number in register K, we get exclusively all the frequencies corresponding to television channels, that is, with 8 MHz spacing in UHF and 7 MHz in VHF as shown in the above equations.
Starting with the selected channel number K, preset additional data F and C are selected automatically from among possible data stored in the ROM, as are band-switch signals U and B, according to Table 1.
Tuning correction S, on the other hand, can be modified between minimum and maximum values of 0 and 31, corresponding to a tuning displacement of roughly .+-.4 MHz as compared with the nominal condition. This is to allow for small tuning corrections, sometimes necessary to compensate for flaws on the transmission channel, as well as for tuning into non-standard-frequency emitters. Equation 3 is calculated in pure binary form, also using a number of temporary rescue registers for partial results RX. The resulting value of N together with the results for U and B (total 14 bits) are distributed and sent to the output circuits (ports): the 8 least significant bits of N to PA and the 4 most significant bits of N, B and U to PB. The channel number K (contained in the relative register) is also displayed by 2 figures in display circuit 9. The content of channel register K and tuning register S is also transferred to the two cells RA and RB of the non-volatile memory for automatic tuning of the last channel tuned when the television set is turned on.
By means of appropriate controls on keyboard 10, five types of station tuning are possible, plus tuning correction and storage of 10 preferred stations.
Normally, the processing unit performs a main keyboard reading programme (a sequence of instructions registered in the ROM) to identify the presence and type of input data.
If one of the accessory keys I, D, R.sub.1, R.sub.2 or R.sub.3 is pressed, the corresponding coded input data is stored in register MO which identifies the operating mode. Each of these modes provides for performing a given sub-routine for processing any data entered by the 10 numbered keys.
The programme initiated upon a depression of key I is the transfer of data contained in registers K.sub.i and S.sub.i into channel register K and tuning register S respectively. The instruction is carried out after one of the numbered keys (0-9) is pressed by performing the equation 3 calculations and tuning into a station corresponding to channel number K.sub.i with tuning correction S.sub.i.
Besides the two characters indicating the channel number, the display also shows the number of the key pressed and a symbol (I) indicating the operating mode in progress.
This type of tuning, performed by scanning the memory cells, will be referred to as "indirect" and corresponds to the selection of one of the 10 preferred channels having information stored therefor in RAM 1 as we shall see later.
Key D provides for a direct loading programme wherein data from the keyboard is loaded into register K for direct transfer into this register of coded input data.
The instruction is carried out every time a numbered key is pressed. The selected channel is only tuned to after the tens and units have been pressed, in that order (zeroes must also be set) by performing the usual calculation on registers K, S, C and F. Besides the selected channel number, a symbol (d) is also displayed to show the operation mode, as in the previous case.
This type of tuning will be referred to as "direct" in that it enables immediate tuning of a station by keying in the corresponding television channel number of the said standard.
With both the operation modes described above, + or - manual tuning corrections can be made by repeatedly pressing the + or - keys.
When detected by the keyboard reading programme, every depression of a + or - key results in a one-unit increase (decrease) in the programme to be performed on the fine-tuning register; S, followed by the usual calculation programme.
Tuning is thus displaced in 250 KHz steps up to a maximum of .+-.4 MHz in consecutive steps. A tuning correction does not usually affect the operation mode in progress, (register MO) so that new stations can be tuned to later using the procedure previously under way.
With both these operation modes (direct and indirect), tuning information for the selected station can be stored in memory regardless of any tuning corrections made.
By pressing key M, data contained in registers K and S is loaded into registers K.sub.i and S.sub.i respectively. The instruction is carried out after pressing one of the numbered keys (i=0-9). The operation mode remains unaffected and no change is made to either output data (N, U, B) or data sent to the display system.
This operation enables data for up to 10 preferred stations to be stored which data can later be called up easily using the indirect method.
When pressed, key R.sub.1 generates a coded input signal which causes all the data contained in K.sub.i and S.sub.i register pairs to be loaded automatically and sequentially into the corresponding K and S registers, followed by the usual calculation programme.
Operation is very similar to the indirect mode. Manual pressing of the numbered keys is replaced by automatically increasing one of the RX registers by 0 to 9. Scanning speed is determined by a timer register T programmed so as to provide a delay of roughly 2 seconds.
This operation mode will be referred to as "indirect search".
An additional feature, in this case, is that special data is inserted into switch register INT so that, when any of the numbered or +/- key is pressed, automatic scanning is stopped and the + and - keys are set to increase or decrease the content of register RX already used for automatic scanning. The functions of keys I, D, M, R2 and R3, on the other hand, remain unchanged and stop the search by modifying the operation mode and restoring the value of switch register INT.
In the case of indirect searching, it is therefore possible to initiate cycle scanning of the preferred stations contained in the memory, stop scanning when the required transmission appears and, if desired, scan forwards or backwards manually.
When pressed, key R2 generates a coded input signal which increases register K automatically, followed by the usual calculation programme.
Operation is similar to the direct mode (we shall call this "direct search") but, in this case, a first sequence of N numbers is generated automatically, corresponding to the channels which can be tuned into on the said standard, starting from the currently tuned channel and only over effective bands (2-4, 5-12, 21-69, etc.).
As in the case of indirect searching, it is possible to stop the automatic search and arrange for manual advance (appropriate code in INT). In this case, the selected scanning speed is roughly 1 second per channel, determined by programming register T.
According to the last operation mode, key R3 generates a coded input signal which causes an increase of fine-tuning register S up to a maximum value of 31. For each increase of S, a calculation programme is performed and, when the maximum value is reached, register K is increased (2-12, 21-69) when S restored to its initial value.
In this way, a second sequence of all the N numbers is generated and a complete scanning operation performed of all the receivable frequency bands in 250 KHz steps at a speed of 4 seconds per channel (programming of T).
In this case too, as in the previous ones, automatic scanning can be stopped and scanning continued manually (keys + and -) in which case, they have the same effect as a tuning correction.
This operation mode will be referred to as "continuous" or "non-standard-station" search.
After stopping any type of search, storage in memory is, of course, possible following the procedure described above.
A more detailed description will now be given of the different operation modes of one of the possible applications of the present circuit arrangement, using a microprocessor and with reference to the block diagrams showing the basic logic functions performed by the circuits.
FIG. 3 shows one way of performing the initial logic functions, when the set is turned on, for checking the selection and performance of the operation modes mentioned above.
The ON signal is sent to block 100 which determines the input or output function of the programmable input/output circuits (I/O ports) on processing unit 11, housed, for example, in a microprocessor structure.
To make this clearer, this definition establishes the connections shown in FIG. 1 from processing unit 11 to circuits 2, 4 and 9 to be outputs, while the connections from processing unit 11 to keyboard 10 are established as inputs.
A further function of block 100 is to select a direct output for switch circuit 107 towards block 108 when the set starts operating.
The output from block 100 subsequently activates blocks 101, 102 and 103 which allow automatic tuning, when the receiver is turned on, of the last channel tuned into before it was turned off, under the same tuning conditions selected previously.
In more detail, block 101 clears the internal registers used for subsequent calculations; block 102 calls up from non-volatile-memory cells RA and RB the channel number K and tuning correction S of the last station tuned into before the set was turned off and inserts them into registers K and S; finally, calculation and output block 103, which performs logic and arithmetical operations, starting from data K and S, receives signals B and U, calculates N using equation 3 and sends this data to outputs PA and PB of circuit 11 and number K to the display circuit, all according to a procedure described in more detail later on.
The output of calculation and output block 103 starts up a programmable timer block 104 which, in turn, supplies an input signal RT1 to block 105. This examines keyboard 10 and, if a key has been pressed, identifies it and is given the corresponding code which is stored in register RX and displayed.
The output signal from block 105 is sent to a second switch block, 106, which has 2 outputs, one connected to input RT1 and the other to the input of the first switch block 107.
A block 106 test input is connected to the second output of timer block 104, so that the switch is only set for block 107 after timer 104 supplies an end-of-count signal, that is, after a preset length of time, for example, 1/4 second. Consequently, block 105 continues reading the keyboard waiting for input signals and block 107 and those following are only activated once every 1/4 second. In this case, block 107, previously set by block 100, supplies a signal to block 108 which ascertains whether the last key pressed was one of the numbered ones.
If the test indicated by block 108 is affirmative, the output SI (indicated yes) is sent to the enabling input of block 111 while NO output, as indicated by block 109 causes the data in register MO to be transferred to register RX1 and transfers the code of the last key pressed to register MO.
The output of block 109 activates block 110, which performs a last key test of a type described in conjunction with block 108, similar to which here ascertains whether the last key pressed was one of the + or - keys.
If the test associated with block 110 is affirmative in the manner indicated by the arrow annotated yes, output SI acts as FINET signal to the blocks described hereinafter while output NO is employed to enable block 111.
Blocks 111, 112 and 113 form a test chain for ascertaining whether memory register MO contains a code defining to direct/indirect operation mode or storage.
Outputs SI (yes) of these blocks supply appropriate DIRET, INDIR or MEMOR signals to blocks described later, while NO outputs from blocks 111 and 112 activate the block 113. A yes or SI output from block 113 produces a signal employed to define a storage operation while a NO output from block 113 supplies a RICER signal described hereinafter.
Operation in accordance with the flow diagram according to FIG. 3 therefore consists essentially in initiating the system when the receiver is turned on by returning to the last station tuned, reading the control keyboard and, finally, ascertaining the selected operation mode, according to a pre-established frequency, for initiating the tuning process.
FIG. 4 shows one way of obtaining the operation modes previously described as "direct" and "indirect".
To do this, the DIRET signal shown in FIG. 3 enables, in sequence, block 120, which loads initial data, in our case, the number 16, into register S of FIG. 2, block 121, which loads the numbers of the last two numbers keyed into register K in BCD (binary-coded decimal) form and, finally, block 122, which sends the code corresponding to letter "d", indicating the direct operation mode, to the display circuit. The INDIR signal, on the other hand, activates, in sequence, blocks 124, 125 and 126. These cause storage of the number code of the last number keyed in register RX2 and send it to the display (block 124), transfer to registers K and S the data contained in registers K.sub.N and S.sub.N (125) identified by the content of the said register RX2 and, finally, send the code of the letter "I" indicating indirect operation mode to the display circuit.
Both the outputs of blocks 122 and 126 are connected to the input of calculation and output block 123 which performs the same functions as block 103 and supplies an output signal RT1 to block 105.
FIG. 5 shows one way of storing data concerning a tuned channel in memory.
The MEMOR signal in FIG. 3 enables, in sequence, block 130, which stores the code of the last key pressed in register RX2, and block 131, which ascertains whether the said key is the storage key M.
If the last key code is not M as indicated by the arrow annotated NO, storage block 132 is enabled which causes the contents of registers K, S and RX11 to be stored in registers K.sub.N, S.sub.N and MO respectively. If the last key code was M as indicated by the arrow annotated yes, output SI enables block 133 which tests whether the content of register R.sub.X1 corresponds to the M key code. If the contents of R.sub.X1 does not equal M, storage block 134 is activated in the manner indicated by the arrow annotated NO which causes the content of register R.sub.X1 to be stored in register R.sub.X11. If the test indicated by block 133 is affirmative as indicated by the arrow SI (yes) or an output is provided by blocks 132 and 134, a supply signal RT1 is provided to block 105.
In other words, in the case of a switch input from a different operation mode to "storage" (131=SI, 133=NO), the previous operation mode in R.sub.X11 is presented in the manner indicated in FIG. 5. Similarly, as indicated in FIG. 5, if a number key is pressed (131=NO), the data relative to the currently tuned signal (channel K, tuning S) is stored in the register pair K.sub.N and S.sub.N identified by the number of the key pressed and a return to the previous operation mode (R.sub.X11.fwdarw. MO) is initiated.
FIG. 6 shows one way of performing a station search, in particular, selection of one of the search modes and describes in more detail the technique for performing the search operation previously referred to as "indirect".
The RICER signal generated in FIG. 3 is employed in the manner indicated by block 140 for the purpose of assigning an initial value of 1 to the content of delay register R.sub.X3. Thereafter, as indicated by blocks 141, 142 and 143, the last key pressed is identified as to whether or not one of keys R.sub.1, R.sub.2 or R.sub.3 was depressed.
More particularly, an affirmative (yes) output from any of the tests indicated by blocks 141, 142 and 143, as indicated by outputs SI of blocks 141, 142 and 143, will supply RICER 1, RICER 2, and RICER 3 signals respectively in response to one of the keys R.sub.1, R.sub.2 or R.sub.3 being pressed. Outputs annotated NO of blocks 141 and 142 will cause the tests associated with the following block to be initiated while associated with a negative result of the test associated with block 143 will cause a signal RT1 to be applied in the manner indicated to FIG. 3 at the location of block 105.
The RICER 1 signal activates block 144 which, together with blocks 145, 146 and 147, forms another chain for identifying the last key pressed.
More particularly, blocks 144, 145, 146 and 147 serve to ascertain whether the said key corresponds to key R1, a number key, a "+" key or a "-" key, respectively. A negative output from one of the tests associated with blocks 144, 145 and 146 activate the following block in the sequence or chain of tests indicated.
Conversely, an affirmative result from the test indicated by block 144 as indicated by the arrow annotated SI (yes) results in a setting of switch block 107 for RICER 1 and decreases by one unit the content of delay register R.sub.X3 in the manner indicated by block 148.
Thereafter, as indicated by the block 149, a test is conducted which ascertains whether the content of register R.sub.X3 equals 0. If the results of the test conducted is negative as indicated by the arrow annotated NO, the signal RT1 is supplied to block 105. An affirmative result as indicated by the output SI causes a decimal increase in the content of register R.sub.X2 in the manner indicated by block 150. Thereafter, the sequence of steps associated with blocks 151-153 occur as follows:
The content of registers K.sub.N and S.sub.N, identified by register R.sub.X2, is transferred to registers K and S respectively in the manner indicated by block 151;
An initial value of 16 is assigned to the content of the delay register and the letter "r" (search) code and the content of register R.sub.X2 is sent to the display circuits in the manner indicated by the block 152;
Thereafter N is calculated and an RT1 signal is supplied to block 105 in the manner indicated by block 153. If the test for the content of register R.sub.X3 being zero indicated by block 149 is negative or the test for the last key being a number indicated by block 145 is affirmative as indicated by the arrow annotated SI, a signal RT1 is also supplied to block 105.
When the test indicated by block 146 is affirmative, the sequence of steps associated with blocks 150-153, as aforesaid is repeated. Similarly, if the test indicated by block 147 is affirmative, a decimal decrease to the content of register R.sub.X2 is initiated as indicated by the block 154 and thereafter the sequence of steps associated with blocks 151-153 occurs as indicated in the manner aforesaid. Finally, if the test for the condition of the last key associated with block 147 is negative in the manner indicated by the arrow annotated NO, switch 107 is set with its output towards block 108 in the manner indicated by block 157 and signal RT1 is thereafter applied to block 105.
Operation in accordance with the flow diagram of FIG. 6 can be summed up as follows:
The type of search is identified in the manner indicated by blocks 141-143. If the indirect search (R1) control has been activated, an automatic search (response SI) is initiated in the manner indicated by block 144 and blocks 148, 149 and 150 in that register R.sub.X2 is advanced automatically, after a delay period determined by register R.sub.X3, scanning in sequence all the stations previously stored in the memory locations.
If a number key is pressed, the automatic search is stopped (144=NO, 155=SI (yes)) and the investigation is continued every 1/4 second (switch 107 towards RICER 1).
If one of the accessory + or - keys is pressed, a manual cycle scan is performed whereas, if one of the auxiliary operation-mode-selection keys is pressed, switch-back to selected-mode conditions (reset block 157) occurs.
FIG. 7 shows one way in which the instant invention tunes stations using the procedure previously referred to as "direct".
The flow diagram illustrated in FIG. 7 is very similar to that of the RICER 1 blocks so that only the differing features will be described in detail.
Upon entry into the routine at the location indicated RICER 2, the system tests to ascertain which type of key was last pressed in the manner indicated by the blocks 164-167. These tests are the same as were previously discussed in conjunction with blocks 144-147 in FIG. 6.
If the test associated with block 164 (R2 key pressed) is affirmative in the manner indicated by the arrow annotated SI or yes, switch 107 is set in the manner indicated by block 168 with its output towards RICER 2, an initial value of 16 is assigned to the content of register S, and the content of delay register R.sub.X3 is decreased. Thereafter register R.sub.X3 is tested in the manner indicated by block 169 to ascertain whether the content of the said register is 0.
If an affirmative result is obtained as indicated by the arrow annotated SI or yes, the usual calculation is performed in the manner indicated by block 170, which performs similar functions to that already described in conjunction with block 123. Thereafter, a decimal increase of the contents of register K from 2 to 12, then from 21 to 65, etc. is performed in the manner indicated by block 171 and, finally, a value of 8 is assigned to register R.sub.X3 in a manner typical of this type of search, as indicated by block 172. Thereafter, signal RT1 is supplied to block 105 as is also the case if a negative result is obtained from the test associated with block 169 or an affirmative result is obtained from the test indicated for block 165 (number key).
If the test indicated by block 166 (+ key) is affirmative, the steps associated with blocks 170-172 are initiated while a negative result causes testing in the manner indicated by block 167. If an affirmative result is obtained from the test associated wih block 167, the calculation associated with block 173 is initiated. However, if a negative result obtains, switch 107 is set towards block 108 in the manner indicated by block 175 and signal RT1 is output.
After the calculation associated with block 173 is performed, a decimal decrease of register K within the 65-21 and 12-2 range is performed in the manner indicated by block 174 and the signal RT1 is output. The operation according to the flow diagram of FIG. 7 is very similar to that shown in FIG. 6 as regards logic decisions and the sequence of operations. The search is initiated automatically, stopped by pressing any key other than R2 and, if the said key is not an operation-mode-selection key, the set prepares to advance manually in both search directions, though, in this case, between receivable standard channels.
FIG. 8 shows one way of tuning into stations using the search procedure previously referred to as "continuous".
Here too, the arrangement of the flow about is very similar to that of FIGS. 7 and 6 so the description will be limited to detailing the differences.
When the flow about illustrated in FIG. 8 is entered at the location annotated RICER 3, the program initially acts to ascertain the type of key last pressed in the manner indicated by the blocks 184-187.
Thus, as indicated by block 184, the program first tests for the presence of the R3 key (R3 key pressed). If the R3 key was depressed, as indicated by the arrow annotated SI (yes), the output of switch 107 is set towards RICER 3 in the manner indicated by block 188. Thereafter, as indicated by block 189, the content of register S is increased by one unit from 0-31 for channels on the UHF band or from 0-27 for the VHF band channels.
The program then tests in the manner indicated by block 190 to ascertain whether the content of register S is 0. If register S is 0, as indicated by output SI, a decimal increase to the content of register K (in exactly the same way as block 171 in FIG. 7) is performed in the manner indicated by block 191 and displayed in the manner indicated by block 192 which informs the display circuits of the move away from standard channel frequency (S-16). Thereafter, N is calculated in the manner indicated by block 193 in the identical manner discussed in association with block 123. The signal RT1 then outputs as indicated and this also occurs if the test conducted by block 185 (number key) is affirmative.
If the test for the number key indicated by block 185 is negative, the program then tests for the presence of the plus key as indicated by block 186. If the test associated with block 186 (+ key) is affirmative, as indicated by the SI output, the loop is reentered at the location of block 189. If a negative result obtains the program test for the presence of the minus key, as indicated by block 187 and an affirmative result obtains, as indicated by the SI output of block 187 (- key), the content of register S is decreased between 31-0 and 27-0 for UHF and VHF respectively in the manner indicated by block 194. Thereafter, the program ascertains whether the content of register S is 0 in the manner indicated by block 195.
If S=0, as indicated by the SI output of block 195, a decimal decrease to the content of register K between 65-21 and 12-2 is performed as indicated by the block 196 and the display step associated with block 192 is initiated. This also occurs if the test associated with blocks 190 and 195 is negative. If the result of the test associated with block 187 is negative, switch 107 is set with its output towards block 108 and a signal RT1 is output.
In this case too, operation is very similar to that of the diagrams of FIG. 6 and FIG. 7 as regards the logical decision and operation sequence. Pressing key R3 at the keyboard initiates an automatic search (block 188, etc.) which is stopped by pressing one of the remaining keys which either provides for a different operation mode (output from block 197) or for manual search in both directions (SI output of blocks 186 and 187).
Blocks 189 and 194, characteristic of this type of search, perform a scanning operation of the channel in 250 KHz steps at the end of which blocks 191 and 196, which are typical direct search blocks, are activated for scanning all the standard channels.
In this case, with a step of 250 KHz, manual scanning corresponds to a fine tuning correction of a station but with no excursion limit. With this type of search, it is therefore possible to locate and tune manually into even a non-standard station and, of course, store it, if required, following the procedure already described.
FIG. 9 shows one way of performing a tuning correction to a station tuned into using any one of the procedures already described.
This routine is entered at the location indicated by FINET. Once entered, the program tests in the manner indicated by block 200 to ascertain whether the key pressed is the + key. If the test associatd with block 200 is affirmative, as indicated by the SI outut, the content of register S is increased up to a maximum of 31 as indicated by block 201 while a negative output (- key by elimination) causes a decrease in the content of the register S to a minimum of 0 in the manner indicated by block 202.
After either of the steps associated with blocks 201 and 202, an out-of-tune indication (S-16) as compared with the nominal value of the standard channel is displayed in the manner indicated by the block 203. Thereafter, the value of N is calculated and output in the manner indicated by block 204, identical to 123, and, finally, signal RT1 is provided in the manner indicated.
Operation of this routine is such that, by pressing the + or - key repeatedly, tuning shifts are possible in steps of 250 KHz, in either direction, with indication of the number of steps made. It is possible, of course, to switch to any one of the other operation modes by pressing the appropriate key, e.g. store the optimum tuning condition obtained.
FIG. 10 shows one way of implementing the functions performed in the calculation and output step indicated by block numbers 103, 123, 153, 170, 173, 193 and 204 in the preceding Figures.
In response to entering this subroutine as indicated by block 210, the contents of register K are stored. The data contained in register K relates to the television standard number of the channel to be tuned into. This information is sent to the display circuit as the data contained in S is stored in Register RB.
Thereafter, as indicated by the block 211, the data contained in register K is converted from BCD (binary coded decimal) to pure binary form to simplify processing. Upon the completion of this conversion, as indicated by block 212 and depending on the number obtained, the values of constants F, C, U and B, according to Table 1 are selected and loaded into the appropriate registers.
According to the operation mode described above, each time the FIG. 10 subroutine is activated, band-switch signals U and B are supplied to the tuner, depending on whether the selected channel belongs to Band I, III or UHF, and a code for obtaining division ratio N is applied to programmable divider circuit 4. Also, the number of the channel thus tuned into is displayed by display 9 and the data relative to the channel number K and tuning S are stored in registers RA and RB of the non-volatile memory. This data is sufficient for the subroutine stored in FIG. 10 to identify an entire turning condition.
When the television set is turned off or following a temporary power cut, it is possible, as described with reference to FIG. 3, for the previous tuning condition to be restored automatically when the set is turned on again. It was said that the sequence of basic operations to be performed by the processing unit, that is, the programme, is contained in code in the read-only memory (ROM) portion of memory 12.
For a better understanding of the present invention, a description will now be given of this memory circuit, used in conjunction with a microprocessor consisting of a central processing unit MCS 6502 and two peripheral units MCS 6530/002 and MCS 6530/003.
The memory circuit in question consists essentially of a connection matrix with a 1000.times.8 format, input and address-decoding circuits and output buffer circuits.
Each individual connection can be either open or closed and represents permanent basic data (bit) of 1 or 0. Each group of 8 connections, addressed by one of the 1000 address-input combinations, represents a basic 8-bit instruction or word (byte). By applying all the possible address combinations to the input, all the data contained in the ROM can be obtained at the output in word form.
The connection matrix can be made either by means of a masking process when the integrated circuit (ROM) is made or by means of a connection-merging process (PROM: programmable read-only memory). In the case of the circuit described in the present invention, these connections are listed in the Tables on the following pages which, for brevity, apply to a receiver for exclusive reception of channels in the UHF range. The left-hand columns show the addresses in hexadecimal notation and the right-hand ones the connection states of the corresponding memory cell. The number 1 indicates an open connection with a corresponding logic 1 at the output whereas 0 indicates a closed connection.
As each memory cell consists of 8 connections, it follows that it can be represented by a combination of 8 binary figures. For the sake of brevity, hexadecimal notation was used on the following Tables so that, for example, the EA notation for base 16, which corresponds to 11101100 for base 2, indicates that the corresponding memory cell has connections 1, 2, 3, 5 and 6 open and the remaining ones closed.
The foregoing Tables 2-10 contain, in code, a possible basic-operation sequence for performing the operations shown in the block diagrams, using the microprocessor system described, as follows:
Table 2.fwdarw.Diagram FIG. 3 (initiation and operation-mode selection)
Table 3.fwdarw.Diagram FIG. 6 (search mode selection and indirect search)
Table 4.fwdarw.Diagram FIG. 7 (direct search)
Table 5.fwdarw.Diagram FIG. 8 (continuous search)
Table 6.fwdarw.Diagram FIG. 5 (storage)
Table 7.fwdarw.Diagram FIG. 4 (direct and indirect tuning)
Table 8.fwdarw.Diagram FIG. 9 (fine tuning)
Table 9.fwdarw.Diagr. FIGS. 3-9 (common service functions)
Table 10.fwdarw.Diagram FIG. 10 (calculation and output)
In other words, the foregoing Tables contain all the instructions needed for the microprocessor system to perform all the operations for tuning into UHF band television channels as described previously, excepting control key board reading and display circuit driving functions which are performed by the MCS 6530 components.
Notice how, in agreement with FIG. 2, the RAM 1, RAM 2 and ROM memory blocks are separate and start in response to addresses 0000, 0020 and 0400 respectively so as to enable different circuits to be used. In the example shown, the RAM 1 memory is a MNOS non-volatile type. Under certain circumstances, it may be beneficial to employ a CMOS low-consumption memory with a buffer battery.
In this way, the data relative to the stored channels can also be retained in the event of a power cut. What is more, this memory also includes registers RA and RB which means the last received station can be tuned into automatically when the receiver is turned on.
The advantages of the circuit arrangement according to the present invention will be clear from the description given.
Many variations are, of course, possible. For example, in the foregoing description, it was assumed a special 8-bit microprocessor system with a separate CPU and ROM was used. It is both possible and beneficial to use other types of microprocessor, e.g. with a number of internal RAM registers (usually 64), or the so-called monochip type which, besides the ROM memory, also includes an internal RAM memory and timing circuit. A 16-bit microprocessor can also be used.
Given the structure, according to the invention, other functions can easily be performed, such as a digital clock and time programming of stored channels, controlled by appropriate accessory keys.
It may also be beneficial to equip the receiver with a remote control, in which case, a control panel, similar to the one described, is used in conjunction with the portable transmitter part on the remote-control system. To avoid duplicate control panels, a further variant provides for a housing in the receiver cabinet, equipped with electric contacts in which to plug the said transmitter if the local control is required.
In the case of television receivers according to the present invention, it may prove useful, during certain stages of manufacture such as those relative to life and reliability, to set the receiver under test for one of the automatic search operations, preferably indirect, after stored the available channels, so as to maintain the receiver in the normal receiving condition, synchronized with a video signal but with different test pictures so as to avoid the so-called "print" effects on the kinescope.
The devices described in the present invention can also be used as automatic test instruments for checking, setting and measuring purposes, during the assembly of a signal receiving set.