虫虫首页|资源下载|资源专辑|精品软件
登录|注册

Parameter

参数,也叫参变量,是一个变量。我们在研究当前问题的时候,关心某几个变量的变化以及它们之间的相互关系,其中有一个或一些叫自变量,另一个或另一些叫因变量。如果我们引入一个或一些另外的变量来描述自变量与因变量的变化,引入的变量本来并不是当前问题必须研究的变量,我们把这样的变量叫做参变量或参数。英文名:Parameter
  • spi 通信的master部分使用的verilog语言实现

    spi 通信的master部分使用的verilog语言实现,可以做为你的设计参考。module spi_master(rstb,clk,mlb,start,tdat,cdiv,din, ss,sck,dout,done,rdata);    input rstb,clk,mlb,start;    input [7:0] tdat;  //transmit data    input [1:0] cdiv;  //clock divider input din; output reg ss;  output reg sck;  output reg dout;     output reg done; output reg [7:0] rdata; //received dataParameter idle=2'b00; Parameter send=2'b10; Parameter finish=2'b11; reg [1:0] cur,nxt; reg [7:0] treg,rreg; reg [3:0] nbit; reg [4:0] mid,cnt; reg shift,clr;

    标签: spi 通信 master verilog

    上传时间: 2022-02-03

    上传用户:突破自我

  • verilog实现I2C通信的slave模块源码状态机设位计可做I2C接口的仿真模型

    verilog实现I2C通信的slave模块源码状态机设位计可做I2C接口的仿真模型//`timescale 1ns/1psmodule I2C_slv (input [6:0] slv_id,input       RESET,input       scl_i,      //I2C clkinput       sda_i,      //I2C data ininput [7:0] I2C_RDDATA,////////////////////////output reg       sda_o,     //I2C data outoutput reg       reg_w,     //reg write enable pulse (1T of scl_i)output reg [7:0] I2C_ADDR,output reg [7:0] I2C_DATA);  Parameter ST_ADDR    = 4'd0;  Parameter ST_ACK     = 4'd1;  Parameter ST_WDATA1  = 4'd2;  Parameter ST_WACK1   = 4'd3;  Parameter ST_WDATA2  = 4'd4;  Parameter ST_WACK2   = 4'd5;  Parameter ST_WDATA3  = 4'd6;  Parameter ST_WACK3   = 4'd7;  Parameter ST_RDATA1  = 4'd8;  Parameter ST_RACK1   = 4'd9;  Parameter ST_IDLE    = 4'd15;//---------------------------------------------------------------------------// Signal Declaration//---------------------------------------------------------------------------  reg        i2c_start_n, i2c_stop_n;  //wire       RESET_scl;  wire       i2c_stp_n, i2c_RESET;  reg [3:0]  i2c_cs, i2c_ns;  reg [3:0]  cnt_bit;  reg [7:0]  d_vec;  reg        i2c_rd, i2c_ack;  reg [7:0]  I2C_RDDATA_latch;

    标签: verilog i2c 通信 slave

    上传时间: 2022-02-03

    上传用户:zhengtiantong

  • 基于单片机的红外测温装置设计

    温度控制如今已成为当代社会研究的热点之一,而温度检测在现代设备参数检测中也是一项极其重要的技术,应用十分广泛。与传统的测温方法相比,红外测温方法具有时间短、精度高、使用简单方便等优点。本文以环境温度为被测对象,设计了以STC89C52单片机为控制中心的红外测温装置,能够实现对目标温度的实时采集、处理、显示和报警等功能。本设计主要是由STC89C52单片机、红外测温传感器、LCD1602液晶显示器、按键和蜂鸣器等部分组成,采用非接触的方式对目标温度进行实时检测。Temperature control has become one of the hotspots in contemporary social research,and temperature detection is an extremely important technology in modern equipment Parameter detection.Compared with traditional method,the infrared temperature measuring method has advantages of short time,high precision and convenient operation,etc.This paper consider environment temperature as research objects and designs an infrared temperature measuring device which employs the STC89C52singlechipas-control center,and it can realize timely collection,processing,display and alarm function of the target temperature.The design is mainly composed of STC89C52 singlechip,infrared temperature sensor,LCD1602monitor,keys and buzzer,etc.This design detects the target temperature by non-contact method.

    标签: 单片机 红外测温

    上传时间: 2022-03-27

    上传用户:jiabin

  • 基于LabVIEW和单片机的自动控制系统综合实验

    设计了自动控制系统综合实验案例“基于LabVIEW和单片机的温度控制系统设计”。实验系统硬件部分由单片机、温度传感器、D/A转换模块、调压模块和电烤箱组成,设计了单片机与各个模块之间的接口电路。软件部分采用LabVIEW软件实现控制算法,并设计监控界面实现参数设定、温度数据实时监控等功能。设计了单片机与LabVIEW软件之间的串口通信程序,实现了输入、输出数据的传输。通过综合实验系统设计,使学生得到控制系统设计和实验调试等综合能力的训练。A comprehensive experimental case of the automatic control system is presented,which is the design of the temperature control system based on LabVIEW and SCM.The hardware part of the experimental system is composed of the SCM,temperature sensor,D/A conversion module,voltage regulating module and electric oven.The interface circuit between the SCM and each module is designed.In the software part,LabVIEW software is used to realize the control algorithm,and the monitoring interface is designed to realize the functions of Parameter setting,temperature data real-time monitoring,etc.The serial communication program between the SCM and LabVIEW software is designed to realize the transmission of input and output data.Through the design of this comprehensive experimental system,students can get the comprehensive ability training for the control system design,experiment debugging,etc.

    标签: labview 单片机 自动控制系统

    上传时间: 2022-03-27

    上传用户:qdxqdxqdxqdx

  • MOSFET开关过程的研究及米勒平台振荡的抑制

    设计功率MOSFET驱动电路时需重点考虑寄生参数对电路的影响。米勒电容作为MOSFET器件的一项重要参数,在驱动电路的设计时需要重点关注。重点观察了MOSFET的开通和关断过程中栅极电压、漏源极电压和漏源极电流的变化过程,并分析了米勒电容、寄生电感等寄生参数对漏源极电压和漏源极电流的影响。分析了栅极电压在米勒平台附近产生振荡的原因,并提出了抑制措施,对功率MOSFET的驱动设计具有一定的指导意义。When designing the drive circuit of power MOSFET,the influence of parasitic Parameters on the circuit should be concerned.As an important Parameter of MOSFET device,Miller capacitance should be considered in the design of drive circuit.The variation of gate voltage,drain source voltage and drain source current during the turn-on and turn-off of MOSFET were observed.The influences of parasitic Parameters such as Miller capacitance and parasitic inductance on drain source voltage and drain source current were analyzed.The reasons of gate voltage oscillation nearby Miller plateau were analyzed,and the restraining measures were put forward.This research was instructive for the drive design of power MOSFET.

    标签: mosfet

    上传时间: 2022-04-01

    上传用户:默默

  • 基于DSP28335+IR2110芯片的移相全桥驱动电路设计

    为解决移相全桥电路驱动及相角控制问题,设计了一种数字控制的移相全桥驱动电路.以TPL521为光耦隔离、IR2110为栅极驱动芯片.由DSP产生PWM信号,经过光耦隔离和逻辑电路后送至IR2110进行相角控制.文章对IR2110驱动电路原理进行分析及参数进行设计,对TMS320F28335进行设置并给出部分代码.实验结果表明:通过TMS320F28335可产生的不同相角的PWM波形,满足了移相全桥对不同相角控制的要求.In order to solve the problem of phase-shifted full-bridge circuit driving and phase angle control,a digitally controlled phaseshifted full-bridge driving circuit was designed. TPL521 optocoupler isolation,IR2110 gate driver chip. PWM signals are generated by the DSP and sent to the IR2110 for phase angle control after optocoupler isolation and logic circuits. This text carries on the analysis to the principle of IR2110 drive circuit and Parameter design,set up and give out some code to TMS320F28335. The experimental results show that the PWM waveforms with different phase angles generated by TMS320F28335 can meet the requirements of phase-shifted full-bridge control for different phase angles.

    标签: dsp28335 ir2110 芯片

    上传时间: 2022-05-03

    上传用户:zhanglei193

  • 基于PSIM仿真的开关电源Boost电路的设计

    基于PSIM仿真软件,分析了Boost电路拓扑结构,设定了参数要求进行电路仿真设计,通过电路仿真软件PSIM对Boost电路工作在CCM模式下,合理设置占空比参数。实验结果表明理论分析与仿真的一致性和参数设计的正确性,输出电压和电流参数稳定,Boost电路输出效率高。This design is based on PSIM simulation software,analyzes the topology of Boost circuit,sets the Parameter re- quirements for circuit simulation design,and reasonably sets the duty cycle Parameters for Boost circuit working in CCM mode through PSIM simulation software.The experimental results show that the theoretical analysis and simulation are consis- tent and the Parameter design is correct,the output voltage and current Parameters are stable.

    标签: psim 开关电源 boost

    上传时间: 2022-05-03

    上传用户:moh2000

  • Sigmawin+软件-伺服操作说明

    1运行sigmawin+1.1选择伺服驱动器sigmawin+软件开始运行时,会看到选择连接的对话框,根据实际使用的通信端口来选择伺服驱动器和PC的连接。选择连接伺服驱动器的方式:在线或离线状态,在线状态是默认设置在线方式:当要对伺服驱动器进行调谐和设置时需要使用在线方式离线方式:当要对参数进行调整以及检查屏幕显示和机械分析时使用离线方式当采用离线方式时选择相应系列的伺服,之后会出现sigmawin+软件的主窗口当选择在现方式时之后进行必要的通信端口的选择点击search按钮,搜索当先连接的端口,注:2-V为USB端口点击search按钮,当驱动器和PC成功连接后会出现如下对话框点击出现的相应型号的伺服驱动器然后按connect按钮或者直接双击伺服驱动器来进行连接,sigmawin+软件的主窗口就会出现,点击cancel关闭当前对话框。Sigmawin+连接2-V后出现主窗口所有的应用功能都可以通过菜单栏或工具栏上面使用1.2工具栏直接点击工具栏上的图标就可以使用相应的功能1.3参数设定伺服驱动器的参数可以在离线模式和在线模式下进行设置,但是这两种状态下的参数设置画面是不同的。1.4参数的转换在sigmawin+软件主窗口中,点击Parameters然后点击Parameter converter选择需要转换的参数文件,即其他系列的伺服驱动器,点击open选中的文件将被导入,源文件对应的驱动器的型号会显示在conversion source中。转换后对应的驱动器型号也会在conversion destination中自动设置。注:如果选择了不能转换的文件,会出现以下对话框提示你选择了不能转换的文件。点击convert已选择的之前系列的驱动器参数文件将被转换成和2-V系列驱动器相一致的参数数据,而且会保存在新建的参数文件中。转换完成后,转换结果会显示在参数转换窗口中。如下:

    标签: sigmawin

    上传时间: 2022-05-31

    上传用户:yiyewumian

  • stm32cubeMX串口使用文档

    一建立STM32cubeMX工程1.建立新工程,选择芯片STM32F302CCTx2. 在Pinout 中时钟配置为高速外部时钟, UART配置为异步通信, cube 会自动分配引脚。3.Clock Configuration 中配置如下4.configuration 中点击USART1可进入配置在USART1 configuration 中Parameter Settings 可以配置波特率,发送数据字长,奇偶校验位和停止位等。NVIC Setting 可以配置中断优先级。5.生成keil 软件代码点击工具栏中的齿轮按钮,可以选择代码的开发平台, ok 结束。(文件保存路径一定要是全英文的)进过了我们一系列的配置, cube 会为我们自动生成keil 软件的代码,代码中包括工程所需的固件库,配套的头文件,启动文件及用户文件。在main.c 中包括了我们工程所需外设的初始化,包括了系统时钟初始化,中断初始化, GPIO初始化, USART1初始化, HAL库初始化。我们只需要在main.c 中添加我们自己的代码就可以了。二keil 软件代码及HAL库使用UART_HandleTypeDef huart1;生成的代码中有声明一个USART处理的结构体HAL库中串口的数据收发有四个函数HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_tSize, uint32_t Timeout);HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_tSize, uint32_t Timeout);指针huart 指向我们之前定义的USART处理结构体, 我们将在函数中对结构体中的参数进行操作。pDate 是我们自己定义的数据发送接收缓存, Size 发送接收数据个数, Timeout 超时持续时间。UART状态的结构体:我们在发送接收函数中要经常对USART的状态进行判断,以便我们对函数结构体中的参数进行操作

    标签: stm32cubemx 串口

    上传时间: 2022-06-22

    上传用户:shjgzh