Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (9)
PMSM STM32 motor library for example, for control
4.3
Application background In view of the characteristics of AC permanent magnet synchronous motor (PMSM), two aspects of power circuit and control method are analyzed and designed. The performance of AC servo system is improved by FOC+SVPWM method, which has the same performance as DC motor.
25111052
2016-08-23
0
1
Portable CANOpen code, the latest version of the C
4.1
Application background Some time ago to learn CanFestival3-10 protocol,, CanOpen, STM32, VC, QT, and other platforms, because of the online resources, take many detours, the use of the process is gradually exposed various problems, such as OD string transmission, heartbeat time is not accurate, and now have to solve all the problems, the project can well support the CanOpen protocol, it has written some of the more practical debugging tools, but also to the entire PDO, EDS, SDO file loading and other related knowledge, and so when it is time to have time to arrange the rest! First of the post transplant, hoping to help you.
25111052
2016-08-23
24
1
CANOPEN STM32F37X+CANOPEN protocol on the STM32, t
4.0
Application background CANOPEN STM32F37X+CANOPEN protocol on the STM32 of the transplant, the system is FREERTOS, 1 first CanFestival STM32. Because there are other single chip platform of the transplant, the process is not very complicated. SetTimer void (value TIMEVAL), getElapsedTime TIMEVAL (void), the setting of the timer and the interrupt processing function of the timer are mainly implemented in the specific hardware platform.2 join FREERTOS. In fact, if only to complete a simple CanOpen communications, not necessarily to OS, before joining FREERTOS, with the interrupt + master program before and after the way to achieve a test routine. However, because the project is relatively large, follow-up and other control requirements, but also including the man-machine interface, or decided to join FREERTOS. CanFestival on the OS of the transplant is relatively simple, there are also Windows on the routine. And OS related, including the creation of the timer and CanO
25111052
2016-08-23
6
1
Stm332f107vct6 - slave_canfestival the code uses t
4.0
Application background Stm332f107vct6 - slave_canfestival the code uses the STM32 platform to successfully transplant CANopen protocol, for use as a slave. Create the following folder:Inc folder: LM3S8962 hardware related and driver part of the header files, hw_adc.h, adc.h, etc.;Lib folder: driverlib.lib library files, this need to be relatively new, because the old library file is missing CANbitset () function;Startup folder: the boot code, Keil software itself, only need to add the timer interrupt (CANopen need a 16 bit timer) and CAN receiver interrupt handler;Target folder: target board initialization code, in fact, is to set the system clock bar! Actually set the 50M;CANopen_source folder: including CANopen source files, download the source code, there are 13, but this time the transplant dcf.c, lss.c, symbols.c file is not used, which does not contain the object dictionary file ObjDict.c, the file we choose is ObjDict.c examples\AVR\Slave, is from the node of
25111052
2016-08-23
13
1
CANopen debugger based on Labview
4.0
Application background The experimental platform of the motion control system is required to have a high speed signal processing ability, powerful networking capabilities, and also requires a visual control view. In order to introduce the LabVIEW into the existing motion control experiment teaching, the platform uses the LabVIEW development platform to design the man-machine interface to replace the traditional experimental platform of the touch screen, the lower computer communication procedures and process procedures are realized through Twidosoft programming software. The communication between PC and PLC is based on Modbus serial bus; the communication between PLC and servo driver is based on CANopen bus, and the structure mode of the whole motion control system is "PC+PLC+ servo driver". The introduction of LabVIEW in motion control system can realize the function of data acquisition and monitoring, and the control of servo motor can be displayed visually and vi
25111052
2016-08-23
4
1
Elmo servo driver, the protocol stack based on CAN
4.3
Application background Elmo servo drive based on CANopen protocol stack main stack. Israel Amor (Elmo) company was established in 1988  years. For a long time has been for equipment manufacturers to provide distinctive high-end motion control products, is first to market with a super small electronic tube (SMD) for servo drive, make nearly lost oxide semiconductor field-effect transistor (MOSFET) for servo drive switching power supply, one of the leading companies. The key to the research and design of ELMO is to find the coordination and integration of intelligent and simple.-  ultra small volume high function density output;-  average failure time > 550000 hours;-  distributed network, intelligent servo and motion control;-  ultra low electromagnetic interference / electromagnetic radiation;-  -40 - +70, a high - and low temperature working environment;-  patented FASST technology;-  the third generation programming langu
25111052
2016-08-23
0
1
STM32 brushless DC motor drive
4.0
Application background STM32 is used TIM1 PWM output, control DC brush motor upload a basic primary version of the program PA8 PA9 PA10 Pb13 PB14 pb15 PC5 PWM output port connected with a potentiometer to adjust the speed of the pb12 power indicator lamp pb5 is turning indication PB2 reversal indicating pb0 button start button PB1 is reversal of a macro definition debug can software simulation to debug (open related variables, and transform the hall phase sequence)
25111052
2016-08-23
36
1
STM32 drive three phase motor, including three res
4.0
Application background STM32 drive three phase motor, including three resistance, single resistance feedback, FOC algorithm vector control, design a permanent magnet synchronous motor speed control system. The vector control strategy of rotor flux orientation is adopted to drive the inverter with the space vector pulse width modulation (SVPWM) method, and the speed of the motor is controlled by PI regulation.
25111052
2016-08-23
23
1
Brushless DC motor driver source code reference
4.0
Application background Resource descriptionDevelopment environment: uVision4 keil. Brushless DC motor driver source code reference. 1: tick interrupt for start and stop judging 2:AD interrupt is divided into two parts: (1) injection interrupt to read the rules (2) motor current and PID operation interrupt to read turn the voltage 3:TIM1 triggered interrupts, for reversing 4:TIM3 interrupt is divided into two parts: overflow interrupt the stall count, hall interrupt to control TIM1 commutation and speed 5: the keyboard to change PID parameters
25111052
2015-11-25
0
1
No more~