Support/hardware demonstration

From FSI
(Difference between revisions)
Jump to: navigation, search
(Set-up)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
  
The demonstration system plays music on loudspeakers.
+
The demonstration system plays tones on loudspeakers.
 +
 
 +
A button allows to define the number of bits the sinewaves are coded on:
 +
This allows to talk of binary numbers.
 +
 
 +
The foreseen outputs are:
 +
* a loudspeaker with a Digital to Analog Converter (DAC) and an analog amplifier
 +
* a loudspeaker with PWM control and a simple class D amplifier.
 +
 
 +
= Set-up =
 +
 
 +
In order to build the demonstration, one needs:
 +
* an FPGA board
 +
* a power supply cable
 +
* a flat band cable
 +
* an [http://wiki.hevs.ch/uit/index.php5/Hardware/Parallelport/heb_rotary HEB board with 4 rotary switches]
 +
* an oscilloscope
 +
* an oscilloscope cable
 +
 
 +
For the DAC solution, one additionally needs:
 +
* a flat band cable
 +
* a [http://wiki.hevs.ch/uit/index.php5/Hardware/Parallelport/DAC2 HEB DAC board]
 +
* a loudspeaker board
 +
* an RJ45 cable
 +
* a power supply adapter for the loudspeaker board
 +
 
 +
For the PWM solution, one additionally needs:
 +
* a loudspeaker box with the amplifier on the back side
 +
* a C-shaped FPGA board mezzanine
 +
* an additional oscilloscope cable
  
 
= System =
 
= System =
Line 15: Line 44:
 
The FPGA design can be found in the HEI [https://repos.hevs.ch/svn/eda/VHDL/labs/ELN_support SVN].
 
The FPGA design can be found in the HEI [https://repos.hevs.ch/svn/eda/VHDL/labs/ELN_support SVN].
  
= Specification=
+
= Specifications =
 
+
To generate the PWM signal we have to compare the sinewave signal (tone) and a signal sawtooth signal whitch be generate with the counter.
+
+
The block diagram is:
+
[[File:Pwm modulator.png|center|600px|pwm modulator]]
+
+
With the block which has in entry (in put: PWM_out) and (output: C0, C1) we  are going to get back the whole signal PWM_out.
+
 
+
The output C0=1 when PWM_out=0 and the output C1=1 when PWM_out=1.
+
  
The test block is defined below:
+
The operating frequencies are:
[[File:Test.png|center|1000px|Test]]
+
* clock : 66 MHz
 +
* sampling : 44.1 kHz

Latest revision as of 13:28, 18 September 2019

Contents

The demonstration system plays tones on loudspeakers.

A button allows to define the number of bits the sinewaves are coded on: This allows to talk of binary numbers.

The foreseen outputs are:

  • a loudspeaker with a Digital to Analog Converter (DAC) and an analog amplifier
  • a loudspeaker with PWM control and a simple class D amplifier.

Set-up

In order to build the demonstration, one needs:

For the DAC solution, one additionally needs:

  • a flat band cable
  • a HEB DAC board
  • a loudspeaker board
  • an RJ45 cable
  • a power supply adapter for the loudspeaker board

For the PWM solution, one additionally needs:

  • a loudspeaker box with the amplifier on the back side
  • a C-shaped FPGA board mezzanine
  • an additional oscilloscope cable

System

The following system is used to show digital electronic parts to students.

hardware demonstration system

The block diagram is:

block diagram


The FPGA design can be found in the HEI SVN.

Specifications

The operating frequencies are:

  • clock : 66 MHz
  • sampling : 44.1 kHz
Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox