Absolute type shaft encoding using LFSR
Abstract
Maximal-length binary sequences have been known for a long time. They have many interesting properties, one of them is that when taken in blocks of n consecutive positions they form 2ⁿ-1 different codes in a closed circular sequence. This property can be used for measuring absolute angular positions as the circle can be divided in as many parts as different codes can be retrieved. This paper describes how can a closed binary sequence with arbitrary length be effectively designed with the minimal possible block-length, using linear feedback shift registers (LFSR). Such sequences can be used for measuring a specified exact number of angular positions, using the minimal possible number of sensors that linear methods allow.
Full text
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES WITH PRESCRIBED LENGTH J.M. FUERTES, B. BALLE AND E. VENTURA Abstract. Maximal-length binary sequences have been known for a long time. They have many interesting properties, one of them is that when taken in blocks of nconsecutive positions they form 2n −1 different codes in a closed circular sequence. This property can be used for measuring absolute angular positions as the circle can be divided in as many parts as different codes can be retrieved. This paper describes how can a closed binary sequence with arbitrary length be effectively designed with the minimal possible block-length, using linear feedback shift registers (LFSR). Such sequences can be used for measuring a specified exact number of angular positions, using the minimal possible number of sensors that linear methods allow. 1. Introduction Angular absolute position measurement is carried out by transducers that expand a different n-bit code word for each of a finite number of angular positions. One of the common components of such transducers is a marked disk with as many sectors as different angular positions are to be sensed. Traditional disks use a radial bit sensing method that consists in an arrangement of blacks and whites (“1” and “0”) distributed in concentric coronas. Most commercial transducers use the Gray coding bit distribution to reduce the different scanning errors. But such coding has two drawbacks: as the resolution (and so the number of bits) increases, the disk diameter must also increase; and secondly, the number of sectors has to be exactly a power of 2. For the first drawback, there is a method that uses only one bit code track, based on the window property of pseudo-random binary sequences. Such property states that in a pseudo-random cyclic code expansion, all the n-bit elements that can be successively taken are different to each other. The result is that once the pseudo-random binary sequence is expanded in the circular corona, there are as many different measurements as the length of the cyclic code expansion. In this case, the sensing elements are not 1
2 J.M. FUERTES, B. BALLE AND E. VENTURA radially but tangentially distributed. There are several papers stating such configuration, see [1], [8], [9] and [10]. Next question is about the number of sectors. We need to produce a pseudo-random cyclic code expansion, all of whose n-bit subwords are different to each other, and having a prescribed length e⩾2. An obvious restriction is 2 ⩽e⩽2n. In [4] and using graph theory, A. Lempel proved that such sequences always exist, only under the hypothesis 2 ⩽e⩽2n. The problem is how to explicitly construct them with a fast algorithm (not essentially based on a full search among all exponentially many possibilities). It is well known that, with a window of nsensing bits and using linear feedback shift registers with connection polynomial of degree n, the maximal length can be obtained, that is, one can produce cyclic binary sequences of length 2n−1 such that all windows of nconsecutive bits are different to each other (see [6] and [2]). In [8] the author introduces a truncation of these maximal length sequences in order to obtain the desired exact number of sectors (not necessarily being a power of 2). To detect the truncation point it was proposed to include an additional corona where an additional bit shows the discontinuity and allows the correct recovery of the measure in the area of such discontinuity. Another approach to solve this problem is to try to generate (non-maximal) feedback shift registers expanding circular sequences of a previously given length e(from an appropriate initial seed). Although less studied in the literature, this is also possible i.e., there always exist such (non-necessarily linear) feedback shift registers (see [2] and [12] for the binary case, and [4] for a generalization to m-ary sequences). In this paper, we consider again this problem and we provide another solution having the following two additional advantages. We present an algorithm such that, given a natural number e⩾2, it produces a linear feedback shift register with connection polynomial of the smallest possible degree, and a seed, expanding a circular sequence of length exactly e. In general, the fact of being linear makes it easier to implement in hardware. And the fact that the output is a circular sequence of length eexpanded by a linear feedback shift register of the smallest possible degree ensures us that we are going to use the smallest possible number of sensors. Finally, the algorithm is fast for the typical values of ethat can be useful in particular applications. The techniques and arguments used here are inspired on those contained in [11]. We point out that, with the techniques in this paper, we minimize the number of sensors needed, among all possible linear feedback shift registers expanding circular sequences of a prefixed length. It is not clear how to
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES 3 systematically achieve the absolute minimum among non necessarily linear ones. In Section 5 we show an example where these two minimums do not agree. The structure of the paper is as follows. Section 2 contains the preliminaries needed about linear feedback shift registers, and about polynomials over finite fields, stating the notation that will be used along the paper. Section 3 is the central part of the article, where we discuss the cyclic structure of polynomials, and we construct and justify the algorithm. Then, in Section 4, we make the algorithm explicit and particularized to the binary case. Finally, we develop an example and write down the conclusions. We point out to the reader that (although for the engineering applications one will only make use of the results here particularized to the binary case), we do all the discussions in an arbitrary finite field Fq, (with q=pm, and p being a prime number). The reason for working with more generality than the one strictly needed for the applications, is that the arguments given are general and work exactly in the same manner for the binary field F2than for an arbitrary Fq. At any time the reader can particularize any result to the binary case by just declaring everywhere p=q= 2 and m= 1. 2. Preliminaries 2.1. Focusing the problem. Linear feedback shift registers are well known electronic digital circuits used to expand periodic sequences over finite fields (over F2for binary sequences). See [2] or [7] for generalities about them. For the rest of the paper, let pbe a prime number, q=pm, and Fqbe the field with qelements (which has characteristic p). As pointed out in the introduction, read p=q= 2 (and m= 1) for a binary version of this article. Let n⩾1 be a natural number and let a(x) = −(a0+a1x+· · · + an−1xn−1) + xn∈Fq[X] be a monic polynomial of degree nover Fqwith a(0) = −a06= 0. Consider the n×ninvertible matrix M= 00· · · 0a0 10· · · 0a1 0 1 .... . .. . . . . .. . ....0an−2 00· · · 1an−1 ∈GLn(Fq), usually called the companion matrix of a(x). It is well known that the characteristic polynomial of Mis a(x); in particular, a(M) = 0. Take now an arbitrary column vector, u= (u0, u1, . . . , un−1)T∈Fn q, let uTbe the same vector but written as a row, and let us consider the sequences of
4 J.M. FUERTES, B. BALLE AND E. VENTURA a3 u3u2u1u0 a0 a1 a2 Figure 1. LFSR with Fibonacci architecture vectors Miuand uTMi,i= 0,1,2, . . .. First of all, since the set Fn qis finite, there must be eventual repetitions, say Miu=Mjufor i < j. And, since Mis invertible, we have u=Mj−iu, meaning that the first repetition is always against the very first vector u. In other words, the sequence Miu (and similarly uTMi), i= 0,1,2, . . ., is periodic. Note that, by the special shape of M, the vector uTMi+1 is the same as the vector uTMiwith all the coordinates shifted one position to the left (so, loosing the first coordinate), and with the last coordinate computed according to the last column of M. Thus, out of Mand u, we can clockwise produce a circular sequence of eelements of Fqin such a way that the e consecutive n-tuples readable from it are pairwise different, where eis the period of the sequence uTMi. The generation of such circular sequence is typically carried out by the standard electronic device called linear feedback shift register (LFSR for short) with connection polynomial a(x), with seed u, and with the so-called Fibonacci architecture, see Fig. 1 (where “linear” stands for the linearity of the computation of the last coordinate in terms of the nprevious ones). In this terms, the problem addressed in the present paper is the following. Problem 2.1. Given a natural number e⩾2, construct a LFSR (i.e. a monic a(x)∈Fq[X]) with connection polynomial of the smallest possible degree, say n, and a seed u∈Fn qsuch that the sequence uTMihas period precisely e. Let us reinterpret the problem in terms of the sequence Miu, typically the one expanded by the same LFSR with the same seed, but now with the Galois architecture, see Fig. 2. Identifying u= (u0, u1, . . . , un−1)Twith the polynomial u(x) = u0+u1x+· · · +un−1xn−1∈Fq[X], it is straightforward to verify that Mu is the polynomial u(x)xmod a(x). So, the sequence Miuis the reduction of the sequence of polynomials u(x)xi, modulo a(x). Thus, the period of Miuis the minimum j⩾1 such that u(x)xj≡u(x)
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES 5 a3 u0u1u2u3 a0a1a2 Figure 2. LFSR with Galois architecture mod a(x). This number will be called the cyclic length of u(x)modulo a(x), and will be closely studied below. The relation between Problem 2.1 and cyclic lengths modulo polynomials is not immediately obvious since, in general, the sequences uTMiand Miudo not always have the same period. For example, in the binary case consider a(x) = 1 + x+x2+x3+x4+x5and u= (0,1,1,0,1)T;uTMihas period 3 while Miuhas period 6. However, the following lemma (applied to companion matrices) allows us to restate Problem 2.1 in terms of cyclic lengths. Lemma 2.2. Let Mbe a n×nmatrix over Fq. Then, the set of periods of uTMicoincides with that of Miu, while uranges over all column vectors in Fn q. Furthermore, for every P∈GLn(Fq)such that PMP−1=MT, the map u7→ Pu is a bijection of Fn qpreserving the period (i.e., Miuand (Pu)TMihave the same period). Proof. The first assertion is clearly a consequence of the second one, since it is well-known that Mand MTare always similar matrices (i.e. there does exist P∈GLn(Fq) such that PMP−1=MT). For every such matrix Pand every integer rwe have PMr= (MT)rP. Now, for every column vector u, the equation u=Mruis equivalent to P u =PMru= (MT)rPu and so, to (Pu)T= (Pu)TMr. Hence, the periods of the sequences Miu and (Pu)TMido coincide. For later use, let us find an easy way of computing such a matrix P, in the case where Mis the companion matrix of a monic polynomial a(x) = −(a0+a1x+· · ·+an−1xn−1)+xn∈Fq[X]. We shall built a matrix Pwith the upper left triangle full of zeroes, with the contra-diagonal full of ones (and so, invertible) and with each one of the consecutive sub-contra-diagonals having constant values (so, Pwill be symmetric). One can recursively fill the entries of such a Pif we impose the additional condition that P M is also symmetric (note that PM coincides with Premoving its first column and adding a last column equal to Pa, where ais the last column of M). This way, we have
6 J.M. FUERTES, B. BALLE AND E. VENTURA an invertible matrix Psuch that both Pand P M are symmetric. This Pis good enough for our purposes, since PM = (PM)T=MTPT=MTP.¤ In view of Lemma 2.2, solving Problem 2.1 reduces to finding a monic polynomial a(x)∈Fq[X] of the smallest possible degree, and a column vector u∈Fn q, with prescribed cyclic length for u(x) modulo a(x). In fact, Lemma 2.2 tells that, the same a(x) and an easily computable vector v=Pu solves Problem 2.1. This way, our main goal reduces to solving the following problem, which is completely stated in the language of polynomials over finite fields. Problem 2.3. Given a natural number e⩾2, construct a monic polynomial a(x)∈Fq[X]of the smallest possible degree, say n, and a seed u(x)∈Fq[X] (being a polynomial of degree smaller than n), such that the cyclic length of u(x)modulo a(x)is precisely e. 2.2. Polynomials over finite fields. Let us dedicate this section to summarize the elementary facts about polynomials over finite fields that will be needed later. Let a(x)∈Fq[X] be a polynomial of degree nand satisfying a(0) 6= 0. The ring Fq[X]/a(x)Fq[X] contains qn−1 non-zero elements and so there must be two integers 0 ⩽s1< s2⩽qn−1 such that xs1≡xs2modulo a(x). That is, a(x) divides xs2−xs1=xs1(xs2−s1−1). The fact a(0) 6= 0 implies that a(x) also divides xs2−s1−1. It is standard to define the order of a(x), denoted ord(a(x)), as the minimum positive integer esuch that a(x) divides xe−1. In general, ord(a(x)) ⩽qn−1. In other words, the order of a given polynomial a(x)∈Fq[X] is the minimum positive integer esuch that 1·xe≡1 modulo a(x). This is, precisely, the cyclic length of 1 modulo a(x). The following are well-known facts concerning polynomials over finite fields: (I) (3.4 in [5]) The order of an irreducible polynomial a(x)∈Fq[X] with a(0) 6= 0 and degree nis always a divisor of qn−1. In particular, it is not multiple of p. (II) (3.6 in [5]) gcd(xr−1, xs−1) = xgcd(r,s)−1. Furthermore, an arbitrary polynomial a(x)∈Fq[X] with a(0) 6= 0, divides xs−1 if and only if ord(a(x)) divides s. We also quote the following well known result in finite field theory. Recall that, given two coprime integers a, b ⩾2, one is invertible modulo the other and so it makes sense to define the order of amodulo b, denoted ordb(a), being the smallest i⩾1 such that ai≡1 mod b.
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES 7 Theorem 2.4 (3.5 in [5]).Let e⩾2be an integer. Then, there exist irreducible polynomials in Fq[X]having order e. Furthermore, all of them have the same degree, namely orde(q).¤ A possible method for finding such a polynomial is the following. It has to be a divisor of xe−1, but not a divisor of xd−1 for every d|e,d6=e. So, computing (xe−1)/lcmd|e, d6=e{xd−1}and finding an irreducible factor will be enough (note that, by Theorem 2.4, all such irreducible factors have the same degree, orde(q)). Now, we need the following two lemmas for better understanding of the order of polynomials. We introduce the following notation. Given the prime number pand a positive integer s, we define dsepto be the smallest positive integer hsuch that phis not less that s(we will write dseif there is no risk of confusion). That is, d1e= 0 and pdse−1< s ⩽pdsefor s⩾2. Lemma 2.5 (3.8 in [5]).Let a(x)∈Fq[X]be an irreducible polynomial with a(0) 6= 0 and order e. Then, ord(a(x)s) = epdse.¤ Lemma 2.6 (3.9 in [5]).Let a1(x), . . . , ar(x)∈Fq[X]be pairwise coprime polynomials such that ai(0) 6= 0, and let ei= ord(ai(x)),i= 1, . . . , r. Then, ord(a1(x)· · · ar(x)) = lcm{e1, . . . , er}.¤ Finally, the following technical lemma will also be used. Lemma 2.7. Let a, b, q ⩾2be three integers, aand bcoprime with q. Then, ordlcm{a, b}(q) = lcm{orda(q),ordb(q)}. In particular, (i) if adivides bthen orda(q)divides ordb(q), (ii) if aand bare coprime then ordab(q) = lcm{orda(q),ordb(q)}. Proof. Let us denote by ea,eband ea,b the orders of qmodulo a,band lcm{a, b}, respectively. By definition, adivides qea−1, and bdivides qeb−1. So, lcm{a, b}divides lcm{qea−1, qeb−1}=qlcm{ea,eb}−1 and thus, ea,b divides lcm{ea, eb}(here, we use fact (II) above). On the other hand, a divides lcm{a, b}, which divides qea,b −1. So, eadivides ea,b. Similarly, ebdivides ea,b and hence lcm{ea, eb}also divides ea,b. This shows that ordlcm{a,b}(q) = ea,b = lcm{ea, eb}= lcm{orda(q),ordb(q)}. The statements (i) and (ii) are particular cases. ¤ 3. The construction As stated in the previous section, our main goal is to solve Problem 2.3. For this purpose, given a polynomial a(x)∈Fq[X], we have to understand which numbers occur as cyclic length of some seed u(x) modulo a(x). The
8 J.M. FUERTES, B. BALLE AND E. VENTURA finite set of all those possible numbers is named cyclic structure of a(x), and denoted CS(a(x)). In other words, CS(a(x)) is the finite set of positive integers whose members are precisely the cyclic lengths of all polynomials u(x) (of degree less than that of a(x)) modulo a(x). We describe this set in the following two propositions. Proposition 3.1. Let a(x)∈Fq[X],a(x)6=x, be a monic irreducible polynomial of order e. Then, the cycle structure of a(x)sis CS(a(x)s) = {1, e, ep, . . . , epdse}. Proof. Taking u(x) = 0 we see that 1 ∈ CS(a(x)s). Let 0 6=u(x)∈Fq[X] be a polynomial of degree less than that of a(x)s, and denote by k⩾1 its cyclic length modulo a(x)s. That is, kis the smallest positive integer such that u(x)xk≡u(x) modulo a(x)sor, in other words, the smallest positive integer such that a(x)sdivides u(x)(xk−1). Write u(x) = u0(x)a(x)dfor some 0 ⩽d < s and some u0(x)∈Fq[X] coprime to a(x). The previous assertion is now equivalent to say that kis the smallest positive integer such that a(x)s−ddivides xk−1, that is, kis the order of a(x)s−d. Using Lemma 2.5, this proves that k= ord(a(x)i) = epjfor some i= 1, . . . , s and some j= 0, . . . , dse. Furthermore, it is clear that every number of the form epjfor j= 0, . . . , dseoccur in CS(a(x)s), for example as the cyclic length of u(x) = a(x)s−(pj−1+1) (which makes sense because j⩽dseimplies pj−1+ 1 ⩽pdse−1+ 1 ⩽s; here, we understand p−1= 0). ¤ Proposition 3.2. Let a(x)∈Fq[X], be a monic polynomial with a(0) 6= 0, and consider its decomposition into different irreducible factors, a(x) = a1(x)s1a2(x)s2· · · ar(x)sr, with increasing exponents, s1⩽s2⩽· · · ⩽sr. Let ei= ord(ai(x)), for i∈I={1, . . . , r}. Then, the cycle structure of a(x)is given by CS(a(x)) = {1}∪{¡lcmi∈J{ei}¢pt| ∅ 6=J⊆I, 0⩽t⩽dsje, j = max J}. Proof. Taking u(x) = 0 we see that 1 ∈ CS(a(x)). Let u(x)∈Fq[X] be a polynomial of degree less than that of a(x) and cyclic length k⩾2 modulo a(x). Denote by kithe cyclic length of u(x) modulo ai(x)si,i∈I. That is, kis the smallest positive integer such that a(x) divides u(x)(xk−1) and, for every i∈I,kiis the smallest positive integer such that ai(x)si divides u(x)(xki−1). In this situation, it is straightforward to verify that k= lcmi∈I{ki}. Note that, by Proposition 3.1, either ki= 1 or ki=eipj for some j= 0, . . . , dsie, and observe also that, by assumption, J={i∈I| ki6= 1} 6=∅. Then, k= lcmi∈J{ki}=¡lcmi∈J{ei}¢pt, where 0 ⩽t⩽dsje and j= max J. Conversely, any positive number of the form ¡lcmi∈J{ei}¢pt
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES 9 with ∅ 6=J⊆I, 0 ⩽t⩽dsjeand j= max J, appears in CS(a(x)). In fact, it does as the cyclic length of u(x) = ¡Qi∈J\{j}ai(x)si−1¢·aj(x)sj−(pt−1+1) · ¡Qi/∈Jai(x)si¢modulo a(x) (which makes sense because t⩽dsjeimplies pt−1+ 1 ⩽pdsje−1+ 1 ⩽sj; here, we understand p−1= 0). ¤ As an immediate corollary of Proposition 3.2, one can already say that every positive integer occurs as the cyclic length of some polynomial modulo some other. That is, given an exact length, there always exists a linear feedback shift register that expands, with an appropriate seed, a circular sequence of the given required length. The problem now is how to construct one of them (LFSR and seed, i.e. a(x) and u(x)) with the minimal possible degree for a(x). Corollary 3.3. For every integer e⩾1there exist two polynomials a(x), u(x)∈Fq[X]such that the cyclic length of u(x)modulo a(x)is precisely e.¤ In order to attack Problem 2.3, we shall make several reductions to simpler ones. Let a(x)∈Fq[X] be a polynomial with a(0) 6= 0, and consider its factorization into different irreducible factors, a(x) = a1(x)s1a2(x)s2· · · ar(x)sr, with increasing exponents s1⩽s2⩽···⩽sr. Let ei= ord(ai(x)), for i∈I={1, . . . , r}. Lemma 3.4. With the previous notation, assume sr⩾2and consider the polynomial a0(x) = lcm{a1(x)· · · ar(x),(x−1)sr+1 }, where sr+1 =pdsre−1+ 1is the smallest integer such that dsr+1e=dsre(that is, a1(x)· · · ar(x)(x− 1)sr+1 if x−1was not present in the decomposition of a(x), and a(x)changing all the exponents to 1 except that of x−1to sr+1, otherwise). Then, CS(a0(x)) = CS(a(x)) and deg(a0(x)) ⩽deg(a(x)). Proof. By Proposition 3.2, we have CS(a(x)) = {1} ∪ {¡lcmi∈J{ei}¢pt| ∅ 6=J⊆I, 0⩽t⩽dsje, j = max J}. Also, since the order of x−1 is er+1 = 1 and dsr+1e=dsre, we have CS(a0(x)) = CS(a(x)). The inequality between degrees follows straightforward from the construction of a0(x) and the hypothesis sr⩾2. ¤ So, in order to solve Problem 2.3, it is enough to consider polynomials whose decomposition into irreducible factors have all the exponents being 1 except, maybe, that of x−1. Consider now such a polynomial, a(x) = a∗(x)(x−1)sr+1 , where sr+1 ⩾0, a∗(x) = a1(x)· · · ar(x), and a1(x), . . . , ar(x),(x−1), x are pairwise different irreducible polynomials. Since a∗(x) has no multiplicities and, by fact (I) in the previous section, ei= ord(ai(x)) is not divisible by p, Proposition 3.2 above tells us that the members of CS(a∗(x)) are also not divisible by p. Again by Proposition 3.2, the unique contribution of the factor x−1 to the
16 J.M. FUERTES, B. BALLE AND E. VENTURA pairwise different. However, the method given in [4] to find such a sequence is not effective (it is comparable to brute force searching among all possible 2360 sequences), while our method is fast. For completeness, we carried out this brute force search and found the following sequence of 360 bits 111110100000000100000010100000100100000110 000000110100001000100001010100001100100001 110000001110100010010100010100100010110000 010110100011000100011010100011100100011110 000011110100100100110000100110100101010100 101100100101110000101110100110010100110110 000110110100111000100111010100111100100111 110000111110101010110001010110101011100101 011110001011110101100111, allowing to measure exact degrees in a rotating disk making use of only 9 sensors, the absolute minimum. 6. Conclusions This paper presents an extension to previous works in absolute angular position measurement systems. It starts by focusing the problem of searching for linear feedback shift registers being able to expand closed binary sequences of prescribed length. First problem was to demonstrate the existence of solutions for any arbitrary cyclic length. And secondly, to find the smallest size of a LFSR expanding such a sequence. These two problems were already solved in [4], but for arbitrary sequences (not just those linearly generated) and not giving any insights on the way of constructing such cycles (apart from brute force). In the present paper, we show that all lengths are also realizable using linear feedback shift registers, and provide an efficient algorithm to construct one of the smallest possible size. For going through the solution, the paper starts by addressing well known facts about finite fields and polynomials over them, which are closely related to cyclic code expansion using linear methods. Then the technical part (results from 3.1 to 3.5) comes, where we analyze the lengths obtainable by a given LFSR when moving the seed. Out of this analysis, we produce an algorithm for constructing a LFSR of the smallest possible size, and a seed expanding a sequence of the prescribed length (Theorem 3.7). The algorithm is explicitly written in section 4, particularized to the binary case. Finally, the paper develops a classical example, namely the design of a connection polynomial and a seed for a LFSR expanding a cyclic sequence of exactly 360 positions in length, and using the minimum possible number of reading sensors. This minimum number is discussed in case of dropping the linearity of the shift register.
ABSOLUTE TYPE SHAFT ENCODING USING LFSR SEQUENCES 17 Acknowledgments This work has received partial support by the Spanish Science and Technology Council CICYT project ref. DPI2002-01621 and by DGI (Spain) through grant BFM2003-06613. We thank J.J. Egozcue for originally putting in contact to each other the first and third named authors (resp., an engineer and a mathematician) with respect to the problem addressed here. E. Ventura gratefully acknowledges also the Centre de Recerca Matem`atica (Barcelona) for its warm hospitality during the academic course 2004-2005, while this paper was written. References [1] B. Arazi, Position recovery using binary sequences, IEEE Electronics Letters,20 (1984), 61-62. [2] S.W. Golomb, Shift Register Sequences, Aegean Park Press, 1982. [3] M. Goresky, A.M. Klapper, Fibonacci and Galois representations of feedback-with- carry shift registers, IEEE Trans. Inform. Theory,48 (2002), no. 11, 2826–2836. [4] A. Lempel, m-ary closed sequences, Journal of combinatorial theory,10 (1971), 253-258. [5] R. Lidl, H. Niederreiter, Finite fields, Encyclopedia of mathematics and its applications 20, Cambridge University Press. [6] F.J. MacWilliams, N.J.A. Sloane, Pseudo-random sequences and arrays, Proceedings IEEE,64 (1976), 1715-1729. [7] R.J. McEliece, Finite Fields for Computer Scientists and Engineers, Kluwer Academic Publishers, 1987. [8] E.M. Petriu, Absolute-type pseudo-random shaft encoder with any desired resolution, IEEE Electronics Letters,21 (1985), 215-216. [9] E.M. Petriu, Absolute-type position transducers using a pseudo-random encoding, IEEE Trans. Instrumentation and Measurement,IM-36 (1987), 950-955. [10] E.M. Petriu, Scanning method for absolute pseudorandom position encoders, IEEE Electronics Letters,24 (1988), 1236-1237. [11] E. Ventura, Dynamic structure of matrices over finite fields, Proceedings of EAMA- 97 (Sevilla) (1997), 413-420. [12] M. Yoeli, Binary ring sequences, Am. Math. Monthly,69 (1962), 852-855. J.M. Fuertes, Dept. Enginyeria de Sistemes, Autom`atica i Inform`atica Industrial, Universitat Polit`ecnica de Catalunya, Barcelona, Spain. E-mail:[email protected] B. Balle, Facultat de Matem`atiques i Estad´ıstica, Universitat Polit`ecnica de Catalunya, Barcelona, Spain. E-mail:[email protected]
18 J.M. FUERTES, B. BALLE AND E. VENTURA E. Ventura, Dept. Mat. Apl. III, Universitat Polit`ecnica de Catalunya, Centre de Recerca Matem`atica, Barcelona, Spain. E-mail:[email protected]