CN102419558B - Metro stray current one-way conduction control method, and device for the same - Google Patents
Metro stray current one-way conduction control method, and device for the same Download PDFInfo
- Publication number
- CN102419558B CN102419558B CN201110361662.8A CN201110361662A CN102419558B CN 102419558 B CN102419558 B CN 102419558B CN 201110361662 A CN201110361662 A CN 201110361662A CN 102419558 B CN102419558 B CN 102419558B
- Authority
- CN
- China
- Prior art keywords
- way conduction
- task
- module
- real
- task module
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The embodiment of the invention discloses a metro stray current one-way conduction control method, and a device for the same, which are used for realizing quick one-way conduction, thereby reducing the possibility of leakage of the stray current and protecting special sections of rails from corrosion of the stray current. The embodiment method of the invention comprises the following steps of: obtaining a one-way conduction command in a message queue of a Free RTOS (embedded Real Time Operating System); preferentially executing one-way conduction logic processing in real time according to the one-way conduction command and the pre-set highest priority; and outputting a one-way conduction signal obtained after the one-way conduction logic processing.
Description
Technical field
The present invention relates to electroporation field, relate in particular to a kind of metro stray current one-way conduction control method and device.
Background technology
According to track traffic stray current system theory; the control device of the device in one-way on state being used is tied in insulation between each special location of subway (as subway tunnel, garage parking rail etc.) and subway main track rail; for avoiding these special location stray currents to leak the possibility increasing, protect better these special locations not being subject to the corrosion of stray current.
Existing one-way conduction control device adopts the software architecture of one process more, and all modules concentrate in together, and order is carried out, before a upper module does not complete, cannot carry out next step operation, cannot carry out priority processing in real time to important module, real-time is poor, is inconvenient to safeguard simultaneously.
Summary of the invention
The embodiment of the present invention provides a kind of metro stray current one-way conduction control method and device, in order to real-time control one-way conduction, avoids the special location of track to be subject to the corrosion of stray current.
The metro stray current one-way conduction control method that the embodiment of the present invention provides, comprising: obtain the one-way conduction order in FreeRTOS embedded real-time operating system message queue; According to described one-way conduction order and preset limit priority, preferentially carry out in real time one-way conduction logical process; The one-way conduction signal after one-way conduction logical process is carried out in output.
The metro stray current one-way conduction control device that the embodiment of the present invention provides, comprising: acquiring unit, for obtaining the one-way conduction order of FreeRTOS embedded real-time operating system message queue; Processing unit, for according to described one-way conduction order and preset limit priority, carries out one-way conduction logical process in real time; Output unit, for exporting the one-way conduction signal carrying out after described one-way conduction logical process.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: obtain the one-way conduction order in FreeRTOS system message queue, according to this one-way conduction order and preset limit priority, preferentially carry out in real time one-way conduction logical process, then export the one-way conduction signal after one-way conduction logical process, after obtaining one-way conduction order, can preferentially carry out in real time one-way conduction logical process, therefore can realize the preferential real-time of system one-way conduction.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic diagram of the metro stray current one-way conduction control method in the embodiment of the present invention;
Fig. 2 is the task module structural representation relevant to FreeRTOS system in central processing unit in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of the metro stray current one-way conduction control method in the embodiment of the present invention;
Fig. 4 is an embodiment schematic diagram of the metro stray current one-way conduction control device in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of metro stray current one-way conduction control method and device, for realizing one-way conduction rapidly, and then reduces the possibility that stray current is revealed, and the special location of protection underground railway track is not subject to the corrosion of stray current.Below be elaborated respectively.
Refer to Fig. 1, an embodiment of the metro stray current one-way conduction control method in the embodiment of the present invention comprises:
101, obtain the one-way conduction order in FreeRTOS embedded real-time operating system message queue;
One-way conduction control device obtains the one-way conduction order in FreeRTOS embedded real-time operating system message queue, in the present embodiment, at central processing unit (CPU, Central Processing Unit) the middle FreeRTOS system that adopts, each task module is realized with multitask form, and multiple tasks are dispatched by FreeRTOS systematic unity.
For ease of understanding, FreeRTOS system related tasks module in brief and CPU, refer to Fig. 2, include but not limited to FreeRTOS system related tasks module: sampling task module, analog quantity calculation task module, Timing Processing task module, one-way conduction steering logic task module, man-machine interface task module, communication task module; Data store tasks module.Wherein, sampling task integrates Timing Processing task as interruption subroutine, and other tasks are real-time task.
Wherein, sampling task module, according to predeterminated frequency, gather analog quantity sampled data, task arouse machine processed by FreeRTOS system wakes analog quantity calculation task up, and analog computation task module carries out fast Fourier transformation algorithm according to analog quantity sampled data and calculates magnitude of voltage between diode branch, extinguishing arc branch voltage value and current value in system external circuit, rail.
The timing of Timing Processing task module, according to magnitude of voltage between the diode branch, extinguishing arc branch voltage value and the current value that calculate, rail, judges whether to exceed one-way conduction threshold values, if exceed, one-way conduction order is sent in FreeRTOS message queue.
102,, according to this one-way conduction order and preset limit priority, preferentially carry out in real time one-way conduction logical process;
According to this one-way conduction order and the preset limit priority that obtain, preferentially carry out in real time one-way conduction logical process.
The real-time task that one-way conduction logical process task module is limit priority, Timing Processing task module sends to one-way conduction order in FreeRTOS message queue, one-way conduction steering logic task module obtains this one-way conduction order, can preferentially carry out in real time one-way conduction logical process.
103, the one-way conduction signal after one-way conduction logical process is carried out in output.
Carry out after one-way conduction logical process, export one-way conduction signal after treatment, with one-way conduction equipment in triggering system, carry out one-way conduction.
Further, Timing Processing task module in the present embodiment, also for timing according to diode branch, extinguishing arc DC voltage value and current value, judge in branch road and whether break down, if there is fault to occur in judgement branch road, event of failure is sent to FreeRTOS system message queue, data poke task module obtains after branch trouble event from FreeRTOS system message queue, be stored in EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM, Electrically Erasable Programmable Read-Only Memory).Communication task module is responsible for communication data processing, specifically from FreeRTOS system message queue, recaptures and gets the data that serial ports sends, and data is carried out to Frame coding and process.Human-machine interface module, carries out keyboard operation by the keyboard operation key assignments obtaining in FreeRTOS command queue, processes the Graphics Processing of keyboard and screen.
In the embodiment of the present invention, obtain the one-way conduction order in FreeRTOS system message queue, according to this one-way conduction order and preset limit priority, preferentially carry out in real time one-way conduction logical process, then export the one-way conduction signal after one-way conduction logical process, after obtaining one-way conduction order, can preferentially carry out in real time one-way conduction logical process, therefore can realize the preferential real-time of system one-way conduction.Adopted modular programmed method simultaneously.Improved the maintainability of whole system.
For ease of understanding, introduce in detail another embodiment of the metro stray current one-way conduction control method in the embodiment of the present invention below, refer to Fig. 3, another embodiment of the metro stray current one-way conduction control method in the embodiment of the present invention comprises:
301, obtain preset precedence information;
First one-way conduction control device obtains self preset precedence information, the priority of each real-time task is set in advance by CPU, one-way conduction steering logic task is set to limit priority, can priority processing, while needing if any one-way conduction, this one-way conduction steering logic task can be seized the right of execution of other task.
In the present embodiment, the priority of each real-time task module order from high to low can be followed successively by: one-way conduction steering logic task, analog measurement calculation task, communication task, man-machine interface task, data store tasks.Understandable, can be also putting in order of other, take actual needs as arranging according to any.
302, obtain the one-way conduction order in FreeRTOS system message queue;
One-way conduction control device obtains the one-way conduction order in FreeRTOS system message queue, and detailed process refers to the content described in aforementioned step 101 embodiment illustrated in fig. 1, repeats no more herein.
303,, according to this one-way conduction order and preset limit priority, preferentially carry out one-way conduction logical process;
The real-time task that one-way conduction logical process task is limit priority, Timing Processing task sends to one-way conduction order in FreeRTOS message queue, one-way conduction steering logic task is obtained this one-way conduction order, can preferentially carry out in real time one-way conduction logical process.
304, the one-way conduction signal after one-way conduction logical process is carried out in output.
Carry out after one-way conduction logical process, export one-way conduction signal after treatment, concrete, can pass through pulse width modulation circuit, the one-way conduction signal after one-way conduction logical process is carried out in output, with one-way conduction equipment in triggering system, carries out one-way conduction.
In the present embodiment, one-way conduction control device obtains its limit priority information, when obtain in FreeRTOS embedded system message queue one-way conduction order time, according to this one-way conduction order and preset limit priority, preferentially carry out one-way conduction logical process, by pulse width modulation circuit, the one-way conduction signal after one-way conduction logical process is carried out in output, can realize the preferential real-time of system one-way conduction.
For ease of understanding, introduce the metro stray current one-way conduction control device in the embodiment of the present invention below, refer to Fig. 4, an embodiment of the metro stray current one-way conduction control device in the embodiment of the present invention comprises:
Acquiring unit 401, for obtaining the one-way conduction order (referring to step 101,302) of FreeRTOS embedded real-time operating system message queue;
The specific implementation process of each unit in one-way conduction control device in the embodiment of the present invention, refer to earlier figures 1 and embodiment illustrated in fig. 3 in associated description content, repeat no more herein.
Further, the acquiring unit 401 in the present embodiment is also for obtaining preset precedence information (referring to step 301);
In the embodiment of the present invention, acquiring unit 401 obtains preset precedence information, and obtain the one-way conduction order in FreeRTOS system message queue, one-way conduction Logical processing unit 402 is according to this one-way conduction order and preset limit priority, carry out in real time one-way conduction logical process, the one-way conduction signal after one-way conduction logical process is carried out in output unit 403 outputs, specifically can pass through pulse width modulation circuit, the one-way conduction signal after one-way conduction logical process is carried out in output, after obtaining one-way conduction order, can preferentially carry out in real time one-way conduction logical process, therefore can realize the preferential real-time of system one-way conduction.
It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
Above a kind of metro stray current one-way conduction control method provided by the present invention and device are described in detail, for those skilled in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (6)
1. a metro stray current one-way conduction control method, is characterized in that, comprising:
Obtain the one-way conduction order in FreeRTOS embedded real-time operating system message queue, the multiple tasks of described FreeRTOS embedded real-time operating system United Dispatching;
According to described one-way conduction order and preset limit priority, preferentially carry out in real time one-way conduction logical process, described limit priority is the one-way conduction steering logic task that central processing unit arranges;
The one-way conduction signal after one-way conduction logical process is carried out in output;
Wherein, the task module relevant to described FreeRTOS system comprises: sampling task module, analog quantity calculation task module, Timing Processing task module, one-way conduction steering logic task module, man-machine interface task module, communication task module, data store tasks module, wherein, sampling task integrates Timing Processing task as interruption subroutine, and other tasks are real-time task;
Wherein, the priority of each real-time task module order is from high to low followed successively by: one-way conduction steering logic task, analog measurement calculation task, communication task, man-machine interface task, data store tasks.
2. method according to claim 1, is characterized in that, described in comprise before obtaining one-way conduction order in FreeRTOS embedded real-time operating system message queue:
Obtain preset precedence information.
3. the method described in 1 or 2 as requested, is characterized in that, the one-way conduction signal that described output is carried out after one-way conduction logical process comprises:
By pulse width modulation circuit, the one-way conduction signal after one-way conduction logical process is carried out in output.
4. a metro stray current one-way conduction control device, is characterized in that, comprising:
Acquiring unit, for obtaining the one-way conduction order of FreeRTOS embedded real-time operating system message queue, the multiple tasks of described FreeRTOS embedded real-time operating system United Dispatching;
Processing unit, for according to described one-way conduction order and preset limit priority, carries out one-way conduction logical process in real time, and described limit priority is the one-way conduction steering logic task that central processing unit arranges;
Output unit, for exporting the one-way conduction signal carrying out after described one-way conduction logical process;
Wherein, the task module relevant to described FreeRTOS system comprises: sampling task module, analog quantity calculation task module, Timing Processing task module, one-way conduction steering logic task module, man-machine interface task module, communication task module, data store tasks module, wherein, sampling task integrates Timing Processing task as interruption subroutine, and other tasks are real-time task;
Wherein, the priority of each real-time task module order is from high to low followed successively by: one-way conduction steering logic task, analog measurement calculation task, communication task, man-machine interface task, data store tasks.
5. device according to claim 4, is characterized in that,
Described acquiring unit, also for obtaining preset precedence information.
6. according to the device described in claim 4 or 5, it is characterized in that,
Described output unit, for by pulse width modulation circuit, exports the one-way conduction signal carrying out after one-way conduction logical process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110361662.8A CN102419558B (en) | 2011-11-15 | 2011-11-15 | Metro stray current one-way conduction control method, and device for the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110361662.8A CN102419558B (en) | 2011-11-15 | 2011-11-15 | Metro stray current one-way conduction control method, and device for the same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102419558A CN102419558A (en) | 2012-04-18 |
CN102419558B true CN102419558B (en) | 2014-04-16 |
Family
ID=45944005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110361662.8A Expired - Fee Related CN102419558B (en) | 2011-11-15 | 2011-11-15 | Metro stray current one-way conduction control method, and device for the same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102419558B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110986944A (en) * | 2019-11-05 | 2020-04-10 | 西安羚控电子科技有限公司 | Ship attitude identification method for shipborne reconnaissance and shooting unmanned aerial vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DD159235A1 (en) * | 1981-05-27 | 1983-02-23 | Heinrich Hampel | CIRCUIT ARRANGEMENT FOR REDUCING STREUSTROM CORROSION ON EARTH-INSTALLED METAL PLANTS |
CN1588255A (en) * | 2004-07-27 | 2005-03-02 | 杨得志 | DC power screen intelligent monitor and control method |
US7221137B2 (en) * | 2003-11-07 | 2007-05-22 | Korea Electrotechnology Research Institute | Apparatus with storage for measuring stray currents from subway rails and power lines |
FR2917546A1 (en) * | 2007-06-18 | 2008-12-19 | Transport Petrol Par Pipeline | Value determining method for draining resistive two terminal circuit, involves choosing value of resistor, and multiplying value by ratio value to determine another ratio value defined by division of value for maintaining metallic conduct |
CN101670791A (en) * | 2009-10-12 | 2010-03-17 | 永济新时速电机电器有限责任公司 | Metro stray current drainage device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102175559A (en) * | 2011-01-13 | 2011-09-07 | 河南理工大学 | Multifunctional outburst forecast instrument |
CN102175597A (en) * | 2011-01-21 | 2011-09-07 | 中国矿业大学 | On-line monitoring method of metro stray current corrosion on-line monitoring system |
-
2011
- 2011-11-15 CN CN201110361662.8A patent/CN102419558B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DD159235A1 (en) * | 1981-05-27 | 1983-02-23 | Heinrich Hampel | CIRCUIT ARRANGEMENT FOR REDUCING STREUSTROM CORROSION ON EARTH-INSTALLED METAL PLANTS |
US7221137B2 (en) * | 2003-11-07 | 2007-05-22 | Korea Electrotechnology Research Institute | Apparatus with storage for measuring stray currents from subway rails and power lines |
CN1588255A (en) * | 2004-07-27 | 2005-03-02 | 杨得志 | DC power screen intelligent monitor and control method |
FR2917546A1 (en) * | 2007-06-18 | 2008-12-19 | Transport Petrol Par Pipeline | Value determining method for draining resistive two terminal circuit, involves choosing value of resistor, and multiplying value by ratio value to determine another ratio value defined by division of value for maintaining metallic conduct |
CN101670791A (en) * | 2009-10-12 | 2010-03-17 | 永济新时速电机电器有限责任公司 | Metro stray current drainage device |
Non-Patent Citations (8)
Title |
---|
A new novel DC booster circuit to reduce stray current and rail potential in DC railways;Reza Fotouhi et al;《CPE:2009 COMPATIBILITY AND POWER ELECTRONIC》;20091231;第457-462页 * |
M.Niasati et al.overview of stray current control in DC railway systems.《international conference on railway engineering 2008.ICRE2008》.2008,第237-242页. |
Mu Longhua et. al.Stray current automatic monitoring system and intelligent obviating current device in metro.《2007 international power engineering conference(IPEC 07)》.2007,第1070-1074页. |
overview of stray current control in DC railway systems;M.Niasati et al;《international conference on railway engineering 2008.ICRE2008》;20081231;第237-242页 * |
Reza Fotouhi et al.A new novel DC booster circuit to reduce stray current and rail potential in DC railways.《CPE:2009 COMPATIBILITY AND POWER ELECTRONIC》.2009,第457-462页. |
Stray current automatic monitoring system and intelligent obviating current device in metro;Mu Longhua et. al;《2007 international power engineering conference(IPEC 07)》;20071231;第1070-1074页 * |
李振芳等.深圳地铁3号线杂散电流实时监测系统.《机电工程》.2007,第20卷(第02期),第80-83页. |
深圳地铁3号线杂散电流实时监测系统;李振芳等;《机电工程》;20070430;第20卷(第02期);第80-83页 * |
Also Published As
Publication number | Publication date |
---|---|
CN102419558A (en) | 2012-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106253239B (en) | Decentralized bus protection configuration method based on MapReduce frameworks | |
CN103814501A (en) | Diagnosis for GOOSE communication | |
CN104460607A (en) | Production system graphic ticketing method based on simulated rehearsal | |
CN109818418A (en) | A kind of apparatus and method status of electric power monitoring and shown | |
CN104577942A (en) | Monitoring device and monitoring method for real-time voltage of communication chip | |
CN113176469A (en) | Power transmission grid frame recovery method based on multi-agent and thermal power generating unit cluster simulation | |
CN103617495A (en) | Comprehensive transportation junction operation management system and method based on full-configuration HMI | |
CN103670114B (en) | train door control method and device | |
CN103117599B (en) | Intelligent transformer substation link redundancy sampling value online seamless switching method | |
CN102419558B (en) | Metro stray current one-way conduction control method, and device for the same | |
CN103523030B (en) | The control setup of HSCB automatic re-operation under subway train VVVF fault work condition and method | |
CN202491694U (en) | Train traction control system | |
CN103632414B (en) | The device of a kind of subway train signal system on-line monitoring and early warning | |
CN205581624U (en) | Integration control system of power plant based on server structure | |
CN109515455A (en) | A kind of method and system of Train Control | |
CN105573912B (en) | Clock chip analog detection method for the detection of intelligent electric energy meter software reliability | |
CN207819557U (en) | A kind of protection act logic visualization protective relaying device | |
CN202737590U (en) | Intelligent substation concentrated protection and control device | |
CN114374712B (en) | Driving management method, electronic equipment and storage medium | |
CN110209104A (en) | The system and method for intelligent monitoring and operation and maintenance | |
CN204440586U (en) | A kind of cable well lid real time monitoring apparatus | |
CN103840560A (en) | Switching station fault simulator and switching station fault simulation method | |
CN105512771A (en) | Railway route sheet optimizing device | |
CN103701197B (en) | A kind of monitoring redundancy backup method improving integration power-supply system reliability | |
Tang et al. | Positive safety modeling of CTCS-3 train control system for high-speed railway |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: 518057 Nanshan District high tech Industrial Village, Guangdong, R2,, B5 Patentee after: Farad Electric Co., Ltd. Address before: 518110 Nanshan District high tech Industrial Village, Guangdong, R2,, B5 Patentee before: Shenzhen Hualite Electric Appliances Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140416 Termination date: 20201115 |
|
CF01 | Termination of patent right due to non-payment of annual fee |