📄 readme.txt
字号:
Brushless DC Motor Control ApplicationThis application is designed to drive a Pittman N2341S001 brushless DC motor.The commutation sequence and PID controller tuning may need to be modified whenusing a different motor; the PID controller can be tuned for different responsebehavior of the Pittman motor.The rotational speed of the motor is measured with either the quadratureencoder module (if present in hardware) or a software interface to the opticalencoder. When requested, the measured speed is used to perform closed loopspeed control of the motor.A simple user interface is provided on UART0 operating at 115,200, 8-N-1. Thestatus is provided in the following format: Cr s:1000 a:0996 ab cccc ddddWhere 'a' is "C" for closed loop operation and "O" for open loop operation, 'b'is 'r' for running and 's' for stopped, 'cccc' is the target motor speed, and'dddd' is the measured motor speed.The following commands are available: r Start/stop the motor. l Toggle between open and closed loop operation. p Set a new proportional gain factor for the motor speed PID controller. i Set a new integral gain factor for the motor speed PID controller. d Set a new differential gain factor for the motor speed PID controller. z Display the current gain factors for the motor speed PID controller. D Toggle display of each motor speed sample (every 1/100th of a second).See the accompanying application note for full details of these commands.-------------------------------------------------------------------------------Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved.Software License AgreementLuminary Micro, Inc. (LMI) is supplying this software for use solely andexclusively on LMI's microcontroller products.The software is owned by LMI and/or its suppliers, and is protected underapplicable copyright laws. All rights are reserved. Any use in violation ofthe foregoing restrictions may subject the user to criminal sanctions underapplicable laws, as well as to civil liability for the breach of the terms andconditions of this license.THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED ORSTATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITYAND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. LMI SHALL NOT, INANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,FOR ANY REASON WHATSOEVER.This is part of revision 196 of an01238.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -