• Nenhum resultado encontrado

Signal-oriented processing in a speed independent environment

N/A
N/A
Protected

Academic year: 2017

Share "Signal-oriented processing in a speed independent environment"

Copied!
13
0
0

Texto

(1)

ISSN 2299-2634 (printed), 2300-5653 (online) http://www.jtacs.org

Signal-oriented processing in a speed independent

environment

Aleksandr Katkow

University of Computer Sciences and Skills, Lodz, Poland aleksandr.katkow@yahoo.com

Abstract: This article is devoted to the research of a simulation system that uses signal-oriented inte-grators. The simulation environment is based on SIC (Speed Independent Circuits). The ar-ticle first examines the implementation of arithmetical operations, which have been inspired by the natural world, in environments lacking global synchronization of computational pro-cesses. The article then describes the process used to calculate the Riemann integral using the signal oriented integrator and develops integration algorithms (rectangles and trape-zoids) for use in such environments. It includes pseudo-code that implements these algo-rithms. A method is then discussed for fixing the duration of transients in combinational logic circuits and for a signal-oriented implementation of the integration process. It also considers the mapping of the signal oriented integration process as a fuzzy integration pro-cess. Finally, the article presents the results of a computer simulation of a system with sig-nal-oriented integrators for solving differential equations of partial derivatives.

Keywords: Signal Oriented Processing, Speed Independent Circuits, Differential Equations Solving

1. Introduction

In this paper, we consider a system of inertial elements that is configured using input signals and run on technology circuits that work independently of synchronization rate. The-se circuits are called Speed Independent Circuits (SIC) and were propoThe-sed by D. E. Muller in [1]. A very important feature of these systems is that their computational processes are not synchronised globally. This allows for a much higher computing speed than in conven-tionally synchronized structures. Naturally, this synchronization process delays the compu-tational process' evolution. Furthermore, the synchronization interval is always selected to be larger than the computational interval of the slowest element within the computing envi-ronment. The computational process in systems with functional elements that are independ-ent of the process' synchronization rate is performed using a rate determined by a realistic (i.e. inspired by the natural world) work interval of each functional element. Therefore, SIC refers to a class of VLSI combinational logic, which generates a signal when the transient process has completed.

(2)

The functional elements of the computational system interact in a signal-oriented man-ner, with the operands within the memory blocks at the inputs of the functional elements being loaded after the transients within the functional elements have terminated. The dura-tion of the transidura-tional process of each funcdura-tional element is defined by both the physical properties of its components and the type of operands at the inputs. A similar situation oc-curs within the asynchronous sequential circuits (i.e. asynchronous finite state machines (FSMs)), S. H. Unger [2].

The main difference between environments constructed over an SIC foundation and asynchronous sequential circuits is that for FSMs to function correctly, they must be provid-ed with a special sequence of input signals. The requirement is that at any point in time the operand may change on only one of the inputs of the sequential circuits. It is practically pos-sible to implement such a procedure for changing the input signal, but this can significantly reduce the rate of information processing. In computing environments based on SIC tech-nology, such a limitation does not exist since such systems can be initially implemented with self-synchronization processes, which allow them to control the downloading of input information and to signal the end of the transition process in the logical scheme.

The development in ideas involving the construction of asynchronous sequential circuits also seems to be migrating towards the possibility of creating self-synchronizing structures (i.e. self-timed systems) [3,4]. Of course, in the practical implementation of SIC, the prob-lem still exists of how to measure the duration of the transient process within combinational logic circuits. A description of one method to determine when the transitional process of combinational logic circuits has finished, based on the fixation of the electromagnetic radia-tion that is caused by changes in the states of the logical elements during the transient pro-cess, is given in [6,7]. This method is based on the physical features of the transitional process in e-logic. During execution of these logical operations, a change takes place in the states of the logic elements that leads to the generation of electromagnetic radiation from the e-logic. When the transitional processes of a logical combinational circuit terminate, the cir-cuit stops generating electromagnetic radiation. The time of termination can be measured if it is possible to detect the electromagnetic radiation accompanying the transition process. For this purpose we can use a special electromagnetic screen that can be mounted onto the device's signal-oriented functional elements. In the class of VLSI combinational logic, such a screen could be implemented using VLSI technology.

A device that implements the above method, by fixing the end of the transitional process within combinational logic circuits, and the scheme of its implementation was proposed in [7,8]. In [9] the process of performing arithmetic operations in an SIC environment are rep-resented as a process inspired by the natural world. It is interesting to investigate the per-formance of environments integrated using signal-oriented integrators (SOI). This article explores the integration of signal-oriented processes and their application to solving various boundary value problems using a parabolic differential equation.

2. Signal-oriented integration in Speed Independent Circuit

(3)

61 calculations without the need to run algorithms. Information processing within the neural network structure is performed asynchronously in each group of neurons. The self-synchronization process is determined by the physical properties of each neuron. When the sum of the input signals to a neuron exceeds the threshold, the neuron generates an output signal and ignores any further inputs. Only after an output signal has been generated and the result of the operation across the whole neural network has been sent, does a neuron go into a state when it can again analyse the information that is on its inputs. Similar processes oc-cur in computing environments with SOI, where the duration of operations for computation-al components is random.

For example, starting with the simplest method of numerical integration, which is the rectangular method. Traditional integration using the rectangular method involves the appli-cation of equal integration intervals for each step. In computing environments with SOI, the interval of integration for each step can arbitrarily lie between

min

 and

max

 . Suppose that

F(X) is a real integrable function from R1 to YR1 and that it is necessary to calculate the integral on a closed interval [a,b]. We introduce n+1 real numbers such that

] , [

) ..., , , (

1

0 t tn a b

t  and a t t t t b

n n  

  

1 1

0 ... . Riemann’s ordinary integral is defined by:

n n b

a

S dt t f b a I

 

() lim

) , ( where

  

 

n

i i i i i i i

n t t f t t

S

1 1 1

] , [ ), ( )

(   (1)

For the implementation of Riemann’s integrals applied to SOI, the duration of execution of the computational process is unknown and for this reason needs to be measured. Let

1

 

i i i t t

 . The main problem of calculating the Riemann integral for the SOI structure is as

follows. We cannot multiply by the interval i

 , since its duration is unknown. One possible

solution to this problem is to multiply the sample of the function by the interval of the time executing operation, which took place in an earlier step. For this reason we measure the du-ration of the first step of integdu-ration and then multiply the sample of the function ( )

0

t f by )

(

M , where M() is the expected value of the interval of time that it takes to produce the multiplication samples of ( )

i

t

f in the interval ,i (1,...,n)

i

 . Thus, we perform multiplication

on the sample function using the duration of the time interval of calculations produced by the previous step. This produces a formula of bottom rectangles and the multiplication exe-cutes the duration of time from the preceding step.

The sequence of processes is represented in Table 1.

Table 1. The sequence of processes

Interval Multiplication Measurement

t1 - t0 M() 1

t2 - t1 1 2

. . . tn-1 - tn-2 n1 n

(4)

A characteristic point is that for every elementary interval, it is necessary to execute multiplication on the sample of a function over the interval, the value of which is changed randomly and is unknown when the sample of the function is taken. In formula (1), the ine-quality min i max holds for each integration step. The integration process is performed in accordance to the formula

, ) ( ~ ~ ...

, ) ( ~ ~

, ) ( ~ ~

), ( ) ( ~

1

2 2 1 2

1 1 0 1

0 0

n n n

n S f t

S

t f S S

t f S S

M t f S

   

 

 

  

(2)

where t0 = ta, tn = tb .

Over all intervals [a, b], the formula can be recorded as

 

  

n

i i i i i i

n f t M f t t t

S

1 1

0) ( ) ( ) ,

(

~

(3)

where n

S~ is the approximate value of the sum n

S .

A graphical representation of the integration process is shown in Fig. 1.

Figure 1. Diagram of the rectangle method across a random interval: a)

i

i

1 , b) i1i An algorithm that simulates Riemann’s type integration using the rectangle method for a signal-oriented structure with a random elementary interval of integration is introduced be-low:

Input:

f(t) – function

T – interval of analysis

τmin , τmax – minimum and maximum intervals of the computational

process duration in an SOI circuit

(5)

63 Output:

F(t)

F(T)=0, t=0

while tT do

r=random from τmin to τmax

if t=0

calculate f(r)

calculate F(t)=f(r)* M(τ)

end if

if t>0

calculate f(t)

calculate F(t)=F(t)+f(t)*r

t=t+r

end if end while

It is evident that the formulas for the method of lower rectangles in (3) contain a multi-plicative operation. When integration needs to be quickly performed (for example, when processing images in-line), the calculations can be accelerated by replacing the multiplica-tion of the signal samples at random intervals with the multiplicamultiplica-tion of the signal samples at the expected value of the elementary interval of integrationM(). The operation of the

integration, in this instance, is an additive operation on a collection of signal samples in compliance with the formula:

) ( ) ( ~ ~

), ( ) ( ~ ~

), ( ) ( ~ ~

), ( ) ( ~

1 2 1 2

1 0 1

0 0

   

M t f S S

M t f S S

M t f S S

M t f S

n n

n  

 

  

or otherwise

n

j j

n M f t

S

0

) ( ) (

~

(4)

where   is a mathematical expectation of the intervals i i,t

 – i.e. a point which may be

either inside or outside of the interval [ 1, ]

i i t

t .

An algorithm that simulates the rectangle method across a random interval is introduced below.

Input:

f(t) – function

T – interval of analysis

τmin , τmax – minimum and maximum intervals of the computational

pro-cess duration in an SOI circuit

Output:

F(T)

F(T)=0, t=0, i=0, R=0, M()=0

(6)

i=i+1

r=random from τmin to τmax

calculate f(t)

calculate F(T)=F(T)+f(t)

t=t+r R=R+r

end while

calculate M()=R/i

calculate F(T)=F(T)* M()

A graphical representation of the integration process is shown in Fig. 2.

Figure 2. The method of rectangles with M() interval: a) M()1,2,..., b) M()1,2,...

The implementations of the trapezoid algorithm in SOI structures are similar. As with the algorithm for rectangles, the elementary integration interval is a random value ranging between τmin and τmax. The integral in (1) modified for the method of trapezoid is calculated according to the formula:

  

  

n

i i i i i i i

n f t f t t t

S

1 1 1

* )) ( ) ( ( 2

1

(5)

As was the case earlier, the first interval of the computational process is produced by multiplying the samples of the function by the expected value of the interval of duration of the computational process. For the subsequent intervals, the multiplication is performed on the duration of the interval of time from an earlier step. The process of calculating the inte-gral is as follows:

n n n n

n S f t f t

S

t f t f S S

M t f t f S

  

)) ( ) ( ( 2 1 ~ ~ ...

, )) ( ) ( ( 2 1 ~ ~

), ( )) ( ( ( 2 1 ~

1 1

1 2 1 0

1

1 0 0

   

 

(7)

65 The simulation algorithm that uses the trapezoid method for SOI circuits is introduced below:

Input:

f(t) – function

T – interval of analysis

τmin , τmax – minimum and maximum intervals of the computational

pro-cess duration in an SOI circuit

Ouput:

F(T)

F(T)=0, t=0, i=0, τ=0

while tT do

r=random from τmin to τmax

if t=0

calculate f(t)

calculate f(t+r)

calculate F(t)=1/2*(f(t)+ f(t+r))* M(τ)

end if

if t>0

calculate f(t)

calculate f(t+r)

calculate F(t)=F(t)+ 1/2*(f(t)+ f(t+r))* r

t=t+r

end if end while

A graphical representation of the integration process is shown in Fig. 3.

Figure 3. The trapezoid method over random intervals

(8)

The operation of integration in this instance is the additive operation on a large amount of signal samples, according to the formula:

2 / ) ( )) ( ) ( ( ~ ~ ... , 2 ) ( )) ( ) ( ( ~ ~ , 2 ) ( )) ( ) ( ( ~ ~ , 2 ) ( )) ( ) ( ( ~ 1 1 3 2 1 2 2 1 0 1 1 0 0                    

n n

n

n S f t f t

S t f t f S S t f t f S S t f t f S (6)

The formula (6) can also be written as:

     n j n

n f t f t f j

S

1 1

0) ( )) 2 ( ) ( )

( ( ~ , where j

t is a point which may lie either inside or outside of the interval [ , ]

1 i i t

t .

The simulation algorithm that uses the trapezoid method with an SOI circuit is intro-duced below:

Input:

f(t) – function

T – interval of analysis

τmin , τmax – minimum and maximum intervals of the the computational

process duration in an SOI circuit

Ouput:

F(T)

F(T)=0, t=0, i=0, R=0, M(τ)=0,

while tT do if t=0

calculate f(t) F(T)=f(t)/2

end if

r=random from τmin to τmax t=t+r

R=R+r

calculate f(t)= f(t+r)

calculate F(T)=F(T)+ f(t)

if t = T

calculate f(t) F(T)=F(T)+f(t)/2

end if

calculate M(τ)=R/i

end while

calculate F(T)=F(t)* M(τ)

(9)

67 Figure 4. a) exact value of the antiderivative of the function f(x)over the interval [0,4], b) its value

obtained using signal-oriented integration,c) statistical distribution of values of the integral of the function f(x)at x = 4

The distribution of the time interval of the transition process within the e-logic circuits conforms to the normal distribution. In this study we used a standard random number gener-ator implemented in a Borland C + + environment.

3. Signal-oriented integration and fuzzy integration

The initial introduction of the concept of the fuzzy set by L. A. Zadeh in 1965 [10] has been followed by numerous theoretical and practical developments in ensuing years. The concepts of fuzzy numbers and operations over them, as introduced by S. Nahmias [12] and D. Dubois and H. Prade [11], have provided powerful tools for numerical theories and prac-tical applications. Further developments in their applications have involved the main notions of mathematical analysis such as fuzzy integration and differentiation of fuzzy-valued map-pings, which have been considered by D. Dubois and H. Prade [11]. Developments in the theory of fuzzy sets have also been used in systems analysis (J. Kasprzyk [13]), in the theo-ry of fuzzy-control (A.Piegat [14]), and in artificial intelligence (L. Rutkowski [15]).

A variant of a signal-oriented integration, which complies with formula (3), can be writ-ten in terms of the integration of fuzzy mappings in the style of D. Dubois and H. Prade. In fact, executions of signal oriented-integration using SIC do not compute the integral of the input function f(x), but instead some other integral of another function, which may be con-sidered as a fuzzy function having fuzzy properties, due to the fuzziness of its argument. As we do not know the exact value of a point, we do not know the exact value of the function f(x). It is therefore more natural to consider the point not as an ordinary real number but as a fuzzy number or more precisely as a fuzzy point in the sense of [11], i.e. a point which is not precisely located but whose position is fuzzily restricted.

So the function f(x) may be considered as a fuzzy mapping ~fi from the interval [a,b] to a fuzzy subset in 1

R with a membership function ~(x)

f

 . For such a fuzzy function ~f(x) D.

Dubois and H. Prade have introduced the notion of a fuzzy integral ~I(a,b) as a fuzzy set 1

R

with a membership function:

) ( sup

)

( ~

) ( : )

, (

~ T g

f dx x g T G g b a

I b

a  

 

 

with

)) ( ( inf ) (

) ( ~ ] , [

~ g f x g x

b a x f

 

(10)

Figure 5. a) statistical distribution for interval of integration; b) L-R – approximation of the member-ship functions for the elementary interval of integration

This fuzzy integral may be approximated using a fuzzy Riemann sum:

 

  

n

i i i i

t f t t

1 1

) ( ~ ) ( ~

.

The sum of real numbers in formula (3) is modified by an extended sum of fuzzy num-bers as described in [11].

For signal-oriented integration, in accordance with Formula (4) and in terms of the fuzzy number arithmetic, the value of an elementary interval of integration becomes replaced by the expected value for the elementary integration interval. This interval depends on many random factors, such as the technology used for production of integrated circuits and the type of the operands used as integrator inputs. In the simulation using the standard proce-dure for generating random numbers and in Fig. 5a the statistical distribution can be seen of the values of the elementary interval of integration. The uncertainty associated with the val-ue of the elementary integration integral is described in fuzzy number terms, by entering the normalized membership function ( )

) ( x M

 for a fuzzy number M~ , and by mapping the ex-pected duration of the elementary interval of integration M(). The mathematical expression for the membership function can be represented as:

  

   

 

  

  

otherwise m m x for x m

m m x for m

x

x

M

0

, )

(

] , [ )

( )

(

~

 

 

where mM(), which is the mean value of a fuzzy number M~,  – left spread,  – right spread. Thus, the interval duration can be represented by the fuzzy number M~, with a membership function L-R type ( )

) ( x M

 [11,13]. The normalized membership function can

be represented by ( ) ) ( x M

(11)

69   M x f S n i i M ~ ) ( ~ 0 ~       

with a membership function of ( ) ) ( x M

 , as presented above.

4. Computer simulation

The aim of our computing experiments was to study the behaviour of simulation systems with signal-oriented inertial functional elements when solving the Dirichlet problem for the Laplace equation on a rectangular domain of a plane by reducing it to a parabolic differen-tial equation. The following equation:

0 2 2 2 2   y v x v     ) , ( | ) ,

(x y g x y v

G (7)

can be mapped onto the corresponding boundary problem for the parabolic differential equation: 2 2 2 2 y u x u t u       ) , ( | ) , ,

(x yt g x y u G ) , ( | ) 0 , , (

0 x y

g y x u

G

where ( , )| ( , ) 0 x y

g y x

G

 and g(x,y) is a known function, given on the boundary G . The

finite-difference method is used in order to obtain a numerical solution of this boundary value problem. With this goal in mind, the domain 2

) *

(a aDGR is covered by a mesh with step ha/N1. The values of the functions ( , ), ( , )

j i j

i y g x y

x

u at mesh coordinates

) 1 ... , 1 , 0 , ( ,   

ih y jh i j N

x

j

i , can be denoted by uij,gij. The time derivative then needs to be replaced by the difference formula, in accordance with the Euler formula. The formula of signal-oriented integration using the method of lower rectangles is used(4). For the elemen-tary interval, this formula can be written as:

) ( ) ( ) ( 1    M t u t u t

u ij k  ij k ,

where M() is mathematical expectation of the duration of an elementary interval of the signal-oriented integration.

Partial derivatives with respect to variables x, y can be written using the second order Euler difference formula:

h t u t u t u x

u i j k ij k i j k

2 ) ( ) ( 2 ) ( 1 1 2 2        h t u t u t u y

u ij k ij k ij k

(12)

For the inner mesh points (i, j), the problem (7) is replaced by the finite-difference equa-tion.

) ( 2

) ( ) ( ) (

1 ij k k

k

ij h B t

M t u t

u    

) ( 4 ) ( ) ( ) ( ) ( ) (

1 1

1

1 k ij k i j k i j k ij k ij

k u t u t u t u t u t

t

B  .

For boundary mesh points we assume thatu (x,y) g (x,y)

ij

ij  .

The results of computer simulation for the function g(x,y)can be represented in the fol-lowing form:

   

    

 

 

 

 

  

otherwise y x if

y x if

N i

i y

N x for N

i

y x g

0

15 , 0 500

1 , 1 500

1 ,..., 0 ,

1 1

* sin * 300

) , (

In such a way a standard integration in formula (7) is replaced by signal-oriented inte-gration. The computational process constitutes a sequence of elementary operations of sig-nal-oriented integration that converge to a solution.

Figure 6. Solution to problem (7)

Experiments were run on systems consisting of signal-oriented inertial elements with dimensions of 16x16. Fig. 6 shows the the solution to (7) obtained by performing 15 macro time steps, provided thatM()0.5h,a15, N 16 and consequently h1. A macro time step is defined as the time interval in which the elementary integration with respect to time process will be performed in each inertial element at least once. This means that inertial components exist within the elementary integration process that are repeatedly executed within one macro step of time. In this experiment, the end computational process occurs un-der the condition that the maximum value of change of the unknown function in the lattice sites of the macro step, from one macro time step to another, is no greater than 0.05

m

 . In

other words:

m k ij k ij N j

i,max0,..., 1(u (t 1)u (t )) ,

(13)

71

5. Conclusion

The development of SIS technology in the field of information processing has been hampered by the lack of an efficient method for determining the duration of transients in electronic logic circuits. In [6,7] a method is proposed for determining the end of the transi-tional process, alongside its structural implementation. [8] presents some possible solutions to this problem.

Although the working capacity of the fixation of the electromagnetic radiation accom-panying the process of electronic logic gates has been experimentally verified for devices with discrete logic elements, its implementation by means of modern technologies of inte-grated components still remains unrealized. It is possible that with the development of new technologies it will be possible in the future to fully realize the idea of SIC. It is worth not-ing that in computer systems that have so far evolved, there is no global synchronization process for information processing. What we have instead are self-synchronization process-es, based on the physical properties of the information processing elements.

References

[1] Muller D.E., Infinite sequences and finite Machines. Proc. Fourth Ann. IEEE Symp. on Switch. Circuit Th. Log. Design. S-156, 1963, pp.9-16.

[2] Unger S.H., Asynchronous Sequential Switching Circuits, Krieger, Malabar, FL, 1983.

[3] Sparsø J., Furber S. (eds.), Principles of Asynchronous circuit design – a systems perspective, Kluwer Academic Publishers, Boston, 2001, ISBN 0-7923-7613-7, 337p.

[4] Tinder R., Asynchronous Sequential Machine Design and Analysis, Morgan & Claypool Pub-lishers, 2009, 235p.

[5] Baudet G.M., Asynchronous iterative methods for multiprocessors. J. ACM, 1976, Vol. 25, pp. 226-244.

[6] Katkov A., Novickiy A., Romantsov V., A device for fixing the end of the transitional process in digital object, Inventor's Certificate SU, No. 1200249, A, B.I. No. 47, 1985.

[7] Katkov A., Digital Modeling Automata, Nauk. Dumka, Kiev, 1990, 219 p.

[8] Katkov A., Piech H., Gubareny N., Neurosimilar Computations in Simulation Systems with

Distributed Intelligence, Proc. of World Multiconference on Systems, Cybernetics and

Infor-matics, Orlando, Florida, USA,v.5, 1999, pp. 478-485.

[9] Katkow A., Ulfik A., Nature Inspired Arithmetic in Speed Independent Circuit, FCS 2010. Pro-ceedings International Conference on Foundations of Computer Science. Las Vegas, USA, 2010, ISBN 1-60132-142-2, pp. 9-15.

[10] Zadeh L.A., Fuzzy sets, Information and Control, Vol.8, 1965, pp. 338-353.

[11] Dubois D., Prade H., Fuzzy Sets and Systems: Theory and Applications, Academic Press, New York, 1980.

[12] Nahmias S., Fuzzy variables, Int. J. Fuzzy Sets Syst., Vol.1, No.2, 1978, pp. 97-111. [13] Kasprzyk J., Zbiory rozmyte w analizie systemowej. PWN, Warszawa, 1986.

[14] Piegat A., Modelowanie i sterowanie rozmyte, Akademicka Oficyna Wydawnicza EXIT, War-szawa, 1999, p. 678.

Imagem

Figure 1. Diagram of the rectangle method across a random interval: a)
Figure 2. The method of rectangles with  M (  )  interval: a)  M (  )   1 ,  2 , ..
Figure 3. The trapezoid method over random intervals
Figure 5. a) statistical distribution for interval of integration; b) L-R – approximation of the member- member-ship functions for the elementary interval of integration
+2

Referências

Documentos relacionados

Concentração de nitrogênio dos resíduos culturais de cana-de-açúcar durante 360 dias de avaliação da decomposição na superfície do solo, na média das 3 doses de palha em

O testes do CCI para as medidas inter avaliadores demonstraram que houve uma correlação regular para a avaliação do ângulo Q e da pronação subtalar através da fotogrametria em

um segundo aspecto foi notado: muito embora a ocorrência da creative accounting seja minimizada no primeiro momento, a utilização de artifícios contábeis poucos

Apesar de o trabalho envolver trˆ es esp´ ecies diferentes (gado, mosca-dos-chifres e besouros copr´ ofagos), a presen¸ca do gado ´ e condi¸c˜ ao necess´ aria para coexistˆ encia

As empresas analisadas no estudo de caso demonstraram conhecimento das ferramentas e metodologias da qualidade, mas ainda não possuem uma visão estratégica da gestão da qualidade que

durante a década de 70, e ainda parte da de 80” (Mesquita, 2001, p.3).. realizadas em instituições do Ensino Especial dão lugar à educação destas crianças em escolas

5°, o programa de integridade será avaliado, quanto a sua existência e aplicação, de acordo com os seguintes parâmetros: I - comprometimento da alta direção da pessoa

Universidade Aberta & CLUNL-FCSH, Universidade Nova de Lisboa ABSTRACT: With the main objective of presenting a linguistic model for the analy- sis of identity construction