Support/hardware demonstration
(Difference between revisions)
Line 16: | Line 16: | ||
To generate the PWM signal we have to compare the sinewave signal (tone) and a signal sawtooth signal whitch be generate with the counter. | 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: | The block diagram is: | ||
[[File:Pwm modulator.png|center|600px|pwm modulator]] | [[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. | 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 test block is defined below: | ||
[[File:Test.png|center|1000px|Test]] | [[File:Test.png|center|1000px|Test]] |
Revision as of 11:05, 12 January 2018
|
System
The following system is used to show digital electronic parts to students.
The block diagram is:
The FPGA design can be found in the HEI SVN.
Specification
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:
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: