]> rtime.felk.cvut.cz Git - fpga/pwm.git/log
fpga/pwm.git
12 years agoWave_table initialization data format modified. master
Vladimir Burian [Wed, 15 Jun 2011 06:10:06 +0000 (08:10 +0200)]
Wave_table initialization data format modified.

It's no longer necessary to have initialization file with as many lines as
is the wave_table size. If the initialization file is shorter then the file
is read again from its first line. So the initialization file can contain
commutation profile values of one period only.

Signed-off-by: Vladimir Burian <buriavl2@fel.cvut.cz>
12 years agoMCC testbench tests all MCC entities/modules.
Vladimir Burian [Fri, 27 May 2011 05:44:45 +0000 (07:44 +0200)]
MCC testbench tests all MCC entities/modules.

12 years agoMCC_EXEC entity support for multiple axes control.
Vladimir Burian [Fri, 27 May 2011 05:43:28 +0000 (07:43 +0200)]
MCC_EXEC entity support for multiple axes control.

12 years agoCorrected generic parameters in MCC entity.
Vladimir Burian [Fri, 27 May 2011 05:25:18 +0000 (07:25 +0200)]
Corrected generic parameters in MCC entity.

12 years agoPWM3 wrapper for 3 PWMs entities.
Vladimir Burian [Fri, 27 May 2011 05:24:21 +0000 (07:24 +0200)]
PWM3 wrapper for 3 PWMs entities.

12 years agoWave_table impure function.
Vladimir Burian [Thu, 26 May 2011 20:40:07 +0000 (22:40 +0200)]
Wave_table impure function.

12 years agoPWM selection signal added.
Vladimir Burian [Thu, 26 May 2011 20:39:38 +0000 (22:39 +0200)]
PWM selection signal added.

12 years agoOverflow event signal of counter corrected.
Vladimir Burian [Thu, 26 May 2011 20:39:07 +0000 (22:39 +0200)]
Overflow event signal of counter corrected.

Signal is high only in a clock period, when counter is really overflowing.
It takes in clock enable signal.

12 years agoModified sine wave in MCC.
Vladimir Burian [Wed, 18 May 2011 22:32:03 +0000 (00:32 +0200)]
Modified sine wave in MCC.

Components pwm_min and pwm_min_dump are added to the mcc unit to implement
modified sine wave switching.

12 years agoAdded pwm_min_dump - modified sin wave
Vladimir Burian [Wed, 18 May 2011 22:06:50 +0000 (00:06 +0200)]
Added pwm_min_dump - modified sin wave

This component dump pwm values relative to minimal pwm value stored
in memory. In conjunction with pwm_min component can serve as modified
sin wave generator.

12 years agoAdded pwm_min component.
Vladimir Burian [Wed, 18 May 2011 22:00:07 +0000 (00:00 +0200)]
Added pwm_min component.

This component computes minimal value pro all pwm values. Is useful when
implementing modified sin wave switching.

12 years agoUnused signal removed and minor change.
Vladimir Burian [Wed, 18 May 2011 20:20:29 +0000 (22:20 +0200)]
Unused signal removed and minor change.

12 years agoResets changed from asynchronous to synchronous.
Vladimir Burian [Wed, 18 May 2011 20:17:12 +0000 (22:17 +0200)]
Resets changed from asynchronous to synchronous.

12 years agoEarly initialization of all relevant signals.
Vladimir Burian [Wed, 18 May 2011 19:32:23 +0000 (21:32 +0200)]
Early initialization of all relevant signals.

Initial states of all relevant signals were specified. Now it is not
required to do reset after start-up. Somewhere inititial states are
written in port declaration, but it would be better to move them
to architecture part.

13 years agomcc.vhd port definition corrected
Vladimir Burian [Sat, 16 Apr 2011 19:40:19 +0000 (21:40 +0200)]
mcc.vhd port definition corrected

13 years agoGeneral counter extended by clk_en input
Vladimir Burian [Sat, 16 Apr 2011 16:33:28 +0000 (18:33 +0200)]
General counter extended by clk_en input

13 years agoSinus LUT 1000 points per revolution
Vladimir Burian [Thu, 14 Apr 2011 22:34:16 +0000 (00:34 +0200)]
Sinus LUT 1000 points per revolution

Total table length is 2048 points. Word width is 10 bits.

13 years agoREADME briefly describing MCC
Vladimir Burian [Thu, 14 Apr 2011 22:27:10 +0000 (00:27 +0200)]
README briefly describing MCC

13 years agoIn MCC unit MCC_ACK(4) forced to '1'
Vladimir Burian [Thu, 14 Apr 2011 22:26:40 +0000 (00:26 +0200)]
In MCC unit MCC_ACK(4) forced to '1'

It ensures that MCC does not lock when executing nonexisting unit
in place 4, as this signal was uninitialized.

13 years agoIRF_ADR_W parameter of MCC entity removed
Vladimir Burian [Thu, 14 Apr 2011 21:41:48 +0000 (23:41 +0200)]
IRF_ADR_W parameter of MCC entity removed

It is defined as a constant in mcc.vhd.

13 years agoMCC execution control unit added
Vladimir Burian [Thu, 14 Apr 2011 21:27:41 +0000 (23:27 +0200)]
MCC execution control unit added

13 years agoMultiplier and vector scaling components added
Vladimir Burian [Thu, 14 Apr 2011 21:26:07 +0000 (23:26 +0200)]
Multiplier and vector scaling components added

These components are also integrated to the MCC entity so it's now possible
to close the chain (path from IRC to PWM) and changing action variable.

13 years agoModified MCC to use wave table with length of 2048 points.
Vladimir Burian [Mon, 28 Mar 2011 20:47:08 +0000 (22:47 +0200)]
Modified MCC to use wave table with length of 2048 points.

13 years agoCorrected irc_base entity.
Vladimir Burian [Mon, 28 Mar 2011 20:44:13 +0000 (22:44 +0200)]
Corrected irc_base entity.

13 years agoModified MATLAB waveform generator script.
Vladimir Burian [Mon, 28 Mar 2011 20:43:37 +0000 (22:43 +0200)]
Modified MATLAB waveform generator script.

Now data length and period length can differ.

13 years agoAdded irc_base.
Vladimir Burian [Sat, 26 Mar 2011 16:30:22 +0000 (17:30 +0100)]
Added irc_base.

This entity keeps angle value in appropriate interval according to
IRC_PER_REVOLUTION and modifies IRC_BASE value. When IRC value and
IRC_BASE differs by more than two revolutions, BAD_BASE signal is set high
during one CLK_I period.

13 years agoAdded irc_dump.
Vladimir Burian [Sat, 26 Mar 2011 14:41:02 +0000 (15:41 +0100)]
Added irc_dump.

13 years agoPWM_dump added to the MCC a its test bench.
Vladimir Burian [Thu, 24 Mar 2011 10:59:41 +0000 (11:59 +0100)]
PWM_dump added to the MCC a its test bench.

13 years agoAdded pwm_dump.
Vladimir Burian [Thu, 24 Mar 2011 10:57:30 +0000 (11:57 +0100)]
Added pwm_dump.

This entity controls loading of PWM value form shared memory to the
external PWM component.

13 years agoAdded sequencer.
Vladimir Burian [Thu, 24 Mar 2011 10:56:02 +0000 (11:56 +0100)]
Added sequencer.

This entity controls execution of a slave component for each phase.

13 years agoCorrected mcc_master.
Vladimir Burian [Thu, 24 Mar 2011 10:54:01 +0000 (11:54 +0100)]
Corrected mcc_master.

Controller of the chain (MCC_ACK, MCC_STB) is brought to the default state
when cycle is complete.

13 years agoAdded Motion-Control-Chain (mcc).
Vladimir Burian [Thu, 24 Mar 2011 07:09:38 +0000 (08:09 +0100)]
Added Motion-Control-Chain (mcc).

This entity encapsulates all components between IRC and PWM (without
these two). However wate_table and dual-port RAM must be connected
from outside.

13 years agoImproved mcc_master test bench.
Vladimir Burian [Thu, 24 Mar 2011 06:59:39 +0000 (07:59 +0100)]
Improved mcc_master test bench.

Re-execution is better tested.

13 years agoAdded MCC_Master.
Vladimir Burian [Sun, 20 Mar 2011 19:05:15 +0000 (20:05 +0100)]
Added MCC_Master.

This is entity which should control execution of Motion-Control-Chain,
e.g. IRC->Angle encoder, vector generator, current regulator, etc.

13 years agoAdded priority encoder.
Vladimir Burian [Sun, 20 Mar 2011 18:21:27 +0000 (19:21 +0100)]
Added priority encoder.

13 years agoModified testbenches to use entities (not components)
Vladimir Burian [Sun, 20 Mar 2011 18:26:09 +0000 (19:26 +0100)]
Modified testbenches to use entities (not components)

13 years agoChanged testbench Makefile.
Vladimir Burian [Sun, 20 Mar 2011 18:16:54 +0000 (19:16 +0100)]
Changed testbench Makefile.

It's now possible to work with "work" library and directly instantiate
entities (not components).

13 years agoAdded vector generator.
Vladimir Burian [Sun, 20 Mar 2011 18:25:31 +0000 (19:25 +0100)]
Added vector generator.

Reads angle value from shared RAM, then looks up 3-phase wave values from
wave_table.vhd and stores them back in shared RAM.

13 years agoAdded wave look-up-table module.
Vladimir Burian [Mon, 14 Mar 2011 14:07:36 +0000 (15:07 +0100)]
Added wave look-up-table module.

Verified with testbench.

13 years agoAdded counter and pwm modules.
Vladimir Burian [Mon, 14 Mar 2011 14:05:39 +0000 (15:05 +0100)]
Added counter and pwm modules.

Verified with testbench.

13 years agoInitial empty commit.
Vladimir Burian [Mon, 14 Mar 2011 13:57:53 +0000 (14:57 +0100)]
Initial empty commit.