In order to realize the efficiency, reliability and safety tests on the complex cable network of an electronic system, an efficient cable network resistance tester is designed. Firstly, the design background and hardw...In order to realize the efficiency, reliability and safety tests on the complex cable network of an electronic system, an efficient cable network resistance tester is designed. Firstly, the design background and hardware structure are briefly described. Then aiming at the multi task parallelism considering real time measurement of parameters and real time control of the system in the tester testing, a real time muhi task control software is developed by using multi thread testing technology in parallel test to realize multi task complex control. Finally, the least squares method is used to improve the test accuracyof the tester. The test results show that the test error is basically within 0.3%, and the test speed can reach 345 point/min.展开更多
In order to improve the real-time performance of the real-time HLA(high level architecture) in the application of massive data communication volume,multi-thread processing was adopted,thread pool structure was introdu...In order to improve the real-time performance of the real-time HLA(high level architecture) in the application of massive data communication volume,multi-thread processing was adopted,thread pool structure was introduced into the system,different threads to handle corresponding message queues was utilized to respond different message requests.Furthermore,an allocation strategy of semi-complete deprivation of priority was adopted,which reduces thread switching cost and processing burden in the system,provided that the message requests with high priority can be responded in time,thus improves the system's overall performance.The design and experiment results indicate that the method proposed in this paper can improve the real-time performance of HLA in distributed system applications greatly.展开更多
This article describes three algorithms for distance field generation on triangulated model: brute force algorithm, single-threaded algorithm based on spatial partition and multi-threaded algorithm based on spatial pa...This article describes three algorithms for distance field generation on triangulated model: brute force algorithm, single-threaded algorithm based on spatial partition and multi-threaded algorithm based on spatial partition. Spatial partition algorithm use equidistant network divide the bounding box into equal-sized cubes, calculates the maximum and minimum distances between the sample point and each of the small cubes,taking the minimum value from the maximum distance as the minimum distance from the sample point to the model named d1, comparing d1 with the distance from sample point to every little cube's minimum distance d2, if d1 <d2, the sample point's distance to all triangles inside this cube are greater than d1, skip this cube, otherwise, calculated the distance from the point to all the triangles intersect with the cube, then alternative d1 with the minimum value, circulate all small cubes intersect with the model. Comparing the calculation results, it can be seen that the algorithm about the multi-threaded distance field relative to the other two algorithms in computational speed is greatly improved especially for complex models.展开更多
针对触摸屏监控系统不能满足大中型立体仓库对数据进行存储和处理的功能需求,在Visual Studio 2019集成开发环境中,采用C#语言开发一套立体仓库上位机控制系统。以多线程的方式实时读取库位信息;以S7-1200 PLC作为主控制器,设计产品的...针对触摸屏监控系统不能满足大中型立体仓库对数据进行存储和处理的功能需求,在Visual Studio 2019集成开发环境中,采用C#语言开发一套立体仓库上位机控制系统。以多线程的方式实时读取库位信息;以S7-1200 PLC作为主控制器,设计产品的自动入库和自动出库程序流程,采用SCL语言设计了库位先进先出的控制程序。C#和S7-1200 PLC之间采用S7通信的方式控制立体仓库的出入库操作和库位信息采集,3年的现场运行情况表明,整个系统能在上位机上对立体仓库进行手动控制和自动控制,能精确快速地进行入库出库操作,运行平稳,上位机上能正确实时显示库位信息,达到了预期的结果。展开更多
随着密码学、模拟仿真等领域的飞速发展,对高质量随机序列的需求日益迫切。为了高效、准确地对各类随机数生成器进行评估,文章设计并实现了一套基于动态链接库和多线程技术的随机序列测试软件。基于模块化设计,在动态链接库(Dynamic Lin...随着密码学、模拟仿真等领域的飞速发展,对高质量随机序列的需求日益迫切。为了高效、准确地对各类随机数生成器进行评估,文章设计并实现了一套基于动态链接库和多线程技术的随机序列测试软件。基于模块化设计,在动态链接库(Dynamic Link Library,DLL)中封装测试算法,具有较高的可维护性,并联合现代计算机多核处理器的并行计算能力并发执行测试项,显著提升了测试效率。实验结果表明,相比单线程串行测试,该设计能够充分利用计算机硬件资源,在面对海量随机数据时显著提升性能,具有很高的实用价值。展开更多
摘要In order to realize the efficiency, reliability and safety tests on the complex cable network of an electronic system, an efficient cable network resistance tester is designed. Firstly, the design background and hardware structure are briefly described. Then aiming at the multi task parallelism considering real time measurement of parameters and real time control of the system in the tester testing, a real time muhi task control software is developed by using multi thread testing technology in parallel test to realize multi task complex control. Finally, the least squares method is used to improve the test accuracyof the tester. The test results show that the test error is basically within 0.3%, and the test speed can reach 345 point/min.
基金Sponsored by the National Defence SciTech Key Lab Fundation(51457040204BQ0102)
摘要In order to improve the real-time performance of the real-time HLA(high level architecture) in the application of massive data communication volume,multi-thread processing was adopted,thread pool structure was introduced into the system,different threads to handle corresponding message queues was utilized to respond different message requests.Furthermore,an allocation strategy of semi-complete deprivation of priority was adopted,which reduces thread switching cost and processing burden in the system,provided that the message requests with high priority can be responded in time,thus improves the system's overall performance.The design and experiment results indicate that the method proposed in this paper can improve the real-time performance of HLA in distributed system applications greatly.
摘要This article describes three algorithms for distance field generation on triangulated model: brute force algorithm, single-threaded algorithm based on spatial partition and multi-threaded algorithm based on spatial partition. Spatial partition algorithm use equidistant network divide the bounding box into equal-sized cubes, calculates the maximum and minimum distances between the sample point and each of the small cubes,taking the minimum value from the maximum distance as the minimum distance from the sample point to the model named d1, comparing d1 with the distance from sample point to every little cube's minimum distance d2, if d1 <d2, the sample point's distance to all triangles inside this cube are greater than d1, skip this cube, otherwise, calculated the distance from the point to all the triangles intersect with the cube, then alternative d1 with the minimum value, circulate all small cubes intersect with the model. Comparing the calculation results, it can be seen that the algorithm about the multi-threaded distance field relative to the other two algorithms in computational speed is greatly improved especially for complex models.
摘要针对触摸屏监控系统不能满足大中型立体仓库对数据进行存储和处理的功能需求,在Visual Studio 2019集成开发环境中,采用C#语言开发一套立体仓库上位机控制系统。以多线程的方式实时读取库位信息;以S7-1200 PLC作为主控制器,设计产品的自动入库和自动出库程序流程,采用SCL语言设计了库位先进先出的控制程序。C#和S7-1200 PLC之间采用S7通信的方式控制立体仓库的出入库操作和库位信息采集,3年的现场运行情况表明,整个系统能在上位机上对立体仓库进行手动控制和自动控制,能精确快速地进行入库出库操作,运行平稳,上位机上能正确实时显示库位信息,达到了预期的结果。
摘要随着密码学、模拟仿真等领域的飞速发展,对高质量随机序列的需求日益迫切。为了高效、准确地对各类随机数生成器进行评估,文章设计并实现了一套基于动态链接库和多线程技术的随机序列测试软件。基于模块化设计,在动态链接库(Dynamic Link Library,DLL)中封装测试算法,具有较高的可维护性,并联合现代计算机多核处理器的并行计算能力并发执行测试项,显著提升了测试效率。实验结果表明,相比单线程串行测试,该设计能够充分利用计算机硬件资源,在面对海量随机数据时显著提升性能,具有很高的实用价值。