X-CUBE-SPN7 for X-NUCLEO-IHM07M1
|
This header file provides all parameters to driver a motor with 6Step library. More...
Go to the source code of this file.
Macros | |
#define | NUM_POLE_PAIRS 7 |
#define | DIRECTION 0 |
#define | TARGET_SPEED 3000 |
#define | POTENTIOMETER 1 |
#define | STARTUP_CURRENT_REFERENCE 2000 |
#define | ACC 600000 |
#define | MINIMUM_ACC 500 |
#define | NUMBER_OF_STEPS 20000 |
#define | TIME_FOR_ALIGN 500 |
#define | BUTTON_DELAY 1000 |
#define | NUMBER_ZCR 12 |
#define | SPEED_LOOP_TIME 1 |
#define | KP_GAIN 8000 |
#define | KI_GAIN 50 |
#define | KP_DIV 4096 |
#define | KI_DIV 4096 |
#define | LOWER_OUT_LIMIT 120 |
#define | UPPER_OUT_LIMIT 2000 |
#define | MAX_POT_SPEED 10000 |
#define | MIN_POT_SPEED 1500 |
#define | VAL_POT_SPEED_DIV 2 |
#define | INITIAL_DEMAGN_DELAY 10 |
#define | BEMF_THRSLD_DOWN 200 |
#define | BEMF_THRSLD_UP 200 |
#define | FILTER_DEEP 20 |
#define | HFBUFFERSIZE 10 |
#define | ADC_SPEED_TH 82 |
#define | BEMF_CONSEC_DOWN_MAX 10 |
#define | BEMF_CNT_EVENT_MAX 100 |
#define | GPIO_ZERO_CROSS 1 |
#define | GPIO_COMM 1 |
#define | DEMO_START_TIME 5000 |
#define | DEMO_STOP_TIME 2000 |
#define | DEMAGN_VAL_1 1 |
#define | DEMAGN_VAL_2 2 |
#define | DEMAGN_VAL_3 3 |
#define | DEMAGN_VAL_4 4 |
#define | DEMAGN_VAL_5 5 |
#define | DEMAGN_VAL_6 6 |
#define | DEMAGN_VAL_7 7 |
#define | DEMAGN_VAL_8 8 |
#define | DEMAGN_VAL_9 9 |
#define | DEMAGN_VAL_10 10 |
#define | DEMAGN_VAL_11 11 |
#define | DEMAGN_VAL_12 12 |
#define | DEMAGN_VAL_13 13 |
#define | DEMAGN_VAL_14 14 |
#define | TRUE 1 |
#define | FALSE 0 |
Detailed Description
This header file provides all parameters to driver a motor with 6Step library.
- Author
- System lab - Automation and Motion control team
- Version
- V1.0.0
- Date
- 06-July-2015
- Attention
© COPYRIGHT(c) 2015 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Generated on Fri Sep 11 2015 16:47:21 for X-CUBE-SPN7 for X-NUCLEO-IHM07M1 by 1.8.9.1