ݷʱ : 2024/12/26 2:03:43һ µȫĶ
ⲿ洢16λַⲿݴ洢дȡʱP2ַĸ߰λڸַ1ʱڲƣⲿλַݴ洢ждʱP2ܼĴݡP2FLASH̺Уʱո߰λַźźͿźš
P3ڣP3ڹܽ8ڲ˫I/Oڣɽ4TTLŵ
P3д롰1DZڲΪߵƽ롣Ϊ룬ⲿΪ͵ƽP3ڽILLԵʡ
P3ҲΪAT89C51һЩܿڣʾ ܽűѡܣ
P3.0 RXDڣ P3.1 TXDڣ P3.2 /INT0ⲿж0 P3.3 /INT1ⲿж1 P3.4 T0ʱ0ⲿ룩 P3.5 T1ʱ1ⲿ룩 P3.6 /WRⲿݴ洢дѡͨ P3.7 /RDⲿݴ洢ѡͨ
P3ͬʱΪ˸̺ͱУһЩźš
RSTλ롣λʱҪRSTڵĸߵƽʱ䡣 ALE/PROGⲿ洢ʱַƽַĵλֽڡFLASHڼ䣬塣ƽʱALEԲƵźţƵΪƵʵ1/6ⲿڶʱĿġȻҪעǣÿⲿݴ洢ʱһALE塣ֹALESFR8EHַ0ʱ ALEִֻMOVXMOVCָALEá⣬űߡⲿִ״̬ALEֹλЧ
PSENⲿ洢ѡͨźšⲿ洢ȡָڼ䣬ÿ/PSENЧڷⲿݴ洢ʱЧ/PSENźŽ֡
EA/VPP/EAֵ͵ƽʱڴڼⲿ洢0000H-FFFFHǷڲ洢עܷʽ1ʱ/EAڲΪRESET/EA˱ָߵƽʱ˼ڲ洢FLASHڼ䣬Ҳʩ12V̵ԴVPP
XTAL1Ŵ뼰ڲʱӹ·롣 XTAL2Է
ԣXTAL1XTAL2ֱΪŴ÷ŴΪƬʯմɲáⲿʱԴXTAL2ӦӡڲʱźҪͨһƵ˶ⲿʱźŵκҪ뱣֤ĸߵ͵ƽҪĿȡ
оƬPEROMкλĵͨȷĿźϣALEܽŴڵ͵ƽ10ms ɡоƬУȫд1κηǿմ洢ֽڱظǰò뱻ִС⣬AT89C51̬ڵ͵Ƶʵ¾̬֧ѡĵģʽģʽ£CPUֹͣRAMʱںжϵͳڹڵģʽ£RAMݲҶֹоƬܣֱһӲλΪֹ[6] 2.2Ľ 2.2.1ĸ
һֽתΪλƵִлͨһ㽲յһźţ趨ķתһ̶ĽǶȣǣͨƽλӶﵽȷλĿģͬʱͨƵƵתٶȺͼٶȣӶﵽٵĿġǽźתΪλƻλƵĿԪڷdzص£ת١ֹͣλֻȡźŵƵʺܸر仯Ӱ죬һźţתһǡһԹϵĴڣϲֻԵۻص㡣ʹٶȡλõȿòƱķdzļ
Ȼѱ㷺Ӧãֱͨڳʹá˫źš·ɿϵͳʹáúòȴ£漰еӼרҵ֪ʶͼ
2.2.2Ĺԭ
U1V1W1ӵԴֱؿƣU2V2W2ֱӵءڴ״̬ͨ磬תڵ£ŵСλãλתڶԳݵ״̬תһָӦĹԭõӵ·ֱɷʱģʱƵֵΪ磬Ϊʱģʱ ʱȦͨ˳:
1-2Ȧ˳
˳ 0 1 2 3 A 1 0 0 1 B 1 1 0 0 A 0 1 1 0 B 0 0 1 1 ͨʱΪAB-BA-AB-BA-ABʱΪתͨʱΪAB-BA-AB-BA-ABʱΪתƬΪIJ˴10ϢʵͨͬȵʱõͬƵʵIJ壬ӶõֲٶȣҲǸıתٶȡ 2.2.3Ľṹ ṹΪתӺͶ֣
1ӣɹƬɵģ6żÿ2ԵĴżΣSһԣ3ԡӳ裬伸ηֱתӳߴ 01/3С2/3,תӳľΪݾԦбʾA1룬B2Ҵ1/3УC3Ҵ2/3УA'5룬A'A5dz1
2תӣŲƳɣҲȵطֲС,붨ϵСͬСݵĴСͬͬ
ࣺ֣ʽPM ӦʽVRͻʽHBʽһΪ࣬תغСһΪ7.5 15ȣӦʽһΪ࣬ʵִתһΪ1.5ȣܴŷȷ80ѱ̭ʽָʽͷӦʽŵ㡣ַΪࣺಽһΪ1.8ȶಽһΪ 0.72ȡֲӦΪ㷺 1ʽʽһΪ࣬תغСһΪ7.5 15ȣʽ綯ش̬ܺãǴ
2ӦʽӦʽһΪ࣬ʵִתһΪ1.5ȣܴӦʽתӴ·ŲƳɣж飬ôŵı仯תءӦʽ綯ṹɱͣС̬ܲ
3ʽʽ綯ۺ˷Ӧʽʽ綯ߵŵ㣬IJС̬ܺãĿǰߵIJ綯ʱҲŸӦʽ綯ַΪࣺಽһΪ1.8ȶಽһΪ 0.72ȡֲӦΪ㷺 2.2.4ص㣺
1һ㲽ľΪǵ3-5%Ҳۻ 2¶ȡ
¶ȹȻʹĴԲ˴ţӶ½ʧ˵¶ӦȡڲͬԲϵ˴ŵ㣻һԲϵ˴ŵ㶼130ϣеߴ200ϣԲ¶80-90ȫ
3ػתٵ߶½
תʱĵнγһ綯ƣƵԽߣ綯Խ£ƵʣٶȣСӶ½
4ʱת,һٶȾ,Х