The utility model discloses a circuit for realizing power-off flash storage in an embedded system, which is characterized in that: including a pulse signal output circuit and a DC power supply circuit, the pulse signal output circuit has D1, D2 diodes, R1 current limiting resistance, Z1 voltage stabilizing tube and R2, R3 partial piezoelectric resistance, the input ends of D1 and D2 diodes are connected with the two ends of the transformer secondary pole, and the output of D1 and D2 diodes After the end is combined, it is connected in series with R1 current limiting resistance and R2, R3 partial resistance, Z1 regulator is connected in parallel with R2, R3 partial resistance, R2 and R3 partial resistance are connected with I / O port of single chip microcomputer; DC power supply circuit has W1 rectifier bridge and C1 electrolytic capacitor, terminals 1 and 3 of W1 rectifier bridge are connected with both ends of transformer secondary pole, terminals 2 and 4 of W1 rectifier bridge are connected with positive and negative ends of C1 electrolytic capacitor Connect the terminal 2 of W1 rectifier bridge to the DC power supply line of single chip microcomputer. The utility model solves the power-off data protection of the embedded system powered by the linear power supply by the flash storage means, reduces the cost and improves the reliability.
【技术实现步骤摘要】
在嵌入式系统中实现掉电Flash保存的电路
本技术涉及一种在由线性电源供电的嵌入式系统中实现掉电Flash保存的电路。
技术介绍
在由线性电源供电的嵌入式系统中,一般指单片机系统,工作过程中如果掉电需要进行数据的保存。目前,采用的技术手段为为单片机增加外部非易失性存储器例如EEPROM或为系统增加后备电池供电,加EEPROM的方案单片机对外部存储器进行频繁读写操作,占用系统资源且增加成本,加后备电池的方案单片机在掉电后由直流电供电,同样增加成本并降低可靠性。如果利用单片机片内Flash对数据进行保存,由于Flash的工作寿命只有5000-10000次,显然不能满足单片机频繁修改并保存数据的工作要求。
技术实现思路
针对现有技术的不足,本技术的目的是提供一种利用Flash存储手段解决线性电源供电的嵌入式系统的掉电数据保护,降低成本并提高可靠性的实现掉电Flash保存电路,其技术方案是:在嵌入式系统中实现掉电Flash保存的电路,其特征在于:包括脉冲信号输出电路和直流电源供电电路,脉冲信号输出电路具有D1、D2二极管、R1限流电阻、Z1稳压管和R2、R3分压电阻,D1、D2二极管的输入端与变压器次极的两端相连,D1、D2二极管的输出端合并后与R1限流电阻和R2、R3分压电阻依次串联,Z1稳压管与R2、R3分压电阻并联,R2、R3分压电阻之间设有端子连接单片机的I/O口;直流电源供电电路具有W1整流桥和C1电解电容,W1整流桥的端子1、3连接于变压器次极的两端,W1整流桥的端子2、4与C1电解电 ...
【技术保护点】
1.在嵌入式系统中实现掉电Flash保存的电路,其特征在于:包括脉冲信号输出电路和直流电源供电电路,脉冲信号输出电路具有D1、D2二极管、R1限流电阻、Z1稳压管和R2、R3分压电阻,D1、 D2二极管的输入端与变压器次极的两端相连,D1、 D2二极管的输出端合并后与R1限流电阻和R2、R3分压电阻依次串联,Z1稳压管与R2、R3分压电阻并联,R2、R3分压电阻之间设有端子连接单片机的I/O口;直流电源供电电路具有W1整流桥和C1电解电容,W1整流桥的端子1、3连接于变压器次极的两端,W1整流桥的端子2、4与C1电解电容的正负端相连,W1整流桥的端子2连线单片机的直流电源供给线路。/n
【技术特征摘要】
1.在嵌入式系统中实现掉电Flash保存的电路,其特征在于:包括脉冲信号输出电路和直流电源供电电路,脉冲信号输出电路具有D1、D2二极管、R1限流电阻、Z1稳压管和R2、R3分压电阻,D1、D2二极管的输入端与变压器次极的两端相连,D1、D2二极管的输出端合并后与R1限流电阻和R2、R3分压...
【专利技术属性】
技术研发人员:南志超,王重胜,林一河,
申请(专利权)人:浙江万松电气有限公司,
类型:新型
国别省市:浙江;33
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。