Stepper-Motor-Control  v3.0.0
System on a Chip 2014 - Group 04
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
signal_generator.vhd File Reference

Signal Generator for Stepper-Motor-PWM. More...

Go to the source code of this file.

Entities

signal_generator  entity
 Signal Generator. More...
 

Detailed Description

Signal Generator for Stepper-Motor-PWM.

Author
Marc Kossmann
Michael Riedel
Version
v1.0.0
Date
05.12.2014

Generates the pulse-width and enable signals accordingly.

Motor State-Machine

History:

v0.1.0 25.11.2014 Riedel & Kossmann

  • first draft

v0.1.1 26.11.2014 Riedel

  • implemented signal-generator logic

v0.1.2 27.11.2014 Riedel

  • added speed-statemachine to determine the correct speed-integer when changes occur on the speed-bus
  • added new CONSTANT UNLIMITED_STEPS for CR and IDLE, now the IR won't be triggered everytime
  • renamed the input enable to prescaler

v0.1.3 28.11.2014 Riedel & Kossmann

  • fixed speed'Event, now the user can change the speed and the signal_generator directly uses the new value
  • removed wrong synchronization statements

v0.1.4 28.11.2014 Riedel

  • removed prescaler-dependency in pwm_generation-process

v0.1.5 30.11.2014 Kossmann

  • changed speed to speed_wire transfering process to async
  • changed speed_wire /= old_speed_wire check to async
  • fixed bug of t_pulse (pwm width) being systematical to long (have to set pwm_5ms_counter to (speed_wire - 1))

v0.1.6 30.11.2014 Riedel & Kossmann

  • fixed Chain of Steps Bug though evaluating run signal of mcu

v0.1.7 02.12.2014 Riedel & Kossmann

  • changed structure and fixed bugs to get code working on fpga

v0.1.8 02.12.2014 Kossmann

  • small adjustments for fulfill specification

v0.1.9 03.12.2014 Kossmann

  • moved motor driver enable to mode_state machine

v0.1.10 05.12.2014 Riedel

  • added few documentational lines
  • corrected formatting and indention

v1.0.11 05.12.2014 Riedel & Kossmann

  • release milestone 3b

v1.0.12 09.12.2014 Riedel & Kossmann

  • swapped rising_edge(prescaler) with rising_edge(clock) AND prescaler = '1'

v1.0.13 09.12.2014 Riedel

  • restructured state-machine for modes
  • created new process for motor power-management
  • moved ir-logic to renamed count_steps_and_set_ir-process

v1.0.14 11.12.2014 Riedel & Kossmann

  • corrected ir wire not being high for one clock
  • corrected versioning mistake

Definition in file signal_generator.vhd.