5iMX宗旨:分享遥控模型兴趣爱好

5iMX.com 我爱模型 玩家论坛 ——专业遥控模型和无人机玩家论坛(玩模型就上我爱模型,创始于2003年)
楼主: axnzero
打印 上一主题 下一主题

APM看上去不错,尝试做一套

  [复制链接]
361
发表于 2013-5-17 21:16 | 只看该作者
点击查看详情
axnzero 发表于 2013-5-17 17:32
换小一号的机翼,并减小载荷,你看会不会好一些?

不知道。

问题是小一号的机翼,还要减小载荷,那还剩下多少有效载荷呢?

刚才没事称了一下epo和epp机翼的重量,都是翼展为1.8米的单边机翼

epo:无碳杆,无加强,纯泡沫机翼,230克
epp:碳杆 + 覆盖了1/4翼面积的玻纤布环氧树脂加强 + 泡沫机翼,150多克

难怪先前1680的天行者动不动起飞重量就到2kg以上了

epo的优点:强度高、表面光滑,飞行阻力小;缺点:重、韧性差。
epp的优点:韧性好,重量轻;缺点:表面粗糙飞行阻力大,刚性不如epo。

epp的缺点可以通过包覆玻纤/芳纶/碳纤布来改善,但是包覆粘接效果略差于epo。
epo同样可以通过包覆复合材料来提高性能,但也会变得更重,囧

我现在还是倾向于epp。



欢迎继续阅读楼主其他信息

主题

  • 没有相关信息
  • 没有相关信息
  • 没有相关信息
362
 楼主| 发表于 2013-5-18 13:34 | 只看该作者
你说的对,韧性好一些比较好。
我都没试过。应该都试试才好。

刚才在南航看航模比赛,那种KT板做的电动遥控纸飞机很不错,随便摔都没事。
用的电池是11V2200mAH的,正和Phatom的电池一样,那么再添置个电调、电机和两个小舵机就能试试了。
现在我还是在模拟器上继续练手,间或把APM装到Phatom上,然后试飞。


363
发表于 2013-5-18 20:19 | 只看该作者
佩服佩服....最近也在用Arduino uno 做飞控 ,GY-80传感器
三轴加速度,三轴陀螺仪,三轴磁场 气压 采样 加数传回传数据     速率就在10-15HZ左右
如果想加入数传的遥控感觉数传吃不消,Arduino 也吃不消啊
364
发表于 2013-5-18 23:30 | 只看该作者
axnzero 发表于 2013-5-18 13:34
你说的对,韧性好一些比较好。
我都没试过。应该都试试才好。

epp 主要是自己加工订制方便,或者买板材回来自己切。
epo就不行了,貌似非要用模具进行注塑。
不过我觉得 epo+复材 的综合性能还是要强于 epp + 复材

kt板机的速度恐怕太快了吧,像我这样的新手不好控制。


365
发表于 2013-5-19 13:23 | 只看该作者
楼主加油啊..楼主人才..
366
 楼主| 发表于 2013-5-20 17:15 | 只看该作者
APM装进Phantom,安装接收机的时候有点费劲,最后安放在电池傍边,正好。
还没装数传,暂时使用蓝牙连接电脑。

发现,Phantom不知出于何种原因,电调的PWM信号是反的。
油门推到最大的时候,电机不转;油门最小的时候,电机极速。

初步低速测试,手持Phanom脚架,感觉对姿态变化的反应正常。
感受到了旋翼机的危险性,被叶片打到,一定会很惨。

观察到:APM飞控在油门关到最小的时候,大约一分钟左右,油门保护会自动打开。
这个比较好,值得称赞。

096.jpg (81.3 KB, 下载次数: 47)

096.jpg
367
 楼主| 发表于 2013-5-21 08:20 | 只看该作者
系留实验顺利,悬停实现。

发现问题:
刚开机,不开地面站时,初始的状态似乎是反逻辑。
即,桨叶转速的修正和姿态的关系是反的。
即,直接起飞会直接反扣炸掉。
原因可能是:
1,APM飞控板尚未初始化。
2,P机电调PWM信号是反的。

联机测试:
开启地面站软件,P机重新上电,联机通讯正常之后,发动机保护自动出现,推杆不动。仍然需要激活发动机之后推杆才能动。
此时的桨叶转速修正回复正逻辑,顺利实现悬停。
航向、俯仰、横滚操作都表现良好。

P机上盖安装之后,和下盖一起形成管状,整体刚性提高好几倍,这个设计很赞。
目前的APM,和接收机1~5通道连接。
1~4通道为横滚、俯仰、油门、偏航。
5通道为模式切换。
考虑添加第六通道用于切换发动机保护,可以增加一些方便性,但危险性提高了。

368
 楼主| 发表于 2013-5-21 08:36 | 只看该作者
发现:
航向数据总是偏30多度,分离测试正常。
考虑到Phantom本身的磁传感器特意通过连线方式外置到脚架的位置,
可以认定,Phantom的电源分配板或电调会对磁传感器产生较大影响。

369
发表于 2013-5-22 11:21 | 只看该作者
axnzero 发表于 2013-5-21 08:36
发现:
航向数据总是偏30多度,分离测试正常。
考虑到Phantom本身的磁传感器特意通过连线方式外置到脚架的 ...

LZ握个手!
我也在做飞控和地面站软件。
数传用的APM的3DR。
3DR简单测试了下,每秒发送2K字节以上,误码率很大,基本不能用。
APM好像是每秒发送1K字节,误码率将就。
请问你用的什么数传?发送频率是多少?每次发送多少字节?具体发送哪些信息?
期待回复,一个人做飞控很孤独,想与你交流

370
 楼主| 发表于 2013-5-23 15:25 | 只看该作者
本帖最后由 axnzero 于 2013-5-23 20:26 编辑

安装5.8G图传500mW
安装900M数传500mW
安装2.4G接收机。
安装GPS模块。

能飞起来。


097.jpg (47.84 KB, 下载次数: 31)

前

098.jpg (49.45 KB, 下载次数: 36)

后

099.jpg (45.69 KB, 下载次数: 29)

左

100.jpg (50.03 KB, 下载次数: 22)

右
371
 楼主| 发表于 2013-5-23 15:27 | 只看该作者
数传天线的安装需要增加固定,否则,容易被螺旋桨打到。
增加制作一根电压测量线,连接APM第二个模拟量输入口。测试可用。

101.jpg (103.45 KB, 下载次数: 29)

101.jpg
372
 楼主| 发表于 2013-5-23 15:37 | 只看该作者

RE: APM看上去不错,尝试做一套

roothoo 发表于 2013-5-22 11:21
LZ握个手!
我也在做飞控和地面站软件。
数传用的APM的3DR。

》请问你用的什么数传?
你好。
我用的是“XBEE PRO RPSMA 900 数传套装”,“物体进化公司  (Evolution Body inc)"
http://item.taobao.com/item.htm?spm=a1z10.5.w4002-1159391695.22.3HKbwX&id=15323898585
到目前为止,室内测试表现良好,尚未做远距离测试。

》发送频率是多少?
发送没有实际测过,但发送主要是心跳包和控制指令,频率很低。
如果你说的是波特率,那么是57600。
接收内容是可以在地面站软件设定的,可以关闭一些不必要的数据,以便节省带宽。

》每次发送多少字节?具体发送哪些信息?
就是MavLink协议规定的内容。
详见MavLink协议参考文档。

》期待回复,一个人做飞控很孤独,想与你交流
欢迎欢迎

373
 楼主| 发表于 2013-5-23 21:08 | 只看该作者
休息一下,看看电影。
暴风影音《虎胆龙威》
奔驰公司一定出了很多广告费。
一开始就把三个大宝马炸得粉碎
然后开着奔驰翻跟头,毫发无伤。
随后又换了一个奔驰,在车顶上越野,踩扁一大堆保时捷。
估计后面就该糟蹋奥迪了。

374
 楼主| 发表于 2013-5-23 21:09 | 只看该作者
哦对了,儿子还开着一个蓝色奔驰VAN,跟装甲车碰来碰去。

375
发表于 2013-5-23 21:29 | 只看该作者
佩服佩服!真是高人!
376
 楼主| 发表于 2013-5-24 07:48 | 只看该作者
APM2.0板上LED灯模式说明:

This is information on what the LED's mean on the APM 2.0
本文解释APM2.0电路板上LED灯的状态含义。

Alternating RED & BLUE LED: APM Booting
红蓝交替闪烁:APM正在启动。

Flashing BLUE LED: Acquiring GPS Fix
蓝灯闪烁:等待GPS正在搜星。

Steady BLUE LED: 3D GPS Fix Aquired
蓝灯常亮:GPS完成定位。

Flashing RED LED: APM Disarmed
红灯闪烁:APM的电机/电调输出处于保护状态。即不论是否推油门,发动机都不转。

Steady RED LED: APM Armed
红灯常亮:APM处于激活状态。推油门,电机就开始转。

Yellow LED?
黄灯?

Steady GREEN LED: APM Power
绿灯常亮:APM电源指示。

Flashing ORANGE LED's: Data Transfer
橙灯闪烁:数据正在传输。

How to arm the APM: Hold your throttle stick down and to the left for 5 seconds the red led should stop flashing and go steady. This important because every time you arm the APM it causes the barometer to be reinitialized (i.e. resets the current altitude to the home altitude).
如何进入激活状态:油门拉到底,方向舵推到最左,保持5秒,红灯应该停止闪烁并保持常亮。每次启动激活时,APM气压计自动执行初始化操作,也就把当前高度记为原点高度。

377
 楼主| 发表于 2013-5-24 08:55 | 只看该作者
Arming the motors 激活发动机,将发动机至于可以启动的状态。
Before arming the motors, make sure all people and objects are clear of the propellers. First, plug in your LiPo and wait until the green and red LEDs are blinking (red will blink until you get GPS lock; green will blink while the ESCs are disarmed). If you've kept the four-wire connector from APM to the power disconnected for safety, now is the time to connect it.
名词:
Armed:发动机处于“激活状态”。在这个状态,推动油门杆可以使发动机开始工作并加速转动。
Disarmed:发动机处于“保护状态”。此时,不论油门杆如何动,发动机都不会工作。
在激活发动机之前,确认旋翼附近完全没有人员和物体。先把电池插上,然后等待红色和绿色LED闪烁。红灯闪烁表示GPS还没锁定,绿灯闪烁表示电调和发动机处于保护状态。如果先前出于安全的考虑没有连接APM的四芯电源线,那么现在可以接上了。
注意:新版的APM2.5的电源接头,即PM接头改成了6芯线。

You arm the ESCs by holding the yaw stick on your transmitter hard right for two seconds while the throttle is at its lowest position. RC transmitters come in two varieties: Mode 2 (most common in North America) and Mode 1 (most common in Europe). They differ in that the throttle and elevator positions are reversed, as shown here:
激活发动机,应将偏航摇杆推到右侧极限位置,保持两秒,同时保持油门位置为最低。遥控器通常有两个模式:北美常用Mode2(美国手),欧洲常用Mode1(日本手)。两者的区别在于油门和升降舵的位置彼此对调,如下图所示:


Arming is done by applying Full-Right Yaw and No Throttle. On a Mode 2 transmitter, this means the left stick would be Down and to the Right. On Mode 1, the means the the right stick must be Down and the left stick Full-Right.
电调/发动机的激活需要航向最右和油门最小。对Mode2遥控器来说,需要将左侧摇杆推到右下角。对Mode1遥控器来说,左侧摇杆推到最右,右侧摇杆拉到底。

When the motors are armed, the green LED will turn solid.
电机处于激活状态的时候,绿色LED灯不再闪烁,而保持常亮。

Disarming is done by doing the reverse: applying Full-Left Yaw and No Throttle. On a Mode 2 transmitter, this means the left stick would be Down and to the Left.
开启保护状态的操作正好相反:航向最左,油门还是最小。对Mode2遥控器来说,意味着左侧摇杆拉到左下角。

Both the arming and disarming positions need to be held for a few seconds. This is a safety mechanism to prevent accidental disarming during flight and accidental arming during transportation.
激活和保护操作,都需要将摇杆移动到极限位置并保持两秒以上。这是一种安全机制,用于避免携行时意外启动和飞行中意外关闭。
注意:
每次启动激活时,APM气压计自动执行初始化操作,也就把当前高度记为原点高度。

First flight 首飞
Ensure that your RC mode toggle switch is in Stabilize mode. Slowly raise the throttle until the quad just lifts off the ground.
确认遥控器的模式切换开关处于稳定模式,缓慢推油门,直到飞机缓慢离地。

If it seems like it's going to flip or otherwise isn't lifting relatively straight up, drop the throttle and land it. Hold the quad firmly in your hand and level in the air and with the props clear of your body, advance the throttle a bit to get a feel for what's going on. When you move the stick forward, back, right and left, does the quad tilt that way? (If not, you've set the wrong +/x orientation, hooked up your motors in the wrong order or have the prop direction or pusher/puller order wrong).
如果看上去有要翻倒的趋势,或者没有向正上方起飞,赶紧收油门降落。改为手持,抓牢,举在空中,确保螺旋桨不会碰到身体或其他物体。给一点点油门,感受飞机的运转状态。分别测试油门、方向、俯仰和侧倾操作,用手感受飞机是否有正常的动作趋势。如果感觉不对,那么可能是下列原因:
1,设置了错误的X/+姿态指向模式。
2,电机的安装位置顺序不对。
3,螺旋桨的旋转方向不对。
4,摇杆的操作方向设置不对。

If it lifts off smoothly, you may see a little yaw. That shouldn't be more than about 30 degrees and will correct itself with more flying time. There should be no pronounced wobble (if there is, you may have an unbalanced prop or out-of-true motor).
如果飞机能够顺畅地起飞,你可能会看到小幅度横摇偏航。这个角度通常应该小于30度,并且应该在飞行中很快恢复。不应该出现显著的摇晃或者摆动。如果有摇摆现象,可能是因为螺旋桨不平衡或者电机内部不平衡。

The quad should also tend to stay in place, and you shouldn't have to fight strong tendencies to move left or right or forward or back. If you do see that behavior, do NOT use your RC trims to correct (this just thows off the calibration). Instead, it probably means that the quad wasn't flat when you calibrated it or the airframe is out of true (one motor tilted). Land and correct that.
飞机应该能否保持一定的稳定性,应该不需要额外的大幅度的摇杆的操作。如果确实出现了不稳定现象,请“不要”使用遥控器的修正拨杆去修正飞机姿态,这样的操作会导致先前的校准失效。正确的做法是将飞机赶紧降下来,放在平整的地方,重新进行校准操作,并检查机架是否存在松动或其他异常。

If you're having trouble and the copter is not hovering smoothly, run through the troubleshooting guide here.
有故障或飞机无法保持顺畅悬停,请参考“排障指南”:
http://code.google.com/p/arducopter/wiki/AC2_Troubleshooting

Assuming that all is fine so far, you're ready for more advanced modes, such as Alt Hold and Loiter.
假如前述步骤都正常或故障已经排除,即可进行高级模式,例如高度保持和悬停。

Tips for your first flight首飞提点
•        Make sure you are in a wind free environment (wind will play against you on in air auto trim)
确保飞场无风。风会影响自动修正功能。
•        Make sure you have no trim on your Radio. (the APM is what we want to trim, the radio should never get trimmed)
确保遥控器修正量为零,因为APM会执行修正。有APM就不再需要遥控器的修正功能。
•        Get above ground effect (around 3-4 feet is enough on most models)
居于地效高度之上。对大多数模型来说,一米多高就差不多了。
•        Make sure to practice a lot before you actually try the auto trim to find the sweet spot on the Radio right stick to have the copter super stable, not moving (this is where wind affect your inputs)
在操作右摇杆执行自动修正寻找姿态最佳平衡点之前,多做练习。
•        We recommend not starting in Simple mode. Begin your flying in the basic Stabilize mode.
建议不要从“简单模式”开始,请在试飞中使用“稳定模式”。

Using the Auto Trim使用自动修正
Once you know where that sweet spot is you are ready for the 25 seconds auto trim procedure. More details can be found on the AutoTrim wiki page but the basics are also below.
找到平衡点之后,即可开始执行25秒的自动修正程序。更多细节请参考WIKI相关网页。
http://code.google.com/p/arducopter/wiki/AC2_AutoTrim

1.        On the ground, hold the arming position for an extra 10-15 seconds (dont count, you will see the ABC LEDs flash in a new sequence when it's done)
在地面,保持发动机激活状态10到15秒。不需要读秒,三个LED灯的闪烁模式会自动变化,以作提示。
2.        You now have 25 seconds to teach the APM the perfect in air level (auto trim of the APM)
下面进入25秒程序使APM执行空中悬停自动修正。
3.        Take off, rise above ground effect (3-4 feet)
起飞,保持在地效高度之上(一米多高)。
4.        Hold that sweet spot on the radio that you found earlier to put the copter in a steady stable state.
用摇杆使飞机保持在平衡状态。
5.        During this 25 seconds, the APM is slowly adjusting it's estimate of "level" to match the angle that you're flying at.
在此25秒钟,APM会缓慢地调整其同平衡点相关的内部参数,以适应于飞机的水平状态。例如:在机身内部,APM板的安装可能会有少许倾斜。在这个自动修正的过程中,APM可以自动记录APM板相对机身的倾斜程度,并将当前位置,定义为“水平位置”。
6.        Now you land as normal and these adjustments will be stored to the eeprom.
现在可以正常降落,那些内部参数将被自动保存在APM板上的内存中(关机不丢)。
7.        Try to take off without any right stick input, it should rise square and stable.
再次起飞,应该就不再需要操作摇杆去保持平衡了。
8.        If not, land and repeat from Arming for 15 sec, flying 25 sec. at will until your copter is perfect!
如果不成功,再来一次:地面激活15秒,飞25秒。。。。。。直到飞机能够自动修正。

Warning about low batteries 低电压报警
When flying ArduCopter, you need to keep in mind that it flies much differently than a winged airplane. In an airplane, lift is generated by the wing and you still have control surfaces for maneuvering if the motor were to stop. ArduCopter, as well as other quadcopters, generates lift solely from the thrust of the motors. If your battery were to go dead, you would have no lift and no control over your ArduCopter. It may flip over and crash without a gradual warning. During first flights, fly only short durations until you know your battery consumption. You may also program your ESCs to use a slow or no cutoff at low voltages.
飞旋翼机的时候要注意到,这比固定翼飞机要难一些。固定翼飞机的升力由机翼产生,那么即使发动机停转控制舵面仍然是有效的,飞机仍可操作。旋翼机升力完全由发动机产生,那么一旦电池用尽,则飞机无动力,也无任何操纵能力,立刻就会翻滚炸机。首飞时,一定不能持续太久,除非对耗电量有完全的把握。或者将电调设定为低速运转而不是低电压立即停止输出。
It is HIGHLY recommended you purchase a Battery Voltage Monitor such as the one found here for 3S LiPo batteries. The two wires can be soldered to the P-PCB directly, or you can connect to the balancing plug of your battery. The one linked above has a buzzer and LEDs that function as follows:
强烈建添置电池电压监视器。
Voltage         LED         Buzzer蜂鸣器
> 11.0v         Solid Blue 蓝常亮        Off 关
10.0v - 11.0v         Flashing Blue 蓝闪        Off关
9.8v - 10.0v         Solid Red 红常亮        Off关
< 9.8v         Flashing Red 红闪        On 开
Note: If you are using a battery monitor, always connect the main LiPo battery wire before connecting the balancing port wire to the APM.
提示:使用电池监视器,通常先链接电池输出线,然后再连接平衡插头。


378
 楼主| 发表于 2013-5-24 09:00 | 只看该作者
本帖最后由 axnzero 于 2013-5-24 17:53 编辑

367楼提到:
“考虑添加第六通道用于切换发动机保护,可以增加一些方便性,但危险性提高了。”
从APM官方文档得知,APM已经内建了更加安全有效的激活和保护操作方式。
只要将摇杆放在特定的安全位置即可。
已经测试,确实很好用。

文档全文翻译已经上传“百度文库”。
搜索文件名“APM 02 旋翼机起飞”。
http://wenku.baidu.com/view/94224e6948d7c1c708a14553.html



379
 楼主| 发表于 2013-5-24 11:42 | 只看该作者
增加,燃油发动机调试控制设置。

103.jpg (77.96 KB, 下载次数: 22)

103.jpg
380
发表于 2013-5-24 23:19 | 只看该作者
这个工作量好大啊
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

关闭

【站内推荐】上一条 /2 下一条

快速回复 返回顶部 返回列表