-
停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的卡号,然后剩余的事件都由处理场务事件来处理了。处理场务事件相当于一个车场总指挥。...
停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的卡号,然后剩余的事件都由处理场务事件来处理了。处理场务事件相当于一个车场总指挥。当他发现有卡号请求入场时他会决定该卡是否符合入场条件,如果不符合,直接丢掉该卡号,准备处理下一个卡号。否则看车库是否已满和车库过道是否空闲,如果车位没有满且过道是空的,则允许该车入场,并在此时将车场的最左面的空车位分给他使用。剩下的事就是让车通过过道和进入车位,并及时关闭车场入口。如果过道是空的而且又没有入场请求,则处理出场请求,首先是将车辆从车位上移到过道上,并向出口行驶,然后在出口出判断卡是否符合出场条件,如果符合则发出抬出场杆命令,允许其出场。否则让该车返回车位。程序运行时会写运行日志,在阅读本文后,相信能理解运行日志的内容-err
- 2022-08-09 16:40:36下载
- 积分:1
-
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制...
这是一个比较典型的PID处理程序,在使用单片机作为控制cpu时,请稍作简化,具体的PID 参数必须由具体对象通过实验确定。由于单片机的处理速度和ram资源的限制,一般不采用浮点数运算,而将所有参数全部用整数,运算 到最后再除以一个2的N次方数据(相当于移位),作类似定点数运算,可大大提高运算速度,根据控制精度的不同要求,当精度要求很 高时,注意保留移位引起的“余数”,做好余数补偿。这个程序只是一般常用pid算法的基本架构,没有包含输入输出处理部分。-This is a typical PID process, as in the use of SCM control cpu, please slightly simplified, specific PID parameters to be specific targets identified by experiments. As SCM processing speed and ram resource constraints, generally do not use floating-point operations, and will use all the parameters of all integers, and the final calculations to divide one of the Nth 2 data (the equivalent displacement), will count for a similar operation, it will greatly increase the computing speed, control Accuracy of different requirements and high precision, displacement caused reservations to the attention of the "I", which I do several compensation. This procedure is commonly used algorithm pid the basic structure does not include input and output processing.
- 2022-03-19 08:10:44下载
- 积分:1
-
51单片机上对LCD的驱动程序,可以在点阵LCD上显示汉字。
51单片机上对LCD的驱动程序,可以在点阵LCD上显示汉字。-51 MCU driver on the LCD can display Chinese characters on a dot matrix LCD.
- 2022-12-29 02:40:03下载
- 积分:1
-
485端口抄表程序,通过485端口进行电表抄写
485端口抄表程序,通过485端口进行电表抄写-485-port meter-reading program, through the 485 meter port copying
- 2022-03-07 12:41:21下载
- 积分:1
-
飞利浦
Philips的RFID技术I Code的核心处理芯片,支持ISO14443A, B还有ISO15693。
Key: tere-were-este-Philips
- 2022-05-26 20:37:57下载
- 积分:1
-
arm嵌入式系统lpc22**看门狗溢出产生中断源代码
arm嵌入式系统lpc22**看门狗溢出产生中断源代码-arm embedded system lpc22** watchdog overflow interrupt generated source code
- 2022-12-07 06:40:03下载
- 积分:1
-
51PS2,单片机+PS2
51PS2,单片机+PS2-51PS2, microcontroller PS2
- 2022-05-14 20:14:11下载
- 积分:1
-
SONIX microcontroller development kits, the program applies to low
松翰单片机开发包,方案适用于成本低的产品开发 -SONIX microcontroller development kits, the program applies to low-cost product development
- 2022-07-01 09:35:36下载
- 积分:1
-
单片机通过Modbus协议与HMI通信.rar
单片机通过Modbus协议与HMI通信.rar-microcontroller through an agreement with HMI Modbus communications. Rar
- 2022-04-16 23:43:47下载
- 积分:1
-
本人从网上收集的关于Keil
本人从网上收集的关于Keil-C51的相关教程,对初学者很有帮助-I gathered from the Internet on the Keil-C51 related tutorials, very helpful for beginners
- 2023-01-04 14:35:04下载
- 积分:1