# Injection Speed Profile (draw.io)

## Overview

The speed profile diagram (speeds.drawio) illustrates the various phases of the injection cycle and their corresponding speeds. The diagram shows the relationship between injection progress and motor speed, with specific attention to the following phases:

1. **Acceleration Phase**
   - Initial ramp-up from standstill
   - Controlled acceleration to prevent material stress
   - VFD parameter optimization

2. **Full Speed Phase**
   - Maximum injection velocity
   - Load monitoring for consistency
   - Adaptive speed control based on feedback

3. **Deceleration Phase**
   - Controlled speed reduction
   - Preparation for final positioning
   - Load-sensitive speed adjustment

4. **Post Flow Phase**
   - Minimal speed for precise control
   - Pressure maintenance
   - Final position accuracy

## Technical Parameters

### Speed Ranges
- Maximum Speed: 45 Hz
- Acceleration Range: 0-45 Hz
- Deceleration Range: 45-5 Hz
- Post Flow Speed: 5 Hz

### Time Distribution
- Acceleration: ~20% of cycle
- Full Speed: ~50% of cycle
- Deceleration: ~20% of cycle
- Post Flow: ~10% of cycle

## Safety Considerations

1. **Overload Protection**
   - Continuous load monitoring
   - Automatic speed adjustment
   - Emergency stop capability

2. **Position Control**
   - Home position verification
   - End position monitoring
   - Precise movement control

3. **Speed Adaptation**
   - Load-based speed adjustment
   - VFD parameter optimization
   - Smooth transitions between phases

## Usage Notes

The draw.io diagram (speeds.drawio) can be opened and edited using:
- draw.io online editor
- draw.io desktop application
- Visual Studio Code with draw.io extension

To modify the speed profile:
1. Open speeds.drawio in your preferred editor
2. Adjust the curve points for different phase characteristics
3. Update labels and annotations as needed
4. Save changes and export if required

## Integration with Control System

The speed profile is implemented in the control system through:
- VFD parameter settings
- PLC or microcontroller programming
- Feedback loop integration
- Safety system coordination

Refer to the app.h and app.cpp documentation for implementation details.