Method and system for detecting 25hz phase-sensitive track circuit signal

文档序号:1111791 发布日期:2020-09-29 浏览:8次 中文

阅读说明:本技术 一种用于25hz相敏轨道电路信号检测的方法及系统 (Method and system for detecting 25hz phase-sensitive track circuit signal ) 是由 魏臻 代林飞 胡敏 黄鹏 胡庆新 徐自军 徐伟 李帅 杨伟 周东华 陈永峰 李 于 2020-06-24 设计创作,主要内容包括:本发明公开了一种用于25hz相敏轨道电路信号检测的方法及系统,属于轨道电路微电子接收器技术领域,利用基于ARM架构的32位单片机进行轨道电路信号检测,包括获取电子接收器采样通道每周期采集的轨道电压信号采样值和局部信号采样值;分别对每周期轨道电压信号采样值和局部信号采样值进行有效性判断,得到每周期轨道电压信号的有效值和局部信号过零点的时间;根据每周期轨道电压信号的有效值和局部信号过零点的时间,计算对应的轨道电源信号与局部电源信号之间的相位差。本发明可快速甄别轨道输入信号阶跃响应后的有效真实数据,并且确保可以滤除无效的轨道波动信号、快速检测到有效的轨道电压信号。(The invention discloses a method and a system for detecting 25hz phase-sensitive track circuit signals, which belong to the technical field of track circuit microelectronic receivers, and are used for detecting track circuit signals by utilizing a 32-bit single chip microcomputer based on an ARM (advanced RISC machine) framework, wherein the method comprises the steps of obtaining track voltage signal sampling values and local signal sampling values acquired by a sampling channel of an electronic receiver every period; respectively carrying out validity judgment on the track voltage signal sampling value and the local signal sampling value of each period to obtain the valid value of the track voltage signal of each period and the zero crossing time of the local signal; and calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the zero crossing time of the local signal. The method can quickly discriminate the effective and real data after the step response of the track input signal, and ensure that the invalid track fluctuation signal can be filtered and the effective track voltage signal can be quickly detected.)

1. A method for detecting 25hz phase-sensitive track circuit signals, which is characterized in that the track circuit signal detection is carried out by using a 32-bit singlechip based on an ARM architecture, and comprises the following steps:

acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by an electronic receiver sampling channel at each period;

respectively carrying out validity judgment on the track voltage signal sampling value and the local signal sampling value of each period to obtain the valid value of the track voltage signal of each period and the zero crossing time of the local signal;

and calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the zero crossing time of the local signal.

2. The method for 25hz phase sensitive track circuit signal detection according to claim 1, wherein the determining the validity of the track voltage signal sampled value and the local signal sampled value for each period to obtain the valid value of the track voltage signal for each period and the time of the zero crossing point of the local signal comprises:

calculating to obtain a track voltage signal sampling average value of the period according to the track voltage signal sampling value acquired in the same period, and calculating to obtain a local signal sampling average value of the period according to the local signal sampling value acquired in the same period;

comparing and calculating the average values of the track voltage signal samples of adjacent periods to obtain a first error, and comparing and calculating the average values of the local signal samples of adjacent periods to obtain a second error;

when the first error is within a set first error range, taking a track voltage signal sampling value acquired in the current period as an effective value of the track voltage signal;

and when the second error is within a set second error range, taking the local signal sampling value acquired in the current period as the zero-crossing time of the local signal.

3. The method for 25hz phase sensitive track circuit signal detection according to claim 1, wherein said calculating a phase difference between the corresponding track power signal and the local power signal based on the effective value of the track voltage signal per cycle and the time of the local signal zero crossing comprises:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local voltage signal.

4. The method for 25hz phase sensitive track circuit signal detection as claimed in claim 3 wherein prior to said obtaining track voltage signal samples and local signal samples acquired by an electronic receiver sampling channel per cycle, further comprising:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

5. The method for 25hz phase sensitive track circuit signal detection according to claim 4, wherein said scaling the inertial characteristic values of the sampling channel of the electronic receiver using a piecewise polyline method comprises:

setting a temperature grade and a voltage grade which need to be calibrated, and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, wherein: the calibration information under the same temperature grade comprises a track voltage signal voltage input effective value and a zero crossing point time detection value, and the calibration information of the sampled broken line segment end point under the same voltage grade comprises a track voltage signal power supply input effective value and a zero crossing point time detection value;

and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, and constructing an amplitude-phase compensation characteristic curve between the inertia characteristic value of the sampling channel and the corresponding voltage sampling value.

6. A system for 25hz phase sensitive track circuit signal detection comprising a sampling module, an effective value calculation module, and a phase difference calculation module, wherein:

the sampling module is used for acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by the electronic receiver sampling channel at each period;

the effective value calculation module is used for respectively carrying out effectiveness judgment on the track voltage signal sampling value and the local signal sampling value in each period to obtain the effective value of the track voltage signal in each period and the time value of the zero crossing point of the local signal;

and the phase difference calculation module is used for calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the time value of the zero crossing point of the local signal.

7. The system for 25hz phase sensitive track circuit signal detection according to claim 6 wherein the effective value calculation module comprises an average value calculation unit, an error calculation unit, a first calculation unit and a second calculation unit:

the average value calculating unit is used for calculating the average value of the track voltage signal sampling of the period according to the track voltage signal sampling value acquired in the same period, and calculating the average value of the local signal sampling of the period according to the local signal sampling value acquired in the same period;

the error calculation unit is used for comparing and calculating the track voltage signal sampling average values of adjacent periods to obtain a first error, and comparing and calculating the local signal sampling average values of adjacent periods to obtain a second error;

the first calculating unit is used for taking the track voltage signal sampling value acquired in the current period as the effective value of the track voltage signal when the first error is within a set first error range;

and the second calculating unit is used for taking the local signal sampling value acquired in the current period as the time value of the zero crossing point of the local signal when the second error is within a set second error range.

8. The system for 25hz phase sensitive track circuit signal detection according to claim 6 wherein the phase difference calculation module is specifically configured to:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local signal.

9. The system for 25hz phase sensitive track circuit signal detection as claimed in claim 8 further comprising a calibration module for:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

10. The system for 25hz phase sensitive track circuit signal detection as claimed in claim 9 wherein the calibration module comprises a calibration information construction unit and a calibration unit:

the calibration information construction unit is used for setting a temperature grade and a voltage grade which need to be calibrated, and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, wherein: the calibration information under the same temperature grade comprises a track voltage signal voltage input effective value and a zero crossing point time detection value, and the calibration information of the sampled broken line segment end point under the same voltage grade comprises a track voltage signal power supply input effective value and a zero crossing point time detection value;

the calibration unit is used for constructing an amplitude-phase compensation characteristic curve between the sampling channel inertia characteristic value and the corresponding voltage sampling value according to calibration information of the end points of the broken line segment sampled under the same temperature grade and the same voltage grade, and calibrating the sampling channel inertia characteristic value.

Technical Field

The invention relates to the technical field of track circuit microelectronic receivers, in particular to a method and a system for detecting 25hz phase-sensitive track circuit signals.

Background

Digitization and informatization are an important direction for the development of railway signal control systems. Digital signal processing techniques have evolved with the development of computers and information science, and have been rapidly developed. In recent years, digital signal processing has been widely used in the fields of communications, automation, and the like. Along with the development of electronic technology, the 25Hz phase-sensitive track circuit signal detection also gradually adopts electronization to replace the former binary two-position relay circuit, thoroughly solves the problems of the former relay contact blocking, poor anti-electrical interference capability, low return coefficient and the like, has the same receiving impedance and receiving sensitivity as the former relay, and improves the safety and the reliability.

At present, the detection device for detecting 25hz phase-sensitive track circuit signals in China is developed based on a 51 single chip microcomputer and a DSP data processor, except for a mechanical binary two-position relay. The binary two-position relay has the problems of contact jamming, weak anti-gasification interference capability, low return coefficient and the like; the 51 single chip microcomputer is low in data processing capacity, the processing mode can only adopt a table look-up mode, data processing is simple, and the error range is large. And the signal detection circuits have the problems of common fault of hard setting of working parameters, incapability of flexible adjustment on an engineering site, weak site adaptability and the like.

And because the track voltage signal is easily influenced by signal interference such as power frequency signals, coded signals and the like, and the inertia of a sampling channel of an electronic receiver, when the track signal is subjected to occupation-idle conversion, the transition process of step response of the sampling channel is long, and invalid track fluctuation signals exist, so that the voltage detection of the track signal is inaccurate.

Disclosure of Invention

The invention aims to overcome the defects in the prior art and improve the signal detection accuracy of a 25Hz phase-sensitive track circuit.

In order to achieve the above object, the present invention adopts a method for detecting 25hz phase-sensitive track circuit signals, which uses a 32-bit single chip microcomputer based on an ARM architecture to detect track circuit signals, and comprises the following steps:

acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by an electronic receiver sampling channel at each period;

respectively carrying out validity judgment on the track voltage signal sampling value and the local signal sampling value of each period to obtain the valid value of the track voltage signal of each period and the time value of the zero crossing point of the local signal;

and calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the time value of the zero crossing point of the local signal.

Further, the respectively determining validity of the track voltage signal sampling value and the local signal sampling value at each period to obtain an effective value of the track voltage signal at each period and a time value of a zero crossing point of the local signal includes:

calculating to obtain a track voltage signal sampling average value of the period according to the track voltage signal sampling value acquired in the same period, and calculating to obtain a local signal sampling average value of the period according to the local signal sampling value acquired in the same period;

comparing and calculating the average values of the track voltage signal samples of adjacent periods to obtain a first error, and comparing and calculating the average values of the local signal samples of adjacent periods to obtain a second error;

when the first error is within a set first error range, taking a track voltage signal sampling value acquired in the current period as an effective value of the track voltage signal;

and when the second error is within a set second error range, taking the local signal sampling value acquired in the current period as the time value of the zero crossing point of the local signal.

Further, the calculating a phase difference between the corresponding track power signal and the local power signal according to the effective value of the track voltage signal per cycle and the time value of the zero crossing point of the local signal includes:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local signal.

Further, before obtaining the track voltage signal sample value and the local signal sample value collected by the electronic receiver sampling channel per period, the method further comprises:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

Further, the calibrating the inertia characteristic value of the sampling channel of the electronic receiver by using the segmented broken line method includes:

setting a temperature grade and a voltage grade which need to be calibrated, and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, wherein: the calibration information under the same temperature grade comprises a track voltage signal voltage input effective value and a zero crossing point time detection value, and the calibration information of the sampled broken line segment end point under the same voltage grade comprises a track voltage signal power supply input effective value and a zero crossing point time detection value;

and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, and constructing an amplitude-phase compensation characteristic curve between the inertia characteristic value of the sampling channel and the corresponding voltage sampling value.

In another aspect, a system for 25hz phase sensitive track circuit signal detection is employed, comprising a sampling module, an effective value calculation module, and a phase difference calculation module, wherein:

the sampling module is used for acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by the electronic receiver sampling channel at each period;

the effective value calculation module is used for respectively carrying out effectiveness judgment on the track voltage signal sampling value and the local signal sampling value in each period to obtain the effective value of the track voltage signal in each period and the time value of the zero crossing point of the local signal;

and the phase difference calculation module is used for calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the time value of the zero crossing point of the local signal.

Further, the effective value calculation module includes an average value calculation unit, an error calculation unit, a first calculation unit, and a second calculation unit:

the average value calculating unit is used for calculating the average value of the track voltage signal sampling of the period according to the track voltage signal sampling value acquired in the same period, and calculating the average value of the local signal sampling of the period according to the local signal sampling value acquired in the same period;

the error calculation unit is used for comparing and calculating the track voltage signal sampling average values of adjacent periods to obtain a first error, and comparing and calculating the local signal sampling average values of adjacent periods to obtain a second error;

the first calculating unit is used for taking the track voltage signal sampling value acquired in the current period as the effective value of the track voltage signal when the first error is within a set first error range;

and the second calculating unit is used for taking the local signal sampling value acquired in the current period as the time value of the zero crossing point of the local signal when the second error is within a set second error range.

Further, the phase difference calculation module is specifically configured to:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local signal.

Further, the system further comprises a calibration module, wherein the calibration module is used for:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

Further, the calibration module comprises a calibration information construction unit and a calibration unit:

the calibration information construction unit is used for setting a temperature grade and a voltage grade which need to be calibrated, and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, wherein: the calibration information under the same temperature grade comprises a track voltage signal voltage input effective value and a zero crossing point time detection value, and the calibration information of the sampled broken line segment end point under the same voltage grade comprises a track voltage signal power supply input effective value and a zero crossing point time detection value;

the calibration unit is used for constructing an amplitude-phase compensation characteristic curve between the sampling channel inertia characteristic value and the corresponding voltage sampling value according to calibration information of the end points of the broken line segment sampled under the same temperature grade and the same voltage grade, and calibrating the sampling channel inertia characteristic value.

Compared with the prior art, the invention has the following technical effects: the invention adopts a high-performance 32-bit singlechip based on an ARM framework, can quickly discriminate effective real data after the step response of the track input signal, meets the requirements of signal sampling accuracy and strain time, and saves the hardware cost. Meanwhile, the detected track voltage signal is compared with the effective value of the voltage in the single period of the adjacent period, if the effective value exceeds the set fluctuation threshold value, the input track voltage signal is considered to be abnormal in fluctuation, the sampling data is discarded, and if the effective value of the track voltage signal in the adjacent period accords with the set fluctuation threshold value, the effective value of the track voltage signal voltage in the single period of the sampling is considered to be effective, so that the invalid track fluctuation signal can be filtered, and the effective track voltage signal voltage can be quickly detected.

Drawings

The following detailed description of embodiments of the invention refers to the accompanying drawings in which:

FIG. 1 is a schematic flow diagram of a method for 25hz phase sensitive track circuit signal detection;

FIG. 2 is a schematic diagram of a system for 25hz phase sensitive track circuit signal detection;

FIG. 3 is a schematic of calibration of different temperature data.

Detailed Description

To further illustrate the features of the present invention, refer to the following detailed description of the invention and the accompanying drawings. The drawings are for reference and illustration purposes only and are not intended to limit the scope of the present disclosure.

As shown in fig. 1, the present embodiment discloses a method for detecting 25hz phase-sensitive track circuit signals, which utilizes a 32-bit single-chip microcomputer based on ARM architecture to perform track circuit signal detection, and includes the following steps S1 to S3:

s1, acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by an electronic receiver sampling channel in each period;

s2, respectively carrying out validity judgment on the track voltage signal sampling value and the local signal sampling value of each period to obtain the valid value of the track voltage signal of each period and the time value of the zero crossing point of the local signal;

and S3, calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal in each period and the zero-crossing time value of the local signal.

It should be noted that, in view of the fact that the track voltage signal is susceptible to signal interference such as a power frequency signal and a coded signal, and due to inertia of a sampling channel of the electronic receiver, when the track voltage signal undergoes an occupied-idle transition, a transition process of a step response of the sampling channel is long. In order to filter out invalid track fluctuation signals and quickly detect valid track voltage signal voltage, single-period voltage effective values of adjacent periods are compared on the detected track voltage signals, if the effective values exceed a set fluctuation threshold value, the input track voltage signals are considered to be abnormal in fluctuation, and the sampling data are discarded.

Further, the above step S2: respectively carrying out validity judgment on the track voltage signal sampling value and the local signal sampling value in each period to obtain the valid value of the track voltage signal in each period and the time value of the zero crossing point of the local signal, and specifically comprising the following subdivision steps S21 to S24:

s21, calculating to obtain the average value of the track voltage signal sampling of the period according to the track voltage signal sampling value collected in the same period, and calculating to obtain the zero crossing time value of the local signal of the period according to the local signal sampling value collected in the same period;

s22, comparing and calculating the average values of the track voltage signal samples in the adjacent periods to obtain a first error, and comparing and calculating the average values of the local signal samples in the adjacent periods to obtain a second error;

s23, when the first error is within a set first error range, taking the track voltage signal sampling value acquired in the current period as an effective value of the track voltage signal;

and S24, when the second error is within the set second error range, taking the local signal sampling value acquired in the current period as the time value of the zero crossing point of the local signal.

It should be noted that, in this embodiment, the first error range and the second error range have the same value, and both can take values of 8%, and the setting of the error range is obtained by adjusting according to actual conditions on the basis of referring to the calculation of the relevant device index, for example: the 25Hz power supply screen requires that the output stability is less than or equal to 3 percent, the voltage sampling precision is less than or equal to +/-5 percent, and the maximum adjacent period voltage fluctuation rate allowed by the addition of the output stability and the voltage sampling precision is less than or equal to +/-8 percent.

Specifically, step S3 described above: calculating the phase difference between the corresponding track power supply signal and the local power supply signal according to the effective value of the track voltage signal and the time value of the zero crossing point of the local signal in each period, wherein the phase difference comprises the following steps:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local signal.

In the case of a large inertia sampling device, it is necessary to compensate for an inertia characteristic constant when calculating a phase difference, and a phase difference detection value α is determined by the following three variables according to the principle of detecting the phase difference α between a track voltage signal and a local signal used: the zero-crossing point time detection value Ttl which is linear with the input phase difference, the delay value Ttd caused by the inertia of the sampling channel to the track input signal phase, and the delay value Tld caused by the sampling channel to the local input signal phase include:

α=Ttl-Ttd+Tld

since the zero-crossing time detection value Ttl is a sampling value and the accuracy is only affected by the timing resolution of the single chip, the phase difference α detection accuracy mainly considers the effects of the track input signal phase delay value Ttd and the local input signal phase delay value Tld. For convenience of processing, the sum of Ttd and Tld is the inertia characteristic value Ttld of the sampling channel of the electronic receiver, which is:

Ttld=Ttd-Tld

therefore, the phase difference α between the track power signal and the local power signal is obtained as Ttl-Ttld.

It should be noted that, because the inertia characteristic value Ttld of the sampling channel of the electronic receiver is only affected by the signal voltage and the temperature of the testing environment when the frequency and the waveform of the input signal are constant, the inertia characteristic value Ttld of the sampling channel of the electronic receiver needs to be calibrated at different voltage levels and different temperature levels, and the voltage algorithm module and the phase shift algorithm module measure and calculate the phase difference of the local signal of the 25Hz track during actual detection, so as to ensure the accuracy of detecting the phase difference between the track voltage signal and the local power supply, reduce the requirement of the phase-sensitive track circuit of the 25Hz on the consistency of electronic components, save the use cost of hardware, and the calculation process is flexible and simple.

Therefore, in step S1 described above: before acquiring the track voltage signal sampling value and the local signal sampling value acquired by the electronic receiver sampling channel per cycle, the method further comprises the following steps:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

It should be noted that for any input/output system to obtain the corresponding output result according to the input parameters, there must be a certain characteristic curve function, and then the parameters are determined through the fitting process. However, the process is relatively complex in calculation and large in workload, in this embodiment, a piecewise-broken-line method is adopted to calibrate the inertia characteristic value of the sampling channel, and here, it is considered that in an input/output characteristic curve, a certain segment is similar to a straight line, and the point coordinate parameters on the segment have a linear relationship, so when the slope of the segment of the straight line is determined, the input parameters (signal source parameters) can be determined according to the output parameters (signal sampling values).

In order to improve the signal detection precision of the 25hz phase-sensitive track circuit, a multi-point description method is required during calibration, theoretically, the more calibration points are, the higher the data precision is, but the more points are, the workload is increased, so that a corresponding curve graph can be drawn by testing related parameter points, and a proper calibration interval is determined.

Specifically, as shown in fig. 3, the process of calibrating the inertia characteristic value of the sampling channel of the electronic receiver is as follows:

the temperature grade and the voltage grade which need to be calibrated are selected, the output values between the adjacent temperature grades can form a straight line through the ratio of the output values of the two adjacent temperatures and the temperature gradient, and the output values at different temperature points between the two adjacent temperatures are obtained through the straight line. Under the same temperature grade, the rail voltage signal voltage of the broken line segment end point is sampled and input into an effective value and a zero crossing point time detection value, and the effective value and the zero crossing point time detection value are uploaded to an upper computer for processing, and then data are sent and stored into Flash of a module CPU.

In the same method, power input effective values and zero crossing point time detection values of broken line segment endpoints under different temperature levels are sampled and uploaded to upper computer software for processing, and then data are issued and stored into Flash of a module CPU. And forming an amplitude-phase compensation characteristic curve (namely a curve formed by AD sampling average values corresponding to different voltage grades and phase difference compensation values corresponding to the AD sampling average values) between the inertia characteristic values of the sampling channels and the corresponding voltage sampling values and an input-output characteristic curve of a temperature sensor in the electronic receiver, and finishing the calibration work of the inertia characteristic values of the sampling channels of the module. The input-output characteristic curve of the temperature sensor is obtained by sampling and recording data of each voltage grade at different temperatures, then drawing a sampling data characteristic curve at different temperatures, namely the input-output characteristic curve of the temperature sensor, and eliminating the self error of the temperature sensor (calibration of the temperature sensor).

The calculation process of the phase difference α between the track signal and the local signal is as follows: when a track voltage signal and a local signal are input externally, firstly, a temperature sensor detects the temperature, the temperature is determined between which two temperature levels the temperature falls through an amplitude-amplitude characteristic curve (namely a curve formed by different voltage levels and corresponding AD sampling average values at the same temperature) between a track voltage signal voltage value and a module voltage sampling value and an input-output characteristic curve of the temperature sensor inside the module, then the phase difference value (the phase difference value between the track voltage signal and the local signal) of the corresponding input signals at the two temperature levels is calculated according to a segmented broken line method, and then the phase difference value between the input track voltage signal and the local signal at the temperature (the temperature detected by the sensor), namely the phase difference actual value between the track power signal and the local power signal is calculated according to the segmented broken line method, and the piecewise broken line method adopts a principle of proximity.

As shown in fig. 2, the present embodiment discloses a system for 25hz phase-sensitive track circuit signal detection, which includes a sampling module 10, an effective value calculating module 20, and a phase difference calculating module 30, wherein:

the sampling module 10 is used for acquiring a track voltage signal sampling value and a local signal sampling value which are acquired by a sampling channel of the electronic receiver at each period;

the effective value calculation module 20 is configured to respectively perform validity judgment on the track voltage signal sampling value and the local signal sampling value of each period to obtain an effective value of the track voltage signal of each period and a time value of a zero crossing point of the local signal;

the phase difference calculating module 30 is configured to calculate a phase difference between the corresponding track power signal and the local power signal according to the effective value of the track voltage signal and the zero-crossing time value of the local signal in each period.

The effective value calculating module 20 includes an average value calculating unit, an error calculating unit, a first calculating unit, and a second calculating unit:

the average value calculating unit is used for calculating the average value of the track voltage signal sampling of the period according to the track voltage signal sampling value acquired in the same period, and calculating the average value of the local signal sampling of the period according to the local signal sampling value acquired in the same period;

the error calculation unit is used for comparing and calculating the track voltage signal sampling average values of adjacent periods to obtain a first error, and comparing and calculating the local signal sampling average values of adjacent periods to obtain a second error;

the first calculating unit is used for taking the track voltage signal sampling value acquired in the current period as the effective value of the track voltage signal when the first error is within a set first error range;

and the second calculating unit is used for taking the local signal sampling value acquired in the current period as the time value of the zero crossing point of the local signal when the second error is within a set second error range.

The phase difference calculation module 30 is specifically configured to:

calculating the phase difference alpha between the corresponding track power supply signal and the local power supply signal according to a calculation formula of the phase difference between the track voltage signal and the local signal:

α=Ttl-Ttld

wherein, Ttl represents a zero-crossing time detection value linearly related to the input phase difference, Ttld-Ttd + Tld represents an inertia characteristic value of the sampling channel of the electronic receiver, Ttd represents a delay value caused by the inertia of the sampling channel to the phase of the track voltage signal, and Tld represents a delay value caused by the inertia of the sampling channel to the phase of the local signal.

The device further comprises a calibration module 40, wherein the calibration module 40 is used for:

and calibrating the inertia characteristic value of the sampling channel of the electronic receiver by adopting a segmented broken line method.

The calibration module comprises a calibration information construction unit and a calibration unit:

the calibration information construction unit is used for setting a temperature grade and a voltage grade which need to be calibrated, and respectively sampling calibration information of the end points of the broken line segment under the same temperature grade and the same voltage grade, wherein: the calibration information under the same temperature grade comprises a track voltage signal voltage input effective value and a zero crossing point time detection value, and the calibration information of the sampled broken line segment end point under the same voltage grade comprises a track voltage signal power supply input effective value and a zero crossing point time detection value;

the calibration unit is used for constructing an amplitude-phase compensation characteristic curve between the sampling channel inertia characteristic value and the corresponding voltage sampling value according to calibration information of the end points of the broken line segment sampled under the same temperature grade and the same voltage grade, and calibrating the sampling channel inertia characteristic value.

It should be noted that, in this embodiment, calibration of different voltage levels and different temperature levels is performed on the inertia characteristic value Ttld of the sampling channel of the electronic receiver, and the effective value calculation module 20 and the phase difference calculation module 30 measure and calculate the phase difference of the local signal of the 25Hz track during actual detection, so as to ensure the accuracy of detecting the phase difference between the track voltage signal and the local power supply, reduce the requirement of the phase-sensitive track circuit of the 25Hz on the consistency of electronic components, and save the use cost of hardware.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:绝缘检测方法、装置、介质及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!