针对采用控制器局域网络(CAN:Controller Area Network)总线的自动操舵系统和采用串口通讯的航海导航设备之间通讯的不匹配问题,设计了一种基于Cortex-M3嵌入式平台的通信转换模块,实现了串口与CAN总线数据的双向转换功能。同时对传统CA...针对采用控制器局域网络(CAN:Controller Area Network)总线的自动操舵系统和采用串口通讯的航海导航设备之间通讯的不匹配问题,设计了一种基于Cortex-M3嵌入式平台的通信转换模块,实现了串口与CAN总线数据的双向转换功能。同时对传统CAN收发器CTM1050存在的信号稳定性不足、波特率精准度低等问题,提出并实现了一种硬件电路的替代方案,提高了数据通讯的时效性和稳定性。基于CAN2.0B扩展帧,设计了自动操舵系统内部CAN总线协议。该协议可根据报文信息优先级分配标识帧,保证了总线数据的有序传输。实验结果表明,该通讯模块功能使用正常且通讯效果良好,具有一定通用性,可在多种需要转换的设备系统上推广使用。展开更多
The operation of biomass treatment devices such as gasifiers is based on the control of key parameters that play an important role in product formation. These include: temperature, excess oxygen, relative humidity and...The operation of biomass treatment devices such as gasifiers is based on the control of key parameters that play an important role in product formation. These include: temperature, excess oxygen, relative humidity and biomass composition. This work focuses on excess oxygen and temperature. Unfortunately, flue gas oxygen analyzers are expensive and not accessible to small industries. However, the equivalence ratio is linked to excess oxygen and has the advantage of not depending on biomass composition. This study therefore focuses on the design and development of a device for controlling this equivalence ratio by measuring oxygen concentration using a self-propelled Lambda probe, and a system for monitoring this equivalence ratio using an Arduino Uno 3 microcontroller. The temperature is recorded with an accuracy of ±1.5°C. For a heating time of 10 minutes, the response time to temperature change is around 3 seconds, which is sufficient for the device to function properly. This simple device is an efficient and cost-effective means of checking the equivalence ratio.展开更多
To ensure the safety of residents’lives and property by using automatic opening and closing of ordinary windows,this article designs an intelligent window automatic monitoring system.The article proposes a software a...To ensure the safety of residents’lives and property by using automatic opening and closing of ordinary windows,this article designs an intelligent window automatic monitoring system.The article proposes a software and hardware design scheme for the system,which comprises a microcontroller control module,temperature and humidity detection module,harmful gas detection module,rainfall detection module,human thermal radiation induction module,Organic Light-Emitting Diode(OLED)display module,stepper motor drive module,Wi-Fi communication module,etc.Users use this system to monitor environmental data such as temperature,humidity,rainfall,harmful gas concentrations,and human health.Users can control the opening and closing of windows through manual,microcontroller,and mobile application(app)remote methods,providing users with a more convenient,comfortable,and safe living environment.展开更多
Redundancy control can effectively enhance the stability and robustness of a system.Based on the conventional redundancy control switchover and majority arbitration strategy,this paper introduces the concept of hetero...Redundancy control can effectively enhance the stability and robustness of a system.Based on the conventional redundancy control switchover and majority arbitration strategy,this paper introduces the concept of heterogeneity and dynamics,constructs a dynamic heterogeneous redundancy-based microcontroller architecture DHR-MCU,and designs a fixed-leader distributed consensus algorithm that satisfies the program running state control of this architecture.The theoretical analysis and actual measurement of the prototype system prove that this architecture has good anti-attack and self-recovery capabilities under normal functions and performances and meets the general robust features in terms of safety and security.展开更多
The diversity of software and hardware forces programmers to spend a great deal of time optimizing their source code,which often requires specific treatment for each platform.The problem becomes critical on embedded d...The diversity of software and hardware forces programmers to spend a great deal of time optimizing their source code,which often requires specific treatment for each platform.The problem becomes critical on embedded devices,where computational and memory resources are strictly constrained.Compilers play an essential role in deploying source code on a target device through the backend.In this work,a novel backend for the Open Neural Network Compiler(ONNC)is proposed,which exploits machine learning to optimize code for the ARM Cortex-M device.The backend requires minimal changes to Open Neural Network Exchange(ONNX)models.Several novel optimization techniques are also incorporated in the backend,such as quantizing the ONNX model’s weight and automatically tuning the dimensions of operators in computations.The performance of the proposed framework is evaluated for two applications:handwritten digit recognition on the Modified National Institute of Standards and Technology(MNIST)dataset and model,and image classification on the Canadian Institute For Advanced Research and 10(CIFAR-10)dataset with the AlexNet-Light model.The system achieves 98.90%and 90.55%accuracy for handwritten digit recognition and image classification,respectively.Furthermore,the proposed architecture is significantly more lightweight than other state-of-theart models in terms of both computation time and generated source code complexity.From the system perspective,this work provides a novel approach to deploying direct computations from the available ONNX models to target devices by optimizing compilers while maintaining high efficiency in accuracy performance.展开更多
文摘针对采用控制器局域网络(CAN:Controller Area Network)总线的自动操舵系统和采用串口通讯的航海导航设备之间通讯的不匹配问题,设计了一种基于Cortex-M3嵌入式平台的通信转换模块,实现了串口与CAN总线数据的双向转换功能。同时对传统CAN收发器CTM1050存在的信号稳定性不足、波特率精准度低等问题,提出并实现了一种硬件电路的替代方案,提高了数据通讯的时效性和稳定性。基于CAN2.0B扩展帧,设计了自动操舵系统内部CAN总线协议。该协议可根据报文信息优先级分配标识帧,保证了总线数据的有序传输。实验结果表明,该通讯模块功能使用正常且通讯效果良好,具有一定通用性,可在多种需要转换的设备系统上推广使用。
文摘The operation of biomass treatment devices such as gasifiers is based on the control of key parameters that play an important role in product formation. These include: temperature, excess oxygen, relative humidity and biomass composition. This work focuses on excess oxygen and temperature. Unfortunately, flue gas oxygen analyzers are expensive and not accessible to small industries. However, the equivalence ratio is linked to excess oxygen and has the advantage of not depending on biomass composition. This study therefore focuses on the design and development of a device for controlling this equivalence ratio by measuring oxygen concentration using a self-propelled Lambda probe, and a system for monitoring this equivalence ratio using an Arduino Uno 3 microcontroller. The temperature is recorded with an accuracy of ±1.5°C. For a heating time of 10 minutes, the response time to temperature change is around 3 seconds, which is sufficient for the device to function properly. This simple device is an efficient and cost-effective means of checking the equivalence ratio.
文摘To ensure the safety of residents’lives and property by using automatic opening and closing of ordinary windows,this article designs an intelligent window automatic monitoring system.The article proposes a software and hardware design scheme for the system,which comprises a microcontroller control module,temperature and humidity detection module,harmful gas detection module,rainfall detection module,human thermal radiation induction module,Organic Light-Emitting Diode(OLED)display module,stepper motor drive module,Wi-Fi communication module,etc.Users use this system to monitor environmental data such as temperature,humidity,rainfall,harmful gas concentrations,and human health.Users can control the opening and closing of windows through manual,microcontroller,and mobile application(app)remote methods,providing users with a more convenient,comfortable,and safe living environment.
文摘Redundancy control can effectively enhance the stability and robustness of a system.Based on the conventional redundancy control switchover and majority arbitration strategy,this paper introduces the concept of heterogeneity and dynamics,constructs a dynamic heterogeneous redundancy-based microcontroller architecture DHR-MCU,and designs a fixed-leader distributed consensus algorithm that satisfies the program running state control of this architecture.The theoretical analysis and actual measurement of the prototype system prove that this architecture has good anti-attack and self-recovery capabilities under normal functions and performances and meets the general robust features in terms of safety and security.
基金This work was supported in part by the Ministry of Science and Technology of Taiwan,R.O.C.,the Grant Number of project 108-2218-E-194-007.
文摘The diversity of software and hardware forces programmers to spend a great deal of time optimizing their source code,which often requires specific treatment for each platform.The problem becomes critical on embedded devices,where computational and memory resources are strictly constrained.Compilers play an essential role in deploying source code on a target device through the backend.In this work,a novel backend for the Open Neural Network Compiler(ONNC)is proposed,which exploits machine learning to optimize code for the ARM Cortex-M device.The backend requires minimal changes to Open Neural Network Exchange(ONNX)models.Several novel optimization techniques are also incorporated in the backend,such as quantizing the ONNX model’s weight and automatically tuning the dimensions of operators in computations.The performance of the proposed framework is evaluated for two applications:handwritten digit recognition on the Modified National Institute of Standards and Technology(MNIST)dataset and model,and image classification on the Canadian Institute For Advanced Research and 10(CIFAR-10)dataset with the AlexNet-Light model.The system achieves 98.90%and 90.55%accuracy for handwritten digit recognition and image classification,respectively.Furthermore,the proposed architecture is significantly more lightweight than other state-of-theart models in terms of both computation time and generated source code complexity.From the system perspective,this work provides a novel approach to deploying direct computations from the available ONNX models to target devices by optimizing compilers while maintaining high efficiency in accuracy performance.