<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://projectswiki.eleceng.adelaide.edu.au/projects/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=A1609631</id>
	<title>Projects - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://projectswiki.eleceng.adelaide.edu.au/projects/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=A1609631"/>
	<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php/Special:Contributions/A1609631"/>
	<updated>2026-04-24T18:45:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.4</generator>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1357</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1357"/>
		<updated>2014-10-29T01:49:34Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The hardware used in this project is the i.MX53 Quick Start Board from FreeScale Semiconductor. The board has a 1 GHz ARM-Cortex A8 process, 1 Gb of DDR3 RAM and a dedicated sound codec (SGTL5000).&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.MX53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]] [[File:GUIclientFilter.png | 400 px]] [[File:GUIclientNoise.png | 400 px]] &lt;br /&gt;
&lt;br /&gt;
The GUI can adjust the various parameters of the filters; such as run time, enabling or disabling noise and (for static filter mode) the type of filter.&lt;br /&gt;
The GUI can operate with a standard FIR filter or with our adaptive FIR filter.&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1356</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1356"/>
		<updated>2014-10-29T01:49:08Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The hardware used in this project is the i.MX53 Quick Start Board from FreeScale Semiconductor. The board has a 1 GHz ARM-Cortex A8 process, 1 Gb of DDR3 RAM and a dedicated sound codec (SGTL5000).&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.MX53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]] [[File:GUIclientFilter.png | 400 px]] &lt;br /&gt;
&lt;br /&gt;
The GUI can adjust the various parameters of the filters; such as run time, enabling or disabling noise and (for static filter mode) the type of filter.&lt;br /&gt;
The GUI can operate with a standard FIR filter or with our adaptive FIR filter.&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1355</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1355"/>
		<updated>2014-10-29T01:48:30Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The hardware used in this project is the i.MX53 Quick Start Board from FreeScale Semiconductor. The board has a 1 GHz ARM-Cortex A8 process, 1 Gb of DDR3 RAM and a dedicated sound codec (SGTL5000).&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.MX53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
The GUI can adjust the various parameters of the filters; such as run time, enabling or disabling noise and (for static filter mode) the type of filter.&lt;br /&gt;
The GUI can operate with a standard FIR filter or with our adaptive FIR filter.&lt;br /&gt;
&lt;br /&gt;
Below shows the other menus used in the GUI.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientFilter.png | 400 px]] [[File:GUIclientNoise.png | 400 px]] [[File:GUIclientRuntime.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientRuntime.png&amp;diff=1354</id>
		<title>File:GUIclientRuntime.png</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientRuntime.png&amp;diff=1354"/>
		<updated>2014-10-29T01:48:04Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientNoise.png&amp;diff=1353</id>
		<title>File:GUIclientNoise.png</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientNoise.png&amp;diff=1353"/>
		<updated>2014-10-29T01:47:03Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientFilter.png&amp;diff=1352</id>
		<title>File:GUIclientFilter.png</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientFilter.png&amp;diff=1352"/>
		<updated>2014-10-29T01:44:37Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1351</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1351"/>
		<updated>2014-10-29T01:32:03Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The hardware used in this project is the i.MX53 Quick Start Board from FreeScale Semiconductor. The board has a 1 GHz ARM-Cortex A8 process, 1 Gb of DDR3 RAM and a dedicated sound codec (SGTL5000).&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.MX53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
The GUI can adjust the various parameters of the filters; such as run time, enabling or disabling noise and (for static filter mode) the type of filter.&lt;br /&gt;
The GUI can operate with a standard FIR filter or with our adaptive FIR filter.&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1350</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1350"/>
		<updated>2014-10-29T01:23:21Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Project information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The hardware used in this project is the i.MX53 Quick Start Board from FreeScale Semiconductor. The board has a 1 GHz ARM-Cortex A8 process, 1 Gb of DDR3 RAM and a dedicated sound codec (SGTL5000).&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.MX53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1349</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1349"/>
		<updated>2014-10-29T00:58:04Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software Environment==&lt;br /&gt;
&lt;br /&gt;
The i.MX53 board used in our project runs a modified kernel of Linux 2.6.35.3 that can run on an ARM processor. The choice of what audio Application Programming Interface (API) was between two different API&amp;#039;s; JACK (JACK Audio Connection Kit) and ALSA (Advanced Linux Sound Architecture).&lt;br /&gt;
&lt;br /&gt;
We choose JACK because it is a much higher level API, as well as specializing in low latency operations, which is very important for our project.&lt;br /&gt;
JACK allows us to change various parameters of the i.MX53&amp;#039;s audio codec, such as sampling frequency and frames per period, allowing us greater control over &lt;br /&gt;
the basic audio operations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1348</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1348"/>
		<updated>2014-10-29T00:51:43Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1347</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1347"/>
		<updated>2014-10-29T00:51:32Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 300 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1346</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1346"/>
		<updated>2014-10-29T00:51:21Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclientMain.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientMain.png&amp;diff=1345</id>
		<title>File:GUIclientMain.png</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=File:GUIclientMain.png&amp;diff=1345"/>
		<updated>2014-10-29T00:51:01Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1344</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1344"/>
		<updated>2014-10-29T00:49:54Z</updated>

		<summary type="html">&lt;p&gt;A1609631: /* Graphic User Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUIclient main.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
	<entry>
		<id>https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1343</id>
		<title>Projects:2014S1-23 Real-Time Adaptive Filters</title>
		<link rel="alternate" type="text/html" href="https://projectswiki.eleceng.adelaide.edu.au/projects/index.php?title=Projects:2014S1-23_Real-Time_Adaptive_Filters&amp;diff=1343"/>
		<updated>2014-10-29T00:49:05Z</updated>

		<summary type="html">&lt;p&gt;A1609631: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Projects]]&lt;br /&gt;
[[Category:Final Year Projects]]&lt;br /&gt;
[[Category:2014S1|23]]&lt;br /&gt;
The aim of this project is to build Real-Time Adaptive Filters to realize noise cancellation by running the Freescale i.mx53 quick start board.The delivered product will be dealing with the noise that occurred during the propagation but not the noise from the original sound signal. This technology can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. &lt;br /&gt;
[[File:B.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Project information==&lt;br /&gt;
[[File:E.jpg | 400px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
Sound is a pressure wave, which consists of a compression phase and a rarefaction phase. The noise-cancellation speaker emits a sound wave with the same amplitude but with inverted phase to the contaminated sound signal. The waves combine to form a new wave, in a process called interference, and effectively cancel each other out - an effect which is called phase cancellation.&lt;br /&gt;
&lt;br /&gt;
The operation system of the i.mx53 quick start board is Ubuntu 10.04. The quick start board will receive both original sound signal and contaminated signal to produce an anti-noise to realize the noise cancellation. The simulation of the noise cancellation will be completed through using Matlab-Simulink. The delivered product can be used in the factories to reduce the noise caused by running large machines or it can be used to enhance the sound effects in the concert or cinema. It can enhance the sound effects through realizing noise cancellation without affecting the original sound. With the application of this technology, the unexpected noise that occurred during the propagation can be perfectly dealt with. For small devices, this technology can also be used on noise-cancelling headphones&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
This is the approach of the project.&lt;br /&gt;
The general approach is to develop C code (for real-time adaptive filters) on the developed JACK programming environment under Linux Ubuntu 10.04 operation system (using Freescale i.mx53 quick start board). &lt;br /&gt;
&lt;br /&gt;
[[File:A.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
The C code to implement the adaptive algorithm will be based on the MATLAB-SIMULINK simulation &lt;br /&gt;
&lt;br /&gt;
[[File:C.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
By analysing the mean square error to optimize the C code for the real-time adaptive filters.&lt;br /&gt;
&lt;br /&gt;
[[File:D.png | 400 px]]&lt;br /&gt;
&lt;br /&gt;
e[n]=d[n]-y[n]&lt;br /&gt;
&lt;br /&gt;
R=E[(𝑢[𝑛] 𝑢[𝑛]𝑇)2] &lt;br /&gt;
&lt;br /&gt;
p=E[u[n]×d[n]] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error)  =E[𝑒[𝑛]2] &lt;br /&gt;
&lt;br /&gt;
MSE (mean square error) = E[𝑑(𝑛))2]+ 𝑤[𝑛]𝑇×𝑅×𝑤[𝑛]−2×𝑝𝑇×w[n]]&lt;br /&gt;
&lt;br /&gt;
Simple as a𝑥^2+𝑏𝑥+𝑐&lt;br /&gt;
&lt;br /&gt;
==Graphic User Interface==&lt;br /&gt;
&lt;br /&gt;
As the C code used in this project was being continuously updated, it was not possible to create a stand alone application for it,&lt;br /&gt;
hence the code had to executed in the Linux terminal. However, this is not a user friendly environment, as any commands must be typed in etc.&lt;br /&gt;
As a result, we decided to design and build a simple Graphic User Interface to interact with the code.&lt;br /&gt;
&lt;br /&gt;
This was designed specifically using the &amp;quot;ncurses&amp;quot; library available under the GNU licencse. It is a library specifically tailered&lt;br /&gt;
for designing GUI&amp;#039;s in the Linux terminal itself, greatly simplifying the design.&lt;br /&gt;
&lt;br /&gt;
The image below shows the GUI in operation.&lt;br /&gt;
&lt;br /&gt;
[[File:GUI1.png | 600 px]]&lt;br /&gt;
&lt;br /&gt;
==High-Level Plan==&lt;br /&gt;
&lt;br /&gt;
Aim1. Hardware construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Basic functional test of the board.&lt;br /&gt;
      Milestone2.Simple sound signal test.&lt;br /&gt;
      Milestone3.Running noise cancellation c code.&lt;br /&gt;
&lt;br /&gt;
Aim2. Software construction&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Doing research on algorithms of the real-time adaptive filters.&lt;br /&gt;
      Milestone2.Build simulation in Matlab-Simulink to perform the noise cancellation.&lt;br /&gt;
      Milestone3.Generate c code using Simulink and use a cross compiler to compile the code.&lt;br /&gt;
&lt;br /&gt;
Aim3. Interface&lt;br /&gt;
&lt;br /&gt;
      Milestone1.Based on the compiled code and the board to perform basic noise cancellation.&lt;br /&gt;
      Milestone2.Litereature research on Advanced Linux Sound Architecture, Jack Audio and Gstreamer.&lt;br /&gt;
      Milestone3.Running C code on the board.&lt;br /&gt;
      Milestone4.Parameters adjusting and performance testing.&lt;br /&gt;
      Milestone5.Build GUI.&lt;br /&gt;
      Milestone6.Use the board and GUI to perform real-time noise cancellation.&lt;br /&gt;
&lt;br /&gt;
== Team ==&lt;br /&gt;
=== Group members ===&lt;br /&gt;
* Mr Lian Wang&lt;br /&gt;
* Mr David Homley&lt;br /&gt;
* Mr Peng Fei&lt;br /&gt;
&lt;br /&gt;
=== Supervisors ===&lt;br /&gt;
* Dr Andrew Allison&lt;br /&gt;
* Dr Braden Phillips&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
* Bench 2 in lab EM418&lt;br /&gt;
* Matlab-Simulink&lt;br /&gt;
* Freescale i.mx53 quick start board&lt;br /&gt;
* 2 microphones&lt;br /&gt;
* Standard mixer&lt;br /&gt;
* Standard PC&lt;/div&gt;</summary>
		<author><name>A1609631</name></author>
		
	</entry>
</feed>