当前位置:网站首页>15001. System design scheme
15001. System design scheme
2022-07-23 16:31:00 【xhome516】
List of articles
1 System log scheme
1.1 background
In order to better control the products after mass production , Conduct product use scenarios 、 Life cycle 、 Troubleshooting 、 Return to the factory for maintenance and big data analysis , We need to build a system log system for our own products .
1.2 Product needs
According to different system requirements , Define what needs to be recorded in the system log .
| system log | Log description | Log format | Allocate space | remarks |
|---|---|---|---|---|
| The total running time of the system | The whole life cycle | Hours + minute | – | Record the working hours of products in the whole life cycle , Analyze the service life of the product under different scenarios in combination with temperature |
| Power on times of the system | The whole life cycle | frequency | – | Record the power on times of the product in the whole life cycle |
| On off event | The whole life cycle | frequency | – | Record the time of the event |
| Temperature of key components | The whole life cycle | Record according to the temperature gear :[-40, 0), [0, 20), [20, 50),[50, 85] | – | By analyzing the temperature of key components , Analyze the influence of temperature on the service life of products |
| Statistics of external operation instructions | Record recent xx Article can be | – | – | During product operation , Generate any exceptions , Through backtracking instructions , Get the running status of the product at that time |
| The system prints logs | Key parameters print after startup , Turn it on LOGO, frequency , Time | – | – | product bug Debugging is convenient for positioning |
1.3 Implementation scheme
| Storage location | Advantages and disadvantages | Failure risk | Solution | remarks |
|---|---|---|---|---|
| DDR | The space is large 、 Fast reading and writing | Power loss | – | – |
| Flash | The space is large 、 Fast reading and writing 、 Don't lose power 、 Erasure life 10w Level | Risk of power loss when writing or erasing | The hardware slows down , Dual backup storage , Cross write | – |
| eeprom | Small space 、 Fast reading and writing 、 Don't lose power 、 Erasure life is millions of levels | Risk of power failure when writing | Backup battery slow down ; use ADC To detect the operation when the power down voltage is lower than a certain value EEPROM; use CMP+ and CMP- To compare voltage interruptions , Then operate EEPROM. | – |
In the absence of hardware as an auxiliary power down solution , This power failure problem cannot be completely solved from the perspective of software , use flash Cross backup write comparison , It can reduce the risk value of power failure when erasing .
1.4 Technology path
1.zlog The log comes with month, day, hour, minute and second https://blog.csdn.net/weixin_28673511/article/details/1231161452.syslog The system has its own log system Month day hour minute second
边栏推荐
- Calendar calendar class
- 2022 blue hat cup preliminary WP
- Bean Validation核心组件篇----04
- Purpose of wsastartup function
- mysql多表查询之_笛卡尔乘积_内连接_隐式连接
- 锁相环工作原理,比如我们8MHZ晶振如何让MCU工作在48MHZ或者72MHZ呢
- Go interface: go deep into internal principles
- EmguCV录制视频
- VMware platform STS certificate expired
- Flutter | 给 ListView 添加表头表尾最简单的方式
猜你喜欢
10": potential combination of no code / low code and RPA Technology"/>"1+1 > 10": potential combination of no code / low code and RPA Technology

Unity Metaverse(一)、Ready Player Me & Blender 自定义你的Avatar虚拟人

Memory methods of big end mode and small end mode

大端模式和小端模式的记忆方法

Oralce中实现将指定列的指定内容替换为想要的内容

练习代码----第一天

VMware platform STS certificate expired

UiPath Studio Enterprise 22.4 Crack

激光共聚焦如何选择荧光染料

Flutter | 指定页面回传值的类型
随机推荐
es6把多个class方法合并在一起
Go 接口:深入内部原理
Éléments de base de la validation des haricots - 04
Please initialize the log4j system properly.
20220721挨揍内容
mysql多表查询之_内连接_显示内连接
Purpose of wsastartup function
CA数字证书
Backup and restore of database
Basic concept and deployment of kubernetes
软件详细设计模板
华为新版Datacom认证介绍
IIS 部署.NetCore
Flutter | 给 ListView 添加表头表尾最简单的方式
激光共聚焦如何选择荧光染料
STM32F103+RFID-RC522模块 实现简单读卡写卡demo「建议收藏」
牛客-TOP101-BM36
反转链表画图演示
vulnstack红日-4
Bean Validation起源篇----01