2021-10-17 09:07:36 索煒達電子 1214
項目編號:E1538
文件大?。?20K
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述:
主要是利用繼電器反饋法進行pid參數(shù)自動整定。若測出了系統(tǒng)的一階模型,或得出了系統(tǒng)的臨界比例增益,則可很容易地設計出PID調節(jié)器。繼電型自整定的基本想法是,在控制系統(tǒng)中設置兩種模態(tài):測試模態(tài)和調節(jié)模態(tài)。在測試模態(tài)下,調節(jié)器自動轉換成位式調節(jié),即當測量值小于設定值時,調節(jié)器輸出為滿量程,反之為零,使系統(tǒng)產(chǎn)生振蕩,振蕩過程中調節(jié)器自動提取被控對象的特征參數(shù);而在調節(jié)模態(tài)下由系統(tǒng)的特征參數(shù)首先得出PID控制器,然后,由此控制器對系統(tǒng)進行調節(jié)。當需要PID參數(shù)整定時,開關置于調整處,系統(tǒng)按繼電反饋建立起穩(wěn)定的極限環(huán)振蕩后,就可以根據(jù)系系統(tǒng)響應特征確定PID參數(shù)。自整定計算完成后開關置于調節(jié)處,系統(tǒng)進入正常控制。內含STM32程序,包含DS18B20讀取溫度
目錄│文件列表:
└ pid自整定+pid控溫+pwm輸出
│ keilkill.bat
├ Doc
│ └ readme.txt
├ Libraries
│ ├ CMSIS
│ │ │ core_cm3.c
│ │ │ core_cm3.h
│ │ │ stm32f10x.h
│ │ │ system_stm32f10x.c
│ │ │ system_stm32f10x.h
│ │ └ startup
│ │ │ startup_stm32f10x_cl.s
│ │ │ startup_stm32f10x_hd.s
│ │ │ startup_stm32f10x_hd_vl.s
│ │ │ startup_stm32f10x_ld.s
│ │ │ startup_stm32f10x_ld_vl.s
│ │ │ startup_stm32f10x_md.s
│ │ │ startup_stm32f10x_md_vl.s
│ │ └ startup_stm32f10x_xl.s
│ └ FWlib
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f10x_adc.h
│ │ │ stm32f10x_bkp.h
│ │ │ stm32f10x_can.h
│ │ │ stm32f10x_cec.h
│ │ │ stm32f10x_crc.h
│ │ │ stm32f10x_dac.h
│ │ │ stm32f10x_dbgmcu.h
│ │ │ stm32f10x_dma.h
│ │ │ stm32f10x_exti.h
│ │ │ stm32f10x_flash.h
│ │ │ stm32f10x_fsmc.h
│ │ │ stm32f10x_gpio.h
│ │ │ stm32f10x_i2c.h
│ │ │ stm32f10x_iwdg.h
│ │ │ stm32f10x_pwr.h
│ │ │ stm32f10x_rcc.h
│ │ │ stm32f10x_rtc.h
│ │ │ stm32f10x_sdio.h
│ │ │ stm32f10x_spi.h
│ │ │ stm32f10x_tim.h
│ │ │ stm32f10x_usart.h
│ │ └ stm32f10x_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f10x_adc.c
│ │ stm32f10x_bkp.c
│ │ stm32f10x_can.c
│ │ stm32f10x_cec.c
│ │ stm32f10x_crc.c
│ │ stm32f10x_dac.c
│ │ stm32f10x_dbgmcu.c
│ │ stm32f10x_dma.c
│ │ stm32f10x_exti.c
│ │ stm32f10x_flash.c
│ │ stm32f10x_fsmc.c
│ │ stm32f10x_gpio.c
│ │ stm32f10x_i2c.c
│ │ stm32f10x_iwdg.c
│ │ stm32f10x_pwr.c
│ │ stm32f10x_rcc.c
│ │ stm32f10x_rtc.c
│ │ stm32f10x_sdio.c
│ │ stm32f10x_spi.c
│ │ stm32f10x_tim.c
│ │ stm32f10x_usart.c
│ └ stm32f10x_wwdg.c
├ Output
│ │ DS18B20.hex
│ │ Template.hex
│ └ 流水燈.hex
├ Project
│ └ RVMDK(uv5)
│ │ BH-STM32.uvguix.13224
│ │ BH-STM32.uvguix.Administrator
│ │ BH-STM32.uvoptx
│ │ BH-STM32.uvprojx
│ └ RTE
│ └ RTE_Components.h
└ User
│ main.c
│ stm32f10x_conf.h
│ stm32f10x_it.c
│ stm32f10x_it.h
├ AdvanceTim
│ │ bsp_AdvanceTim.c
│ └ bsp_AdvanceTim.h
├ ds18b20
│ │ bsp_ds18b20.c
│ └ bsp_ds18b20.h
├ GeneralTim
│ │ bsp_GeneralTim.c
│ └ bsp_GeneralTim.h
├ Led
│ │ bsp_led.c
│ └ bsp_led.h
├ pid
│ │ pid.c
│ └ pid.h
├ SysTick
│ │ bsp_SysTick.c
│ └ bsp_SysTick.h
├ timer
│ │ timer.c
│ └ timer.h
└ usart
│ bsp_usart.c
└ bsp_usart.h