CN101964645B - Safety pulse generating device and generating method thereof - Google Patents

Safety pulse generating device and generating method thereof Download PDF

Info

Publication number
CN101964645B
CN101964645B CN 201010261269 CN201010261269A CN101964645B CN 101964645 B CN101964645 B CN 101964645B CN 201010261269 CN201010261269 CN 201010261269 CN 201010261269 A CN201010261269 A CN 201010261269A CN 101964645 B CN101964645 B CN 101964645B
Authority
CN
China
Prior art keywords
pulse
circuit
rectangular pulse
safe
generating device
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
CN 201010261269
Other languages
Chinese (zh)
Other versions
CN101964645A (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.)
Henan Splendor Science and Technology Co Ltd
Original Assignee
Henan Splendor Science and Technology 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 Henan Splendor Science and Technology Co Ltd filed Critical Henan Splendor Science and Technology Co Ltd
Priority to CN 201010261269 priority Critical patent/CN101964645B/en
Publication of CN101964645A publication Critical patent/CN101964645A/en
Application granted granted Critical
Publication of CN101964645B publication Critical patent/CN101964645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a safety pulse generating device and a generating method thereof. The safety pulse generating device comprises two host machines provided with multi-task operating systems, and an AND gate circuit, wherein the two host machines are communicated with each other by an Ethernet communication network and are respectively connected with the AND gate circuit. The generating method comprises the following steps of: time base synchronization: respectively generating a time mark and timing by the two host machines, and keeping timing between the the two host machines; pulse phase synchronization: simultaneously outputting rectangular pulses with synchronous phases by the two host machines; and pulse synthesis: synthesizing the two rectangular pulses with synchronous phase by the AND gate circuit, and outputting safety pulses by the AND gate circuit. The safety pulse generating device and the generating method thereof ensure phase synchronization of multi-path rectangular pulses by cooperation of software and hardware, and have the advantages of low cost and easy realization.

Description

Safe pulse generating device and production method thereof
Technical field
The present invention relates to a kind of safe pulse generating device and production method thereof, belong to the railway signal control field.
Background technology
In railway signal control field and industrial control system; For relating to safe equipment; Usually take to produce safe pulse with the rectangular pulse of two-way or multichannel certain frequency, then with safe pulsed drive dynamic driver circuit to produce safe DC operation signal; When dynamic driver circuit only receives lasting rectangular pulse, just export the DC operation signal, do not receive rectangular pulse or rectangular pulse frequency when being lower than certain frequency, just do not have the output of DC operation signal; Drive related objective device or equipment with this DC operation signal, guarantee with this no matter related objective device or equipment under any circumstance can both reach safety requirements;
The two-way of input dynamic driver circuit or phase place, frequency and the amplitude of multichannel rectangular pulse must satisfy certain synchronized relation; Wherein, Most crucial problem is to guarantee the Phase synchronization of multichannel rectangular pulse, so just can reach the purpose of control related objective device or equipment; If multichannel rectangular pulse phase place has big difference, target devices that can cause controlling or equipment state are disorderly, reduce the safety and reliability of control system.
As shown in Figure 1, at present, the mode that produces safe pulse mainly is based on hard-wired safe pulse generating device; It includes host A, host B, single-chip microcomputer 1, single-chip microcomputer 2, AND circuit, dynamic driver circuit, dynamic driving power module, dynamic pulse phase-detection protective circuit and protective tube, and wherein, the pulse that two-way 200~400Hz, phase phasic difference 180 degree is provided by two single-chip microcomputers of two host computer control is to the dynamic driving power module; When pulse just often, dynamic driving power module output DC source is during no pulse; Dynamic driving power module no-output; The two-way pulse must guarantee phase phasic difference 180 degree, otherwise, dynamic pulse phase-detection protective circuit meeting output short-circuit signal; And blow the protective tube of input; To guarantee safety, after the said DC power supply output, power supply is provided for all dynamic driver circuits;
Two driving orders that single-chip microcomputer is sent here according to two main frames; Through timer output phase, amplitude, two-way rectangular pulse signal that frequency is identical, behind AND circuit, give dynamic driver circuit and produce output; When dynamic driver circuit has the pulse input; The output high level, during the no pulse input, output low level;
When two single-chip microcomputers carried out once the school in about 10 minutes through the serial ports interruption, eliminate the time error that two single-chip microcomputer oscillating circuits produce;
Export in the two-way pulse of AND circuit in order to prevent single-chip microcomputer 1 and single-chip microcomputer 2; One road pulse persistance is a high level, and pulse is normally exported on another road, and AND circuit is still exported the dangerous situation of normal safe pulse; Single-chip microcomputer 1 carries out back production to the two-way pulse of input AND circuit respectively with single-chip microcomputer 2; When back production state and output pulse condition are inconsistent, notify another single-chip microcomputer through the UART serial communication, stop to export pulse; Make dynamic driver circuit can not get pulse and stop output, failure to the safe side.
Can know through above analysis: the power supply based on hard-wired safe pulse generating device is controlled by the opposite pulse of phase place of two single-chip microcomputer outputs; Drive circuit is controlled by the identical two-way pulse of phase place simultaneously; In addition, single-chip microcomputer carries out time synchronized through serial ports interrupt communication mode; This device has very high fail safe and reliability, and still, it needs hardware cost higher.
For this reason, people are seeking a kind of desirable technical solution always.
Summary of the invention
The present invention is directed to the deficiency of prior art, provide a kind of working in coordination with to guarantee that phase locked safe pulse generating device of multichannel rectangular pulse and safe method for generating pulse, these apparatus and method have the advantage of the low and easy realization of cost through software and hardware.
The technical scheme that the present invention adopted is following: a kind of safe pulse generating device; It includes two main frame and AND circuits that multiple task operating system is installed; Two main frames produce a time tag respectively and carry out timing through the inner hardware timer of host computer system; When carrying out the school through the mutual communication of ethernet communication network so that through the hardware interrupts mechanism of ethernet communication network between two main frames; Two main frames connect said AND circuit respectively so that respectively to the synchronous rectangular pulse of said AND circuit while input phase, said AND circuit is synthetic and output safety pulse with the phase locked rectangular pulse of two-way.
A kind of safe method for generating pulse, this production method may further comprise the steps:
Step 1, time base be synchronously: two main frames that multiple task operating system is installed are through the inner hardware timer of the host computer system time tag that to produce a precision respectively be 1ms; And carry out timing; Simultaneously; Whenever when 8~12 minutes carry out once the school through the hardware interrupts mechanism of ethernet communication network, make two time errors between the main frame between two main frames less than 1ms;
Step 2, impulse phase are synchronous: two main frames are exported rectangular pulse simultaneously in the moment that is accumulated to the output rectangular pulse; And it is synchronous to carry out the rectangular pulse edge; Make the phase place of two-way rectangular pulse identical, make time difference between the two-way rectangular pulse rising edge less than 1ms;
Step 3, pulse are synthesized: the phase locked rectangular pulse of two-way synthesizes through AND circuit, the pulse of said AND circuit output safety.
Based on above-mentioned, in step 3, when having arbitrary road rectangular pulse undesired in the input of AND circuit, export the main frame of this rectangular pulse and judge that according to back production stopping this rectangular pulse exports the no longer output safety pulse of said AND circuit.
The relative prior art of the present invention has outstanding substantive distinguishing features and marked improvement; Specifically, this safe pulse generating device has been simplified safe pulse generating device of the prior art, promptly simplifies the hardware such as power supply and single-chip microcomputer of dynamic pulse control; It is collaborative through software and hardware; Guaranteed multichannel rectangular pulse Phase synchronization, promptly provided cost savings, be easy to again realize; Though this safe pulse generating device precision does not reach the phase accuracy of existing safe pulse generating device; But the time difference between the rising edge of two-way pulse is less than 1ms; Be far smaller than the work period 10ms~100ms of dynamic driver circuit; Therefore, the safe pulse that this device produces also has very high fail safe and reliability when reducing cost;
This safe method for generating pulse is simple and easy to realize, and precision is high, safe, reliability is high, and it has application and practical outstanding advantage.
Description of drawings
Fig. 1 is based on the structural representation of hard-wired safe pulse generating device in the prior art;
Fig. 2 is the structural representation of safe pulse generating device according to the invention.
Embodiment
Through embodiment, technical scheme of the present invention is done further detailed description below.
As shown in Figure 2, a kind of safe pulse generating device based on soft time base, it includes host A, host B and AND circuit; Host A and host B are that to adopt version be the embedded host of the linux kernel of 2.6.19, the time tag that it is 1ms that host A and the host B hardware timer through host computer system inside produces a precision respectively, and carry out timing;
When carrying out the school through the mutual communication of ethernet communication network so that through the hardware interrupts mechanism of ethernet communication network between host A and the host B;
Host A, host B connect said AND circuit respectively so that respectively to the synchronous rectangular pulse of said AND circuit while input phase, said AND circuit is used for the synthetic and output safety pulse with the phase locked rectangular pulse of the two-way that receives.
When the hardware interrupts mechanism that this device is provided through ethernet communication network by two main frames is carried out the school; Guarantee that two main frame time errors are less than 1ms; And directly by the bus output two-way phase place of two main frames, the rectangular pulse that frequency is identical with amplitude; This two-way rectangular pulse is after AND circuit is synthetic, and the safe pulse of generation is given dynamic driver circuit and produced output; When dynamic driver circuit has the pulse input, the output high level, during the no pulse input, output low level;
This shows that this device has saved the power supply and the single-chip microcomputer interlock circuit of the dynamic pulse control in the existing safe pulse generating device, provide cost savings, and be easy to realize; Though this device precision does not reach the phase accuracy of existing safe pulse generating device; But the time difference between the rising edge of two-way pulse is less than 1ms; Be far smaller than the work period 10ms~100ms of dynamic driver circuit; Therefore, the safe pulse that this device produces also has very high fail safe and reliability when reducing cost.
A kind of safe method for generating pulse, this production method may further comprise the steps:
Step 1, time base be synchronously: two main frames that multiple task operating system is installed are through the inner hardware timer of the host computer system time tag that to produce a precision respectively be 1ms; And carry out timing; Simultaneously; Whenever when 8~12 minutes carry out once the school through the hardware interrupts mechanism of ethernet communication network, make two time errors between the main frame between two main frames less than 1ms;
Step 2, impulse phase are synchronous: two main frames are exported rectangular pulse simultaneously in the moment that is accumulated to the output rectangular pulse; And it is synchronous to carry out the rectangular pulse edge; Make the phase place of two-way rectangular pulse identical, make time difference between the two-way rectangular pulse rising edge less than 1ms;
Step 3, pulse are synthesized: the phase locked rectangular pulse of two-way synthesizes through AND circuit, and said AND circuit is to the pulse of dynamic driver circuit output safety;
Dynamic driver circuit receives lasting safe pulse, and dynamic driver circuit is just exported the DC operation signal, otherwise dynamic driver circuit is not exported the DC operation signal.
Based on above-mentioned, in step 3, when having arbitrary road rectangular pulse undesired in the input of AND circuit, export the main frame of this rectangular pulse and judge according to back production, stop this rectangular pulse output, the no longer output safety pulse of said AND circuit;
Promptly; Behind host A and the host B output rectangular pulse; Carry out back production voluntarily and judge, if host A back production input is inconsistent with the host A input, or host B back production input and host B are imported inconsistent; Then host A or host B stop rectangular pulse output, the no longer output safety pulse of promptly said AND circuit immediately;
Furtherly, export in the two-way rectangular pulse of AND circuit in order to prevent host A and host B, one road pulse persistance is a high level; Another road pulse is normal output pulse; And AND circuit is still exported the dangerous situation of normal safe pulse, and host A and host B carry out back production to the input and the two-way pulse of door respectively, when back production state and output pulse condition are inconsistent; Notify another main frame to stop to export rectangular pulse through ethernet communication network; Make no longer output safety pulse of AND circuit, then dynamic driver circuit stops to export DC operation signal, failure to the safe side because of can not get safe pulse.
Should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not to its restriction; Although with reference to preferred embodiment the present invention has been carried out detailed explanation, the those of ordinary skill in affiliated field is to be understood that: still can specific embodiments of the invention make amendment or the part technical characterictic is equal to replacement; And not breaking away from the spirit of technical scheme of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (3)

1. safe pulse generating device; It is characterized in that: this safe pulse generating device includes two main frame and AND circuits that multiple task operating system is installed; Two main frames produce a time tag respectively and carry out timing through the inner hardware timer of host computer system; When carrying out the school through the mutual communication of ethernet communication network so that through the hardware interrupts mechanism of ethernet communication network between two main frames; Two main frames connect said AND circuit respectively so that respectively to the synchronous rectangular pulse of said AND circuit while input phase, said AND circuit is synthetic and output safety pulse with the phase locked rectangular pulse of two-way.
2. the safe method for generating pulse of the said safe pulse generating device of claim 1 is characterized in that, this production method may further comprise the steps:
Step 1, time base be synchronously: two main frames that multiple task operating system is installed are through the inner hardware timer of the host computer system time tag that to produce a precision respectively be 1ms; And carry out timing; Simultaneously; Whenever when 8~12 minutes carry out once the school through the hardware interrupts mechanism of ethernet communication network, make two time errors between the main frame between two main frames less than 1ms;
Step 2, impulse phase are synchronous: two main frames are exported rectangular pulse simultaneously in the moment that is accumulated to the output rectangular pulse; And it is synchronous to carry out the rectangular pulse edge; Make the phase place of two-way rectangular pulse identical, make time difference between the two-way rectangular pulse rising edge less than 1ms;
Step 3, pulse are synthesized: the phase locked rectangular pulse of two-way synthesizes through AND circuit, the pulse of said AND circuit output safety.
3. safe method for generating pulse according to claim 2; It is characterized in that: in step 3; When having arbitrary road rectangular pulse undesired in the input of AND circuit; Export the main frame of this undesired rectangular pulse and judge the rectangular pulse output that stops this main frame, the no longer output safety pulse of said AND circuit according to back production.
CN 201010261269 2010-08-24 2010-08-24 Safety pulse generating device and generating method thereof Active CN101964645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010261269 CN101964645B (en) 2010-08-24 2010-08-24 Safety pulse generating device and generating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010261269 CN101964645B (en) 2010-08-24 2010-08-24 Safety pulse generating device and generating method thereof

Publications (2)

Publication Number Publication Date
CN101964645A CN101964645A (en) 2011-02-02
CN101964645B true CN101964645B (en) 2012-08-22

Family

ID=43517407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010261269 Active CN101964645B (en) 2010-08-24 2010-08-24 Safety pulse generating device and generating method thereof

Country Status (1)

Country Link
CN (1) CN101964645B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880086A (en) * 2022-04-02 2022-08-09 沈阳飞机设计研究所扬州协同创新研究院有限公司 Global task synchronization method of avionics system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584757A (en) * 2004-05-21 2005-02-23 杨桂臣 Self-calibrating synchronous timing timer
CN201789475U (en) * 2010-08-24 2011-04-06 河南辉煌科技股份有限公司 Safety pulse generating device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079554B2 (en) * 2002-10-16 2006-07-18 Terasync, Ltd. System and method for synchronizing between communication terminals of asynchronous packets networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1584757A (en) * 2004-05-21 2005-02-23 杨桂臣 Self-calibrating synchronous timing timer
CN201789475U (en) * 2010-08-24 2011-04-06 河南辉煌科技股份有限公司 Safety pulse generating device

Also Published As

Publication number Publication date
CN101964645A (en) 2011-02-02

Similar Documents

Publication Publication Date Title
EP2408102B1 (en) Power layer generation of inverter gate drive signals
EP2408110B1 (en) Power layer generation of inverter gate drive signals
CN103840485A (en) Global synchronization pulse width modulation system and method of distributed grid-connected inverter system
JP2015100262A (en) Apparatus for controlling paralleled inverter
JP2002345252A (en) Method and apparatus for operating a plurality of power converters
CN103792419A (en) Synchronous sampling method achieving hybrid access of analog quantity and digital quantity
CN102624075A (en) Multimachine parallel connection method and scheme of modular UPS (uninterrupted power supply) system
CN101964645B (en) Safety pulse generating device and generating method thereof
CN201789475U (en) Safety pulse generating device
CN102063055B (en) Redundant UTC (universal coordinated time) time synchronization server
CN103269263B (en) Based on clock expansion output device and the method for the RS422/485 timing code agreement of self-defining expanding clock and communication bus
CN202111712U (en) Dual-computer redundancy system adopting IRIG-B format time code in timing system
CN108983036B (en) Traveling wave distance measurement system based on electronic transformer
CN103777607A (en) Door operator controller of platform screen door
CN203097556U (en) Door controller beside platform
CN103049038B (en) The hardware clock synchronizing circuit of two security systems is got for three
CN103633898A (en) Data communication device that carries out serial communication in order to control motor
CN107465337B (en) Driving synchronous control protection method and device applied to IGBT series power module
CN207652302U (en) A kind of master & slave control system of subway energy back feed device
CN103473154B (en) A kind of three machine Hot Spare computing machines when airliner certainty annuity
CN203027176U (en) Mobile integrated emergency excitation device
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
CN106301091B (en) Battery panel tracking system, motor power supply method thereof and tracking control box
RU2327590C1 (en) Signal conditioner of continuous-amplitude channel in multi-digit automatic cab signalling system (фс-ен)
JP2016013045A (en) Controller, motor controller and steering device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant