CN110174530A - A kind of velocity sensor simulator - Google Patents

A kind of velocity sensor simulator Download PDF

Info

Publication number
CN110174530A
CN110174530A CN201910495878.XA CN201910495878A CN110174530A CN 110174530 A CN110174530 A CN 110174530A CN 201910495878 A CN201910495878 A CN 201910495878A CN 110174530 A CN110174530 A CN 110174530A
Authority
CN
China
Prior art keywords
channel
signal
high level
pulse
cpld
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
CN201910495878.XA
Other languages
Chinese (zh)
Other versions
CN110174530B (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.)
Beijing Jiaoda Signal Technology Co Ltd
Original Assignee
Beijing Jiaoda Signal Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaoda Signal Technology Co Ltd filed Critical Beijing Jiaoda Signal Technology Co Ltd
Priority to CN201910495878.XA priority Critical patent/CN110174530B/en
Publication of CN110174530A publication Critical patent/CN110174530A/en
Application granted granted Critical
Publication of CN110174530B publication Critical patent/CN110174530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups
    • G01P21/02Testing or calibrating of apparatus or devices covered by the preceding groups of speedometers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention provides a kind of velocity sensor simulator, including micro-control unit MCU, complex programmable logic device (CPLD), high level adjust circuit, isolated drive circuit;The frequency and phase difference of multichannel pulse signal are adjusted by MCU, and the duty ratio of pulse is adjusted with CPLD, the high level that circuit adjusts pulse is adjusted using high level again, the multichannel pulse signal through isolated drive circuit output after adjusting is the speed signal for two velocity sensors simulated;Simulator, which can provide, meets LKJ speed signal demand, phase difference and duty ratio while continuously adjustable pulse signal.Technical advantage of the invention is as follows: by being classified regulative mode, energy simplified control mode improves working efficiency.

Description

A kind of velocity sensor simulator
Technical field
The present invention relates to the test fixture of Source of Railway Communication and Signalling field Train Detection and Identification recording device, especially a kind of speed Spend Sensor Analog Relay System device.
Background technique
With the fast development of railway transportation cause, train running speed is continuously improved, to train operation control system It is required that higher and higher.Currently, Train Detection and Identification monitoring device (LKJ) has generally been mounted on train, currently used for LKJ system The test fixture tested of uniting tests complete machine in LKJ factory.
On the train of installation LKJ host, practical only there are two velocity sensors, one of them is as Redundancy Design, institute Only simulate two velocity sensors with test fixture, test fixture need to simulate two velocity sensors to LKJ provide 3 channels or 4 channel speed pulse signal of person.And the requirement of speed signal is, pulse signal frequency is that 0~5kHz is program-controlled adjustable, and duty ratio exists It is program-controlled adjustable in 30%~70% range, the phase from the channel of the same sensor 1,2 (or channel 3,4) orthogonal pulses Difference is program-controlled adjustable within the scope of 45 °~135 °, and pulse high level is more than or equal to 9V, and low level is less than or equal to 2V.
Existing speed simulator, only 3 channel speed pulse signals, 0~6kHz of frequency is program-controlled adjustable, and duty ratio is solid Be set to 50%, the phase differences of 3 road signals can only the program-controlled setting as unit of 90 °, 0~12V of amplitude difference is program-controlled adjustable.Far from Expected requirement can be reached.
To sum up, test fixture need to simulate two velocity sensors give LKJ provide speed signal, to meet the speed of LKJ Test function, problem is encountered that how to provide the speed signal met the requirements.And by micro-control unit MCU separate analogue speed When sensor signal, to realize that phase difference and duty ratio are adjustable simultaneously, more MCU resource must be occupied, operation effect is influenced Rate, and implementation method is more complicated.
Summary of the invention
The present invention is directed to above-mentioned prior art defect, can provide the phase difference for meeting speed signal demand and duty ratio simultaneously Continuously adjustable pulse signal can reduce MCU occupancy simultaneously and improve utilization efficiency, the simple simulator of circuit structure.
The present invention provides a kind of velocity sensor simulator, including micro-control unit MCU, Complex Programmable Logic Devices CPLD, high level adjust circuit, isolated drive circuit;
The frequency and phase difference of multichannel pulse signal are adjusted by MCU, and the duty ratio of pulse are adjusted with CPLD, then use High level adjusts the high level that circuit adjusts pulse, the multichannel pulse signal exported through the isolated drive circuit after adjusting The speed signal for two velocity sensors as simulated;
The simulator, which can provide, meets LKJ speed signal demand, phase difference and duty ratio while continuously adjustable Pulse signal.
Technical advantage of the invention is as follows: adjusting the frequency and phase difference of pulse using MCU, adjusts pulse using CPLD Duty ratio adjusts the high level that circuit adjusts pulse using high level.By being classified regulative mode, energy simplified control mode is mentioned High working efficiency.
Detailed description of the invention
[1] Fig. 1 is the speed signal production principle schematic diagram of simulator of the present invention
[2] Fig. 2 is that simulator generates the classification adjustment structure figure without phase difference relationship speed signal
[3] Fig. 3 is to have phase difference relationship speed signal structure chart
[4] Fig. 4 is the schematic diagram that high level adjusts circuit and isolated drive circuit
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing, it will help those skilled in the art further understands The present invention.
By taking 4 channel speed signals as an example: sensor 1 includes channel 1 and channel 2;Sensor 2 includes channel 3 and channel 4. Speed signal can be the pulse signal of 4 channel independent controls, can also be divided into two groups of orthogonal pulses signals by sensor: two groups Orthogonal pulses signal can also can be controlled simultaneously with independent control.
And 3 channel speed signals are similar therewith: sensor 1 includes channel 1 and channel 2, and sensor 2 only includes channel 3.Only There is phase difference relationship between channel 1,2, remaining is identical as 4 channels.
Simulator of the invention can realize that pulse signal frequency is that 0~10kHz is program-controlled adjustable;From the same sensor Any one group of orthogonal pulses signal phase difference it is program-controlled adjustable within the scope of 0 °~180 °;Pulse duty factor is 10%~90% It is program-controlled adjustable in range;Pulses low is 0V, and high level is that 3V~15V is program-controlled adjustable.
The present invention provides a kind of velocity sensor simulator, which mainly includes that micro-control unit MCU, complexity can Programmed logic device CPLD, high level adjust circuit, isolated drive circuit.Its working principles are as follows:
Frequency needed for 4 channels generated as MCU, the square-wave signal (one kind of pwm signal) that duty ratio is 50%: low level For 0V, high level 3.3V;(speed signal) according to demand can not have phase difference relationship between 4 channel square-wave signals, can also It is adjustable with phase difference between channel 1,2 or channel 3,4.
The square-wave signal is connected with CPLD, and CPLD carries out square-wave signal according to the duty cycle information of pulse signal whole Shape, is modulated into the adjustable 4 channel pulse signal of duty ratio, and frequency and phase difference relationship remain unchanged.Pulse signal at this time is low Level is 0V, high level 3.3V.
Simulator can control MCU and generate 2 tunnel fixed frequencies, the adjustable pwm signal of duty ratio simultaneously, and low level is 0V, high level 3.3V.Referring to fig. 4, for the two-way pwm signal respectively after isolation element, being converted into 2 tunnel low levels is 0V, High level is the pwm signal of direct current fixed voltage (such as 15V), then passes through RC integrating circuit, is converted into 2 tunnels and the PWM believes The DC voltage SpeedVCC of number proportional variation of duty ratio.
The 4 channel pulse signals that CPLD is exported, are connected with the input terminal of 4 isolation elements respectively.The isolation in channel 1,2 Output power supply and the isolation output power supply in channel 3,4 are provided by the DC voltage of above-mentioned 2 tunnel variation respectively.
The output of 4 isolation elements is penetrated after grade follower improves driving capability by 4 tunnels respectively again, is connected with LKJ.This When 4 channel pulse signals be simulate speed sensor signal.
Fig. 1 is the speed signal production principle schematic diagram of simulator of the present invention, and simulator includes micro-control unit MCU, complex programmable logic device (CPLD), high level adjust unit (circuit), isolation drive unit (circuit) etc..MCU output 4 channel square waves be connected with CPLD, the two channel pwm signals that in addition export adjust circuit with high level and are connected;MCU and CPLD it Between pass through SPI communication;The DC voltage that 4 channel pulse signals of CPLD output, high level adjusting 2 tunnel of circuit output change, two Person is connected with isolated drive circuit;Last isolated drive circuit exports 4 channel speed signals and gives LKJ host.
The present invention uses classification regulative mode to simplify the generation of speed signal, specifically, adjusting the frequency of pulse using MCU Rate and phase difference adjust the duty ratio of pulse using CPLD, adjust the high level that circuit adjusts pulse using high level, finally lead to Multichannel speed signal needed for crossing isolated drive circuit output.The speed biography for combining simulation is adjusted by MCU and CPLD classification Sensor signal, not only implementation method is relatively easy, but also the modulation of duty ratio and phase difference is accurate and range is wider, thus real The diversified demand of speed sensor signal needed for having showed LKJ host.Fig. 2 and Fig. 3 respectively illustrates simulator of the present invention Classification adjust working principle.
Fig. 2 is that simulator generates the classification adjustment structure figure without phase difference relationship speed signal, i.e. control MCU generates 4 The square-wave signal that frequency, duty ratio needed for channel are 50%: low level 0V, high level 3.3V do not have phase between 4 channels Poor relationship.The square-wave signal is connected with CPLD, and CPLD carries out shaping to square-wave signal according to the duty cycle information of pulse signal, 4 channel pulse signals of duty ratio Independent adjustable are modulated into, frequency remains unchanged.Pulse signal low level at this time is 0V, high Level is 3.3V.Then using high level adjusting and isolated drive circuit, it is converted into adjustable 4 channel pulse of high level voltage Signal is supplied to LKJ host.
Fig. 3 is the classification adjustment structure figure that simulator has phase difference relationship speed signal, i.e. control MCU generates 4 The square-wave signal that channel duty ratio is 50%: low level 0V, high level 3.3V;The frequency in channel 1,2 (or channel 3,4) It is identical adjustable;Phase difference between channel 1,2 (or channel 3,4) is adjustable.The square-wave signal is connected with CPLD, CPLD according to The duty cycle information of pulse signal carries out shaping to square-wave signal, and being modulated into channel 1,2 (or channel 3,4) duty ratio is identical can The pulse signal of tune, frequency and phase difference relationship remain unchanged.Then using high level adjusting and isolated drive circuit, conversion LKJ host is supplied at the adjustable two group pulses signal of high level voltage.
Fig. 4 is the schematic diagram that high level adjusts circuit and isolated drive circuit, is adjusted in the dotted line frame of the upper right corner for high level Circuit, two groups of identical circuits, provide the high level of variation to channel 1,2 and channel 3,4 respectively altogether;In the dotted line frame of the lower right corner Four groups of identical circuits are shared for isolated drive circuit, one, the pulse signal in channel 1~4 is individually insulated and improves driving capability.
It controls MCU and generates 2 tunnel fixed frequencies, the adjustable pwm signal of duty ratio, square wave low level is 0V, high level is 3.3V, 1 input terminal of being isolated for adjusting circuit with identical two groups of high level are connected, and 1 output power supply of isolation is fixed by direct current Voltage (such as 15V) provides, and 1 output of isolation respectively after resistance R1 and capacitor C1, is converted into 2 tunnels and duty ratio proportionally again The d. c. voltage signal SpeedVCC of variation provides the high level of variation to channel 1,2 and channel 3,4 respectively.
By 4 channel pulse signals of the MCU and CPLD common modulation, low level 0V, high level 3.3V, with four Isolation element (isolation 2) input terminal of the identical isolated drive circuit of group is connected.Channel 1,2 and channel 3,4 isolation 2 Output power supply respectively by 2 tunnel variation DC voltage SpeedVCC provide, 2 (such as optocoupler) output signals of each isolation are again After voltage follower IC1 improves driving capability, LKJ host is given in output.
It is possible thereby to which being converted into low level is 0V by the pulse signal of MCU and CPLD common modulation, high level is 3~15V Adjustable signal: can be adjustable with 4 channel frequences difference, duty ratio difference is adjustable, does not have phase difference relationship;It can also be with channel 1,2 Identical adjustable, identical adjustable, between channel 1,2 (or channel 3,4) the phase difference of duty ratio of the frequency in (either channel 3,4) can It adjusts.
The present invention program's it is a technical advantage that: by the speed sensor signal of MCU separate analogue, implementation method is more multiple It is miscellaneous, and occupy more MCU resource.And the speed sensor signal of simulation is combined by MCU and CPLD, not only realization side Method is relatively easy, and the modulation of duty ratio and phase difference is accurate and range is wider, thus speed needed for realizing LKJ host Spend the diversified demand of sensor signal.
The foregoing is merely the preferable case study on implementation of this new departure, are not intended to limit the protection model of this new departure It encloses.All any modification, equivalent replacement, improvement and so within the spirit and principle of this new departure, it is new to should be included in this Within the protection scope of scheme.

Claims (8)

1. a kind of velocity sensor simulator, including micro-control unit MCU, complex programmable logic device (CPLD), high level Adjust circuit, isolated drive circuit;
The frequency and phase difference of multichannel pulse signal are adjusted by MCU, and adjusts the duty ratio of pulse with CPLD, then using high electricity Heibei provincial opera economize on electricity road adjusts the high level of pulse, and the multichannel pulse signal exported through the isolated drive circuit after adjusting is The speed signal of two velocity sensors of simulation;
The simulator, which can provide, meets LKJ speed signal demand, phase difference and duty ratio while continuously adjustable pulse Signal.
2. velocity sensor simulator according to claim 1, which is characterized in that MCU output multichannel square wave with CPLD is connected, and the two channel pwm signals in addition exported adjust circuit with the high level and are connected,
Multichannel pulse signal, the high level through CPLD output adjust the DC voltage of 2 tunnel of circuit output variation, the two It is connected with the isolated drive circuit;Multichannel speed signal is finally exported by the isolated drive circuit and gives LKJ host;
The multichannel speed signal can be 4 channels or 3 channels, and respectively correspond two velocity sensors to be simulated (1, 2)。
3. velocity sensor simulator according to claim 2, which is characterized in that by taking 4 channel speed signals as an example: passing Sensor 1 includes channel 1 and channel 2;Sensor 2 includes channel 3 and channel 4, and the speed signal can independently be controlled for each channel The pulse signal of system can also be divided into two groups of orthogonal pulses signals by sensor, which can independently control System, can also control simultaneously;
And when 3 channel speed signal: sensor 1 includes channel 1 and channel 2, and sensor 2 only includes channel 3, only channel 1 and logical There is phase difference relationship between road 2.
4. velocity sensor simulator according to claim 3, which is characterized in that the high level adjusts circuit, is Two groups of identical circuits altogether provide the high level of variation to the corresponding channel of two velocity sensors respectively.
5. velocity sensor simulator according to claim 4, which is characterized in that the simulator can control MCU Generate 2 tunnel fixed frequencies, the adjustable pwm signal of duty ratio, low level 0V, high level 3.3V;
For the two-way pwm signal respectively after isolation element, being converted into 2 tunnel low levels is 0V, and high level is fixed DC voltage Pwm signal, then pass through RC integrating circuit, be converted into the direct current of 2 tunnels variation proportional to the pwm signal duty ratio Pressure.
6. velocity sensor simulator according to claim 5, which is characterized in that each channel pulse for exporting CPLD Signal is connected with the input terminal of the isolation element of the isolated drive circuit respectively, and the power supply point of the output end of the isolation element It is not provided by the DC voltage of above-mentioned 2 tunnel variation.
7. velocity sensor simulator according to claim 6, which is characterized in that the output signal of the isolation element It is connected after voltage follower improves driving capability with LKJ respectively again.
8. velocity sensor simulator according to claim 1, which is characterized in that the simulator can realize pulse Signal frequency is that 0~10kHz is program-controlled adjustable;The phase difference of any one group of orthogonal pulses signal from the same sensor is at 0 ° It is program-controlled adjustable within the scope of~180 °;Pulse duty factor is program-controlled adjustable in 10%~90% range;Pulses low is 0V, high electricity Put down for 3V~15V it is program-controlled adjustable.
CN201910495878.XA 2019-06-06 2019-06-06 Speed sensor simulation device Active CN110174530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910495878.XA CN110174530B (en) 2019-06-06 2019-06-06 Speed sensor simulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910495878.XA CN110174530B (en) 2019-06-06 2019-06-06 Speed sensor simulation device

Publications (2)

Publication Number Publication Date
CN110174530A true CN110174530A (en) 2019-08-27
CN110174530B CN110174530B (en) 2021-12-10

Family

ID=67698184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910495878.XA Active CN110174530B (en) 2019-06-06 2019-06-06 Speed sensor simulation device

Country Status (1)

Country Link
CN (1) CN110174530B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070129924A1 (en) * 2005-12-06 2007-06-07 Verheyen Henry T Partitioning of tasks for execution by a VLIW hardware acceleration system
CN101354584A (en) * 2008-07-29 2009-01-28 株洲南车时代电气股份有限公司 Multichannel analog signal generator
TW201431595A (en) * 2013-02-04 2014-08-16 Qian-Rui Liu Railway model driving controller
CN205596389U (en) * 2016-03-18 2016-09-21 深圳Tcl数字技术有限公司 Constant current AC drive circuit and TV set
CN207069955U (en) * 2017-08-07 2018-03-02 陶谦 A kind of circuit for controlling motor
CN108459554A (en) * 2018-03-21 2018-08-28 桂林市华茂欧特科技有限公司 A method of the high-speed pulse output duty ratio adjust automatically based on CPLD

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070129924A1 (en) * 2005-12-06 2007-06-07 Verheyen Henry T Partitioning of tasks for execution by a VLIW hardware acceleration system
CN101354584A (en) * 2008-07-29 2009-01-28 株洲南车时代电气股份有限公司 Multichannel analog signal generator
TW201431595A (en) * 2013-02-04 2014-08-16 Qian-Rui Liu Railway model driving controller
CN205596389U (en) * 2016-03-18 2016-09-21 深圳Tcl数字技术有限公司 Constant current AC drive circuit and TV set
CN207069955U (en) * 2017-08-07 2018-03-02 陶谦 A kind of circuit for controlling motor
CN108459554A (en) * 2018-03-21 2018-08-28 桂林市华茂欧特科技有限公司 A method of the high-speed pulse output duty ratio adjust automatically based on CPLD

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
毛瀚徵 等: "列控系统速度信号模拟装置研究", 《内燃机与配件》 *

Also Published As

Publication number Publication date
CN110174530B (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN101197547B (en) Three-phase synchronization AC generating circuit and its control method
CN106604479B (en) The non-isolated LED light adjusting circuits dimmed with PWM and direct current
CN101917178B (en) Velocity transducer output signal analog device and method
CN207021912U (en) Multiple-channel output random waveform voltage source system
CN102207740A (en) Isolated multipath 4-20mA-current signal output circuit
CN105162356A (en) Voltage phase adjustable full-bridge resonant ultrasonic driving circuit easy to connected in parallel
CN109143009A (en) A kind of IGBT power module test macro
CN109873504A (en) A kind of static simulation system of dynamic radio power supply
CN100595597C (en) Lightning arrester various waveform aging test device
CN106707063A (en) Automatic test bench for rail transit electronic product
CN203385846U (en) Absolute time-delay detection apparatus of mutual inductor data acquisition system of intelligent substation
CN203117380U (en) Testing device of printed circuit board assembly (PCBA) of medical instrument
CN110174530A (en) A kind of velocity sensor simulator
CN203950201U (en) Automobile electrically-controlled test all-purpose electronic simulator
CN206962707U (en) A kind of dynamic compesated control circuit for synchronous rectification power inverter
CN202679737U (en) LED drive circuit and LED lighting device
CN106153997A (en) A kind of pulse outputting unit for the test of rail vehicle charger
CN202738196U (en) Driving power control circuit
CN107703440B (en) Automatic test circuit of power converter
CN109921827A (en) A kind of single-phase carrier module tooling test board
CN205246716U (en) Control formula signal generator outward
CN105204215B (en) A kind of PDLC light modulation film multiple power supplies control system and method
CN209787050U (en) low-frequency AC current-stabilizing power supply for earthquake observation
CN201177647Y (en) Multiple waveform aging test apparatus of lightning arrester
CN106330138A (en) Variable sawtooth-wave circuit

Legal Events

Date Code Title Description
PB01 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