CN104571085A - Method for automatically testing on-off input and on-off output of light rail door control system - Google Patents

Method for automatically testing on-off input and on-off output of light rail door control system Download PDF

Info

Publication number
CN104571085A
CN104571085A CN201410787539.6A CN201410787539A CN104571085A CN 104571085 A CN104571085 A CN 104571085A CN 201410787539 A CN201410787539 A CN 201410787539A CN 104571085 A CN104571085 A CN 104571085A
Authority
CN
China
Prior art keywords
module
signal
control system
door control
light rail
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.)
Granted
Application number
CN201410787539.6A
Other languages
Chinese (zh)
Other versions
CN104571085B (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.)
Chongqing Chuanyi Automation Co Ltd
Original Assignee
Chongqing Chuanyi Automation 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 Chongqing Chuanyi Automation Co Ltd filed Critical Chongqing Chuanyi Automation Co Ltd
Priority to CN201410787539.6A priority Critical patent/CN104571085B/en
Publication of CN104571085A publication Critical patent/CN104571085A/en
Application granted granted Critical
Publication of CN104571085B publication Critical patent/CN104571085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring

Abstract

The invention discloses a method for automatically testing on-off input and on-off output of a light rail door control system. The method comprises the following steps: after a PLC detects that a start button is pressed down, sequentially outputting corresponding on-off input signals to a CPU of the light rail door control system, and if the CPU detects a corresponding on-off input signal, sending an identifier for detecting a next on-off input signal to the PLC, and opening the next on-off input signal to a working state by the PLC till all the on-off input signals are detected; sequentially outputting corresponding on-off output signals to the PLC by the CPU, and if the PLC detects a corresponding on-off output signal, sending an identifier for detecting a next on-off output signal, and opening the next on-off output signal to a working state by the CPU till all the on-off output signals are detected. According to the method, the problem of too much human labor cost is solved, the on-off amount testing efficiency is improved, certain man-made errors and wrong operations are avoided, and the calibration accuracy is improved.

Description

Light rail door control system On-off signal exports automatic test approach
Technical field
The present invention relates to light rail door control system field, particularly relate to a kind of light rail door control system On-off signal and export automatic test approach.
Background technology
At present, for light rail door control system On-off signal output signal test mainly by artificial mode, manually different on-off model order is switched to working signal, and whether the pilot lamp observing correspondence on circuit board is lighted, and verifies whether this on-off model correctly inputs or outputs with this.Tens of kinds are had owing to needing the on-off model of test, wherein, the On-off signal signal kinds of light rail door control system is more, there is upper end infrared sensor signal, bottom infrared sensor signal, long-range enabling signal, long-range pass gate signal, working form signal (opens Door by Hand, manually close the door, isolation, in automatic four kinds, choosing is a kind of), emergency door release signal, light rail door reaches a signal, light rail door closes the signal that puts in place, electronic lock release signal etc. 20 kinds, switching value output signal comprises all door shutdown signals, all door start signal, sound and light alarm signal, the impact of human factor etc. can be subject in testing process, larger on test result impact, the maloperation possible when production task is urgent can produce one sided assay, cause hidden danger of quality, and the process detected, process more complicated, that drops into is artificial, time is larger.
Summary of the invention
The present invention be directed to the deficiencies in the prior art, provide a kind of light rail door control system On-off signal and export automatic test approach, the method can solve the problem dropping into too much manual labor effectively, improve the efficiency of switching value test, save a large amount of time, some artificial error and maloperations can be avoided in test process, improve the accuracy of demarcation.
The present invention is the technical scheme solving the problems of the technologies described above employing: a kind of light rail door control system On-off signal exports automatic test approach, have employed following system, this system comprises PLC module, start button, switching input module, switching value output module, frequency measuring block and alarm module, described start button is for starting an automatic testing process of switching value, described PLC module is communicated by the CPU module of communication module with light rail door control system, first output terminal of described PLC module is connected with the input end of switching input module, the output terminal of described switching input module is connected with the On-off signal signal end of light rail door control system, second output terminal of described PLC module is connected with alarm module, the output terminal of CPU module of described light rail door control system is connected with the input end of switching value output module, the output terminal of described switching value output module respectively with the input end of frequency measuring block, the first input end of PLC module connects, the output terminal of described frequency measuring block is connected with the second input end of PLC module,
Adopt said system to realize light rail door control system On-off signal and export the method for automatically testing, comprise the following steps:
After described PLC module detects that start button is pressed, export corresponding On-off signal signal successively to the CPU module of light rail door control system, simulate the duty of external sensor and notify that the outside corresponding sensor switching value signal of the CPU module of light rail door control system has been input to the port of corresponding light rail door control system, if CPU module can detect corresponding On-off signal signal, explanation testing result is correct, otherwise for test is abnormal, until all On-off signal signals have all detected, if test is abnormal, CPU sends false alarm data to PLC module, PLC module sends false alarm, CPU module exports corresponding switching value output signal successively to PLC module subsequently, simulate the duty of light rail door control system and notify that the switching value output signal of PLC module light rail door control system has been input to the port of corresponding PLC module, if PLC module detects corresponding switching value output signal, explanation testing result is correct, otherwise for test is abnormal, until all switching value output signals have all detected, if test is abnormal, PLC module has sent false alarm, after all on-off model have detected, PLC module and CPU module have terminated to communicate, and wait for that the actuating signal again of start button starts testing process next time.
Described start button adopts restoration type start button.
Described communication module adopts RS232 module.
Described RS232 module adopts the expansion module of Mitsubishi PLC to realize.
Described frequency measuring block adopts the expansion module of Mitsubishi PLC to realize.
The model of described PLC module is FX3U64.
Described switching input module adopts the relay output interface of PLC module self.
Described switching value output module adopts the relay input interface of PLC module self.
The present invention adopts the beneficial effect of technique scheme to be: because this light rail door control system On-off signal exports automatic test approach, have employed following system, this system is primarily of PLC, frequency measuring block, light rail door control system circuit, the compositions such as start button, PLC detects after start button is pressed and exports corresponding on-off model successively, analog operation state also notifies the CPU of light rail door control system circuit board, if CPU detects corresponding On-off signal signal, namely the mark of carrying out the next item down On-off signal input is sent, PLC opens next On-off signal signal to duty, until all On-off signal signals have all detected, CPU starting switch amount output signal simulation process is the same subsequently.Method of the present invention is adopted to coordinate system of the present invention can test the correctness of light rail door control system On-off signal output signal more convenient, more accurately, the automatic Verification of light rail door control system on-off model can be realized, effectively can solve and drop into too much manual labor, improve switching value test efficiency, save a large amount of time, some artificial error and maloperations can be avoided in test process, improve the accuracy of demarcation.
Accompanying drawing explanation
Fig. 1 is system circuit diagram of the present invention;
Fig. 2 is automatic test approach process flow diagram of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described:
See Fig. 1, a kind of light rail door control system On-off signal exports the embodiment of automatic test approach, have employed following system, this system comprises PLC module, start button, switching input module, switching value output module, frequency measuring block and alarm module, and described start button is for starting an automatic testing process of switching value.Described PLC module is communicated by the CPU module of communication module with light rail door control system.First output terminal of described PLC module is connected with the input end of switching input module, and the output terminal of described switching input module is connected with the On-off signal signal end of light rail door control system, and the second output terminal of described PLC module is connected with alarm module.Alarm module refers to that PLC drives luminescent device instruction when there being any one input/output signal to detect mistake.The output terminal of CPU module of described light rail door control system is connected with the input end of switching value output module, the output terminal of described switching value output module is connected with the input end of frequency measuring block, the first input end of PLC module respectively, and the output terminal of described frequency measuring block is connected with the second input end of PLC module.
The described start button of the present embodiment adopts restoration type start button.Described communication module adopts RS232 module.Frequency measuring block and RS232 module adopt the expansion module of Mitsubishi PLC to realize.Described frequency measuring block adopts the expansion module of Mitsubishi PLC to realize.The model of described PLC module is FX3U64, and its output switch parameter contact load is 1A 24VDC, 0.5A 120VAC, and impedance is less than 100m Ω, less on circuit impact.Described switching input module adopts the relay output interface of PLC module self.Described switching value output module adopts the relay input interface of PLC module self.
PLC module and restoration type start button are arranged in special switch board, start an automatic testing process of switching value by restoration type start button.The On-off signal signal kinds of light rail door control system is more, has upper end infrared sensor signal, bottom infrared sensor signal, long-range enabling signal, long-range pass gate signal, working form signal (open Door by Hand, manually close the door, isolate, in automatic four kinds choosing a kind of), emergency door release signal, light rail door reach a signal, light rail door closes signal, the electronic lock release signal etc. 20 kinds that put in place; Switching value output signal comprises all door shutdown signals, all door start signal, sound and light alarm signal, and whether what wherein audible ringing signal adopted is that rate-adaptive pacemaker drives speaker mode, during detection, adopt frequency measuring block to detect frequency signal correct.
See Fig. 2, adopt said system to realize light rail door control system On-off signal and export the method for automatically testing, comprise the following steps:
After PLC module detects the actuating signal of start button, communicated by the CPU module of communication module with light rail door control system, produce handshake and start an automatic testing process.After described PLC module detects that start button is pressed, export corresponding On-off signal signal successively to the CPU module of light rail door control system, simulate the duty of external sensor and notify that the outside corresponding sensor switching value signal of the CPU module of light rail door control system has been input to the port of corresponding light rail door control system, if CPU module can detect corresponding On-off signal signal, explanation testing result is correct, namely send carry out the next item down On-off signal input mark to PLC module, here mark is CPU module and plc communication, correct with the data representation test of agreement.If CPU module does not detect corresponding On-off signal signal, then for test is abnormal, until all On-off signal signals have all detected, if test is abnormal, CPU has sent false alarm data to PLC module, and PLC module sends false alarm.Duty is effective external sensor signal, the signal of door control system is input to for infrared sensor, in practical application, infrared sensor output low level useful signal, in simulation system, PLC adopts relay IO point output low level to port corresponding to door control system, the CPU module of door control system, if this low level signal correctly detected, illustrates that testing result is correct, otherwise is that example is until all On-off signal signals have all detected for test is abnormal.
When the On-off signal signal of all gate systems input port is all completed, PLC door control system CPU communicates, and notice CPU carries out switching value output signal test.CPU module exports corresponding switching value output signal successively to PLC module subsequently, simulate the duty of light rail door control system and notify that the switching value output signal of PLC module light rail door control system has been input to the port of corresponding PLC module, if PLC module detects corresponding switching value output signal, explanation testing result is correct, otherwise for test is abnormal, until all switching value output signals have all detected, if test is abnormal, PLC module has sent false alarm; After all on-off model have detected, PLC module and CPU module have terminated to communicate, and wait for that the actuating signal again of start button starts testing process next time.
Described switching value output module switching value output signal is the 1000hz square-wave signal driving loudspeaker, output relay contact signal, output indicator signal etc.
When switching value output signal is audible ringing signal, this frequency signal of square-wave signal that CPU module exports 1000Hz frequency makes fixed frequency, drive external loudspeaker in practical application, in simulation system, whether PLC to detect this signal by incoming frequency count nodes correct.
When switching value output signal be door shutdown signal or door start signal time, door closes with door that to open be relay contact signal, contact one termination low level, one termination PLC inputs contact, when door shutdown signal is effective, and the closing of contact, PLC contact is low level, is significant level, otherwise is inactive level.
Idiographic flow is as follows:
After PLC detects start button action, communicated by the CPU of RS232 interface with light rail door control system, produce handshake and start an automatic testing process.When carrying out On-off signal signal testing, PLC simulates different On-off signal signals respectively by the relay output interface of self, for long-range enabling signal, the analog port of long-range enabling signal is at the Y0 output node of PLC, Y0 conducting makes the long-range enabling signal end corresponding to light rail door control system be low level, the CPU of light rail door control system detects this low level, just by RS232 port and plc communication, show that remote switch On-off signal signal port function is correct, carry out the detection of the next item down On-off signal signal, until all On-off signal signals all detect and verify.For the detection of switching value output signal, for audible ringing signal, PLC and the CPU signal determining now to detect that communicates is after loudspeaker drive signal, all testing sequences are all solidificated in PLC in advance, PLC is communicated with door control system CPU by RS232 mouth, informs that CPU is about to the on-off model type of testing by different orders.That PLC and CPU module realize jointly.If the on-off model detected is incorrect, PLC can send light warning.CPU exports the square-wave signal of 1000Hz frequency, and whether PLC detects this frequency by frequency expansion module correct, detects other switching value output signal after checking successively.Finally after all on-off model have detected, PLC and CPU terminates communication, waits for the testing process next time of action launching again of start button.

Claims (8)

1. a light rail door control system On-off signal exports automatic test approach, it is characterized in that: have employed following system, this system comprises PLC module, start button, switching input module, switching value output module, frequency measuring block and alarm module, described start button is for starting an automatic testing process of switching value, described PLC module is communicated by the CPU module of communication module with light rail door control system, first output terminal of described PLC module is connected with the input end of switching input module, the output terminal of described switching input module is connected with the On-off signal signal end of light rail door control system, second output terminal of described PLC module is connected with alarm module, the output terminal of CPU module of described light rail door control system is connected with the input end of switching value output module, the output terminal of described switching value output module respectively with the input end of frequency measuring block, the first input end of PLC module connects, the output terminal of described frequency measuring block is connected with the second input end of PLC module,
Adopt said system to realize light rail door control system On-off signal and export the method for automatically testing, comprise the following steps:
After described PLC module detects that start button is pressed, export corresponding On-off signal signal successively to the CPU module of light rail door control system, simulate the duty of external sensor and notify that the outside corresponding sensor switching value signal of the CPU module of light rail door control system has been input to the port of corresponding light rail door control system, if CPU module can detect corresponding On-off signal signal, explanation testing result is correct, otherwise for test is abnormal, until all On-off signal signals have all detected, if test is abnormal, CPU sends false alarm data to PLC module, PLC module sends false alarm, CPU module exports corresponding switching value output signal successively to PLC module subsequently, simulate the duty of light rail door control system and notify that the switching value output signal of PLC module light rail door control system has been input to the port of corresponding PLC module, if PLC module detects corresponding switching value output signal, explanation testing result is correct, otherwise for test is abnormal, until all switching value output signals have all detected, if test is abnormal, PLC module has sent false alarm, after all on-off model have detected, PLC module and CPU module have terminated to communicate, and wait for that the actuating signal again of start button starts testing process next time.
2. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: described start button adopts restoration type start button.
3. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: described communication module adopts RS232 module.
4. light rail door control system On-off signal according to claim 3 exports automatic test approach, it is characterized in that: described RS232 module adopts the expansion module of Mitsubishi PLC to realize.
5. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: described frequency measuring block adopts the expansion module of Mitsubishi PLC to realize.
6. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: the model of described PLC module is FX3U64.
7. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: described switching input module adopts the relay output interface of PLC module self.
8. light rail door control system On-off signal according to claim 1 exports automatic test approach, it is characterized in that: described switching value output module adopts the relay input interface of PLC module self.
CN201410787539.6A 2014-12-18 2014-12-18 Light rail door control system On-off signal exports automatic test approach Active CN104571085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410787539.6A CN104571085B (en) 2014-12-18 2014-12-18 Light rail door control system On-off signal exports automatic test approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410787539.6A CN104571085B (en) 2014-12-18 2014-12-18 Light rail door control system On-off signal exports automatic test approach

Publications (2)

Publication Number Publication Date
CN104571085A true CN104571085A (en) 2015-04-29
CN104571085B CN104571085B (en) 2017-10-24

Family

ID=53087411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410787539.6A Active CN104571085B (en) 2014-12-18 2014-12-18 Light rail door control system On-off signal exports automatic test approach

Country Status (1)

Country Link
CN (1) CN104571085B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105628407A (en) * 2016-01-05 2016-06-01 中车南京浦镇车辆有限公司 Device and method for testing automatic opening/closing of rail vehicles
CN109557893A (en) * 2017-09-26 2019-04-02 大陆汽车电子(长春)有限公司 The diagnostic method and device of single switch signal for vehicle
CN111580497A (en) * 2020-05-06 2020-08-25 上海中金能源投资有限公司 Programmable logic controller input/output port testing equipment and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100188405B1 (en) * 1995-12-21 1999-06-01 양재신 Tester of a car doorlock assembly
CN201749363U (en) * 2010-08-09 2011-02-16 重庆科凯前卫风电设备有限责任公司 Detecting equipment for control system of wind turbine
CN202033664U (en) * 2011-04-28 2011-11-09 武汉钢铁(集团)公司 Detecting device for PLC (programmable logic controller) module channels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100188405B1 (en) * 1995-12-21 1999-06-01 양재신 Tester of a car doorlock assembly
CN201749363U (en) * 2010-08-09 2011-02-16 重庆科凯前卫风电设备有限责任公司 Detecting equipment for control system of wind turbine
CN202033664U (en) * 2011-04-28 2011-11-09 武汉钢铁(集团)公司 Detecting device for PLC (programmable logic controller) module channels

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈希隽: "《基于PLC的城市轨道交通门控单元测试平台的开发》", 《机车电传动》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105628407A (en) * 2016-01-05 2016-06-01 中车南京浦镇车辆有限公司 Device and method for testing automatic opening/closing of rail vehicles
CN105628407B (en) * 2016-01-05 2017-12-26 中车南京浦镇车辆有限公司 A kind of method of testing of rail vehicle automatic opening and closing door experimental rig
CN109557893A (en) * 2017-09-26 2019-04-02 大陆汽车电子(长春)有限公司 The diagnostic method and device of single switch signal for vehicle
CN111580497A (en) * 2020-05-06 2020-08-25 上海中金能源投资有限公司 Programmable logic controller input/output port testing equipment and method

Also Published As

Publication number Publication date
CN104571085B (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN100568146C (en) Air conditioner strong power controller automatic test device and method of testing
CN103019940B (en) A kind of electric energy meter embedded software half simulation testing device
CN104571085A (en) Method for automatically testing on-off input and on-off output of light rail door control system
CN107643448A (en) Megger test detection means and detection method
CN102207538B (en) Multifunctional dry reed pipe tester
CN204009018U (en) Power supply automatic detecting equipment
CN106197901A (en) Container tightness detecting and controlling system and detection device
CN102426304B (en) Automatic tester of direct current microcomputer protective device and testing method thereof
CN204270143U (en) Light rail door control system On-off signal exports Auto-Test System
CN204259555U (en) A kind of bean sprout growing machine
CN202331200U (en) Test device of frequency converter control panel
CN102288841A (en) Plug-in unit identification system and method of common testing interface
CN103063271B (en) A kind of glue amount detecting device
CN102353835B (en) Full-automatic test system for power of display equipment on production line and test method
CN105530511B (en) A kind of test device, test system and its method for remote control reception plate
CN101777326B (en) VGA video card test tooling and method
CN107300908A (en) A kind of air-conditioning line control machine detection method
CN204789978U (en) Smart electric meter trouble snatchs test equipment
CN103823134B (en) Electronic device detection system and method
CN202631217U (en) Air impermeability detection device for blow moulded drain pipe
CN203595768U (en) Electric power terminal interface self-checking apparatus
CN105890642B (en) Four commercial vehicle instrument external control status indicator lamp automatic detection circuit of state and method
CN203117378U (en) Self-checking circuit for faults of infrared touch screen
CN205175672U (en) Automatic aging testing appearance of mop wheel system
CN211042693U (en) Detection apparatus for two line control valve durability

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant