• Title/Summary/Keyword: C programming language

Search Result 328, Processing Time 0.028 seconds

Development of a Simulator for Automated Manufacturing Systems (객체지향방식에 의한 자동화제조시스템 시뮬레이터의 설계 및 구현)

  • 이진규;이진환;이태억;오부경;오석찬
    • Proceedings of the Korea Society for Simulation Conference
    • /
    • 1997.04a
    • /
    • pp.23-28
    • /
    • 1997
  • We discuss development of a simulator for automated manufacturing systems (AMSs) which have sophisticated automated material handling equipments and complicated work flows. The simulator is designed to satisfy the following requirements. A user should be able to easily configure or specify an AMS through a graphical user interface (GUI) and minimal data input. The user should be able to model diverse and complied control logic for automated material handling systems like automated guided vehicle (AGV) systems, robot workcell systems and conveyor systems as well as complicated job flow program. Real time animation is desired. Finally, the simulator should be easily maintained and extended. To satisfy the requirements, we use an object-oriented paradigm for modeling, designing, and programming of the simulator. We use an object-oriented modeling framework to design the modeling elements library, and take the process interaction approach for scheduling processes and events. To model a user-defined diverse control logic, we also develop a script language and its interpreter. We explain design and implementation strategies. We implement the simulator using Visual C++ 4.2 and Open GL on Windows NT and the Windows95. Some modeling examples will be demonstrated.

  • PDF

Development of a Dynamic Simulation Program for Railway Vehicles (철도차량을 위한 동역학 해석 프로그램 개발)

  • Cho, Jae-Ik;Park, Tae-Won;Yoon, Ji-Won;Kim, Young-Guk
    • Proceedings of the KSR Conference
    • /
    • 2009.05b
    • /
    • pp.473-479
    • /
    • 2009
  • Dynamic analysis is necessary for the High-Speed Railway vehicle which aims to run on max 400km/h. Especially, dynamic simulation using CAE(Computer Aided Engineering) can help to reduce the time of development of the High-Speed Railway vehicles. Also, it helps to reduce prices and improve the quality such as safety, stability and ride. There are many dynamic software for a railway vehicle, such as Vampire and ADAMS-Rail. There are limitations for each software and difficulties to analyze overall dynamics for entire railway system. To overcome these limitations, in this study, a program which can simulate entire railway vehicles was developed. This program is easy to use because it was developed using C++, which is object-oriented programming language. In addition, the basic platform for the development of dynamic solver is prepared using the nodal, modal coordinate system with a wheel-rail contact module. Rigid, flexible and large deformable body systems can be modeled by a user according to the characteristic of a desired system. Its reliability is verified by comparison with a commercial analysis program.

  • PDF

A Design and Analysis of PKCS #11 supporting the KCDSA mechanism (KCDSA 메커니즘을 제공하는 PKCS #11 설계 및 분석)

  • 김명희;김은환;전문석
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.14 no.5
    • /
    • pp.141-151
    • /
    • 2004
  • According to the improvemnent of electronic commerce, the requirements of security devices are becoming increasingly pervasive. The security API must design easily and securely to support a compatibility feature between security devices. It is chosen the PKCS #11 interface by RSA Labs that shows the compatibility and extensibility standards of many application product and implementation, and supported KCDSA mechanism which is a korean digital signature standard. And the PKCS #11 security API defines new key management function which provides more secure key management ability. We suggest the object attributes and templates of KCDSA private and public key object, generate and verify digital signature using KCDSA mechanism. The PKCS #11 supporting KCDSA mechanism is designed, implemented using C-Language, tested a performance, and analyzed the security and compatibiltiy feature.

Classification and prediction of the effects of nutritional intake on diabetes mellitus using artificial neural network sensitivity analysis: 7th Korea National Health and Nutrition Examination Survey

  • Kyungjin Chang;Songmin Yoo;Simyeol Lee
    • Nutrition Research and Practice
    • /
    • v.17 no.6
    • /
    • pp.1255-1266
    • /
    • 2023
  • BACKGROUND/OBJECTIVES: This study aimed to predict the association between nutritional intake and diabetes mellitus (DM) by developing an artificial neural network (ANN) model for older adults. SUBJECTS/METHODS: Participants aged over 65 years from the 7th (2016-2018) Korea National Health and Nutrition Examination Survey were included. The diagnostic criteria of DM were set as output variables, while various nutritional intakes were set as input variables. An ANN model comprising one input layer with 16 nodes, one hidden layer with 12 nodes, and one output layer with one node was implemented in the MATLAB® programming language. A sensitivity analysis was conducted to determine the relative importance of the input variables in predicting the output. RESULTS: Our DM-predicting neural network model exhibited relatively high accuracy (81.3%) with 11 nutrient inputs, namely, thiamin, carbohydrates, potassium, energy, cholesterol, sugar, vitamin A, riboflavin, protein, vitamin C, and fat. CONCLUSIONS: In this study, the neural network sensitivity analysis method based on nutrient intake demonstrated a relatively accurate classification and prediction of DM in the older population.

Development of Progressive Die CAD/CAM System for Manufacturing Lead Frame, Semiconductor (반도체 리드 프레임 제조를 위한 프로그레시브 금형의 CAD/CAM 시스템 개발)

  • Choi, J.-C.;Kim, B.-M.;Kim, C.;Kim, J.-H.;Kim, C.-B.
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.16 no.12
    • /
    • pp.230-238
    • /
    • 1999
  • This paper describes a research work of developing computer-aided design of lead frame, semiconductor, with blanking operation which is very precise for progressive working. Approach to the system is based on the knowledge-based rules. Knowledge for the system is formulated from plasticity theories, experimental results and the empirical knowledge of field experts. This system has been written in AutoLISP on the AutoCAD using a personal computer and in I-DEAS Drafting Programming Language on the I-DEAS Master Series Drafting with Workstation, HP9000/715(64) and tool kit on the ESPRIT. Transference of data among AutoCAD, I-DEAS Master Series Drafting, and ESPRIT is accomplished by DXF(drawing exchange format) and IGES(initial graphics exchange specification) methods. This system is composed of six modules, which are input and shape treatment, production feasibility check, strip-layout, die-layout, modelling, and post-processor modules. The system can design process planning and Die design considering several factors and generate NC data automatically according to drawings of die-layout module. As forming process of high precision product and die design system using 2-D geometry recognition are integrated with technology of process planning, die design, and CAE analysis, standardization of die part in die design and process planning of high pression product for semiconductor lead frame is possible to set. Results carried out in each module will provide efficiencies to the designer and the manufacturer of lead frame, semiconductor.

  • PDF

Use of Information Technologies to Explore Correlations between Climatic Factors and Spontaneous Intracerebral Hemorrhage in Different Age Groups

  • Ting, Hsien-Wei;Chan, Chien-Lung;Pan, Ren-Hao;Lai, Robert K.;Chien, Ting-Ying
    • Journal of Computing Science and Engineering
    • /
    • v.11 no.4
    • /
    • pp.142-151
    • /
    • 2017
  • Spontaneous intracerebral hemorrhage (sICH) has a high mortality rate. Research has demonstrated that sICH occurrence is related to weather conditions; therefore, this study used the decision tree method to explore the impact of climatic risk factors on sICH at different ages. The Taiwan National Health Insurance Research Database (NHIRD) and other open-access data were used in this study. The inclusion criterion was a first-attack sICH. The decision tree algorithm and random forest were implemented in R programming language. We defined a high risk of sICH as more than the average number of cases daily, and the younger, middle-aged and older groups were calculated as having 0.77, 2.26 and 2.60 cases per day, respectively. In total, 22,684 sICH cases were included in this study; 3,102 patients were younger (<44 years, younger group), 9,089 were middle-aged (45-64 years, middle group), and 10,457 were older (>65 years, older group). The risk of sICH in the younger group was not correlated with temperature, wind speed or humidity. The middle group had two decision nodes: a higher risk if the maximum temperature was >$19^{\circ}C$ (probability = 63.7%), and if the maximum temperature was <$19^{\circ}C$ in addition to a wind speed <2.788 (m/s) (probability = 60.9%). The older group had a higher risk if the average temperature was >$23.933^{\circ}C$ (probability = 60.7%). This study demonstrated that the sICH incidence in the younger patients was not significantly correlated with weather factors; that in the middle-aged sICH patients was highly-correlated with the apparent temperature; and that in the older sICH patients was highly-correlated with the mean ambient temperature. "Warm" cold ambient temperatures resulted in a higher risk of sICH, especially in the older patients.

Development on Communication Device with Timeliness Guaranteed for "GIS Preventive and Diagnosis System" (GIS 예방진단 시스템을 위한 정시간성 보장형 통신기기 개발)

  • Min, B.W.;Park, C.S.;Myoung, H.C.;Choi, H.W.;Kim, J.H.;Lee, B.H.;Park, D.H.;Kim, Y.K.;Lee, D.C.
    • Proceedings of the KIEE Conference
    • /
    • 2007.07a
    • /
    • pp.2032-2033
    • /
    • 2007
  • There has been increasing interests of condition monitoring and diagnosis for electric equipment, which lead to the development of this system domestic and abroad. In the past, operators' interest was how to quickly repair and restore the electric equipments after failure. But, due to the North American Blackout in 2003 and the aging of equipments, users have paid attention to the condition based monitoring of electric equipment to prevent a fault like outrage. GIS-PDS("GIS Preventive and Diagnosis System") requiresa large amount of measurement data with timeliness for monitoring and analysis of real-time state of GIS(Gas Insulated Switchgear). We developed the timeliness-guaranteed communication device for GIS-PDS.

  • PDF

Developing a BIM-Based Methodology Framework for Sustainability Analysis of Low Carbon High-Rise Buildings

  • Gan, Vincent J.L.;Li, Nan;Tse, K.T.;Chan, C.M.;Lo, Irene M.C.;Cheng, Jack C.P.
    • International conference on construction engineering and project management
    • /
    • 2017.10a
    • /
    • pp.14-23
    • /
    • 2017
  • In high-density high-rise cities such as Hong Kong, buildings account for nearly 90% of energy consumption and 61% of carbon emissions. Therefore, it is important to study the design of buildings, especially high-rise buildings, to achieve lower carbon emissions in the city. The carbon emissions of a building consist of embodied carbon from the production of construction materials and operational carbon from energy consumption during daily operation (e.g., air-conditioning and lighting). An integrated analysis of both types of carbon emissions can strengthen the design of low carbon buildings, but most of the previous studies concentrated mainly on either embodied or operational carbon. Therefore, the primary objective of this study is to develop a holistic methodology framework considering both embodied and operational carbon, in order to enhance the sustainable design of low carbon high-rise buildings. The framework will be based on the building information modeling (BIM) technology because BIM can be integrated with simulation systems and digital models of different disciplines, thereby enabling a holistic design and assessment of low carbon buildings. Structural analysis program is first coupled with BIM to validate the structural performance of a building design. The amounts of construction materials and embodied carbon are then quantified by a BIM-based program using the Dynamo programming interface. Operational carbon is quantified by energy simulation software based on the green building extensible Markup Language (gbXML) file from BIM. Computational fluid dynamics (CFD) will be applied to analyze the ambient wind effect on indoor temperature and operational carbon. The BIM-based framework serves as a decision support tool to compare and explore more environmentally-sustainable design options to help reduce the carbon emissions in buildings.

  • PDF

Implementation of a Coding Style Checking System in an Online Judge System (온라인 평가 시스템에서 코딩 스타일 검사 시스템 구현)

  • Yeonghun Kim;Junseok Cheon;Gyun Woo
    • The Transactions of the Korea Information Processing Society
    • /
    • v.13 no.9
    • /
    • pp.437-443
    • /
    • 2024
  • Adhering to coding style guidelines is crucial for both companies and developers as it improves code readability and reduces the costs associated with testing and maintenance. However, teaching coding style in programming courses poses challenges. Setting up an environment for learning coding styles is hard, and there are no predefined coding style rules for beginners. From the learners' perspective, since adherence to coding styles does not affect their grades, they do not feel a strong need to learn them. This paper introduces a coding style checking system for an online evaluation system. The proposed system is implemented to check and evaluate coding styles in C, Java, and Python. Additionally, we applied 234 out of the 1,023 rules provided by the language-specific tools, which is 23.08%, allowing for the application of coding style rules according to the course progression. Moreover, we motivated learners to improve their coding style by adding quality scores to their basic scores. After introducing the coding style education system, the number of students scoring over 25 points on their initial submissions increased by 149.47%, from 18 students in the first week to 44 students in the sixth week. Learners used the coding style checking system to learn how to apply coding style rules and subsequently implemented their code in adherence to the specified coding styles.

Sound Model Generation using Most Frequent Model Search for Recognizing Animal Vocalization (최대 빈도모델 탐색을 이용한 동물소리 인식용 소리모델생성)

  • Ko, Youjung;Kim, Yoonjoong
    • The Journal of Korea Institute of Information, Electronics, and Communication Technology
    • /
    • v.10 no.1
    • /
    • pp.85-94
    • /
    • 2017
  • In this paper, I proposed a sound model generation and a most frequent model search algorithm for recognizing animal vocalization. The sound model generation algorithm generates a optimal set of models through repeating processes such as the training process, the Viterbi Search process, and the most frequent model search process while adjusting HMM(Hidden Markov Model) structure to improve global recognition rate. The most frequent model search algorithm searches the list of models produced by Viterbi Search Algorithm for the most frequent model and makes it be the final decision of recognition process. It is implemented using MFCC(Mel Frequency Cepstral Coefficient) for the sound feature, HMM for the model, and C# programming language. To evaluate the algorithm, a set of animal sounds for 27 species were prepared and the experiment showed that the sound model generation algorithm generates 27 HMM models with 97.29 percent of recognition rate.