本程序分為界面和控制器核心兩部分 一、界面部分功能主要有: (1)顯示控制器核心數據和參數 (2)與用戶交互,可以調節初始輸入溫度值,并將溫度變化率清零以便進行新一輪的模擬。 界面使用了定時器。開啟模擬時候,每隔一秒,觸發一次計時器消息,完成下列工作: 1. 將界面上的當前溫度映射為模糊控制器的輸入溫度 2. 輸出當前溫度,當前溫度變化率 3. 調用模糊控制,得到控制器輸出值,將其乘以m_fFuelEffect (燃料輸出對溫度變化率的影響率,目前設置為0.3),得到變化率的變化,加到當前溫度變化率上,得到新的變化率。 4. 更新變化率,更新溫度。將結果映射到界面上。 5. 記錄相關數據并以圖形、數字方式輸出。 二、控制器核心用到的類有 (1)Rule_Func_Single 將簡單的函數包裝成類,方便后面使用。實現了 NB, NS, ZO, PS, PB 等梯形函數,以及常值函數。 (2)Grading_Func 繼承自Rule_Func_Single類,比基類增加一個輸入參數,指明梯形函數屬于Input, Delta或者Output 。 (3)Rule_Function 將兩個Grading_Func結合在一起,進行模糊與或模糊或等模糊邏輯操作,并輸出結果。
上傳時間: 2014-11-01
上傳用戶:Yukiseop
This a collection of sample processes that provide examples ranging from how to use a particular BPEL activity such as pick or scope, to more complex examples of processes that invoke external Web services or show techniques such as handling multiple start messages.
標簽: collection particular processes examples
上傳時間: 2013-12-26
上傳用戶:sunjet
This code in this directory implements the binary hopfield network. Source code may be found in HOPNET.CPP. A sample training file is H7x8N4.trn. Sample test pattern files are: H7x8D4.TST, H5x8D7.TST, H5x8D7.TST and H5x8D9.TST, Output of the program goes to both the screen and a file, ARCHIVE.LST.
標簽: code implements directory hopfield
上傳時間: 2014-01-16
上傳用戶:123啊
針對“虎書”中的tiger語言寫的語法分析器 根據書中對tiger語言的描述寫了72條文法,對所有沖突均進行了處理,都是無害的沖突。本分析器還能對部分錯誤恢復。 特別提示:使用命令"yacc -v tiger.grm"可得到文件y.output
上傳時間: 2014-01-13
上傳用戶:epson850
We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.
標簽: functions questions deflate inflate
上傳時間: 2014-01-02
上傳用戶:zhuyibin
Zlib函數列表 We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib.
標簽: functions questions deflate inflate
上傳時間: 2014-01-03
上傳用戶:lhc9102
使用 RS232串列通訊和機器人連結,並且給予Output指令去使Robot去移動
上傳時間: 2014-01-11
上傳用戶:qq1604324866
This design package includes reference materials for creating a USB - PS/2 combination mouse that auto-detects the interface and configures itself to operate on the appropriate bus. Documentation docs - Designing a low cost CY7C63723 combination mouse.pdf - application note for this design - schematic.pdf - mouse schematic Firmware Source Files src - chip.c - include file that defines CY7C63723 constants - combi.c - main source file - combi.hex - Intel hex file for programming a CY7C63723 microcontroller - combi.lst - output listing from c-compiler for use with the CYDB debugger - macros.h - defines macros used in combi.c - ps2defs.h - defines PS/2 interface constants - usb_desc.h - defines the USB descriptors - usbdefs.h - defines USB interface constants
標簽: combination materials reference creating
上傳時間: 2015-10-19
上傳用戶:784533221
這是CISS會議上發表的著名論文“Tensor Canonical decomposition based method for blind identification of MIMO system with 3-input 2-output case”的源程序,主要是講基于張量規范分解的多天線系統的忙識別問題,里邊包含了相應的文章,可以一起對照著看。
標簽: identification decomposition Canonical Tensor
上傳時間: 2015-10-21
上傳用戶:牛津鞋
This simulation script set allows for an OFDM transmission to be simulated. Imagetx.m generates the OFDM signal, saving it as a windows WAV file. This allows the OFDM signal to be played out a sound card and recorded back. Imagerx.m decodes the WAV to extract the data. settings.m contains all the common settings to specify all the simulation parameters such as FFT size, number of carriers, input data source file, input and output WAV files, etc.
標簽: transmission simulation generates simulated
上傳時間: 2013-12-15
上傳用戶:dyctj