CN106444606A - Incremental electronic coding odometer device based on PLC technology and application thereof - Google Patents

Incremental electronic coding odometer device based on PLC technology and application thereof Download PDF

Info

Publication number
CN106444606A
CN106444606A CN201610864075.3A CN201610864075A CN106444606A CN 106444606 A CN106444606 A CN 106444606A CN 201610864075 A CN201610864075 A CN 201610864075A CN 106444606 A CN106444606 A CN 106444606A
Authority
CN
China
Prior art keywords
module
pulse
plc
value
incremental
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
CN201610864075.3A
Other languages
Chinese (zh)
Other versions
CN106444606B (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.)
Casco Signal Ltd
Original Assignee
Casco Signal 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 Casco Signal Ltd filed Critical Casco Signal Ltd
Priority to CN201610864075.3A priority Critical patent/CN106444606B/en
Publication of CN106444606A publication Critical patent/CN106444606A/en
Application granted granted Critical
Publication of CN106444606B publication Critical patent/CN106444606B/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13018Conversion ladder diagram to decision system, machine code, language
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to an incremental electronic coding odometer device based on the PLC technology and an application thereof. The device is installed on a tramcar. The odometer device is connected with the wheel rotating speed sensor, the speed feedback voltage sensor and the vehicle-mounted controller of the tramcar. The odometer device comprises an incremental encoder module, an AD conversion module, a PLC module and an incremental pulse generator module. The PLC module is connected with the incremental encoder module, the AD conversion module and the incremental pulse generator module. The incremental encoder module is connected with the wheel rotating speed sensor. The AD conversion module is connected with the speed feedback voltage sensor. The incremental pulse generator module is connected with the vehicle-mounted controller. Compared with the devices in the prior art, the incremental electronic coding odometer device has the advantages that the extensibility can be greatly enhanced.

Description

Increment type electronic code mileage counter device based on PLC technology and its application
Technical field
The present invention relates to a kind of increment type electronic code speedometer, especially relate to a kind of increment type based on PLC technology Electronic code mileage counter device and its application.
Background technology
In tramcar signaling system, the vehicle control syetem (OBS) of train is and its important, tramcar train car Carry that function includes the ATP train automatic protection of tramcar and DAC train auxiliary is driven, regardless of whether be ATP function or DAC function, has relied on testing the speed and location information of train, is respectively necessary for using speedometer and tests the speed and beacon positioning.Wherein, Current train speedometer is all monopolized by offshore company substantially, exist technology opaque, expensive, using underaction, The shortcomings of equipment loss height, poor expandability.Thus in actual use, a kind of speedometer is difficult to match all types of cars On, and need constantly to adjust and revise in actual installation uses.
In reality uses, for various reasons, the research and development to coding speedometer are technically also deposited both at home and abroad In following some problems:
1) extensibility:With the continuous increase of track traffic demand, the complexity of different road conditions and circuit is also increasingly Height, therefore train are also improving constantly to the demand of coding speedometer, and traditional Hall type coding speedometer and photoelectric type encode Speedometer is difficult in adapt to multiple different scenes.
2) versatility:Current track traffic is divided into state-owned railroads, urban track traffic, three aspects of tramcar, row The model of car and style are varied, and train also constantly increases to the interface requirements of coding speedometer, provides general electronics to compile Code speedometer is very necessary.
3) lossy:Traditional code speedometer has rotation and the friction of mechanical parts, in the train operation accumulated over a long period, Mechanical parts can occur the situation worn and torn and corrode, and not only influence whether the life-span of mechanical parts, and can have influence on coding further The precision of speedometer and accuracy.
4) trackability:Traditional coding speedometer when a failure occurs it, is difficult to fault occurrence reason and time is detected, Must be not very good with special speedometer test cell, Detection results.
5) incremental conversion and record:Traditional coding speedometer can only make collection to speed, do not have displacement record and Rate conversion function.
Content of the invention
The purpose of the present invention provide to overcome the defect that above-mentioned prior art exists a kind of based on PLC technology Increment type electronic code mileage counter device and its application, in the experiential basis having drawn existing state outer coding speedometer technical deficiency On, design general PLC type incremental electronic code speedometer, can provide for the collection of tramcar speed and location information Reliable and stable Data Source, and tramcar cab signal system is provided reliable technical support and convenient research put down Platform, therefore tool are of great significance.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of increment type electronic code mileage counter device based on PLC technology, this device is arranged on tramcar, described Mileage counter device respectively with the wheel speed sensor of tramcar, velocity feedback voltage sensor and Vehicle Controller even Connect, described mileage counter device includes incremental encoder module, AD conversion module, PLC module, incremental pulse generator mould Block, described PLC module is connected with incremental encoder module, AD conversion module, incremental pulse generator module respectively, described Incremental encoder module be connected with wheel speed sensor, described AD conversion module is with velocity feedback voltage sensor even Connect, described incremental pulse generator module is connected with Vehicle Controller.
Described incremental encoder module is triple channel incremental encoder, and this encoder is provided with three tunnel signal outputs, point It is not:Front, rear, A differs 90 degree with B pulse, and often circle sends one for B pulse for A pulse, B pulse and Z pulse, wherein A pulse Z pulse, as with reference to mechanical zero;Axle head sees that encoder clockwise turns to rotating forward, i.e. A pulse advance B pulse is 90 °, instead Rotate counterclockwise be reversion, that is, B pulse advance A pulse be 90 °.
Described AD conversion module is provided with four input channels and 32 buffers, and wherein four input channels are used for connecing Receive analogue signal and convert thereof into digital quantity, 32 buffer distribution are defined as follows:
0#:Passage initializes, default value H0000;
1#---4#:The average sample number of passage 1--- passage 4, is used for obtaining average result;
5#---8#:The average input value of passage 1--- passage 4 hits, the average sample time being specified according to #1---#4 Number, draws the meansigma methodss of all samplings;
9#---12#:The currency that passage 1--- passage 4 reads in;
13#, 14#:Retain, do not define;
15#:Select A/D conversion speed, be set to 0 selection normal speed;It is set to 1 to select at a high speed (15ms/ passage);
16#---19#:Retain, do not define;
20#:Reset to default value and preset, default value is 0;
21#:Forbid adjustment skew, yield value;
22#:Skew, Gain tuning;
23#:Deviant, default value is 0;
24#:Yield value, default value is 5000;
25#---28#:Retain, do not define;
29#:Error condition;
30#:Identification code K2010;
31#:Disabling.
Described PLC module includes CPU module, and this CPU module includes following functions:Interruption collection, analog quantity are defeated Enter collection and Pulse Width Control output.
Described analog input collection includes sampling processing and average treatment;
Described employing process is specially:By each scanning of CPU module, A/D conversion is carried out to simulation input, every time Carry out numeral output, and by value storage in the supervision of digital output value, digital operation value and analog input value;
Described average treatment is specially:By each passage, digital output value is averaging processing, and meansigma methodss are deposited Store up in setting depositor.
Described average treatment is provided with three kinds, respectively:
Time average:Carry out A/D conversion according to the setting time, aggregate value carried out averagely, and store digital output value, In digital operation value and analog input value supervision;Number of processes in the setting time is different because of sweep time, wherein number of processes =time/sweep time is set;
Number of times is average:Specify the average treatment of A/D conversion value with number of times, to the meansigma methodss in addition to maximum and minima Carry out numeral output, and store in digital output value, digital operation value and analog input value supervision;Based on average the putting down of number of times Average is stored in the time during digital output value, digital operation value and analog input value monitor, different because of sweep time;Process Time=setting number of times × sweep time;
Rolling average:This meansigma methods is carried out numeral output by the number of times of the displacement average treatment of specified A/D conversion value, and Store in digital output value, digital operation value and analog input value supervision.
Described Pulse Width Control output is specially:Setting outfan slogan and parameter first, the mould of setting pulse output Formula, selects PULSE/SIGN pattern laggard horizontal pulse output.
A kind of application of the increment type electronic code mileage counter device based on PLC technology, comprises the following steps:
1) after electricity in PLC module, enter the PLC module built in self testing stage, check the hard of CPU module including PLC module Whether part is normal, and reset supervision timer;
2) PLC module initialization, that is, PLC module loading trapezoid figure program, initializes all intervalometers and depositor;
3) after train operation starts, incremental encoder module is tracked to train wheel rotating speed gathering, and according to Actual rotating speed and displacement information, to depositor writing speed and displacement information in the CPU module of PLC module;
4) after train operation starts, if train has velocity voltage to export, AD conversion module is carried out to velocity voltage Collection, and to depositor writing speed and displacement information in the CPU module of PLC module;
5), processing stage PLC module, by first up and then down and first left and then right step sequence, trapezoid figure program is swept sentence by sentence Retouch and carry out logical operationss according to sampling the result in input image register, operation result is restored relevant image register In;
6) CPU module of PLC module, according to programmed instruction, is simulated all for the rotation collecting in unit interval numbers and speed Amount voltage is converted to speed pulse information according to PLC instruction;
7) the new depositor of PLC distribution, write pulse number result, and pass through incremental pulse generator module, to outgoing Send pulse signal;
8) periodically externally send the umber of pulse result in the unit interval, represent unit interval intrinsic displacement increment information.
Compared with prior art, by adopting PLC technology, this electronic code speedometer can fully meet track to the present invention The speed of traffic signal system, the demand of station acquisition, the advantage possessing and feature are as follows:
1) extensibility greatly enhances:PLC type incremental encodes speedometer, and the elementary cell of composition is PLC module, therefore can To extend other modules increasing difference in functionality, such as serial port module, mixed-media network modules mixed-media, all kinds of I/O module etc., can conveniently adapt to not Come train to speedometer aspect more demands;
2) good versatility:Because elementary cell uses the general PLC of industrial control field, the therefore scope of application Extensively, in rail traffic aspect can be with common application in different vehicles, such as rail bicycle, subway, high ferro, inter-city passenger rail etc.;
3) low-loss:Electronic code speedometer there is no physical location and friction, the average life of PLC itself For 20 years, therefore deterioration was very low, and life-span length reduces use cost;
4) trackability:PLC can record to the data of all process, therefore when train speed collection is broken down When, the problem occurring can be traced by PLC log recording;
5) incremental conversion and record:PLC incremental electronic code speedometer can to occur pulse do accumulation calculating and Record, can be converted directly into displacement increment information and externally send, can reduce the quantity of localizer beacon in track traffic;
6) maintenance is installed convenient:PLC is easy for installation in industrial control field, and PLC type electronic odometer does not need to change train Gearing mechanism can conveniently install and use.
Brief description
Fig. 1 is the structural representation of the present invention;
Fig. 2 is the workflow diagram of the present invention;
Fig. 3 is the ladder diagram of PLC;
Fig. 4 is the pulse output signals figure of PULSE/SIGN pattern.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention Premised on implemented, give detailed embodiment and specific operating process, but protection scope of the present invention be not limited to Following embodiments.
As shown in figure 1, a kind of increment type electronic code mileage counter device based on PLC technology, this device is arranged on rail On electric car, described mileage counter device respectively with the wheel speed sensor 6 of tramcar, velocity feedback voltage sensor 7 and Vehicle Controller 5 connects, and described mileage counter device includes incremental encoder module 1, AD conversion module 2, PLC module 3, increment Formula pulse generator module 4, described PLC module 3 respectively with incremental encoder module 1, AD conversion module 2, incremental pulse Generator module 4 connects, and described incremental encoder module 1 is connected with wheel speed sensor 6, described AD conversion module 2 It is connected with velocity feedback voltage sensor 7, described incremental pulse generator module 4 is connected with Vehicle Controller 5.
Particular content is as follows:
1) applicating and exploitation of incremental encoder:Selected incremental encoder has three tunnel signal outputs:A pulse, B Pulse and Z pulse, using Transistor-Transistor Logic level, front, rear, A, B pulse differs 90 degree, often encloses and sends a Z arteries and veins for B pulse for A pulse Punching, can be used as with reference to mechanical zero.Sentenced to incremental encoder is defined as axle head and sees coding using A before the advanced B of A or B ultrasonic Device clockwise turns to rotating forward, and the advanced B of A is 90 °, otherwise rotate counterclockwise is 90 ° for A before reversion B ultrasonic;
2) applicating and exploitation of PLC AD analog quantity modular converter:From velocity voltage analogy value scope be that -10V arrives 10VDC (resolution:5mV), 32 buffer storage (0~31) distribution for A/D module are defined as follows:
0#:Passage initializes, default value H0000
1#---4#:The average sample number (1---4096) of passage 1--- passage 4, is used for obtaining average result.Default value is high It is set to 8 (normal speeds), high speed operation may be selected 1.
5#---8#:The average input value of passage 1--- passage 4 hits, the average sample time being specified according to #1---#4 Number, draws the meansigma methodss of all samplings.
9#---12#:The currency that passage 1--- passage 4 reads in.
13#, 14#:Retain, do not define.
15#:Select A/D conversion speed, be set to 0 (default value) and then select normal speed (15ms/ passage);It is set to 1 choosing Select at a high speed (15ms/ passage).
16#---19#:Retain, do not define.
20#:Reset to default value and preset, default value is 0.
21#:Forbid adjustment skew, yield value.Default value is that (0,1) allows state.
22#:Skew, Gain tuning.
23#:Deviant, default value is 0.
24#:Yield value, default value is 5000.
25#---28#:Retain, do not define.
29#:Error condition.
30#:Identification code K2010.
31#:Disabling.
3) programming of CPU module and exploitation:PLC program will meet three demand points:I.e. Interruption collection, analog quantity are defeated Enter collection and Pulse Width Control output.The trapezoid figure program of PLC is as shown in Figure 3:
4) Interruption collection:The down trigger time of setting Interruption I28 is 100ms, and this method can ensure that The value of analog input end is read in circulation;
5) PLC analog input:I.e. A/D conversion, the mode of conversion has two methods of sampling processing and average treatment:
Sampling processing:By each scanning of CPU module, A/D conversion is carried out to simulation input, carry out numeral output every time And value storage is monitored to digital output value, digital operation value and analog input value.
Average treatment:By each passage, digital output value is averaging processing, and meansigma methodss are stored special depositing In device.Average treatment has following 3 kinds:
Time average:Carry out A/D conversion according to the setting time, aggregate value carried out averagely, and store digital output value, In digital operation value and analog input value supervision.Number of processes in the setting time is different because of sweep time.Number of processes=set Put the time/sweep time;
Number of times is average:Specify the average treatment of A/D conversion value with number of times, to the meansigma methodss in addition to maximum and minima Carry out numeral output, and store in digital output value, digital operation value and analog input value supervision.Based on average the putting down of number of times Average is stored in the time during digital output value, digital operation value and analog input value monitor, different because of sweep time.Process Time=setting number of times × sweep time;
Rolling average:The number of times of the displacement average treatment of A/D conversion value can be specified, this meansigma methods is carried out with numeral defeated Go out, and store in digital output value, digital operation value and analog input value supervision.
6) pulse output control:Complete A/D conversion in analog quantity processing module, after analog quantity is converted into digital quantity, Reuse locating module and generate pulse output.Firstly the need of setting outfan slogan and relevant parameter, setting pulse output Pattern, we select PULSE/SIGN pattern, as shown in Figure 4 here:
As shown in Fig. 2 the workflow of the present invention comprises the following steps:
1) after electricity on PLC, enter the PLC built in self testing stage, in this stage, whether just PLC checks the hardware of CPU module Often, reset supervision timer, and complete some other internal works;
2) PLC program initial phase, that is, PLC loading trapezoid figure program, initializes all intervalometers and depositor;
3) after train operation starts, incremental encoder is tracked to train wheel rotating speed gathering, and according to reality Rotating speed and displacement information, to depositor writing speed and displacement information in the CPU module of PLC;
4) after train operation starts, if train has velocity voltage to export, PLC analogue collection module is to speed electricity Pressure is acquired, and to depositor writing speed and displacement information in the CPU module of PLC;
5), processing stage PLC program, by first up and then down, first left and then right step sequence, trapezoid figure program is scanned sentence by sentence And carrying out logical operationss according to sampling the result in input image register, operation result is restored relevant image register In;
6) CPU module of PLC is according to programmed instruction, the rotation week number and speed analog quantity electricity collecting in the unit interval Be converted to speed pulse information according to PLC instruction at all;
7) the new depositor of PLC distribution, write pulse number result, and pass through pulsing module, externally send pulse letter Number;
8) periodically externally send the umber of pulse result in the unit interval, represent unit interval intrinsic displacement increment information.
As shown in figure 1, a kind of increment type electronic code mileage counter device based on PLC technology, this device specifically includes increasing Amount coder module, AD conversion module, PLC module, incremental pulse generator module.
Each module is illustrated:
1st, incremental encoder:
Incremental encoder is a kind of essence that the mechanical corner of axle is converted to digital signal output using methods such as photoelectricity Close sensor, operation principle is as follows:There is the grating uniformly scribed with the pulse code-disc that rotating shaft rotates, on code-disc uniformly Be dispersed with several printing opacity sections and shading section.The leading zero's that incremental encoder is not fixed, output be and turn The pulse that the increment at angle is directly proportional, needs to count umber of pulse with enumerator.When often turning over a transparent area, it is issued by a pulse Signal, enumerator currency adds 1, and count results correspond to the increment of corner.
Except there being two pairs of photoelectric couplings of dual pathways incremental encoder inside selected triple channel incremental encoder Outside device, there are 1 printing opacity section, every turn 1 circle in the another one passage of pulse code-disc, export 1 pulse, this pulse is referred to as Z phase zero Digit pulse, is used as system reset signal, or origin, to reduce the accumulated error of measurement.If encoder exports pulse Cycle be more than PLC the scan cycle time twice, the 0 of A phase pulse signal, 1 shape is judged by the rising edge in B phase pulse State it can be determined that encoder rotation direction.
2nd, AD conversion module:
FX2N-4AD simulation special module has four input channels.Input channel receives analogue signal and converts thereof into number Word amount, this is referred to as A/D conversion.FX2N-4AD ultimate resolution is 12.Selection based on voltage or the input/output of electric current is led to Cross user's distribution to complete, available analog-value range is that -10V arrives 10VDC (resolution 5mV), and/or 4 arrive 20mA, -20 arrive 20mA (resolution:20 μ A) pass through buffer storage exchange data between .FX2N-4AD and FX2N master unit, FX2N-4AD has 32 buffer storage (each 16) .FX2N-4AD and takies 8 points that FX2N extends general line. and this 8 points Input can be distributed into or output .FX2N-4AD consumes the electric current that FX2N master unit becomes active expanding element 5V power supply grain 30mA.
3rd, the CPU module of PLC:
CPU is made up of controller, arithmetical unit and depositor.These circuit are integrated on a single die.It is total that CPU passes through address Line, data/address bus are connected with I/O interface circuit.
CPU module is used for storing and execute PLC trapezoid figure program, and the ladder diagram according to user instructs into row operation and holds OK.When the program inputting from programmable device is deposited in user program memory, then CPU according to the function that system is given (is The interpretive compiler of system program memorizer), user program is translated into the user's compiler approved inside PLC.Input State and input information are input into from input interface, and CPU it is stored in operational data memorizer or inputs mapping register.Then By CPU, data and program are organically combined together.Result is stored in output mapping register or operational data memorizer, It is then output to output interface, control peripheral driver.
4th, pulse generator module:
Using the transistor IO high frequency output of PLC, an additional road power supply is to produce digital pulse forms.In PLC first The individual scan period, M1 normally-closed contact close, so M1 coil can obtain electric;Second scan period, because in a upper scan period Ml coil electric, so M1 normally-closed contact disconnect, therefore make M1 coil losing electricity.Therefore, Ml coil obtains the electric time for one Scan period.M1 coil constantly continuously electric, dead electricity, its normally opened contact also therewith constantly continuously closure, disconnect, just produce Pulsewidth is the continuous impulse signal output of a scan period, is applicable to the collection with tramcar vehicular speeds signal.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain requiring is defined.

Claims (8)

1. a kind of increment type electronic code mileage counter device based on PLC technology, this device is arranged on tramcar, its feature Be, described mileage counter device respectively with the wheel speed sensor of tramcar, velocity feedback voltage sensor and vehicle-mounted Controller connects, and described mileage counter device includes incremental encoder module, AD conversion module, PLC module, incremental pulse are sent out Raw device module, described PLC module is respectively with incremental encoder module, AD conversion module, incremental pulse generator module even Connect, described incremental encoder module is connected with wheel speed sensor, described AD conversion module is passed with velocity feedback voltage Sensor connects, and described incremental pulse generator module is connected with Vehicle Controller.
2. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 1, its feature exists In described incremental encoder module is triple channel incremental encoder, and this encoder is provided with three tunnel signal outputs, respectively:A Front, rear, A differs 90 degree with B pulse, and often circle sends a Z pulse for B pulse for pulse, B pulse and Z pulse, wherein A pulse, As with reference to mechanical zero;Axle head sees that encoder clockwise turns to rotating forward, i.e. A pulse advance B pulse is 90 °, on the contrary the inverse time Pin rotates to be reversion, i.e. B pulse advance A pulse is 90 °.
3. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 1, its feature exists In described AD conversion module is provided with four input channels and 32 buffers, and wherein four input channels are used for receiving mould Intend signal and convert thereof into digital quantity, 32 buffer distribution are defined as follows:
0#:Passage initializes, default value H0000;
1#---4#:The average sample number of passage 1--- passage 4, is used for obtaining average result;
5#---8#:The average input value of passage 1--- passage 4 hits, the average sample number of times being specified according to #1---#4, Draw the meansigma methodss of all samplings;
9#---12#:The currency that passage 1--- passage 4 reads in;
13#, 14#:Retain, do not define;
15#:Select A/D conversion speed, be set to 0 selection normal speed;It is set to 1 to select at a high speed (15ms/ passage);
16#---19#:Retain, do not define;
20#:Reset to default value and preset, default value is 0;
21#:Forbid adjustment skew, yield value;
22#:Skew, Gain tuning;
23#:Deviant, default value is 0;
24#:Yield value, default value is 5000;
25#---28#:Retain, do not define;
29#:Error condition;
30#:Identification code K2010;
31#:Disabling.
4. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 1, its feature exists In described PLC module includes CPU module, and this CPU module includes following functions:Interruption collection, analog input collection With Pulse Width Control output.
5. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 4, its feature exists In described analog input collection includes sampling processing and average treatment;
Described employing process is specially:By each scanning of CPU module, A/D conversion is carried out to simulation input, carry out every time Numeral output, and by value storage in the supervision of digital output value, digital operation value and analog input value;
Described average treatment is specially:By each passage, digital output value is averaging processing, and meansigma methodss are stored Set in depositor.
6. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 5, its feature exists In described average treatment is provided with three kinds, respectively:
Time average:Carry out A/D conversion according to the setting time, aggregate value is carried out averagely, and stores digital output value, numeral In operation values and analog input value supervision;Number of processes in the setting time is different because of sweep time, wherein number of processes=set Put the time/sweep time;
Number of times is average:Specify the average treatment of A/D conversion value with number of times, the meansigma methodss in addition to maximum and minima are carried out Numeral output, and store in digital output value, digital operation value and analog input value supervision;Based on the average meansigma methodss of number of times It is stored in the time during digital output value, digital operation value and analog input value monitor, different because of sweep time;Process time =number of times × sweep time is set;
Rolling average:This meansigma methods is carried out numeral output, and stores by the number of times of the displacement average treatment of specified A/D conversion value In monitoring to digital output value, digital operation value and analog input value.
7. a kind of increment type electronic code mileage counter device based on PLC technology according to claim 1, its feature exists In described Pulse Width Control output is specially:Setting outfan slogan and parameter first, the pattern of setting pulse output, choosing Select PULSE/SIGN pattern laggard horizontal pulse output.
8. a kind of application of the increment type electronic code mileage counter device based on PLC technology as claimed in claim 1, its feature It is, comprise the following steps:
1) after electricity in PLC module, enter the PLC module built in self testing stage, the hardware checking CPU module including PLC module is No normal, and reset supervision timer;
2) PLC module initialization, that is, PLC module loading trapezoid figure program, initializes all intervalometers and depositor;
3) after train operation starts, incremental encoder module is tracked to train wheel rotating speed gathering, and according to reality Rotating speed and displacement information, to depositor writing speed and displacement information in the CPU module of PLC module;
4) after train operation starts, if train has velocity voltage to export, AD conversion module is acquired to velocity voltage, And to depositor writing speed and displacement information in the CPU module of PLC module;
5), processing stage PLC module, by first up and then down and first left and then right step sequence, trapezoid figure program is scanned simultaneously sentence by sentence Carry out logical operationss according to sampling the result in input image register, operation result is restored in relevant image register;
6) CPU module of PLC module is according to programmed instruction, the rotation week number and speed analog quantity electricity collecting in the unit interval Be converted to speed pulse information according to PLC instruction at all;
7) the new depositor of PLC distribution, write pulse number result, and pass through incremental pulse generator module, externally send arteries and veins Rush signal;
8) periodically externally send the umber of pulse result in the unit interval, represent unit interval intrinsic displacement increment information.
CN201610864075.3A 2016-09-29 2016-09-29 Incremental electronic coding odometer device based on PLC technology and application thereof Active CN106444606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610864075.3A CN106444606B (en) 2016-09-29 2016-09-29 Incremental electronic coding odometer device based on PLC technology and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610864075.3A CN106444606B (en) 2016-09-29 2016-09-29 Incremental electronic coding odometer device based on PLC technology and application thereof

Publications (2)

Publication Number Publication Date
CN106444606A true CN106444606A (en) 2017-02-22
CN106444606B CN106444606B (en) 2023-05-09

Family

ID=58171239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610864075.3A Active CN106444606B (en) 2016-09-29 2016-09-29 Incremental electronic coding odometer device based on PLC technology and application thereof

Country Status (1)

Country Link
CN (1) CN106444606B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110299046A (en) * 2019-07-26 2019-10-01 卡斯柯信号有限公司 Realize that rail hands over the method and apparatus of full-automatic unmanned driving's Train Control simulation system
CN111274753A (en) * 2020-03-04 2020-06-12 卡斯柯信号有限公司 Analog simulation device and method for rail transit coding odometer and beacon
CN115880883A (en) * 2023-01-29 2023-03-31 上海海栎创科技股份有限公司 System and method for selectively transmitting control signal between systems
CN117249760A (en) * 2023-08-30 2023-12-19 西南交通大学 High-precision detection device and method for interlayer gaps of ballastless track of high-speed rail and gap positioning method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0778007A (en) * 1993-06-30 1995-03-20 Mitsubishi Electric Corp Analog signal processor for programmable controller
CN102200541A (en) * 2010-03-24 2011-09-28 中国科学院自动化研究所 Method and device for measuring rotating speed of motor
CN102570959A (en) * 2011-12-31 2012-07-11 南京理工大学 Control system and control method for low-voltage high-current permanent magnet synchronous motors
CN103674024A (en) * 2013-11-28 2014-03-26 卡斯柯信号有限公司 Combined train positioning system based on Doppler radar and coded milemeter
CN206133276U (en) * 2016-09-29 2017-04-26 卡斯柯信号有限公司 Increment formula electronic code odometer device based on PLC technique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0778007A (en) * 1993-06-30 1995-03-20 Mitsubishi Electric Corp Analog signal processor for programmable controller
CN102200541A (en) * 2010-03-24 2011-09-28 中国科学院自动化研究所 Method and device for measuring rotating speed of motor
CN102570959A (en) * 2011-12-31 2012-07-11 南京理工大学 Control system and control method for low-voltage high-current permanent magnet synchronous motors
CN103674024A (en) * 2013-11-28 2014-03-26 卡斯柯信号有限公司 Combined train positioning system based on Doppler radar and coded milemeter
CN206133276U (en) * 2016-09-29 2017-04-26 卡斯柯信号有限公司 Increment formula electronic code odometer device based on PLC technique

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任先贞;裴东兴;沈大伟;常宽;: "基于编码器的汽车测速传感器二次仪表设计" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110299046A (en) * 2019-07-26 2019-10-01 卡斯柯信号有限公司 Realize that rail hands over the method and apparatus of full-automatic unmanned driving's Train Control simulation system
CN111274753A (en) * 2020-03-04 2020-06-12 卡斯柯信号有限公司 Analog simulation device and method for rail transit coding odometer and beacon
CN115880883A (en) * 2023-01-29 2023-03-31 上海海栎创科技股份有限公司 System and method for selectively transmitting control signal between systems
CN115880883B (en) * 2023-01-29 2023-06-09 上海海栎创科技股份有限公司 System and method for selectively transmitting control signals between systems
CN117249760A (en) * 2023-08-30 2023-12-19 西南交通大学 High-precision detection device and method for interlayer gaps of ballastless track of high-speed rail and gap positioning method

Also Published As

Publication number Publication date
CN106444606B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN106444606A (en) Incremental electronic coding odometer device based on PLC technology and application thereof
CA1136276A (en) Vehicular data handling and control system
CN105460027B (en) A kind of vehicle-mounted distributed fault diagnostic system of urban railway transit train EEF bogie failure
HU206415B (en) Method for recording travel data of a motor vehicle into the memory of electronic tachograph, and device for implementing said method
CN201731895U (en) Coder testing device based on virtual instrument
CN103707903A (en) Automatic train wheel diameter correcting method
CN204527212U (en) The axis temperature alarming equipment of EMU
CN208783117U (en) A kind of small rail car positioning system
CN110806193A (en) Subway tunnel deformation detection system
CN202066866U (en) Railcar intelligent speedometer
CN101881637A (en) Encoder test system based on virtual instrument
CN204854761U (en) Odometer
CN101783030A (en) Anti-cheating pricing system and method for taxi
KR100740577B1 (en) electric train A.T.O. system and it's materialization method
CN110203247A (en) A kind of multisensor synchronous for track detecting
CN104677386A (en) Multiturn rotary encoder
CN108163011A (en) A kind of railroad train self-correcting axle counting method and system
CN103837075B (en) Dynamic displacement acquisition system based on vehicle-mounted CAN bus
CN107907141A (en) Suitable for the new locater plate that tests the speed of autonomy-oriented of CTCS2 200C type train control on board equipment
CN206133276U (en) Increment formula electronic code odometer device based on PLC technique
CN2374842Y (en) Pipeline flexural detecting device
CN1877345A (en) Traction battery voltage monitoring and alarming system
CN103993530B (en) A kind of track settlement measurement device based on angle measurement and method for measurement
CN2842446Y (en) Be applied to the GPS locating device of railway locomotive
CN1491843A (en) General signal data recorder for cocomotive

Legal Events

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