完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我想使用stm8 mcu作为电气继电器,例如跳闸继电器,必须通过esd和emc测试。哪一个更适合这个主题?
我认为stm8a应该更好,因为它将用于汽车系统,但在阅读stm8s003f3p6和stm8af6223的数据表后 似乎esd8s003f3p6的esd最大等级优于stm8af6223,那么stm8a相对于stm8s的优势是什么? 非常感谢 AO 以上来自于谷歌翻译 以下为原文 I want to use stm8 mcu for electrical relay such as trip relay and must pass the esd and emc test . Which one is better to use for this subject ? I thought stm8a should be better because it will be used in automotive systems , but after reading datasheet of stm8s003f3p6 and stm8af6223 It seems esd maximum rating of stm8s003f3p6 is better than stm8af6223 , so what is advantage of stm8a with respect to stm8s ? Thanks a lot AO |
|
相关推荐
3个回答
|
|
是的,我也想知道....
但这是我的经历。我碰巧有一个很好的'噪音'制造商,一个24VAC继电器,我在24VDC系统中使用。 继电器必须非常差,因为它在断开24VDC时会产生很多噪音。为什么我这么说,因为我还有一些其他继电器(24VAC和24VDC)都不会产生这样的噪音。继电器是一个大的DPDT部件,10A,适合欧姆龙PT08插座的类型。 所以我有我的测试台。 我用它测试了很多电路板。被测电路板完全独立于“噪声”发生器板,仅连接到电路板的GND(似乎噪声通过GND)。 被测电路板运行一个非常简单的固件,切换LED,这样你就可以看到它正常工作。它还通过uart将一个“重置”消息发送到控制台(teraterm)以查看该板是否已重新启动(通过重置,看门狗等)。 以下是一些结果: STM8S105 ICS 16MHz ESD = 2000V EFT = 1000V ----通过 STM8S105分机晶体16MHz ---通过 ATmega8分机水晶4.915MHz ----通过 ATmega328PB分机晶体4.915MHz --- STM32F030 ICS 8MHz PLL 48MHz ESD = 2000V EFT = 500V ---通过 STM32F030外部时钟8MHz PLL 48MHz ---通过 STM32F030分机晶体12MHz PLL 48MHz --- Kinetis'E'多种类型,3V和5V w /和w / o晶体ESD = 6000V EFT = 500V ---通过 对于ST部件,STM8S,STM8A,STM32我们基本上有以下'类': ESD = 4000V,EFT = 1000V STM8S003 /九百○三分之一百○三 ESD = 2000V,EFT = 1000V STM8S005 / 10 /二百○八分之二百○七/ 007 ESD = 4000V,EFT = 500V STM8AF零件 ESD = 2000V,EFT = 500V STM32配件 在这里作为BIG NOTE,关于STM32:当他们从ICS或外部时钟开始计时时,他们通过我的测试。当他们从他们的晶体振荡器开始计时时。失败是这样的:他们只是停止工作。阻止。没有。纳达。那就是你不使用看门狗。如果使用看门狗,它会重置芯片,芯片会再次开始工作。如果你愿意,这可以非常快(2毫秒),但可以注意到故障。 在这里也是一个有趣的注释,ATmega328PB(一种新技术)失败了,在更危险的模式下失败:单个寄存器值被破坏(r8)!这对我的应用程序来说特别糟糕,因为我有一个while(1)循环,其中我将变量与常量值进行比较。 AVRGCC编译器非常智能,并将常量值放在R8寄存器中。这个寄存器在应用程序的整个生命周期中都是不变的!据说没有什么会改变这个价值,不是吗? ;-D(坦率地说,除了R8之外,我不知道有多少寄存器被破坏了,这就是我申请的情况。 - 事情是:董事会没有停止,没有重置,没有做任何特别的事情,它刚开始表现不对,就像你的程序中有错误一样。这会让你发疯!) 以上来自于谷歌翻译 以下为原文 Yeah, I also want to know.... But here is my experience. I happen to have quite a good 'noise' maker, a 24VAC relay, which I use in a 24VDC system. The relay must be very poor, because it definetely generates a lot of noise when disconnected from 24VDC. Why I say that, because I also have some other relays (both 24VAC and 24VDC) which don't generate such a noise. The relay is a big DPDT part, 10A, the type that fits on Omron PT08 sockets. So I have my test bench in place. And I tested a lot of boards with it. The board under test was completely independent from the 'noise' generator board, only conected to the GND of the board (it seems the noise comes through GND). The board under test runs a very simple firmware, toggling a led, so you can see it's working. It also transmits a 'reset' message over an uart, to a console (teraterm) to see if the board has been restarted (by a reset, watch-dog, etc). Here are some results: STM8S105 ICS 16MHz ESD=2000V EFT=1000V ---- pass STM8S105 ext crystal 16MHz --- pass ATmega8 ext crystal 4.915MHz ---- pass ATmega328PB ext crystal 4.915MHz --- STM32F030 ICS 8MHz PLL 48MHz ESD=2000V EFT=500V --- pass STM32F030 ext clock 8MHz PLL 48MHz --- pass STM32F030 ext crystal 12MHz PLL 48MHz --- Kinetis 'E' multiple types at both 3V and 5V w/ and w/o crystals ESD=6000V EFT=500V --- pass For the ST parts, STM8S, STM8A, STM32 we have basically the following 'classes': ESD=4000V, EFT=1000V STM8S003/103/903 ESD=2000V, EFT=1000V STM8S005/105/207/208/007 ESD=4000V, EFT=500V STM8AF parts ESD=2000V, EFT=500V STM32 parts As a BIG NOTE here, about STM32: they pass my test when clocked from ICS or from an external clock. When clocked from their crystal oscillator, they. The failing is like this: they just stop working. Blocked. Nothing. Nada. That's if you don't use the watchdog. If you use the watchdog, it resets the chip and the chip starts working again. This can be quite fast (2 milliseconds) if you want, but the glitch can be noticed. As an interesting note here too, the ATmega328PB (a newer technology) wich failed, failed in a more dangerous mode: A single register value was corrupted (r8)!!! And it was particulary bad for my application because I had a while(1) loop in which I compared a variable against a constant value. AVRGCC compiler was very smart, and put the constant value in R8 register. This register so was constant for the entire life of the application! It was supposed nothing will change that value, no? ;-D (frankly I don't know how many registers were corrupted besides R8, this was the case of my application. - The thing is: the board didn't stopped, didn't reset, didn't do anything special, it just started to behave wrong, just like when you have a bug in your program. This can drives you crazy!) |
|
|
|
感谢您的回复
我也用继电器产生噪音。我的系统使用110伏直流电。 我通过正常的闭合触点将110伏继电器线圈连接到电源,在这种情况下,继电器将开启和关闭并在系统中产生噪声。有时候mcu无关紧要stm8a或stm8s会被重置。如果我使用5伏的大容量电容作为mcu它变得更好但是在电源输入中使用电容器x1y2并将它们的公共引脚连接到chasis后,它对这种类型的噪声变得更加免疫并且非常稳定。 但我的问题仍然是stm8a的主要优势是什么,如果有的话? 当然,有一些stm8a高温工作,但我认为在噪音领域stm8a没有特别之处。 以上来自于谷歌翻译 以下为原文 Thanks for your reply I also use relay to generate noise. My system works with 110 volt dc. I connect the 110 volt relay coil to power supply through normaly close contacts , in this case relay will become on and off and generate noise in the system . some times the mcu does not matter stm8a or stm8s will be reset . If i use bulk capacitor in 5 volt for mcu it become better but after using capacitor x1y2 in the input of power supply and connecting the common pin of them to chasis , it become more immune to this type of noise and very stable . But my question still is what is the main advantage of stm8a , if there is any ? Of course threre are some stm8a with high temperature working but i think in field of noise there is no special thing for stm8a . |
|
|
|
是的,正如我在上一篇文章的第一行所说,我也想知道。
STM8AF部件定义为4000V / 500V ESD / EFT时的所有规格,当然还有汽车温度范围。另一方面,STM8S003 / 103为4000V / 1000V,因此在这方面可能更好。 有趣的是STM32带有晶体FAIL但STM8S105带有晶体PASS我的测试,虽然看起来内部晶体振荡器表现相同,但你可以在1V和2V之间看到一个弱的正弦波(即使是在5V的STM8S!)。 可能是这个过程(以纳米为单位)产生差异,我认为STM32部件是在一个更精细的过程中制造的。 我的建议:如果你不需要自动温度,使用ICS或外部时钟,请使用STM8S。如果您确实在大噪声场中应用,请不要使用其内部晶体振荡器。使用外部时钟发生器,或者使用无缓冲的逆变器(74HC1GU04)和晶振/谐振器自行制作。它将消耗更多的功率(7-8 mA),但会更强大并且不受噪音影响。 最好的祝福, 雷蒙 以上来自于谷歌翻译 以下为原文 Yeah, as I said in the first line of my previous post, I also want to know. The STM8AF parts are definetely ALL of them spec'd at 4000V/500V ESD/EFT and of course, there is the automotive temperature range. On the other hand, the STM8S003/103 are 4000V/1000V so they may be better in this respect. What is interesting is that STM32 with crystal FAIL but STM8S105 with crystal PASS my tests, although it seems that the internal crystal oscillators behave the same, you can see a weak sinusoid between 1V and 2V (even on a STM8S at 5V!). Probably is the process (in nanometers) which makes the difference, the STM32 part being made in a finer process I think. My recommendation: use STM8S if you don't need automaotive temp, with ICS or external clock. If you really have applications in big noise fields, don't use their internal crystal oscillators. Use external clock generator, or just make one yourself with an unbuffered inverter (74HC1GU04) and a crystal/resonator. It will consume more power (7-8 mA) but will be much stronger and immune to noise. Best regards, Raimond |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2574 浏览 1 评论
3192 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1761 浏览 1 评论
3587 浏览 6 评论
5965 浏览 21 评论
922浏览 4评论
1296浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
561浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1284浏览 3评论
1336浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-5 02:16 , Processed in 1.141662 second(s), Total 53, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号