| 전자부품 데이터시트 검색엔진 |
|
AN2350 데이터시트(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2350 데이터시트(HTML) 37 Page - STMicroelectronics |
|
37 / 41 page ![]() Control algorithm AN2350 37/41 Now the shoulder is controlled in its home position, the same procedure is executed for the elbow, using the Capture unit CC22. The control of the shoulder ensures that during the home procedure for the elbow there's no movement of the shoulder. The scheme below shows the homing procedure. Figure 30. The homing procedure Read Absolute Encoder of the shoulder and enable interrupt CC16 while(!home_position_sh) { Move shoulder with fixed PWM } Stop the shoulder Reset incremental encoder of the shoulder (T2) Enable interrupt for control algorithm, and disable interrupt CC16 sh_pulses_desired Read Absolute Encoder of the elbow and enable interrupt CC22 while(!home_position_elb) { Move elbow with fixed PWM } Stop the elbow Reset incremental encoder of the elbow (T4) Disable interrupt CC22 elb_pulses_desired Read Absolute Encoder for the shoulder This is the right transition? ISR for the shoulder home_position_sh=true; Exit Control Algorithm Read Absolute Encoder for the elbow ISR for the elbow This is the right transition? home_position_elb=true; Exit N Y N Y |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |