电子书-RTL Design Style Guide for Verilog HDL540页A FF having a fixed input value is generated from the description in the upper portion of Example 2-21. In this case, ’0’ is output when the reset signal is asynchronously input, and ’1’ is output when the START signal rises. Therefore, the FF data input is fixed at the power supply, since the typical value ’1’ is output following the rise of the START signal. When FF input values are fixed, the fixed inputs become untestable and the fault detection rate drops. When implementing a scan design and converting to a scan FF, the scan may not be executed properl not be executed properly, so such descriptions , so such descriptions are not are not recommended. recommended.[1] As in the lower part of Example 2-21, be sure to construct a synchronous type of Circuit and ensure that the clock signal is input to the clock pin of the FF. Other than the sample shown in Example 2-21, there are situations where for certain control signals, those that had been switched due to the conditions of an external input will no longer need to be switched, leaving only a FF. If logic exists in a lower level and a fixed value is input from an upper level, the input value of the FF may also end up being fixed as the result of optimization with logic synthesis tools. In a situation like this, while perhaps difficult to completely eliminate, the problem should be avoided as much as possible.
标签: RTL verilog hdl
上传时间: 2022-03-21
上传用户:canderile
针对嵌入式产品程序更新问题,提出了一种基于IAP技术的STM32单片机在线固件升级方案,设计了STM32单片机最小系统硬件电路和USB转串口通信电路,并给出了Bootloader程序、APP程序、PC上机程序的实现流程.实验结果表明,该方案具有简单实用、稳定性高、维护成本低和设备使用效率高的特点,适用于嵌入式产品升级.For the problem of updating embedded products program,an online firmware upgrade scheme of STM32 single chip microcomputer based on IAP technology is proposed.This scheme not only elaborates the principle of IAP technology in detail but also provides the design of the minimum system hardware Circuit of STM32 MCU,the design of USB for serial communication Circuit,and the implementation flow of Bootloader program,APP program and PC program.The experiment results show that the scheme is simple,practical and highly stable.In addition,it can be used to actual embedded product upgrading,significantly reducing maintenance costs and improving the efficiency of equipment.
上传时间: 2022-03-25
上传用户:
对某四轮独立驱动电动汽车轮毂电机进行研究,设计一种永磁无刷直流电机控制器.以STM32F103RBT6芯片为基础,对电机驱动电路、采样电路和保护电路分别进行硬件设计与分析;同时,采用模块化软件设计方案,对该控制器的软件系统进行升级.实验验证表明:所设计的电机控制器能使电机响应迅速、转速稳定、无超调,且电动车动力输出性能良好.A permanent magnet brushless direct current motor controller was designed by studying the hub motor of a four-wheel independent drive electric vehicle.Based on STM32 F103RBT6 chip,the hardware design and analysis of motor drive Circuit,sampling Circuit and protection Circuit were carried out respectively.At the same time,modular software design scheme was adopted to upgrade the software system of the controller.Experimental results show that the designed motor controller can ensure the motor fast response,stable speed,no overshoot,and good power output performances.
上传时间: 2022-03-26
上传用户:qingfengchizhu
研究一种智能扫地机器人。从硬件系统控制模块设计到主要技术调试进行了较详细的阐述。以STM32单片机为控制核心与电机驱动、红外线路径识别模块等相互协调应用。进行电路搭建和程序编写。实现了智能扫地机器人红外线避障和自动扫地功能,其清扫面积能达到约70%,清扫率约60%,很大程度受到自身机械机构的限制,后期将对小车的机械结构进行完善。This paper studies an intelligent sweeping robot.From the hardware system control module design to the main technical debugging are described in detail.STM32 MCU is used as the control core to coordinate with motor drive and infrared path recognition module.Conduct Circuit building and programming.The functions of infrared obstacle avoidance and automatic sweeping of intelligent sweeping robot are realized.Its cleaning area can reach about 70%and the cleaning rate is about 60%.Because it is limited by its own mechanical mechanism to a great extent,the mechanical structure of the car will be improved in the later stage.
标签: 扫地机器人
上传时间: 2022-03-26
上传用户:
设计了农业温湿度智能控制系统,该系统采用DHT11温湿度传感器作为温湿度采集模块,单片机选用AT89C52代替并调用Virtual terminal模拟串口通信,LCD1604液晶显示器实时显示温湿度,实现了温湿度的测量、显示,可自动控制加热、降温、加湿、通风,实现温湿度控制以及超限报警处理,并利用Proteus与Keil进行实际电路的仿真。试验表明,该系统实现了可靠的温湿度监控。We described the design of an intelligent control system of agriculture temperature and humidity.The system uses DHT11 temperature and humidity sensor as the temperature and humidity acquisition module.The SCM adopts AT89C52 to replace and call the virtual terminal for simulating serial communication.LCD1604 displays temperature and humidity in real time,which implements the measurement and display of temperature and humidity.The system is able to automatically control heating,cooling,humidification and ventilation,to achieve temperature and humidity control and over-limit alarm processing.The system also uses Proteus and Keil for actual Circuit simulation.The experiment shows that the system is capable of reliable temperature and humidity monitoring.
上传时间: 2022-03-26
上传用户:aben
本系统采用电动机电枢供电回路串接采样电阻的方式来实现对小型直流有刷电动机的转速测量。该系统主要由二阶低通滤波电路,小信号放大电路、单片机测量显示电路、开关稳压电源电路等组成。同时自制电机测速装置,用高频磁环作为载体,用线圈绕制磁环,利用电磁感应原理检测电机运行时的漏磁,将变化的磁场信号转化为磁环上的感应电流。用信号处理单元电路将微弱电信号转化为脉冲信号,送由单片机检测,从而达到准确测量电机的速度的要求。In this system, the sampling resistance of armature power supply Circuit is connected in series to measure the speed of small DC brush motor. The system is mainly composed of second-order low-pass filter Circuit, small signal amplifier Circuit, single-chip measurement and display Circuit, switching regulated power supply Circuit and so on. At the same time, the self-made motor speed measuring device uses high frequency magnetic ring as the carrier, coil winding magnetic ring, and electromagnetic induction principle to detect the leakage of magnetic field during the operation of the motor, which converts the changed magnetic field signal into the induced current on the magnetic ring. The weak electric signal is transformed into pulse signal by signal processing unit Circuit, which is sent to single chip computer for detection, so as to meet the requirement of accurate measurement of motor speed.
标签: 直流电动机
上传时间: 2022-03-26
上传用户:
随着光伏发电系统快速发展,以及电动汽车充电桩的普及,传统的剩余电流保护器无法满足实际需求。介绍了一款B型剩余电流保护器,采用磁调制剩余电流互感器和零序电流互感器采集剩余电流。根据GB/T 22794—2017标准要求,可识别1 kHz及以下的正弦交流、带和不带直流分量的脉动直流、平滑直流等剩余电流信号。经信号调理电路将电压信号送到单片机进行采集和判断。通过试验测试,该样机在测试精度和速度上均符合国家标准的相关要求。The rapid development of photovoltaic power generation systems and the popularity of electric vehicle charging piles make the traditional residual current protective devices unable to meet the actual demand.This paper proposed a type B residual current protective device,which uses the magnetically modulated residual current transformer and the zero sequence current transformer to acquire the residual current.According to the requirements of GB/T 22794—2017,the type B residual current protective device can detect sinusoidal AC residual current of 1kHz and below 1kHz,pulsating DC residual current with and without DC component,smooth DC residual current and so on.The signal processing Circuit sends the voltage signal to the MCU for acquisition and judgment.Through experimental tests,the device meets the relevant requirements of national standards in terms of test accuracy and speed.
标签: 电流保护器
上传时间: 2022-03-27
上传用户:
以AT89S52单片机为控制核心,采用电容降压技术,Buck电路拓扑,PWM驱动模块和功率器件散热设计,通过高速的数据采集、主功率输入输出模块和控制模块,设计一种新型智能车载充电器.在充电过程中,通过负脉冲瞬间放电实现对铅酸蓄电池的再生修复,提高电池的有效容量,延长使用寿命.该充电器体积小、速度快、效率高、可靠性好.With AT89S52 single chip computer as the control core,a new type of intelligent car-carried charger was designed by using capacitance step-down technology,Buck Circuit topology,PWM driving module and power device heat dissipation design,through high-speed data acquisition,main power input and output module and control module.In the charging process,the regeneration and repair of lead-acid batteries are realized by instantaneous discharge of negative pulse,which improves the effective capacity of batteries and prolongs their service life.The charger has the advantages of small size,fast speed,high efficiency and good reliability.
标签: 车载充电器
上传时间: 2022-03-27
上传用户:
基于药物治疗在临床治疗中的重要性,分析目前服药提醒装置存在的不足,以STM32F103VET6单片机为控制核心,设计了一种多功能电子药箱。该系统包括显示模块、语音模块和数据存储模块。显示模块通过触摸屏电路和LED指示灯电路,与语音模块相配合,实现了服药提醒及指导的功能;数据存储模块通过EEPROM存储电路,能够实现掉电时服药信息不丢失的功能。并且为了实现电子药箱的智能化控制,开发了手机APP,两者之间可通过WIFI进行数据通信。经测试,该药箱能够有效地帮助慢性病患者按时、定量、正确服用药物,适合在家庭中推广使用,具有较高的应用价值和实践意义。Based on the importance of drug therapy in clinical treatment, this paper analyzes the shortcomings of current drug reminder devices, and designs a multi-function electronic medicine box with STM32 F103 VET6 microcontroller as the control core. The system includes a display module, a voice module, and a data storage module. The display module cooperates with the voice module through the touch screen Circuit and the LED indicator Circuit to realize the function of reminding and guiding the medicine;the data storage module can realize the function of not losing the medication information when the power is off through the EEPROM storage Circuit.After testing, the medicine box can effectively help chronic diseases patients to take drugs on time, in a quantitative and correct manner,and is suitable for popularization in the family, and has high application value and practical significance.
标签: 电子药箱
上传时间: 2022-03-27
上传用户:
配电网中,各种配电终端的电流、电压、有功功率及无功功率等模拟量的采集是配电网自动化的重要环节。这些模拟量的采集也是各种仪器和家用电器的必要功能。因此,设计了基于嵌入式STM32F103单片机的交流电压、交流电流及有功功率的采集系统,通过电压互感器TV1005M和电流互感器TA1005M分别检测交流电压和交流电流值;屏幕或者手机APP和WiFi模块互联后,可以实时显示交流电压、交流电流、功率及电量值;通过设定阈值功率,可以实现对电流的监控和对电路的保护。In the distribution network,the collection of analog,such as current,voltage,active power,and reactive power at various distribution terminals is a very important part of distribution network automation. These analog acquisitions are also for various instruments and household appliances. Very important technology. Therefore,an AC voltage,AC current and active power acquisition system based on embedded STM32 F103 machine is designed,and AC voltage and AC current values are detected by voltage transformer TV1005 M and current Transformer TA1005 M respectively;After the screen or mobile phone APP and WiFi modules are interconnected,AC voltage,AC current,power,and power values can be displayed in real time;By setting the threshold power,the current can be monitored and the Circuit can be protected.
上传时间: 2022-03-27
上传用户:shjgzh