Block: Bilin



PIC




Inports


In

Input In(k)






Outports


Out

Output Out(k)







Mask Parameters



Name

ID

Description




b0

1

Filter coefficient b0




b1

2

Filter coefficient b1




a0

3

Filter coefficient a0




a1

4

Filter coefficient a1




ts_fact

5

Multiplication factor of base sampling time (in integer format)





Description:

First order transfer function:

H(z) = (b0.z + b1) / (a0.z + a1)

Alternative representation of the same transfer function:

         b0 + b1z- 1
H (z) =  ---------1-
         a0 + a1z

Implementations:
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation
Float32 32 Bit Floating Point Implementation
Float64 64 Bit Floating Point Implementation

Implementation: FiP16


16 Bit Fixed Point Implementation



Inports Data Type


In

int16






Outports Data Type


Out

int16




Implementation: FiP32


32 Bit Fixed Point Implementation



Inports Data Type


In

int32






Outports Data Type


Out

int32




Implementation: Float32


32 Bit Floating Point Implementation



Inports Data Type


In

float32






Outports Data Type


Out

float32




Implementation: Float64


64 Bit Floating Point Implementation



Inports Data Type


In

float64






Outports Data Type


Out

float64