Full text
DEGREE THESIS Embedding and decoding hidden data channels on computer displays Lehrstuhl für informationstechnik Schwerpunkt komunikationselectronik (LIKE) Friedrich-Alexander-Universität Erlangen Nürnberg ETSI de Telecomunicacions Universitat Politècnica de València In collaboration with Fraunhofer Institute for Integrated Circuits IIS Degree: Student: Matriculation number: Supervisors in Fraunhofer IIS: Professor: Start date: Closing date: Telecomm & Electronic. Eng. Antonio Juan Querol Giner 21427894 Dipl.-Ing. Stefan Krägeloh, Dipl.-Ing Jörg Pickel Prof. Dr.-Ing. Heinz Gerhäuser 15.03.09 15.09.09
Embedding and decoding hidden data channels on computer displays 2
Embedding and decoding hidden data channels on computer displays I Declaration I assure that this Degree thesis is done independently, without alien help and without the employment of other sources and auxiliary material which are not explicitly citate on this degree thesis Antonio Juan Querol Giner
Embedding and decoding hidden data channels on computer displays II Abstract Title Embedding and decoding hidden data channels on computer displays. Abstract In a given setup, a LCD screen is mounted horizontally so that objects, e.g. game tokens, can be placed on the surface of the display. A PC displays information on the screen, e.g. a floor plan of a board game. The object placed on the screen is equipped with one or more optical sensors that ‚look‛ at the display area under the object. The information captured by the sensor is transmitted back to the PC that displays the information (after optional pre-processing the object). In order to determine de position of the objects in the screen, the screen is partitioned into a large number of separate areas. A separate hidden data channel has to be implemented in each of these areas. The data transmitted through these data channels can be used to transmit position identifying the given area. The task of this work is to research and design a system for implementing such a multitude of hidden data channels on a video display with the following constraints: - The displayed hidden data channel shall be invisible or at least unobtrusive to the human eye in the chosen setup. - The capacity of the channel should be as large as possible. - The system should be able to function if the sensor is placed between two, or three of the hidden data channel areas. - The system needs to be robust against typical error signals like ‚strobing back light of the display‛. - The system should be able to adapt to special conditions found on different types of display families. Keywords LCD, hidden channels, localization
Embedding and decoding hidden data channels on computer displays III Dedication I want to dedicate this degree thesis, first of all, to my parents Antonio and Cinta. Because without their help I cannot finish my carrier and arrive to this point of my life. I am also very Grateful to my Sister Maria Consuelo, for her advices and suggestions during all my life. And, why not, also say thanks for all the discussions that we had in the childhood like those will have my nephews Rodrigo And Alejandro in the future. Be careful Manolo!. And Finally I would remember my grandmother Cinta I want to write another special words to my girlfriend Raquel, for her compression, but really, all the things that I should write here are two long for this few words, so I will say in the shortest way: I love You Raquel. Maybe one man is remembered by his conquests, but always is better remembered by his friends. So now, I want to say thanks to my friends in my born town Benicarlo, especially to David. During my studies in Valencia I made a lot of friends that really helped me, the list is too long to write here but there are some names that must be here. Victor, my partner in the easy labs and also in the difficult ones. Nacho and Maria, I think that these two are the smoking friends which I spend more time studying in the school. My lungs also want to say thanks. The last sentence is ironic. The last group is named only by their nick names, Miguelón and Jodarin, thanks. Please, all the other friends that are not cited in this dedication and they think that should be here do not be angry with me, when you see me in Spain remember me this and I will invite you to something for drinking. I’m also grateful to my teachers from the school, secondary school and the University for their explanations and advices. And here in Erlangen the last step in my life, thanks to Gracia for make all easier, And to my supervisors Stefan, Mercé and Juliane for their confidence in me to make this degree thesis in Fraunhofer IIS. Finally I do not know why, but I’m feeling that I must say thanks to my aunt Maria.
Embedding and decoding hidden data channels on computer displays IV Contents Chapter 1 ............................................................................................................................................... 1 Introduction ............................................................................................................................................ 1 1.1 Introduction ................................................................................................................................. 1 1.2 Motivation .................................................................................................................................... 3 1.3 Goals ............................................................................................................................................. 4 Chapter 2 ................................................................................................................................................ 6 Tangible user interface, description...................................................................................................... 6 2.1 connections .................................................................................................................................. 7 2.2 OSI vs. TUI .................................................................................................................................... 9 2.3 Game design .............................................................................................................................. 12 2.4 Movement .................................................................................................................................. 15 2.5 Token construction .................................................................................................................... 16 Chapter 3 .............................................................................................................................................. 17 Used materials, inventory .................................................................................................................... 17 3.1 Java ............................................................................................................................................. 17 3.2 The sensor .................................................................................................................................. 17 3.3 The LCD ...................................................................................................................................... 19 3.4 Audio device and Matlab .......................................................................................................... 21 3.5 Laboratory .................................................................................................................................. 21 Chapter 4 .............................................................................................................................................. 23 First experiments .................................................................................................................................. 23 4.1 System Identification ................................................................................................................. 23 4.2 Sending signals to the LCD ....................................................................................................... 31 4.3 Noise in a displayed image ....................................................................................................... 38
Embedding and decoding hidden data channels on computer displays V Chapter 5 .............................................................................................................................................. 40 Modulator ............................................................................................................................................. 40 5.1 Screen division ........................................................................................................................... 40 5.2 Add the signal to the picture ................................................................................................... 43 5.3 Synchronism ............................................................................................................................... 47 5.4 Modulation BPSK or PAM ......................................................................................................... 47 5.5 Building the frame ..................................................................................................................... 48 5.6 Programming the modulator .................................................................................................... 52 Chapter 6 .............................................................................................................................................. 55 Demodulator......................................................................................................................................... 55 6.1 Antialiasing filter ........................................................................................................................ 56 6.2 Raised Cosine filter .................................................................................................................... 58 6.3 Notch bank filter ........................................................................................................................ 60 6.3.1 Notch at 50 Hz .....................................................................................................61 6.3.2 Notch at 60 Hz ......................................................................................................62 6.3.3 Notch at the backlight noise ...................................................................................62 6.4 Symbol timing recovery ............................................................................................................. 64 6.5 Frame synchronism .................................................................................................................... 70 6.5.1 Synchronism with a different signal level ................................................................70 6.5.2 Synchronism using a Barker code ...........................................................................71 6.6 symbol detection using correlation .......................................................................................... 72 6.7 The last demodulation .............................................................................................................. 77 6.8 Symbol Equalization .................................................................................................................. 78 6.9 SNR Estimator ............................................................................................................................ 79 6.9.1 Maximum Likelihood SNR Estimator for digital Receiver. ..........................................79 6.9.2 A more practical one ..............................................................................................80 6.10 BER estimator........................................................................................................................... 81 Chapter 7 .............................................................................................................................................. 82 Results and channel characteristics .................................................................................................... 82 7.1 Channel capacity ....................................................................................................................... 82 7.2 SNR measures ............................................................................................................................ 87 7.3 BER measures ............................................................................................................................. 90 7.4 Detection of the movement ..................................................................................................... 90 7.5 Invisibility of the signal .............................................................................................................. 92 Chapter 8 .............................................................................................................................................. 94
Embedding and decoding hidden data channels on computer displays VI Future work .......................................................................................................................................... 94 8.1 Add channels to the system ..................................................................................................... 94 8.2 Movement detection ................................................................................................................. 96 8.3 Test for Health ........................................................................................................................... 97 Bibliography .......................................................................................................................................... 98 Note for the appendix ....................................................................................................................... 102 Appendix A ......................................................................................................................................... 103 A.1 Movile_15_Stations_3_Cells.java ........................................................................................... 103 A.2 Cell.java .................................................................................................................................... 103 A.3 Auxiliaryprograms.java ........................................................................................................... 104 Appendix B ......................................................................................................................................... 105 B.1 Capturesignal.m ...................................................................................................................... 105 B.2 Decodetostationused.m .......................................................................................................... 105 B.3 Fastreceiver_X.m ................................................................................................................... 105
Embedding and decoding hidden data channels on computer displays VII List of figures Fig. 1.1 Monitor and token ............................................................................................................... 2 Fig. 1.2 Simple Digital communication system ............................................................................. 2 Fig. 2.1 description of components ................................................................................................. 6 Fig. 2.10 token sensor ....................................................................................................................... 16 Fig. 2.2 LCD display showing a partitioned image ...................................................................... 7 Fig. 2.3 token sensor ........................................................................................................................... 8 Fig. 2.4 OSI vs. TUI ............................................................................................................................. 10 Fig. 2.5 TUI diagram .......................................................................................................................... 11 Fig. 2.6 Roborally logo ..................................................................................................................... 12 Fig. 2.7 RoboRally beginning .......................................................................................................... 13 Fig. 2.8 RoboRally board .................................................................................................................. 14 Fig. 2.9 Rayleigh depth .................................................................................................................... 15 Fig. 3.1 proto-board .......................................................................................................................... 18 Fig. 3.2 schematic .............................................................................................................................. 18 Fig. 3.3 sensor spectral responsivity .............................................................................................. 19 Fig. 3.4 LCD used ............................................................................................................................... 20 Fig. 3.5 response of LCD ................................................................................................................... 20 Fig. 3.6 Audio device ........................................................................................................................ 21 Fig. 3.7 lab materials......................................................................................................................... 22 Fig. 4.1 sent delta .............................................................................................................................. 23 Fig. 4.10 Random gray levels .......................................................................................................... 29 Fig. 4.11 correlation of random gray levels ................................................................................ 30 Fig. 4.12 Periodogram of random greys ...................................................................................... 30 Fig. 4.13 Periodogram of random gray levels with back light noise. .................................... 31 Fig. 4.14 sequence of 0, 1,1,1,1 ...................................................................................................... 32 Fig. 4.15 sequence of -1, 1,0,1,0 ..................................................................................................... 33 Fig. 4.16 Back light noise ................................................................................................................. 34 Fig. 4.17 Filtered signal .................................................................................................................... 35 Fig. 4.18 Zoom in filtered signal .................................................................................................... 36 Fig. 4.19 Spectrum of received signal and filtered ..................................................................... 36 Fig. 4.2 Received delta ..................................................................................................................... 24 Fig. 4.20 received signal without backlight noise ...................................................................... 37 Fig. 4.21 spectrum of received signal without backlight noise .............................................. 38 Fig. 4.22 autocorrelation of the noise .......................................................................................... 38 Fig. 4.23 noise’s DEP ......................................................................................................................... 39 Fig. 4.3 FFT .......................................................................................................................................... 24 Fig. 4.4 FFT .......................................................................................................................................... 25 Fig. 4.5 Zoom in FFT .......................................................................................................................... 26
Introduction Embedding and decoding hidden data channels on computer displays 3 modulator is only software that gets the position and code it, to brightness levels in the screen, for example. This part is all made in Java and a detailed description will appear in his chapter. The channel and his noise is the joint of the problems that has the screen displaying the signal (inclusive a little memory channel) and the some noise that is added to our signal, this noise can be external light sources (sun, lamps, … ), and finally some AWGN. The demodulator will be an all-digital receiver, because the sensor it’s a light sensor and has an ADC placed near this sensor, later, I will write a little description of this, but a detailed description of this is written in [1]. When we have the signal in the token we are going to make the normal processing in a demodulator, to get the sent information. For the moment, I want to say that this part has the physical part of the sensor and one OA. This thing is connected to the USB-Audio capture. And this sampled data is read by the computer using Matlab. Finally the version of the demodulator is all build in Matlab. This process will be explained in the correspondent chapter. This architecture has to be implemented embedded the game development, in order to have a good response of the whole system. 1.2 Motivation Looking at the introduction our system is like a communication channel, which we have to model and control. The task is to transmit the information of the position as fast as possible; this will be the hardest problem of the system because we are limited by the refresh rate of the screen (in our case 60Hz). But for the future we have to break this barrier, In the future work I will explain the methods for this. One is put then information in the three colours of the monitor (RGB system), for the moment we only work with brightness levels. We have to make some experiments for modelling the channel, and find the correct form for sending data, so I will try to find the ideal modulation for this channel, and the frame data that avoid more errors in the channel and has the minimum length for a faster transmission. Another task is the implementation of the modulator and demodulator, for this I need to remember and read a lot of theory of signal transmitters and receivers. But this is a good goal to be sure that the concepts that I learned in my home university works in the real life design.
Introduction Embedding and decoding hidden data channels on computer displays 4 In this thesis we have the problems that have the normal communication system and the problems that the game design has, so we have to look closer to the integration of these two topics in the global system. Finally the project all together is a very big one, it is impossible to build by only one engineer, so it’s important team-work to arrive at the correct solution. In this case it is important to work with the person that makes the acquisition toolbox of the token. Because in this thesis, I’m going to work with the signal that the token detects. 1.3 Goals For a good definition of the goals, in the beginning I will describe the thesis goals like it was only a single project and then we have to make the integration of this in the game architecture. The most important goal on this topic is to find the position of one token that is placed on one screen. In order to achieve this goal, we can only use embedded video signal in the screen. For the beginning the image displayed in the token will be a static one, but it can also have little moving parts, without affecting the correct signal transfer. Later implementations will work in a non-static image (video). This detection has to be made as fast as possible because it has to be implement in the control routine of the game, and if we want to make a playable game, the players cannot spend a lot of time waiting that the computer says, in which position are they tokens, and the next instructions for this positions. This is one of the most difficult problems to solve, because our transmission rate is limited by the refresh rate on the screen, and we are also limited to use only baseband signals for the solution. Finally the repertory of baseband modulations is sufficient for finding one good for us, however these modulations has to accomplish to things, one is to transmit data at high velocity but it’s important to be invisible to the human eye. This topic will be written in the modulator part. As I said before, for the player the signal has to be invisible for playing, because a flicker screen will be very uncomfortable, for a nice playing with the game. This is the second problem to solve. So for the correct solution of the project we cannot think in this problems separately, because they have more relation that at first sight we can find.
Introduction Embedding and decoding hidden data channels on computer displays 5 According to theme of finding the token in the screen, another important topic is the question what have to make if the token is in the middle of two areas? The translation of this topic for an engineer is what we must do if we have two signals contributions. In this case the solution is using code words that when we add them the result will not be a third word. So this is will create another reduction of available codes for our system. Instead of normal codes, we must use orthogonal codes which satisfy this goal. Another task is that our system has to adapt to a lot of different families of computer displays, this problem is quite easy to achieve because we use the Java platform.
Chapter 2 Tangible user interface, description This thesis is placed in the Tangible user interface from now TUI, this project has to build some way of communication between one computer display and some tokens which the user move through the screen. As the reader can see in the picture. Fig. 2.1 description of components So the main elements that we have to control for this project are the screen which in this project is the thing that sends the signal to the token. The signal reception for the token.
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 7 2.1 connections The connection between the display and the computer is the normal connection for a pc. So in this case the only thing that we must build is the signal to send to the LCD. But not only for this we have to allocate this signal in the screen with the acknowledge of two things invisibility for the human user and good transmission for accomplishing our goals. The second channel here is the connection between the screen and the token. This channel is the capital channel in this thesis. The token is able to read the signal on the screen because it has a six-element photodiode array in front of the display. This display looks directly at the LCD. And is able of reading the changes of luminance that has the computer display. In this picture the lector can see the screen a normal pc LCD and the token. Fig. 2.2 LCD display showing a partitioned image
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 8 Fig. 2.3 token sensor Immediately connected to the token is the operational amplifier which amplify the signal. For the moment I can only use one of the six sensors that has the photodiode. But this is not a problem for a correct communication between the token and the LCD. But in the future the token will be able to read all the 6 sensor and work as a Multiple Input Multiple Output (MIMO). The token will be like a smart antenna and with the addition of beamforming processing for these signals we can get the advantages of this systems for the correct location of the token in the screen, and will be easy to solve the problem of the token placed in the middle using this technologies. Another task of this channel is sampling the signal for the digital processing, so in this case I will recommend the allocation of one anti-aliasing filter before the ADC. Or make a little of oversampling in order to be sure of taking samples at the Nyquist rate as minimum. On the demodulator chapter I will explain it in more detail. Finally, the last channel in this project is the connection between the token and the computer. The mission of this channel is to transmit the signal to the computer or maybe the position if in the token we can program the demodulator, in this moment this is a little far away of our position, but maybe in the future. The chosen protocol for this task is RFID; in my opinion is a very good selection because, obviously, we cannot put a wire in every token to connect them to the computer. So we have to use wireless technologies. The study, of which wireless protocol is better for this case, is far away of this thesis. The only requirement is that the transmitted signal carries the information read by sensor.
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 9 2.2 OSI vs. TUI In the next picture we can see how our system should work compared to the seven layer OSI reference system. For our system we do not use the seven layers but really this not a problem of organization or another thing. To demonstrated that the lector only have to think in the Internet model, also called TCP/IP model. For the readers which do not know this I would say that this system only has four of the seven layers and everybody knows that internet is a good way for communication between people. In our case the application layer interacts with the user, in three different ways, one is showing the game board to the user, in this board we must embedded the invisible signal, the second one is the information of the game, when the positions of the tokens are calculated, the game have to give new instructions to the players. And finally is that the user can play with the token a really move them. The next layers are transparent for the user but they are necessary for a good development of the game. In the Session layer we have to divide the screen in the areas that we need, for example game boxes, limits, different scenarios … And then assign one unique code which defines without error this cell. So we can distinguish this box from the others. Then when we have this, we must build the frame that supports this information. At this point the thing that we make is to code this logical information to light information in the pixels of the screen. In the data link layer, we add the synchronism and security to our frame. Then we do not make anything more to our signal. We only wait for the signal acquisition after the screen displayed the signal. The only thing that we must control here is that the transmitted signal is invisible for the human eye. This part that I have already described is our modulator, this is all made in java and a further description will be done in the correspondent chapter. This part is only placed in the computer so it will be only software for me. In order to achieve that this system must be multiplatform, the programming language is Java.
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 10 OSI PC Screen Token PC Application Game Game Board -------------------- Game Presentation --------------------- --------------------- Session Cell assignment --------------------- --------------------- Cell decode Transport --------------------- --------------------- Net -------- ---------- Cell decode Data link Walsh, sync… -------- ---------- Physical wire EO O OE RFID RFID Fig. 2.4 OSI vs. TUI The next item is the LCD display, for us is the most difficult to control, maybe in the future, we must program the modulator with a low level language that has more control on the screen features. For this part the control that we have is the value of the RGB that each pixel has to show, when the screen changes, the refresh rate. Really the description here that makes the screen is the transformation of the Electrical signal from de control unit to an optical signal, this signal is the sum of the game board and the embedded signal that divide the board, in many areas. The last signal is the most important in this topic, but to make a good occultation of this signal, we must take a closer look to the displayed game board. The next part is the token, the token is already constructed, and so for us is only a software modem, which has the three main functions. First of all capturing the signal, then process it to get the data, and finally transmit this information to the PC. So, in a telematic way we can think on it, like it was only a simple router that has the function of the translate protocols, from the screen to the pc, i.e. capture the signal and put it in RFID frame for transmit it to the computer. And can also work with the frames of the received signal in order to extract the coded information.
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 11 Now the token is only able to get the signal and amplify it, so the process for demodulation is made in the computer. It has to get the frames and decode it in order to extract the information. In the data link layer, it removes the synchronism and the redundancy that has the signal for a security transmission. And finally get de coded position. Then it passes this information to the superior layer. With this information the session layer, elaborates the next set of instructions that has to make the next player. And finally show it in the Game board or in another screen. This diagram is a summary of that PC GAME LOGIC LCD TOKEN PLAYER WIRE RFID SEE THE MAP READ NEW ACTIONS MOVEMENT OPTICAL Fig. 2.5 TUI diagram To sum up, the topics that cover this thesis are painted in green in figure 2.4, we have to find a good codification for the position, this means that we are going to use an smart data structure that using the same bits as other data structures; with this we can code more positions. And then transmit this signal without the player can detect them; finally get the signal and say: ‚your token is in the door of the castle‛. Or something similar but corresponding to our game. This part is the project collect localization in the Tuirender project. A little summary of the others parts follows.
Tangible user interface, description Embedding and decoding hidden data channels on computer displays 12 2.3 Game design The chosen game for this is Roborally, this game is build in Java and a full description of rules, game development programming and manual for players is in Game design : The RoboRally Board Game [3] . Fig. 2.6 Roborally logo For us the only thing that we are going to see is the embedded signal that we will put in each game box, the game board is an static image but with some animations, for us this animations will be noise for the signal, but really it’s not annoying so much. Because it looks like a very sequential game, so at the end we look for the positions without any animation. In this game, the robots must find some items placed on the board, the robot’s movements are assigned to each robot with cards. The next pictures are some screen captures of this game.
Used materials, inventory Embedding and decoding hidden data channels on computer displays 19 Fig. 3.3 sensor spectral responsivity 3.3 The LCD The LDC display that we are going to use is the Samsung Sync Master 193T, this is a normal screen for a PC, this was chosen because if set full brightness we do not have Backlight noise which is a good advantage, furthermore in this thesis we also can demodulate the signal with some of backlight noise, we can add it if we put the screen bright not in the maximum position. The maximum refresh rate that we control is 60 Hz, It’s very slow so for new applications will be good to use another screen with faster refreshment rate.
Used materials, inventory Embedding and decoding hidden data channels on computer displays 20 Fig. 3.4 LCD used The spectrum of the signals that send the LCD of Samsung display family is Fig. 3.5 response of LCD From one simple inspection of this picture we can deduce that the sent signal and the receptor work in the same ratio of frequencies. Finally, the unique thing for making this thesis must know is well explained in the Wikipedia site [6], really not more data is needed. That the reason that I do
Used materials, inventory Embedding and decoding hidden data channels on computer displays 21 not explain, how an LCD works, because there are a lot of explanations in the literature and I did not make a very intrusive study of this topic. 3.4 Audio device and Matlab The audio device that I use is the USB AUDIOCAPTURE UA-25 EX, it can provide sampling frequencies until 96KHz and precision of 24 bits, the chosen sampling frequency is 48Khz and we can work with a down sampled signal, If we put the audio device at other frequencies we do not have good results, so we get this signal and then make downsampling using a good software anti-aliasing filter which I think that is the main problem here. We have to forms on managing this device with the Java project Masound and from Matlab commands, the second is a non finished project so we can not set any parameter only get sampled signal at 48 KHz, and the other is directly from Matlab commands, both of them are good for this project. Fig. 3.6 Audio device 3.5 Laboratory For the power supplying I use the DC power supply PE1542, from Phillips, This is used, basically, to get de DC power that needs the OA
Used materials, inventory Embedding and decoding hidden data channels on computer displays 22 And in order to get fast measurements of the signals we also use the four channel digitizing oscilloscope TDS 510 A from Tektronix. Fig. 3.7 lab materials
Chapter 4 First experiments In this chapter I’m going to show you some experiments the most important ones, and measures that I made, first of all I want to say that this is not an extensive study of the LCD displays, there are only some experiments in order to characterize the signal that comes from the LCD to the token. For the response of the sensor you can look at [1], and there you can find an extensive analysis for features like difference sensitivity for each colour … 4.1 System Identification In order to find the response for our system, I will use two things; one is send a delta signal, for this I will send first 30 black frames then one white frame and finally 30 more black frames. Fig. 4.1 sent delta 010 20 30 40 50 60 70 0 50 100 150 200 250 300 NUmber of frame 256 gray levels white value
First experiments Embedding and decoding hidden data channels on computer displays 24 And then I will catch the received signal. This signal is one second long and has 60 frames 1 white and the other black, now you can see the received delta. Then we can say that the signal is causal because is zero but it’s not zero after the delta, let’s find its response in frequency. Fig. 4.2 Received delta Fig. 4.3 FFT 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 x 104 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 Delta recieved N samples Fsa=48KHz -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 x 104 0 0.005 0.01 0.015 0.02 0.025 Frequency Hz abs(fft(delta))/Fsampling
First experiments Embedding and decoding hidden data channels on computer displays 25 In the last picture we can see that our system has response in the low frequencies and it’s a narrow band system. Now we are going to see the FFT but with making the logarithm and some zoom. Fig. 4.4 FFT Now we can see that has lobules, it is decreasing except our in the middle the low frequencies, finally I’m going to make more zoom in order to define some parameters. In the next figure we can see that the lobules of that sinc is near 60 Hz, this is in that way due to the refresh frequency of the LCD is at 60 Hz, so I ‘m getting here the frequency response of one signal that is a digital pulse this is the reason of this spectrum looks like a sinc. So the duration of our pulse is 1/60=16.7 ms. Finally you can see that there is a pole in the zero frequency, this pole is caused by the audio device, but will be better for us not having it, because our signal will be in the range of 0 to 60 Hz. Finally I repeat the experiment but adding the back light noise to the signal. The back light is produced because the LCD cannot turn on at the same time the LEDS from red, green and blue, it generates some high frequency when it turn on and turn off this LEDS during the time that it shows the picture on the screen. -2500 -2000 -1500 -1000 -500 0 500 1000 1500 2000 2500 -40 -30 -20 -10 0 10 20 30 40 50 20log10(abs(fft(delta))) frequency Hz
First experiments Embedding and decoding hidden data channels on computer displays 26 Fig. 4.5 Zoom in FFT Fig. 4.6 delta with back light noise -100 -50 0 50 100 0 10 20 30 40 50 X: 56.5 Y: 32.28 20log10(abs(fft(delta))) frequency Hz X: 112.5 Y: 7.784 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 x 104 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 delta with back light noise N samples received
First experiments Embedding and decoding hidden data channels on computer displays 27 Fig. 4.7 FFT of delta with backlight noise In the above picture, you can see that this signal has more harmonics, that without the backlight noise Fig. 4.8 logarithm of the FFT -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 x 104 0 0.005 0.01 0.015 0.02 0.025 -400 -300 -200 -100 0 100 200 300 -10 0 10 20 30 40 50 60 X: 317.5 Y: 61.48 X: 60.5 Y: 25.06 Frequency Hz 20log10(abs(fft(delta)))
First experiments Embedding and decoding hidden data channels on computer displays 28 In the last picture, you can see what exactly produce the backlight noise, basically a tone centered in 317 Hz, so you can deduce that all the information in the range of 0 to 60 Hz, so an idea for remove this it’s use a low pass filter. In other to see better the FFT of the delta, I’m going to winnowing this received signal with the hamming window. Fig. 4.9 logarithm of the FFT In the above figure we can confirm our expectations, the peaks are narrower and centered to this frequencies, and you can see that there are filtered values near 0 and 50 Hz this is due to the audio device. But you can see that the information between 0 and 60 Hz is easy recovered using one low pass filter to filter the peak at 317 Hz Another experiment is to send random values to the display, in this case I will send random gray levels, this gray are in the rage of 120 to 150, this range is inside the gray range of 8 bits gray, which means 0 is black and white is 255. If I send this the signal that I receive is like that 050 100 150 200 250 300 350 400 -20 -10 0 10 20 30 40 50 X: 60.5 Y: 23.62 X: 50.5 Y: 13.87 X: 317.5 Y: 56.84 X: 150.5 Y: 18.45 frequency Hz 20log10(abs(fft(signal))) Low frequencies filtered
First experiments Embedding and decoding hidden data channels on computer displays 35 Fig. 4.17 Filtered signal The figure above shows that we have one signal with Backlight noise, and I apply a low pass filter at 60 Hz, then you can see that, the backlight noise disappears, for better explanations of that take a look on the next figure, I make a zoom in. In the next figure we can see that the signal has some kind of AM modulation at the carrier frequency of the backlight noise, so when I filter this signal it disappears. Because I can get the information that is carried by the back light noise. To confirm this take a look on the spectrum of this two signals. The received and the filtered. 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -0.15 -0.1 -0.05 0 0.05 filtered with raised cosine filter 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -5 0 5 010 20 30 40 50 60 -2 0 2
First experiments Embedding and decoding hidden data channels on computer displays 36 Fig. 4.18 Zoom in filtered signal Fig. 4.19 Spectrum of received signal and filtered 1 1.02 1.04 1.06 1.08 1.1 1.12 1.14 1.16 1.18 1.2 x 105 0.2 0.21 filtered with raised cosine filter 1 1.02 1.04 1.06 1.08 1.1 1.12 1.14 1.16 1.18 1.2 x 105 -6 -4 -2 0 2 4 80 85 90 95 100 105 -1 -0.5 0 0.5 050 100 150 200 250 300 350 0 20 40 60 050 100 150 200 250 300 350 0 2 4 6x 104 frecuency Hz
First experiments Embedding and decoding hidden data channels on computer displays 37 Last figure shows the range of frequencies from o to 350, we can see that the first has a tone on 317 Hz, but when I apply a Low pass filter this disappears, and only has the information. Finally I’m going to make the same but, this time; the signal will not have the backlight noise. You can see that the recovered signal and spectrum is the same as the signal as I showed before. Fig. 4.20 received signal without backlight noise 1 1.02 1.04 1.06 1.08 1.1 1.12 1.14 1.16 1.18 1.2 x 105 -0.01 0 0.01 filtered with raised cosine filter 1 1.05 1.1 1.15 1.2 x 105 -5 0 5 110 115 120 125 130 135 -1 0 1
First experiments Embedding and decoding hidden data channels on computer displays 38 Fig. 4.21 spectrum of received signal without backlight noise 4.3 Noise in a displayed image Finally, this measure will indicates which are the properties of the noise that the sensor receives while in the screen is displayed an static image. This image is loaded by the java JFRAME. In order to measure the properties I plot the autocorrelation Fig. 4.22 autocorrelation of the noise 050 100 150 200 250 300 350 0 0.05 0.1 050 100 150 200 250 300 350 0 2 4 6 8x 104 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 x 105 -4 -2 0 2 4 6 8 10 12 14 x 10-6
First experiments Embedding and decoding hidden data channels on computer displays 39 In the last figure you can see that is the expected plot for an AWGN so I will model the noise of this type the power is 12e-6 Watts, so really is very low the problem is that when the image changes the screen ads more. Finally you can see the density spectral power of this random process. The important thing here is that is bigger at the refresh rate, and in 50 Hz, this is coming from the power net. The red mark is at 60 HZ and the green at 120 and finally the yellow at 180 Hz. Fig. 4.23 noise’s DEP -500 -400 -300 -200 -100 0 100 200 300 400 0 0.002 0.004 0.006 0.008 0.01 0.012 0.014 0.016 0.018 0.02
Chapter 5 Modulator In this chapter, I’m going to show the features that has the modulator for this thesis. In this case the modulator make the same as the normal modulation, however I add two functions more one is the function of divide the screen in some part in order to find the position of the token, and the other is also assign one orthogonal signal in all the neighbourhood boxes. Another extra function is to synchronize the signal to send with the refresh rate of the LCD display, But this thing is made by the Java frame [22] working with full screen so we only use the Java features for send a new image every time when the LCD refresh the image that is shown. This is not the unique reason to choose Java platform, another important one is the possibility of using the programs written in Java in a multitude of computer Platforms. 5.1 Screen division This part is really working with geometry, and the main point here is to find some type of grid, that when we apply it to one game board, and we place on it one token we can have to possible situations this are shown in the next figures.
Modulator Embedding and decoding hidden data channels on computer displays 41 Fig. 5.1 Token in the grid In the above figure the token is well placed in the middle of the grid, so it only will receive one signal coming from the board. However, the player can put the token not in the middle of one box, it can be placed in other bad places that show the figure, You can see in the next figure that the token on the left is placed above two boxes so it will receive the signal that comes from two boxes so it will be a problem, The second token in the right side is placed, but really he has a worst position that the first token, because it will receive the contributions of the four signals that are coming from the four cells that it has below of it. Fig. 5.2 tokens in the board That means that will be good for us to find the structure that doesn’t matter where the token is placed but it generates the less number of interference signals. This case is well solved in the mobile communications and the hexagonal grid, if for the division of the board I use and hexagonal grid doesn’t matter the place that I put the token it can only see one maximum of three different signals.
Modulator Embedding and decoding hidden data channels on computer displays 42 Fig. 5.3 Token in one hexagonal grid So this is the main reason for the use one hexagonal grid. In this case we only need three different orthogonal signal in order to separate the three contributions that can receive the token. But what happens if we cannot use this geometry and we need to use square boxes, or another distributions which is more irregular, the problem now is how many orthogonal codes we need in order to realize the task that doesn’t matter we put the token it can separate all the contributions, in order to separate this contributions we need that every contributions must be an orthogonal to the others, so at the first sight of this problems we can think that we need a lot of orthogonal codes. But that is not necessary; we can use the result of one famous theorem. The 4 colours theorem, this theorem demonstrates that doesn’t matter how irregular is one map, if we have four colours we can paint it and separate all the areas. So we only need four orthogonal codes for each map, then if we have four orthogonal signals, we can distribute it on the grid and we can accomplish that will be a different orthogonal signal in every boxes that are placed together.
Modulator Embedding and decoding hidden data channels on computer displays 43 Fig. 5.4 Four colors You can apreciatte it on the above figure. Finally when we have divided the screen the only thing that have to make is send to each division one different code and then if one toke receive one code, is inmediate to know which position sends that code. 5.2 Add the signal to the picture For adding the signal to the static image, we are going to use the refresh ratio of the LCD, at this frequency the display repaint the picture, so the thing that I¨m going to change from one frame to the other the brightness of the picture,i.e. if I have one pixel in RGB that have the values (127,127,127) which represents the gray color, in the next frame if I want to send a +1. I will send (128,128,128) oder for a -1 (126,126,126), if this change is sufficient small the human eye cannot see that. I we have the screen divided by hexagons in each hexagon I send one orthogonal code. For the next example I will use the Walsh code of length four, which is orthogonal, I will code the +1 with white and the - 1 with black color, this make sense because the sensor receive changes of light and if it has white light will receive positive values and for the black will receive
Modulator Embedding and decoding hidden data channels on computer displays 44 zero or negative values. But really we can codify the symbols als we want. In the next figures , we are going to show the four different images that we need to load in the LCd the four szmbols of the four walsh codes. First take a look on walsh codes. 𝑤𝑜 = +1 +1 𝑤1 = +1 −1 +1 +1 +1 −1 𝑤2 = +1 +1 𝑤3 = +1 −1−1−1 −1 +1 First divide the screen and assign the walsh codes Fig. 5.5 Screen division and Walsh code assign Then the first frame that will show the screen is this, you can see that this all hexagons are white corresponding with the +1. Let’s also put one token in one position Fig. 5.6 Frame corresponding Walsh code symbol 1 Let’s go for the next symbol, now there are two hexagons that has to show one - 1 W0 W1 W2 W3 W2 W3 W1 W1 W0 W0
Modulator Embedding and decoding hidden data channels on computer displays 51 To code the position using this type, I make the same thing as before, I code the positions and then translate it to my system of coding the positions as I made before. For example if I have one matrix 8x8 I can assign one Walsh code and the his modulated code to each column and row, and then send this information in every box inside the matrix. W0 W1 W2 W3 -1*W0 -1*W1 -1*W2 -1*W3 W0 W1 W2 W3 -1*W0 -1*W1 -1*W2 -1*W3 Fig. 5.13 code with different Walsh code in a frame. For example to code the red and blue box in the above figure I will send: Fig. 5.14 Frames for two positions Note that in this case with two codes we can codify 64 positions; if we use the first system I need 4 codes to codify the same number. Finally the last thing that we must make is code the frame to send, for this the only thing that we must make is the code the orthogonal code that we use to his representations in numbers. 1,-1,1,1 or -2 -1, -1, -1, -1 1, -1, 1, -1 Fig. 5.15 frame conversion -1*W0 Sync W1 W2 Sync W2 Sync -1*W0 -1*W0 Sync W1 -1*(1,1,1,1) Barker code or different level 1*(1,-1,1,-1)
Modulator Embedding and decoding hidden data channels on computer displays 52 In the above picture we can see the sequence that we are going to put in the screen for each pixel that belongs to re region that is coded by this sequence. So let’s see the different colours that will have one pixel that belongs to this area. I codify the -2 with black, -1 with gray and 1 with white Fig. 5.16 sequence of colour to send to the screen Really this sequence will be visible by the user, but if we only change the brightness a little the player cannot see anything. Finally you should notice that the first frame only has 9 bits and the second has 12 bits. 5.6 Programming the modulator Like I said, I use Java for send this sequence to the screen and change the brightness of the pixels, I use two auxiliary Java classes, that their function is to divide the picture, which is shown in the screen and then apply to the RGB values of the pixels of this region, the sequence that this section has, and repeat it forever. This image, that change every refresh rate thanks to Java frame Synchronization [22] at full screen. This programs are in appendix B. Finally I need one third class that creates the sequence for each region, based on the position that will have every section I will assign one different sequence to each region and send this, to each region, the flow diagram of this program is shown in the next page figure. For the assign of orthogonal codes of the hexagonal neighbours, we can use the algorithms that assign frequencies in the mobile cells. The idea is the same.
Modulator Embedding and decoding hidden data channels on computer displays 53 Program LCD Fig. 5.17 program flow In order to make a good assignment of the sequence we have to be sure that every neighbour will have different Walsh codes. Then I construct the sequence. Finally I will show how the picture and the divided screen looks like Draw the image on the LCD Divide the image in regions Assign one orthogonal code to each region, or different sequences Working pixel by pixel, modify the brightness of each region, according to the assigned sequence, +1 more brightness, -1 less brightness, and then repeat this four images forever
Modulator Embedding and decoding hidden data channels on computer displays 54 Fig. 5.18 picture in the LCD
Chapter 6 Demodulator In this chapter we are going to talk about the demodulator features. This is all made in Mat lab, but I think that it will be easy to implement all this functions in a FPGA or PIC, the literature is well documented on the construction of an all digital receiver for demodulating signals. I think that this is the correct choice for now on to the future, it has a lot of advantages versus the analogical implantation, and in [7] we can find this advantages. This systems allow for building software configurable systems and provide better stability and reproducibility. So if we want to construct one demodulator that has flexibility, for example changing the symbol duration, in a software receiver we, uniquely, have to change the symbol rate variable and the next things will be the same, loading of course the new filters or what we need. So that is the case that we will implement an all digital receiver. In the following lines I will try to show you with results, figures and words how are working the different pieces of this demodulator Our signal is a band base signal, the duration of symbol is imposed by the refreshment rate of the LCD, in our case 60 Hz, from now on fsy (symbol frequency), an our signal will be a BPSK signal but in some case we are going to have one additional level for the synchronization. To get the signal we have the sensor directly connected to the audio device, then it samples the signal at 48 KHz, and use 16 bits per sample, then I apply the anti aliasing filter in this case the anti aliasing filter and the raised cosine filter is the same, the reason is easy why I need to filter the signal to times, but this implementation In the future will be made separately. Maybe the aliasing filter has to be implemented before the ADC, so it means in an analog way.
Demodulator Embedding and decoding hidden data channels on computer displays 56 Fig. 6.1 Demodulator 6.1 Antialiasing filter The problem of aliasing occurs when we have a band limited of bandwidth W, and then convert this signal to a digital one but sampling with a lower frequency than 2*W, this limit is called the Nyquist Frequency. In our case our signal is a PAM digital signal with duration D=1/fsy, so it means by the equations of Fourier transforms that their bandwidth is at least fsy and some problems of ISI because his real spectrum is an infinite sinc. The equations that define well this signal are 𝑠 𝑡 = 𝑎𝑘𝑝 𝑡−𝑘𝐷 ∞ 𝑘=−∞ 6.1 With ak it the k-th symbol of the constellation of our signal and p(t) is the unit pulse of duration D, with (5.1) we can find their spectrum equation (5.2 shows this) if we suppose that symbols are uncorrelated in this case this is not true but for the analysis that we need we can figure out it.
Demodulator Embedding and decoding hidden data channels on computer displays 57 𝐺 𝑓 =𝜎𝑎 2 𝑃 𝑓 2 𝐷+ 𝑚𝑎 𝐷2 𝑃(𝑛 𝐷) 2 + 𝛿(𝑛 𝐷) ∞ 𝑛=−∞ (6.2) 𝑃 𝑓 =𝑠𝑖𝑛𝑐 𝑓𝐷 (6.3) Let’s plot the signals and show it for our case we have one pulse of width 16.7 ms. I set the amplitude of this pulse to one. Then I applied the Fourier transform to this function, the pulse is shown in6.1 and finally the spectrum is shown in 6.2 one sinc of 60 Hz. Fig. 6.2 unit pulse -0.025 -0.02 -0.015 -0.01 -0.005 0 0.005 0.01 0.015 0.02 0.025 -0.5 0 0.5 1 1.5 seconds
Demodulator Embedding and decoding hidden data channels on computer displays 58 Fig. 6.3 spectrum our signal So our signal will have a bandwidth near 60Hz, we notice that the minimum sample frequency using normal signal processing (use downsampling techniques for digital receivers is not necessary due the signal bandwidth is quite small) is 120 so our filter will have the cut frequency of 60 Hz in this case, in other case will be one half of the sampling frequency. 6.2 Raised Cosine filter In digital communications, we can have the problem on intersymbol interference called ISI. This problem is due to the queues of the sinc that have the perfect digital pulse, the easiest way, to solve it, is to filter our signal with the raised cosine filter, and it also helps us to conform better the pulse that we have from the screen. We also need a low pass filter for this receiver, so this is easy to implement, has the requirement of a low pass filter, with some good advantages: - Good for recovery the symbol shape - Can be implemented as a FIR filter with linear phase - Easy implementation 050 100 150 200 250 300 -90 -80 -70 -60 -50 -40 -30 -20 -10 Frequency (Hz) Power/frequency (dB/Hz) Periodogram Power Spectral Density Estimate
Demodulator Embedding and decoding hidden data channels on computer displays 59 This filter will be good not implement only at the minimum rate of sampling, it will be good make some upsampling of the signal (ten samples per symbol is enough) . this technique of upsampling before filter is sometimes used in some audio applications for having more precise filters. Now I’m going to show the filter response in time and in frequency Fig. 6.4 raised cosine filter In the above figure can see the coefficients of the FIR raised cosine filter, If we make a simple inspection of the first graphic, we can see that has linear phase, is symmetric, In the second figure, we can observe the Frequency response of our filter is similar to a low pass filters but in this case it let to pass some frequencies that allow to conform the pulse of symbol transmission. It is also good for removing the noise, that produce the back light noise because this noise is positioned at 317 Hz in my display it also remove the normal AWGN noise that is added to the signal. Now in the next to figures the lector can appreciate the comparison between the signal captured and after that filtered by the raised cosine filter, the second one is the signal but now it has back light noise, we can observe that this noise is similar to AM modulation, so we make a Low pass filter in order to obtain the band base signal. Note that in the next figure we avoid the time during the signal has a transitory state, after this picture we can work with the minimum sample rate without problem. 0 5 10 15 20 25 30 35 -0.5 0 0.5 1 1.5 2Impulse Response: Prototype Filter Normalized time nT/T Amplitude -500 -400 -300 -200 -100 0 100 200 300 400 500 -80 -60 -40 -20 0 20 Frequency Response: Prototype Filter Frequency (Hz) Log-Magnitude (dB)
Demodulator Embedding and decoding hidden data channels on computer displays 60 Fig. 6.5 signal without backlight noise filtered Fig. 6.6 signal with backlight noise filtered 6.3 Notch bank filter 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -0.02 -0.01 0 0.01 0.02 captured signal time in seconds amplitude 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -10 -5 0 5 10 filtered with raised cosine filter time in secods amplitude 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.19 0.2 0.21 0.22 time in seconds captured signal 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -5 0 5 time in seconds filtered with raised cosine filter
Demodulator Embedding and decoding hidden data channels on computer displays 67 The important thing here is only to find the desired samples in the next figure you can see the signal, and we take only the sample which is in the middle, and finally the last one who the symbols that we get from each period. The last signal is the signal sampled at 48 KHz and with a lot of back light noise. Fig. 6.13 Clock recovery. 20 40 60 80 100 120 140 0 0.5 1after squared device Normalized time nT/T Amplitude 20 40 60 80 100 120 140 -0.1 0 0.1 clock Normalized time nT/T Amplitude 20 40 60 80 100 120 140 -4 -2 0 2 4ideal times for sampling Normalized time nT/T Amplitude
Demodulator Embedding and decoding hidden data channels on computer displays 68 Fig. 6.14 symbol sampling For the end of this part, I will show you the diagram of this symbol timing recovery and then some advice for the real implementation on a FPGA or a PIC. And then I Will show you the last to figures for this part the eye diagram and the constellation that we recover from one binary signal and one 3-PAM (Pulse amplitude modulation) digital modulation. Fig. 6.15 Symbol timing recovery 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -0.3 -0.2 -0.1 0 0.1 filtered with raised cosine filter 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -4 -2 0 2 010 20 30 40 50 60 -2 0 2
Demodulator Embedding and decoding hidden data channels on computer displays 69 In my case the timing error detector is placed immediately directly the interpolator but this doesn’t affect it so much. For the implantation in a FPGA or in a PIC. I will recommend using polyphase filter banks this are well described in [11] and [12] and some similar papers that man can find in the IEEE site and I will put in the bibliography. Finally the last thing for all symbols timing recovery is to take a look for the eyediagram and the constellation. First you are going to see this figures for the 3-PAM modulation, in this figure we can see three holes instead of only two, that hole is produced for non linearity in the screen when the signal is not enough random. But the demodulator can easy recover the three signal values. The problem is that the signal has a lot of excursion nut we can solve it with some adaptive filter, but really the correlator solve this. The next figure is for a BPSK signal and we can see a very good eyediagram so know that we have well recovered the signal timing we can start with the next part of the demodulator. Fig. 6.16 eyediagram and constellation 3-PAM 2 4 6 8 10 -8 -6 -4 -2 0 2 4 6 ten samples per symbol pulse amplitude eyediagram -1 -0.5 0 0.5 1 -8 -6 -4 -2 0 2 4 6constellation
Demodulator Embedding and decoding hidden data channels on computer displays 70 Fig. 6.17 eyediagram and constellation 6.5 Frame synchronism As I said in chapter 5, the system has two ways for the frame synchronism one is sending a new level of our signal and the other is to send a Barker code. So we need two different solutions for each problem. The lector will notice that from now on, I’m going to talk with the sequence that I send in the previous parts of this chapter it was not important because at that moment the unique important thing was to receive a Base band digital signal, what we put on this signal do not have much importance for filtering the signal and recover the synchronism that we can work only knowing that the signal is a BPSK or PAM signal. 6.5.1 Synchronism with a different signal level In this case the system will receive ternary signal, two level are used for transmitting the signal and the lower level only says that this point is the beginning of the new frame. 2 4 6 8 10 -5 -4 -3 -2 -1 0 1 2 3 4 5 ten samples per symbol signal amplitude -1 -0.5 0 0.5 1 -4 -3 -2 -1 0 1 2 3 4 5constellation
Demodulator Embedding and decoding hidden data channels on computer displays 71 For this the implementation is very easy, we have to suppose that our signal no has a big fading during the frame transmission and then I must find the minimum level of this signal in that frame. And that’s all. The next figure explains this on the signal. Fig. 6.18 Synchornizer detection 6.5.2 Synchronism using a Barker code If we use a barker code for the frame synchornism, we have to proceded as the first case, i.e. the system must detect the barker code and then fix at the end of the code the beginning of the data frame. To detect this code the easy way is correlate the received sequence with the original one, this has the problem that if we have bad luck the barker code can be repeated in the middle of the data sequence if that is the case I have to find which is the correct one, by compariing the two different sequences of data, maybe sometimes this will be imposible because we also have to find what data is sended to the token, but always is chosen the one with most power. This problem is not well solved at this moment In the normal communication the system make bit stuffing, but in this case we can not do that due to the channel will lose the ortoghonality with the other channels. 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -0.01 -0.005 0 0.005 0.01 filtered with raised cosine filter signal amplitude 0.5 1 1.5 2 2.5 3 3.5 4 4.5 x 104 -6 -4 -2 0 2 4 Normalize time nTsampling/Tsampling signal amplitude 010 20 30 40 50 60 -1.5 -1 -0.5 0 0.5 1 not normalized symbols frame synchronism frame synchronism frame synchronism frame synchronism frame synchronism frame synchronism frame synchronism frame synchronism frame data frame data frame data frame data frame data frame data
Demodulator Embedding and decoding hidden data channels on computer displays 72 To show this idea the reader mus look at the picture, in this figure the picture shows that we have one symbol sequence that has some barker codes inside, we correlate this signal with the barker code 1 -1 1 1 in this case and then the red lines show that they find this sequence. Fig. 6.19 detection of barker codes The correlator is the same as used in the next section but in this case we do not know where the sequence begin so I must look at each symbol to know that. The barker code has a good response for that due to it’s response to the autocorralation function is a delta, so until the code not is the same the values will be zero. 6.6 symbol detection using correlation At this point of the modulator, I must discover which is the orthogonal code that the transmitter has send, this easy to make now, we perfectly know where the sequence begin so we do not have to look where the orthogonal code begin. 10 15 20 25 30 35 40 -1 -0.5 0 0.5 1
Demodulator Embedding and decoding hidden data channels on computer displays 73 So the unique thing that we have to make is find the orthogonal code in which the system put in the signal, this is the same as despreading the signal without the code. This topic is well explained in [14], in this case we cannot work without knowing the beginning of the sequence, the explanation is simple we do not know when the transmissions begins, the token can be placed outside of the display, so when the token is placed on the screen it would be able to find the sequence. I write an example suppose that the token is in position 5 (0101 in binary) and another position is 1010 the sequence received without synchronization will be 010101010101010101 for the first case and 10101010101101010 in the second case then if we put the token in the screen and do not know when, suppose that we put the token in position 5 it can receive 101010101010 and decode it, and say I’m in ten but that’s not true. So that is the reason, we need heathers for a correct demodulation. Normally, in the literature you can find examples of despreading without the code without having synchronism. For us we make the same and another approximation, in our system we only use four orthogonal codes, so really we can correlate the signal with each of these codes. With these bases we can construct our demodulator, as shown in the figure: Fig. 6.20 correlator In the system the symbols r(t) or the orthogonal sequences, are correlated by the orthogonal sequence that can be sent, then if the multiplied signals are not the same the result will be zero, in this case it’s impossible because we have noise. Then we normalized each path with the correspondent power of his sequence, and finally there will be one that will have more power than the others. So that code is the code that we suppose that the transmitter has sent to us. In the next figure is shown the output of the four path correlator, in this case the possible sequence is one of the four Walsh codes remember from the modulator chapter.
Demodulator Embedding and decoding hidden data channels on computer displays 74 𝑊𝑥 = 1 1 1 1 1 −1 1 −1 1 1 −1 −1 1 −1 −1 1 (6.8) With the idea of only show how work this correlator. I will divide the screen in for parts, then I will send to each division one different Walsh code, putting one synchronism symbol in each code then, this signal will be received for the other parts of the demodulator to finally arrive here. I start with the captured signal, but directly with symbols. I move the token in the middle the simulation, the reader can notice this movement in the picture of the received symbols Fig. 6.21 divided screen
Demodulator Embedding and decoding hidden data channels on computer displays 75 Fig. 6.22 Received symbols The first symbols are placed in the green part of the screen, and the next position is the yellow part, the signal has the same level of colour in the pixels but the sensor receives more power in the yellow part, the second one than in the green, the first symbols. Then I put these symbols into the correlator 0100 200 300 400 500 600 -40 -30 -20 -10 0 10 20 30 40 50 n received symbols amplitude of symbols movement
Demodulator Embedding and decoding hidden data channels on computer displays 76 Fig. 6.23 correlator output In the above figure you can see the output of the system’s correlator. From this picture you can say that in the beginning the token was in the position that sends W1 then we can notice that in some time the token was not placed on the screen, and finally we can say without doubt that the token was placed on the part of the screen that sends the Walsh code 2. For the next example we put the token in the middle of the regions that I move before the output of the correlator is that you can notice that our signal has contribution from this two signals so now, you can say that the token is in some place between this two regions. For the ending with this topic, I want to say that another way to find the code that the display send is using Fast Fourier Transforms, Here is difficult to implement because the sequences are too short, but like it’s explained in [15], it looks that would be nice to be implemented here. 020 40 60 80 100 120 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 N received walsh codes normalized correlation W0 W1 W2 W3
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 83 1,1,-1,1 or -2 -1, -1, -1, -1 1, -1, 1,-1 Fig. 7.1 example of frames The frames consists in one part of synchronism, (one or 4 symbols), and then a succession of n orthogonal codes, that each of them use 4 symbols. This n depends of how many positions we need to code as said equations 7.1 and 7.2. That has been deduced in chapter 5 𝑁= 4 ∗2𝑛 (7.1) 𝑁= 4𝑛∗ 2𝑛 (7.2) So if we need 64 positions, using the same Walsh code in each frame, this is equation 7.1 I need to put n=4, and for the use of different Walsh codes in each frame I need 2 Walsh codes per frame. So the duration of one frame will be 𝑇=𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑠𝑦𝑛𝑐𝑟𝑜𝑛𝑖𝑠𝑚+𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑖𝑛𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛 (7.3) The last equation describes how much time I need for send one position. The duration of synchronism is the n symbols that we use for synchronism divided by the refresh rate of the LCD Fr, In this case is 60Hz. 𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑠𝑦𝑛𝑐𝑟𝑜𝑛𝑖𝑠𝑚 =𝑛_𝑠𝑦𝑚𝑏𝑜𝑙𝑠 𝐹𝑟 (7.4) And for the duration of information is if I use n orthogonal codes of length 4 and I can use the four codes 𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑖𝑛𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛 = 𝑛∗ 4 𝐹𝑟 (7.5) So for example, we are playing chess, so I need 64 positions, the number of Walsh codes that I need if I can use different codes is 2 and the number that I need using the same code is 4. So finally the duration of information is 2*4/60=133.3 ms in the first case and 4*4/60=266.6 ms for the second place. Finally at this time I must add the time for sequence of synchronism that it can be 1/60 or 4/60 seconds. -1*W0 Sync W1 -1*(1,1,1,1) Barker code or different level 1*(1,-1,1,-1)
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 84 So the minimum time is if I use the optimum code of different Walsh codes in a frame and one symbol for synchronism. This is 150 ms and for the worst case using 4 codes and a long sequence for synchronization this is 333.3 ms. so in an ideal case we can calculate 6.6 positions per second. Due to the low pass filter that has the audio device, I cannot use the four Walsh codes, so it limit me to only use three so I need to put words on each frame to code the 64 positions or to use another orthogonal codes. To increase this we can think in smarter codification of the position. But one thing that really decreases this time will be use LCD that has faster refresh rate. Because in that case the duration of the symbol will decrease and the sequence will be faster to transmit. The reader can also think that one thing is to use more orthogonal sequences, but since we apply the BPSK modulation to the orthogonal sequence this doesn’t solve the problem. The answer is easy, for having k orthogonal sequences, the length of this sequences must be k, so for example if have Walsh codes, 4 orthogonal sequences have 4 symbols, 8 have 8 symbols, 16 have 16 symbols and so on. So let’s make the operation. We need to codify 100 boxes in the screen, so if we use 4 orthogonal codes we need to use 3 of them, if we use five we only need two of them, if use six also two, for 8 also two. But then if we translate it to bits in the first case I need 12 bits, in the second 10, in the third 12 and for the last I need 16, so really the gain it’s only in one case. Now the reader can see this, in the next figure, I’m going to show positions that I can code versus codes I need, and then bits I need per number of positions. Fig. 7.2 computation of 7.2 0100 200 300 400 500 600 700 800 900 1000 0 0.5 1 1.5 2 2.5 3 3.5 4 number of different positions Number of orthogonal codes per sequence length 4 length 8 length 16 length 32
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 85 In the above figure we use 7.1 to calculate how many Walsh codes I need, giving the positions that I divide the screen, as logical the one that needs more is the Walsh code of length four because it only has 4 codes, but if translate this to the bits that we need to send the sequence, this is the one that need less bits. Fig. 7.2 translate to used bits The same thing we have for 7.1 Fig. 7.3 translate to used bits 7.1 0100 200 300 400 500 600 700 800 900 1000 0 10 20 30 40 50 60 70 number of different positions bits per sequence length 4 length 8 length 16 length 32 0100 200 300 400 500 600 700 800 900 1000 -200 -150 -100 -50 0 50 100 150 200 number of different positions bits per sequence length 4 length 8 length 16 length 32
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 86 So really we must use the shorter Walsh codes for saving bits. It’s like the BPSK term 2^n makes some compensation, because is sure that with only four Walsh codes. We can form fewer combinations that with 8, but also with 8 we can form less combinations of this term that with 4. So this is the explanation, will be a good exercise to demonstrate it mathematically. In 7.3 we can see that. This is only for Walsh code of length2𝑘. 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑏𝑖𝑡𝑠 = 𝑐𝑒𝑖𝑙 𝑙𝑜𝑔2(𝑁_𝑝𝑜𝑠𝑖𝑡𝑖𝑜𝑛𝑠) 𝑘+ 1 ∗2𝑘 (7.3) So the best way for improving this, is modify the refresh rate to one higher. In this moment the system that works without significant errors is one that uses three orthogonal sequences of length four. The type of frame is repeating the Walsh code and I divide the screen in 48 cells. I have to remove one orthogonal code because it was continuous and the audio device filters that code. I use a different level for synchronism so the time that I need to send the full sequence is 𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑠𝑦𝑛𝑐𝑟𝑜𝑛𝑖𝑠𝑚 =𝑛_𝑠𝑦𝑚𝑏𝑜𝑙𝑠 𝐹𝑟=16.7 𝑚𝑠 𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑖𝑛𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛= 4 ∗4 𝐹𝑟=266.7 𝑚𝑠 𝑇=𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑠𝑦𝑛𝑐𝑟𝑜𝑛𝑖𝑠𝑚+𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛 𝑜𝑓 𝑖𝑛𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛=283.7 𝑚𝑠 Finally, in the Matlab implementation of this receiver, I need the double and two symbols more time, this is (17+17+2)/60, so I need near half a second. That is due that I do not know when the frame begins so in other to be sure that I can get a complete frame I must wait all this time looking at the channel. But in real time implantation it’s not necessary if the token is always looking at the channel. If not, the thing that we can make is waiting only the time that the displays need for sending all the frame and add two symbols more. Then we know the begin of one frame , and we also know that the cell always is sending the same frame so the only thing that I must make is some permutation of this cached symbols to get the frame in the correct order. With these results, I want to say that at this moment, this is good for localization games that are quite static, like strategy games (i.e. Risk, chess). But if the system needs to be implemented in fast skill games, for example put the token in that place then put another here, then the other…, it has to be implemented at the end of the token movement, and then check if the position is correct. This is also because the token needs that during this time the signal that it received was stable. If not, it has errors and fading of the signal.
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 87 7.2 SNR measures I made only this measures for some boxes in the cell, I put the token in two different positions, in the middle of the cell and then in the boundary of that cell, where I have interference signals. I put the token in the cell of column 5 and row 3, the estimated and received signal is shown below Fig. 7.4 Received and estimated signal You can see the variation of the received signal, and inclusive two errors in the symbol, but thanks of the detector by correlation and of using the same Walsh code the system can correct that 0 2 4 6 8 10 12 14 16 -1.5 -1 -0.5 0 0.5 1 1.5 Normalized symbols 16 symbols of the frame Received symbols Estimated symbols
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 88 Fig. 7.5 SNR measure We apply Maximum likelihood estimator, really this method don’t apply any normalization of the symbol, but my supervisor consider to apply always at the entry of the system, so I divide always by the maximum symbol, finally the SNR has a lot of variance. The problem is due to synchronization using another level, so will be better to implant it with Walsh codes. At this point our group think that the problem is due to the audio device, because in the oscilloscope we can see it better, so the problem is that the audio device filters the low frequencies. Then I’m going to show the SNR when I receive two signals, not in the middle of the hexagon like before. I put the cell between the cells 3 and 4 of the row 4, The system detect the (4,3). The estimated and received frames are shown. In the next figures. Really in this case it’s difficult to decide which symbol the system send, but the correlator detects it. Now the system has decreased the SNR because it has two signals so one is only interference. for the system 010 20 30 40 50 60 5.5 6 6.5 7 7.5 8 SNR DB receiven frames
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 89 Fig. 7.6 Received and detected signal Fig. 7.7 SNR 0 2 4 6 8 10 12 14 16 -1.5 -1 -0.5 0 0.5 1 1.5 symbols of frames received Normalized signal 010 20 30 40 50 60 3.5 4 4.5 5 5.5 6 Received frames SNR DB
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 90 7.3 BER measures To make a good SNR measurement will be necessary, because I do not have enough time for making and accurate BER analysis of this system. The measures that I made are quite good for this system. I made two types the first is that has best results because it’s when the token is static and catching the received signal all the time, this has not errors and for some cells the BER is lower than 0.01 %, there are cells that this is increased until 1-1.5 % of errors. In this case this is very rare but exists so it will be remove in future implementations. The other is the sensor only looks the channel the time for catching two frames and this has 1 % of BER. For making this measurement I put the sensor in one area that I know the signal, and compute the errors that I have when the signal is received and divide it by the number total of measures that I make and that is the BER. So will be interesting to make some BER analysis for different images and codes 7.4 Detection of the movement Like I said before, the token must be static during the time that it is looking at the LCD and waiting for the full sequence. Really this is not true if the area which one the token is moving, if has the same the brightness the token can detect it, but when the area has a lot of brightness change for example has one black colour opposite to one black colour when the token move from the white to the black this is a big fading of the signal, so the token will lose all. So it’s important to adapt this changes quickly, really is difficult because the change is instantly an can only affect one bit. The next will show you one image that can happen this.
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 91 Fig. 7.8 problems with movement In the above figure you can three tokens and the direction of their movement, the ones in the left move to the right and his areas of movement has the same level, so in this case if the token move slowly, and the sequence is not so much long, it can detect it, but for the token on the left the signal will have a fading from moving the one side to the other, because it goes crossing one black area and the signal falls inside so it cannot detect this situation in the next figure you can see the fading of the signal. Please notice that if the token is static on the black area it can detect the signal. Fig. 7.9 fading signal 020 40 60 80 100 120 -1.2 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 N received walsh codes normalized correlation W0 W1 W2 W3
Results and channel Characteristics Embedding and decoding hidden data channels on computer displays 92 7.5 Invisibility of the signal I made an small test to my partners in my department, For the experiment I use this image on the LCD, I divide it on 64, and 48 cells, one using all the Orthogonal codes, and then the other avoiding the continuous code, I also use different types of synchronism barker codes and the different level, And I display the image like in the next figure, and every cell send one code. Finally I tried different RGB values of brightness. I.e. I send the same sequence but first to code and one if the level was 129 I send 130, and then I tried with 132, so the difference between levels of brightness was first only one level, then two and so on until four. I have only 256 possibilities in each colour. The results were quite fine, if I only use the first two levels of separation between the symbol 1 and -1, only few people can see this, but in a normal game that they do not Fig. 7.10 LCD display
Bibliography Embedding and decoding hidden data channels on computer displays 99 [15] Zhijin Zhao, Zheng Sun, Fei Mei, A threshold Detection Method of DSSS Signal Based on STFT [16] José Manuel Andújar Marquez, J. Lluis Pijoan I Vidal, Diseäo y construcción de un sistema digital avanzado de comunicaciones en HF, Física de la tierra 2000 [17] A. Lee Swindlehurst, Normalized Adaptive Decision Directed Equalization, IEEE Signal processing letters vol. 5 NO.1 January 1998 [18] Jorge F. Schmidt, Juan E. Cousseau, Pedro D.Donäate, Ecualización con realimentación de decisión en redes inalámbricas. [19]http://www.mathworks.es/products/filterdesign/demos.html?file=/products/d emos/ship ping/filterdesign/adaptequaldemo.html [20] David R. Pauluzzi, Norman C. Beaulieu. A comparison of SNR Estimation Techniques for the AWGN channel, IEEE transactions on communications, Vol. 48.NO 10, October 2000 [21] Yunfei chen; Norman C. Beaulieu, Maximum Likelihood SNR Estimators for digital receivers, IEEE 2005. [22] http://java.sun.com/docs/books/tutorial/extra/fullscreen/ [23] http://en.wikipedia.org/wiki/Four_color_theorem [24] Piotr Gajewsky, Channel assignment in CDMA systems with Walsh and PN coding, IEEE 2001. [25] Lipo Wang, S Arunkumaar and WEn GU, Genetic algorithms for optimal channel assignment in mobile communications, Proceedings of the 9th international Conference on Neural Information processing (ICONIP’02), VOl. 3 [26] Andreas Gamst, Homogenous Distribution of Frequencies in a Regular hexagonal cell system [27] http://spie.org/Images/Graphics/Newsroom/Imported/0016/16_fig1.jpg [28] http://www.epilepsyfoundation.org/about/types/syndromes/reflex.cfm [29] R. Neil Braithwaite, Using Walsh code Selection to Reduce the power Variance of Band-Limited Forward-Link CDMA Waveforms, IEEE 2000 [30] http://zone.ni.com/devzone/cda/ph/p/id/319 [31] http://java.sun.com/docs/books/tutorial/index.html [32]Tran Van Muoi, Receiver design for digital fiber optic transmission Systems using Manchester Coding. IEEE 2005
Bibliography Embedding and decoding hidden data channels on computer displays 100 [33] Zhan Jian, Wu Nan, Kuang Jingming, Wang Hua, High Speed all digital symbol timing recovery based on FPGA. IEEE 2005 [34] Matthew P. Donadio CIC Filter Introduction. Iowergian 18 july 2000 [35]Nidal S. KAmel and Varun Jeoti A linear prediction based Estimation of Signal-to-noise Ratio in AWGN channel. Etri Journal. Octover 2007 [36] Matthew trinkle, SNR considerations for RF sampling receiovers for phased Array Radars. University of Adelaide [37] Hua xu, Hui Zheng. The Simple SNR Estimation Algorithms for MPSK Signals. IEE 2004 [38] Di Wu, Pedrag Spasojevic, Ivan Seskar, Orthogonal Variable Spreading Factor Codes with Zero-Correlation Zone fo TS-UWB,. IEEE 2005 [39] P.S, Moharir, Ternary Barker codes, IEEE electronics letters October 1974 [40] Axel Kohnert, Alfred Wasserman, Construction of binary and ternary selforthogonal linear codes. University of Bayreuth 2008 [41] Jimmy Persson, Master’s thesis: Methods of SNR estimation from Asynchronously Sampled Data in an 802.11b System. Lulea university of technology, 2004 [42] Norman C. Beaulieu, Andrew S. Toms, David R. Pauluzzi Comparison of four SNR Estimators for QPSK Modulations. IEEE Communications letters, February 2000 [43] Marvin K. Simon, Sam Dolinar, Improving SNR Estimation for autonomous Receivers. IEEE transactions on communications June 2005 [44] Markus A. Dangl, Jürgen Lindner, How to use a priori information of Data Symbol for SNR Estimation. IEEE signal processing letters, November 2006 [45] http://www.davidsalomon.name/DC2advertis/AppendH.pdf [46] http://en.wikipedia.org/wiki/Color [47] http://en.wikipedia.org/wiki/Lab_color_space [48] Shaojun Xu, Daobem LI, Ternary Complementary Orthogonal Sequences with Zero Correlation Window, IEEE 2003 [49] Steven J. Nowlan, Geoffrey, A soft Decision-Directed LMS Algorithm for blin equalization, IEEE Transactions on Communications, February 2003. [50]Michel Rice, Fred Harris, Loop control Architectures for Symbol timing Synchronization in sampled data receivers. IEEE 2002
Bibliography Embedding and decoding hidden data channels on computer displays 101 [51] Kurt H. Mueller, Markus Müller, Timing Recovery in Digital Synchronous data Receivers, IEEE 1976. [52] Chirs Dick, Fred Harris, Michel Rice, Synchronization in Software radios – Carrier and timing recovery using FPGAs. IEEE 2000 [53] Inmáculada Hernàndez Rioja, TEMA 2 Transmisión Digital Banda base [54] Zujun Liu, Kechu Yi. Symbol timing synchronization using interpolation based matched filters. Springer published online: 7 November 2008 [55] Hong-Kui Yang, Martin Snelgrove, Symbol timing recovery using oversampling techniques. Carleton University [56] http://courses.cit.cornell.edu/bionb441/Timers/index.html [57] http://courses.cit.cornell.edu/bionb441/ [58] http://www.mathworks.com/access/helpdesk/help/helpdesk.html [59] http://www.mathworks.com/matlabcentral/fileexchange/24654 [60] Robert C. Dixon, Spread Spectrum systems with commercial applications, Third Edition. Ed. John Wiey & sons [61] Byeong Gi Lee, Seok Chang Kim, Scrambling Techniques for digital Transmission. Ed Springer Verlag.
Embedding and decoding hidden data channels on computer displays 102 Note for the appendix In these appendixes but only in the copies given inside the Fraunhofer IIS will be written the program code. For the other copies only a brief description of the codes will be written. Fraunhofer IIS consider that this thesis can be public, but I also think that the complete codes will be only for Fraunhofer IIS
Appendix A Java classes that are used with the Com.java and CombFrame.java, for setting on the screen the signal. This two classes have to divide the screen in a hexagonal cell array and then put a new image on the screen every time that the screen is refreshed. The new image is always the same background, some picture, and then every hexagonal cell change its brightness every refresh rate. A.1 Movile_15_Stations_3_Cells.java Creates the cells that I need for filling the hexagonal grid, and assign one to each hexagon. A.2 Cell.java Creates the signal which is an attribute of the cells instanced in the Movile_15_Stations_3_Cells.java. it has to set an orthogonal and different code to all the neighbours. And then it module the orthogonal code and build the frame. For building this, sometimes it has also to joint each one in stations that is why it has the static vector allstation, and assign a different and unique number to each cell when the class is instanced.
Appendix A Embedding and decoding hidden data channels on computer displays 104 A.3 Auxiliaryprograms.java This class make some operations that I need for an easy and not monolithic construction of the signal. Here are implemented the methods that modulate the orthogonal code, add continuous levels to the signal, and operates that I need with vectors of symbols.
Appendix B In this Appendix I will write the Matlab programs that are used for demodulating the signal, this are only the most representative. B.1 Capturesignal.m It captures the signal, then filter and finally recovery the symbol timing for sampling it in the correct instant. %% for loading the image disp('load the image') pause(10) disp('begin') %% channel parameters fsa=48e3; Nbits=16; fsy=60; N=1000; tcapture=N/60; %% build the channel and capture the first data channel = audiorecorder(fsa,Nbits,1,1); recordblocking(channel,tcapture); B.2 Decodetostationused.m It receives the sampled symbols, correlates with the different orthogonal codes, and selects the one that has more power after the correlation. B.3 Fastreceiver_X.m Is the final implementation of the demodulator in Matlab
Embedding and decoding hidden data channels on computer displays 106