JP5303968B2 - Elevator program verification system - Google Patents

Elevator program verification system Download PDF

Info

Publication number
JP5303968B2
JP5303968B2 JP2008057508A JP2008057508A JP5303968B2 JP 5303968 B2 JP5303968 B2 JP 5303968B2 JP 2008057508 A JP2008057508 A JP 2008057508A JP 2008057508 A JP2008057508 A JP 2008057508A JP 5303968 B2 JP5303968 B2 JP 5303968B2
Authority
JP
Japan
Prior art keywords
test
program
elevator
control
personal computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008057508A
Other languages
Japanese (ja)
Other versions
JP2009214953A5 (en
JP2009214953A (en
Inventor
行宏 宮川
俊平 山岡
弘幸 中井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitec Co Ltd
Original Assignee
Fujitec Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitec Co Ltd filed Critical Fujitec Co Ltd
Priority to JP2008057508A priority Critical patent/JP5303968B2/en
Publication of JP2009214953A publication Critical patent/JP2009214953A/en
Publication of JP2009214953A5 publication Critical patent/JP2009214953A5/ja
Application granted granted Critical
Publication of JP5303968B2 publication Critical patent/JP5303968B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate a test at more accurate timing than not only a comprehensive and repetitive test but also a test at manually-difficult timing and an automatic test using a test tool when a program is corrected, reduce a working time and labors, and improve accuracy for extracting a failure of a program. <P>SOLUTION: A test scenario of the operation and the action confirmation of an elevator created on a personal computer (description of a series of operations and action confirmation procedures for executing a test) is transferred to a control microcomputer storing a control program of the elevator, and the operation and the action confirmation of the elevator are automatically executed according to a test executing program and the test scenario mounted by the control microcomputer in advance. Confirmation results are transferred to the personal computer from the microcomputer, and compared with preset expected results by the personal computer so as to automatically determine a success or a failure of the control program. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、プログラムの検証の自動化に関し、特にエレベータのプログラムの開発時や修正時に有効なものである。   The present invention relates to automation of program verification, and is particularly effective when an elevator program is developed or modified.

一般的にコンピュータプログラムの開発において、新たに作成したプログラムが正しく動作するかどうかテストする必要がある。また、プログラムの修正を行った時に、その修正によって修正を加えていない部分に影響を与えていないかを調べるために、修正を行っていない箇所についても改めてテストを行う必要がある。その場合、限られたテスト期間の中で実際の使用状況をいかに多く想定し、テスト項目として実施するかがテストの精度を左右することになる。エレベータでは、このテストを専用の治具を用いて行っているが、特にエレベータの場合、呼び登録や各種スイッチ、釦操作などを組合わせてチェックすべき項目が非常に多岐に亘るため、全ての組合わせについて反復的,網羅的にテストすることは単調かつ煩雑であり、その結果エラーを見逃すことにもなりかねない。   In general, in the development of a computer program, it is necessary to test whether a newly created program operates correctly. In addition, when a program is modified, it is necessary to perform a test again on a portion where the modification is not performed in order to examine whether the modification does not affect the unmodified portion. In that case, the accuracy of the test depends on how many actual usage situations are assumed within the limited test period and the test items are implemented. In an elevator, this test is performed using a dedicated jig, but in the case of an elevator in particular, there are a wide variety of items to be checked by combining call registration, various switches, button operations, etc. Iterative and exhaustive testing of combinations is tedious and cumbersome and can result in missed errors.

一方、現地でプログラムの改造を行った場合には夜間に自動で改造後の試験を行う装置などが提案されている(例えば特許文献1)。   On the other hand, when a program is modified locally, an apparatus that automatically performs a test after the modification at night has been proposed (for example, Patent Document 1).

特開2000−351536号公報JP 2000-351536 A

上記特許文献1に記載のエレベーター制御装置では、予めROM内に所定の試験制御プログラムを組み込んでおき、所定条件成立時にBKRAM内に外部から登録した第2のプログラムを用いてエレベータの試験を自動で行うようにしている。しかしながら、この方法ではテストの実行内容と実行手順のすべてを含む試験制御プログラムを予め組み込んでおく必要があるために標準的或いは画一的なテストしか行うことができず、改造内容に特有の機能のチェックを行ったりテスト結果に応じ内容を変更して再テストを行うなど、臨機応変なテストを自動で行うことは困難である。   In the elevator control device described in Patent Document 1, a predetermined test control program is incorporated in the ROM in advance, and the elevator test is automatically performed using the second program registered from the outside in the BKRAM when the predetermined condition is satisfied. Like to do. However, since this method requires that a test control program including all test execution contents and execution procedures be incorporated in advance, only standard or uniform tests can be performed. It is difficult to automatically perform ad hoc tests, such as checking the above or changing the contents according to the test results and retesting.

本発明は、上記の問題点に鑑みなされたもので、プログラムの開発や修正を行った時に、網羅的,反復的なテストだけでなく、手動では困難なタイミングでのテストや、更にテスト治具を用いた自動テストよりも精度の高いタイミングでのテストを容易にし、作業時間や労力の削減と共にプログラムにおける不良摘出の精度を向上することを目的としたものである。   The present invention has been made in view of the above-described problems. When a program is developed or modified, not only exhaustive and repetitive testing, but also testing at a difficult timing manually, and further a test jig It is intended to facilitate testing at a timing with higher accuracy than the automatic test using, and to reduce the working time and labor and improve the accuracy of defect detection in the program.

本発明に係るエレベータのプログラム検証システムは、パソコン上で作成したエレベータの操作や動作確認のテストシナリオ(テストを実行するための一連の操作や動作確認の手順を記述したもの)をエレベータの制御プログラムを格納している制御マイコンに転送し、該制御マイコンは前記制御プログラムとは別に予め実装されたテスト実行用プログラムと前記テストシナリオとに従ってエレベータの操作や動作確認の自動実行を行い、その確認結果を前記制御マイコンから前記パソコンに転送し、該パソコンで前記確認結果を予め設定した期待結果と比較して前記制御プログラムの合否を自動判定することを特徴とするものである。 The elevator program verification system according to the present invention is an elevator control program that describes an elevator operation and operation check test scenario (which describes a series of operation and operation check procedures for executing a test) created on a personal computer. The control microcomputer performs automatic operation of elevator operation and operation confirmation according to the test execution program and the test scenario that are implemented in advance separately from the control program, and the confirmation result Is transferred from the control microcomputer to the personal computer and the confirmation result is compared with an expected result set in advance by the personal computer, and the pass / fail of the control program is automatically determined.

また、本発明に係るエレベータのプログラム検証システムにおいて、前記テストシナリオの作成は、データベースに蓄積された過去のテストシナリオに基づいて、または過去における実際の呼び登録やスイッチ・釦操作などの操作履歴に基づいても行えるようにしたことを特徴とするものである。   In the elevator program verification system according to the present invention, the test scenario is created based on past test scenarios stored in the database or in an operation history such as actual call registration and switch / button operation in the past. It is characterized by being able to be performed based on this.

本発明によれば、パソコン上でテストのテストシナリオを容易に作成できるだけでなく、そのテストシナリオを制御マイコンに転送するだけでプログラムの検証をを自動的に行うことができ、単調なテストや煩雑なテストに要する時間と労力を削減することができる。   According to the present invention, it is possible not only to easily create a test scenario on a personal computer, but also to automatically verify the program simply by transferring the test scenario to the control microcomputer, which makes it possible to perform monotonous tests and complicated operations. Reduces the time and effort required for a complete test.

また本発明によれば、網羅的,反復的なテストだけでなく、手動テストでは困難なタイミングでのテストや、更にテスト治具を用いた自動テストよりも精度の高いタイミングでのテストも容易に行えるため、不良摘出の精度を確実に向上することができる。   In addition, according to the present invention, not only exhaustive and repetitive tests but also tests at timings that are difficult with manual tests, and tests with higher accuracy than automatic tests using test jigs can be easily performed. Since it can do, the precision of defect extraction can be improved reliably.

また本発明によれば、過去の操作履歴や過去のトラブル事例、或いは設計したテストシナリオをデータベースに蓄積しそれを再利用することができるので、過去に行ったテストの再現や運転動作の確認、過去に発生した不適合事項が再発しないかの確認、その他過去に過去のトラブル事例を活かしたテストや大量のテストなどを容易に実施することができ、プログラムの品質,信頼性の向上を図ることができる。   Further, according to the present invention, it is possible to accumulate past operation histories and past trouble cases, or designed test scenarios in the database and reuse them, so it is possible to reproduce past tests and confirm driving operations, It is possible to confirm whether nonconformities that occurred in the past will not recur, and to easily carry out tests and large-scale tests that make use of past trouble cases, thereby improving the quality and reliability of the program. it can.

実施の形態1.
以下、本発明の一実施形態を図面に基づいて説明する。
図1は本発明の実施の形態1におけるプログラム検証システムの全体構成図で、ここではエレベータの設置現場ではなく、工場やプログラムの開発現場等においてシミュレータを利用しプログラムの動作確認を行う例を示している。
Embodiment 1 FIG.
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is an overall configuration diagram of a program verification system according to Embodiment 1 of the present invention. Here, an example is shown in which the operation of a program is checked using a simulator at a factory, a program development site, etc., not at an elevator installation site ing.

図1において、10はエレベータの制御盤(図示省略)に組み込まれ、テストの対象となるエレベータの制御プログラムを格納しているエレベータの制御マイコンで、後で図2に示すように制御プログラムの他にテストシナリオに従ってプログラムのテストを自動で実行するためのテスト実行用プログラム(後述のホストPC間との通信でテスト操作,動作確認の内容,確認結果の受け渡しが可能なように拡張された「通信モジュール」と、ホストPCからシリアル通信で受け取ったテスト操作,動作確認を実行する「サーバーモジュール」、及びこの「サーバーモジュール」でマイコン入出力を制御できるように拡張された「入出力モジュール」)を予め実装している。   In FIG. 1, reference numeral 10 denotes an elevator control microcomputer incorporated in an elevator control panel (not shown) and storing an elevator control program to be tested. Test execution program for automatically executing the test of the program according to the test scenario ("Communication expanded so that the test operation, the contents of the operation check, and the confirmation result can be passed by communication with the host PC described later" Module ”,“ Server Module ”that executes test operation and operation confirmation received from the host PC via serial communication, and“ I / O Module ”that has been expanded so that the microcomputer I / O can be controlled by this“ Server Module ”) Implemented in advance.

20は作業者がテストシナリオを作成するためのホストPCで、このホストPC或いは後述のユーザーPCで作成したテストシナリオを制御マイコン10及び後述のシミュレータに転送する。
30は過去のテストシナリオや過去のトラブル事例、過去のテスト時の呼び釦や各種スイッチの実際の操作履歴或いはテスト結果の記録等を蓄積するためのデータベースサーバー、31〜33は作業者が自席などホストPC20と離れた場所でテストシナリオを設計するためのユーザーPCで、ホストPC20と同等の機能を有している。
Reference numeral 20 denotes a host PC for an operator to create a test scenario. The test scenario created by the host PC or a user PC described later is transferred to the control microcomputer 10 and a simulator described later.
30 is a database server for storing past test scenarios and past trouble cases, actual operation history of test buttons and various switches at the time of past tests, test results, etc. This is a user PC for designing a test scenario at a location remote from the host PC 20 and has the same functions as the host PC 20.

40はエレベータ制御マイコン周辺機器の動作をシミュレートするシミュレータで、制御マイコン10と同様にホストPC20から転送されてきたテストシナリオに従ってテストを自動で実行するためのテスト実行用プログラムを備えている。
50は、乗場やかごの呼び釦や表示装置、ホールランタン等の意匠器具の制御を行う意匠器具マイコンである。
なお、上記の構成において、ホストPC20とデータベースサーバー30、ユーザーPC31〜33は互いにLANで接続されているが、これらを1つのパソコンに集約した構成としてもよい。
Reference numeral 40 denotes a simulator for simulating the operation of the elevator control microcomputer peripheral device, and includes a test execution program for automatically executing a test according to a test scenario transferred from the host PC 20 in the same manner as the control microcomputer 10.
Reference numeral 50 denotes a design instrument microcomputer for controlling design instruments such as hall and car call buttons, display devices, and hall lanterns.
In the above configuration, the host PC 20, the database server 30, and the user PCs 31 to 33 are connected to each other via a LAN. However, these may be integrated into one personal computer.

図2は、ホストPC20と制御マイコン10のプログラムの構成を示したものである。図2に示すように、ホストPC20には、作業者がキーボード21からの入力でテストシナリオを新規に作成する場合や、過去のテストシナリオ或いは過去のテスト時の操作履歴等に基づいて容易にシナリオを作成できるよう、モニタ22にテスト手順入力の案内表示を行ったりテスト項目をメニューから選択できるようにするためのテストシナリオ作成プログラム23と、作成されたテストシナリオを制御マイコンやシミュレータが理解できるようにテストコマンドに変換するテストコマンド変換プログラム24と、ホストPCと制御マイコンやシミュレータとの間でテストコマンドの通信処理を行うテストコマンド通信処理プログラム25と、テスト終了後に転送されてきた確認結果の合否判定を行うテスト結果処理プログラム26とが含まれている。   FIG. 2 shows a program configuration of the host PC 20 and the control microcomputer 10. As shown in FIG. 2, the host PC 20 can easily create a test scenario based on an input from the keyboard 21 or a past test scenario or a past test operation history. So that the control microcomputer or simulator can understand the test scenario created and the test scenario creation program 23 for allowing the test 22 to be displayed on the monitor 22 and for selecting test items from the menu. The test command conversion program 24 for converting the test command into the test command, the test command communication processing program 25 for performing the test command communication processing between the host PC and the control microcomputer or simulator, and the confirmation result transferred after the test is completed. Including a test result processing program 26 for performing the determination. It is rare.

制御マイコン10には、前述のようにテスト対象であるエレベータの制御プログラム11の他にテストシナリオに従ってプログラムのテストを自動で実行するためのテスト実行用プログラムが実装されており、このテスト実行用プログラムは、ホストPC間との通信でテスト操作,動作確認の内容,確認結果の受け渡しが可能なように拡張された通信モジュール12と、ホストPC20から通信で受け取ったテスト操作,動作確認を実行するサーバーモジュール13と、このサーバーモジュール13でマイコン入出力を制御できるように拡張された入出力モジュール14とからなっている。15は意匠器具マイコンやシミュレータとの入出力制御を行うデバイスドライバである。
なお、ユーザーPCにもホストPCと同様のプログラムが含まれており、作業者はテストシナリオを作成するのにホストPC20或いはユーザーPC31〜33のどれを用いてもよい。
In addition to the elevator control program 11 to be tested as described above, the control microcomputer 10 is mounted with a test execution program for automatically executing a program test according to a test scenario. The communication module 12 is extended so that the test operation and the contents of the operation confirmation and the confirmation result can be exchanged between the host PCs, and the server that executes the test operation and the operation confirmation received from the host PC 20 by communication. The module 13 includes an input / output module 14 extended so that the server module 13 can control microcomputer input / output. Reference numeral 15 denotes a device driver that performs input / output control with a design appliance microcomputer or simulator.
The user PC includes the same program as the host PC, and the operator may use either the host PC 20 or the user PCs 31 to 33 to create a test scenario.

図3は、本発明におけるプログラムテストの自動実行の手順を説明するフローチャートである。
まずホストPC20でテストシナリオを作成し、或いはユーザーPC31〜33でテストシナリオを作成し、それをLAN経由でホストPC20に送信する(ステップS1)。このテストシナリオの作成は、作業者がキーボードから必要事項を入力して行うが、その際、一から独自に手順を作成することもできるが、データベースサーバー30に蓄積された過去のテストシナリオテールや、過去のテスト時に呼び釦や各種スイッチなどを実際に操作した操作履歴を参照し、その中から必要なテスト項目を選択したり適宜組合わせるなどの編集を行って作成の効率化を図る。また、今回作成されたテストシナリオもデータベーに蓄積され、次回のテストシナリオの作成時に利用可能とする。
FIG. 3 is a flowchart for explaining an automatic execution procedure of the program test in the present invention.
First, a test scenario is created by the host PC 20, or a test scenario is created by the user PCs 31 to 33, and is transmitted to the host PC 20 via the LAN (step S1). Creating this test scenario, although worker performed Fill the keyboard, this time, but it is also possible to create your own procedure from a past test scenarios tape blanking stored in the database server 30 And the operation history of actual operation of call buttons and various switches during past tests, and editing such as selecting necessary test items or combining them appropriately to improve the efficiency of creation . In addition, this time created test scenarios also stored in the database, and can be used during the creation of the next test scenario.

テストシナリオの一例を図4に示す。図4において、項目1は実行手順の順番を、項目2は制御対象となる号機を示し、エレベータが1台の場合は図示のように項目2は自動的にa号機となるが、2カーや群管理エレベータの場合はa,b,c…号機というように、任意の複数のテスト装置に対して操作や確認の指定ができる。   An example of a test scenario is shown in FIG. In FIG. 4, item 1 indicates the order of execution procedures, item 2 indicates the unit to be controlled, and when there is one elevator, item 2 automatically becomes unit a as shown in the figure. In the case of a group management elevator, operation and confirmation can be specified for a plurality of arbitrary test devices such as a, b, c.

項目3は対象マイコンを表し、操作項目や確認項目の実行をどのマイコンで行うかを指定する。項目4は実行種別を表し、今入力しようとしている手順が「操作」なのか「確認」なのか、またはその手順の「実行タイミング」なのかを入力し指定する。
項目5は実行項目であり、項目4で入力したのが「操作」であるならば予め作成してある「操作項目リスト」から選択した項目が入力される。ま「確認」や「実行タイミング」の場合は、「確認項目リスト」から選択した項目が入力される。
項目6は実行内容であり、目的の操作項目や確認項目が選択されたら選択項目に応じて更に詳細な操作・確認内容を設定する。
Item 3 represents the target microcomputer and designates which microcomputer is to execute the operation item and the confirmation item. Item 4 represents an execution type, and it is input and specified whether the procedure to be input is “operation”, “confirmation”, or “execution timing” of the procedure.
Item 5 is an execution item. If “operation” is input in item 4, the item selected from the “operation item list” created in advance is input . In the case or of the "confirmation" and "execution timing", the selected item from the "confirmation item list" is input.
Item 6 is an execution content. When a target operation item or confirmation item is selected, more detailed operation / confirmation content is set according to the selected item.

このようにしてテストシナリオが作成されると、図に戻り、テストコマンド変換プログラムにより、そのテストシナリオはホストPC20内で制御マイコン10やシミュレータ40が理解できる「テストコマンド」という形にすべて変換され(ステップS2)、テストコマンド通信処理プログラム25により制御マイコン10やシミュレータ40に転送される(ステップS3)。 When the test scenario is created in this way, the process returns to FIG. 3 and the test command conversion program converts all the test scenario into a form of “test command” that can be understood by the control microcomputer 10 and the simulator 40 in the host PC 20. (Step S2), and transferred to the control microcomputer 10 and the simulator 40 by the test command communication processing program 25 (Step S3).

制御マイコン10やシミュレータ40はこの受け取ったすべての「テストコマンド」をサーバーモジュール13に一旦保持し、受け取った順にその内容を解析する(ステップS4)。
更にサーバーモジュール13は、上記解析の内容に応じて入出力モジュール14とテスト対象である制御プログラム11との入出力データ受け渡しに割り込んで入力を入れたり、出力の確認するなどによりシナリオに従ってテストを順次実行する(ステップS5)。
The control microcomputer 10 and the simulator 40 once hold all the received “test commands” in the server module 13 and analyze the contents in the order received (step S4).
Further, the server module 13 sequentially tests according to the scenario by interrupting the input / output data transfer between the input / output module 14 and the control program 11 to be tested according to the contents of the analysis, and inputting the input or confirming the output. Execute (Step S5).

テストの実行中はその確認結果をサーバーモジュール13で一旦保持しておき(ステップS6)、テストを終了するとその確認結果をLANまたはシリアル通信を経由して、テストシナリオ作成元のホストPC20またはユーザーPC31〜33に送信する(ステップS7)。   During the execution of the test, the confirmation result is temporarily held by the server module 13 (step S6). When the test is completed, the confirmation result is sent via the LAN or serial communication to the host PC 20 or user PC 31 that is the test scenario creation source. To 33 (step S7).

ホストPC20またはユーザーPC31〜33では、テストシナリオ作成時に予め設定しておいた期待結果と制御マイコン10から転送されてきた確認結果とを比較してテスト対象である制御プログラムの合否を判定し、テストを終了する(ステップS8)。 The host PC 20 or the user PCs 31 to 33 determines whether or not the control program to be tested is acceptable by comparing the expected result set in advance when the test scenario is created with the confirmation result transferred from the control microcomputer 10. Is finished (step S8).

実施の形態2.
次に、本発明の別の実施形態について説明する。上記実施の形態1においてはエレベータが1台の場合について説明したが、複数台のエレベータを一群として管理する群管理エレベータの制御プログラムの検証を自動で行う場合にも、同様にして本発明を適用することができる。
Embodiment 2. FIG.
Next, another embodiment of the present invention will be described. In the first embodiment, the case where there is one elevator has been described. However, the present invention is similarly applied to a case where a control program of a group management elevator that manages a plurality of elevators as a group is automatically verified. can do.

図5は、一例としてA〜B号機の3台のエレベータからなる群管理エレベータに本発明を適用した場合の全体構成を示す図で、図1に相当する図であり、相当部分は同一符号にて示している。   FIG. 5 is a diagram showing an overall configuration when the present invention is applied to a group management elevator composed of three elevators of Units A to B as an example. FIG. 5 is a diagram corresponding to FIG. It shows.

図5において、10A〜10CはそれぞれA号機〜C号機の制御マイコン、10Gは群管理制御マイコン、40A〜40CはそれぞれA号機〜C号機用のシミュレータであり、ホストPC20と各制御マイコン及びシミュレータはシリアル通信で接続されている。なお、各制御マイコン及びシミュレータはそれぞれ図2に示したものと同様の構成であり、また、ユーザーPCやデータベースサーバー、意匠器具マイコンは図示を省略している。   In FIG. 5, 10A to 10C are control microcomputers for Units A to C, 10G is a group management control microcomputer, 40A to 40C are simulators for Units A to C, respectively, and the host PC 20 and each control microcomputer and simulator are Connected via serial communication. Each control microcomputer and simulator have the same configuration as that shown in FIG. 2, and the user PC, database server, and design appliance microcomputer are not shown.

図5の構成においても、プログラムのテストの実行手順は基本的に図3に示した手順と同じであり、まずホストPC20でテストシナリオを作成すると、テストコマンド変換プログラムにより、ホストPC20内でそのテストシナリオを制御マイコンやシミュレータが理解できる「テストコマンド」という形にすべて変換され、テストコマンド通信処理プログラムにより各制御マイコン10A〜10Cや、群管理制御マイコン10G、及び各シミュレータ40A〜40Cに転送される。   Also in the configuration of FIG. 5, the program test execution procedure is basically the same as the procedure shown in FIG. 3. First, when a test scenario is created in the host PC 20, the test command conversion program executes the test in the host PC 20. All scenarios are converted into “test commands” that can be understood by the control microcomputer and simulator, and transferred to the control microcomputers 10A to 10C, the group management control microcomputer 10G, and the simulators 40A to 40C by the test command communication processing program. .

各制御マイコンやシミュレータはこの受け取ったすべての「テストコマンド」をそれぞれのサーバーモジュールに一旦保持してその内容を受け取った順に解析し、更に上記解析の内容に応じて入出力モジュールとテスト対象である制御プログラムとの入出力データ受け渡しに割り込んで入力を入れたり、出力の確認するなどによりシナリオに従ってテストを順次実行する。このとき、呼びの割当て等、各エレベータ間で連携をとる必要のある操作や動作確認は、号機間通信や群管理間通信を経て同期信号をやり取りすることにより実行する。   Each control microcomputer and simulator temporarily stores all received "test commands" in their respective server modules and analyzes the contents in the order they are received. Tests are executed sequentially according to the scenario by interrupting input / output data transfer with the control program and entering input, or checking the output. At this time, operations and operation checks that need to be coordinated between the elevators, such as call assignment, are executed by exchanging synchronization signals via communication between units and communication between groups.

テストの実行中はその確認結果をそれぞれのサーバーモジュールで一旦保持しておき、テストを終了するとその確認結果をLANまたはシリアル通信を経由して、テストシナリオ作成元のホストPC20に送信する。
ホストPC20では、テストシナリオ作成時に予め設定しておいた期待結果と各制御マイコン10A〜10Cや群管理制御マイコン10Gから転送されてきた確認結果とを比較してテスト対象である各号機の制御プログラムや群管理制御プログラムの合否を判定し、テストを終了する。
During the execution of the test, the confirmation result is temporarily stored in each server module, and when the test is completed, the confirmation result is transmitted to the host PC 20 of the test scenario creation source via the LAN or serial communication.
The host PC 20 compares the expected result set in advance when the test scenario is created with the confirmation result transferred from each of the control microcomputers 10A to 10C and the group management control microcomputer 10G, and the control program for each unit to be tested. And pass / fail of the group management control program, and the test is terminated.

このように群管理エレベータにおいても、全体として1つのテストシナリオを作成し、該シナリオの各号機の制御プログラムや群管理制御プログラムに対応させてそれぞれの制御マイコンやシミュレータに転送することにより、エレベータが1台の場合と同様にプログラムの検証を自動で行うことができる。   In this way, even in the group management elevator, one test scenario is created as a whole and transferred to each control microcomputer or simulator in correspondence with the control program or group management control program of each unit in the scenario. The program can be automatically verified as in the case of a single unit.

その他の実施形態
上記の実施形態では、シミュレータを利用して工場やプログラム開発現場でテストを行う場合について説明したが、既設エレベータの制御マイコンにテストシナリオに従ってテストを自動で実行するためのプログラムを予め実装しておくことにより、テストシナリオを転送するだけで上記と同様に自動でテストを行うことができ、従って公衆回線網を利用すれば遠隔監視センター等の遠隔地からもプログラムの検証を自動で行うことができる。
また、上記の実施形態ではプログラムの合否の判定までとしたが、必要に応じてテスト結果の報告書を自動で作成するようにすることもできる。
Other Embodiments In the above-described embodiment, the case where a simulator is used to perform a test in a factory or program development site has been described. However, a program for automatically executing a test according to a test scenario is previously stored in a control microcomputer of an existing elevator. By implementing it, it is possible to automatically test as described above just by transferring the test scenario. Therefore, if the public network is used, the program can be automatically verified from a remote location such as a remote monitoring center. It can be carried out.
In the above-described embodiment, the determination is made up to whether or not the program is accepted. However, a test result report can be automatically created as necessary.

その他、本発明は上記の実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で、種々の改変を施すことができる。   In addition, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the gist of the present invention.

本発明の実施の形態1におけるプログラム検証システムの全体構成図である。It is a whole block diagram of the program verification system in Embodiment 1 of this invention. 図1のホストPCと制御マイコンのプログラムの構成を示す図である。It is a figure which shows the structure of the program of host PC of FIG. 1, and a control microcomputer. 本発明の実施の形態1におけるプログラムテストの自動実行の手順を説明するフローチャートである。It is a flowchart explaining the procedure of the automatic execution of the program test in Embodiment 1 of this invention. 本発明の実施の形態1におけるテストシナリオの一例を示す図である。It is a figure which shows an example of the test scenario in Embodiment 1 of this invention. 本発明の実施の形態2におけるプログラム検証システムの全体構成図である。It is a whole block diagram of the program verification system in Embodiment 2 of this invention.

符号の説明Explanation of symbols

10 制御マイコン
11 制御プログラム
12 通信モジュール
13 サーバーモジュール
14 入出力モジュール
20 ホストPC
30 データベースサーバー
31〜33 ユーザーPC
40 シミュレータ
50 意匠器具マイコン
10 control microcomputer 11 control program 12 communication module 13 server module 14 input / output module 20 host PC
30 Database server 31-33 User PC
40 simulator 50 design instrument microcomputer

Claims (4)

パソコン上で作成したエレベータの操作や動作確認のテストシナリオをエレベータの制御プログラムを格納している制御マイコンに転送し、該制御マイコンは前記制御プログラムとは別に予め実装されたテスト実行用プログラムと前記テストシナリオとに従ってエレベータの操作や動作確認の自動実行を行い、その確認結果を前記制御マイコンから前記パソコンに転送し、該パソコンで前記確認結果を予め設定した期待結果と比較して前記制御プログラムの合否を自動判定することを特徴とするエレベータのプログラム検証システム。 Transfer the test scenario operation or operation check of the elevator created on a personal computer to the control microcomputer that contains an elevator control program, said control microcomputer the Separately previously implemented test execution program from said control program The elevator operation and operation check are automatically executed according to the test scenario, the check result is transferred from the control microcomputer to the personal computer, and the check result is compared with the expected result set in advance by the personal computer. An elevator program verification system characterized by automatically judging pass / fail. 複数台のエレベータを管理する群管理エレベータにおいて、パソコン上で作成したエレベータの操作や動作確認のテストシナリオを、エレベータの制御プログラムを格納している各エレベータの制御マイコン及び群管理制御用のプログラムを格納している群管理制御マイコンにそれぞれ転送し、前記各制御マイコン間及び群管理制御マイコンとの間で、号機間通信や群管理間通信により号機間の同期をとりながら、それぞれ予め実装されたテスト実行用プログラムと前記テストシナリオとに従ってエレベータの操作や動作確認の自動実行を行い、その確認結果を前記各制御マイコンと群管理制御マイコンとから前記パソコンに転送し、該パソコンでは前記確認結果を予め設定した期待結果と比較して前記エレベータ制御プログラム及び群管理制御プログラムの合否を自動判定することを特徴とするエレベータのプログラム検証システム。 In a group management elevator that manages multiple elevators, a test scenario for elevator operation and operation confirmation created on a personal computer, an elevator control microcomputer that stores the elevator control program, and a program for group management control Transferred to the stored group management control microcomputers, and each of the control microcomputers and the group management control microcomputers were mounted in advance while synchronizing between units by inter-unit communication or inter-group management communication. According to the test execution program and the test scenario, elevator operation and operation confirmation are automatically executed, and the confirmation results are transferred from the control microcomputers and the group management control microcomputer to the personal computer. The elevator control program and group management compared with the expected result set in advance Elevator of program verification system, characterized in that it automatically determines the success or failure of your program. 前記テスト実行用プログラムは、前記パソコンとの通信で前記テストシナリオに基づいてテスト操作、動作確認の内容、確認結果の受け渡しが可能なように拡張された通信モジュールと、前記パソコンから通信で受け取ったテスト操作、動作確認を実行するサーバーモジュールと、該サーバーモジュールでマイコン入出力を制御できるように拡張された入出力モジュールとからなることを特徴とする請求項1又は請求項2記載のエレベータのプログラム検証システム。 The test execution program is received from the personal computer by communication with the communication module extended so that the test operation, the contents of the operation confirmation, and the confirmation result can be passed based on the test scenario by communication with the personal computer. The elevator program according to claim 1 or 2, comprising a server module for executing a test operation and an operation check, and an input / output module extended so that the server module can control microcomputer input / output. Verification system. 前記テストシナリオの作成は、データベースに蓄積された過去のテストシナリオに基づいて、または過去における実際の呼び登録やスイッチ・釦操作などの操作履歴に基づいても行えるようにしたことを特徴とする請求項1乃至請求項3記載のエレベータのプログラム検証システム。 The test scenario can be created based on a past test scenario stored in a database or based on an operation history of actual call registration and switch / button operation in the past. The elevator program verification system according to any one of claims 1 to 3.
JP2008057508A 2008-03-07 2008-03-07 Elevator program verification system Active JP5303968B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008057508A JP5303968B2 (en) 2008-03-07 2008-03-07 Elevator program verification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008057508A JP5303968B2 (en) 2008-03-07 2008-03-07 Elevator program verification system

Publications (3)

Publication Number Publication Date
JP2009214953A JP2009214953A (en) 2009-09-24
JP2009214953A5 JP2009214953A5 (en) 2011-03-24
JP5303968B2 true JP5303968B2 (en) 2013-10-02

Family

ID=41187253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008057508A Active JP5303968B2 (en) 2008-03-07 2008-03-07 Elevator program verification system

Country Status (1)

Country Link
JP (1) JP5303968B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6524159B2 (en) * 2017-08-08 2019-06-05 東芝エレベータ株式会社 Elevator operation confirmation system and elevator operation confirmation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63218488A (en) * 1987-03-06 1988-09-12 株式会社日立製作所 Elevator operation-information output device
JP2000272854A (en) * 1999-03-26 2000-10-03 Hitachi Ltd Control device for lift equipment
JP2000351536A (en) * 1999-06-09 2000-12-19 Hitachi Ltd Elevator controller
JP2006264877A (en) * 2005-03-23 2006-10-05 Toshiba Elevator Co Ltd Elevator control device
JP2007156822A (en) * 2005-12-05 2007-06-21 Toshiba Mitsubishi-Electric Industrial System Corp Simulated application test apparatus for computer system
JP2007302388A (en) * 2006-05-10 2007-11-22 Toshiba Elevator Co Ltd Elevator

Also Published As

Publication number Publication date
JP2009214953A (en) 2009-09-24

Similar Documents

Publication Publication Date Title
CN108959068B (en) Software interface testing method, device and storage medium
CN105760301A (en) Automatic testing method and system based on Monkey command
CN107656872B (en) Software testing method, device, equipment and computer storage medium
US8930758B2 (en) Automated testing of mechatronic systems
EP3379436A1 (en) Method and apparatus for testing design of satellite wiring harness and signal processing units
JP5740634B2 (en) Automatic operation system and operation automation method
JP2010152429A (en) Gui application test support device and test support method
JP2011081661A (en) Testing device
JP2007236093A (en) Transmission tester and method for updating control system
US20120246636A1 (en) Method and arrangement for installing and configuring a computer system
JP4791990B2 (en) Plant model development system
JP5303968B2 (en) Elevator program verification system
JP2017097516A (en) Debug support system
JP2005044316A (en) Simulation support tool, verification system for ladder program, and program product
JP4913243B2 (en) Method for generating a signal sequence reproducible by a tester inspecting a mobile radio
JP2012058120A (en) Testing device
CN110704252A (en) Automatic testing device and testing method based on cloud dynamic management
JP2010157103A (en) Verification system and operation verification apparatus
KR20180060675A (en) Apparatus and method for testing input/output signals and software performance of electric device
WO2016135821A1 (en) Inspection device, inspection method and program
CN113495545A (en) System and method for testing vehicle equipment controller using in-loop hardware
JP2011113272A (en) Automatic software test system
CN112416805A (en) Test management cloud platform and method
JP2006163657A (en) Playback simulator
JP2006155047A (en) Verification system and verification method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120828

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121024

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130528

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130610

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5303968

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250