A kind of speed probe polymorphic type signal output apparatus
Technical field
The utility model relates to automotive check instrument and meters to use field, more particularly, to a kind of speed probe polymorphic type
Signal output apparatus.
Background technique
The output signal type of the speed probe of the prior art is digital pulse signal, and many industrial control systems
Required speed controling signal is voltage signal, electric current ring signal, serial data signal.
The difference of speed controling signal as needed usually configures different rear class processing units, increases set in this way
Standby investment and inconvenience.Additionally, it is sometimes desirable to the ground signalling of speed probe and the controller isolation of industrial control system, with
Anti- formation ground loop.Although usually there is the solution based on optoisolator reasonable output to adjust, need additionally
Outer member, thus board area can be made to increase.
Utility model content
The purpose of this utility model is exactly to provide a kind of revolution speed sensing to overcome the problems of the above-mentioned prior art
Device polymorphic type signal output apparatus.
The purpose of this utility model can be achieved through the following technical solutions:
A kind of speed probe polymorphic type signal output apparatus, the device include power circuit and respectively with the power supply
Microcontroller CPU, tach signal shaping circuit, voltage and current ring signal generative circuit and the CAN interface electricity of circuit connection
Road, the microcontroller CPU compare interface by capture and connect with the tach signal shaping circuit, pass through synchronous serial
SPI interface is connect with the voltage and current ring signal generative circuit, by CAN interface and the CAN interface circuit connection,
The tach signal shaping circuit is connect with tested signals of rotational speed sensor.
Preferably, the power circuit includes power input socket, switching mode decompression chip, isolated power supply module, electricity
Source input filtering capacitor, the first power output end filter capacitor, second source output end filter capacitor, third power output end
Filter capacitor, freewheeling diode, energy storage inductor ,+5V power interface, PGND ground terminal ,+12V isolation voltage interface, -12V isolation
Voltage interface, isolation voltage ground terminal, the IN power input and the power input socket of the switching mode decompression chip
The connection of V+ signal end, GND power ground end connect with the V- signal end of the PGND ground terminal and the power input socket,
SHDN shutdown control terminal is connect with the PGND ground terminal, and FB feedback end is connect with+5V the power interface, and SW output end is logical
It crosses the energy storage inductor to connect with+5V the power interface, the Vin+ positive supply input terminal of the isolated power supply module and institute
The V+ signal end connection of power input socket is stated, Vin- negative supply input terminal is connect with the PGND ground terminal, Vout+ positive electricity
Source output terminal is connect with+12V isolation voltage the interface, and Vout- negative electricity source output terminal and the -12V isolation voltage interface connect
It connects, the common end COM is connect with the isolation voltage ground terminal, and it is defeated that the power input filter capacitor is connected in parallel on the power supply
Enter the output end of socket, the anode of the first power output end filter capacitor is connect with+5V the power interface, cathode and
The PGND ground terminal connection, the anode and the Vout of the isolated power supply module of the second source output end filter capacitor
The connection of+positive electricity source output terminal, cathode are connect with the common end COM of the isolated power supply module, the third power output end
The anode of filter capacitor is connect with the common end COM of the isolated power supply module, the Vout- of cathode and the isolated power supply module
The anode of the connection of negative electricity source output terminal, the freewheeling diode is connect with the PGND ground terminal, and cathode is connected to described open
Pass type be depressured chip SW output end and the energy storage inductor between ,+5V the power interface respectively with the microcontroller
CPU, the tach signal shaping circuit, the CAN interface circuit connection, the PGND ground terminal respectively with the micro-control
The ground terminal connect and ground of device CPU processed, the tach signal shaping circuit, the CAN interface the circuit ,+12V isolation
The voltage interface, -12V isolation voltage interface and the isolation voltage ground terminal and the voltage and current ring signal generate electricity
Road connection, provides+the 12V of isolation, -12V power supply and isolation voltage ground terminal for the voltage and current ring signal generative circuit.
Preferably, the tach signal shaping circuit includes two-way schmidt trigger reverser, the first filter capacitor, turns
Speed input signal socket, revolving speed reshaping signal accessory power outlet, the VCC power end of the two-way schmidt trigger reverser and
GND ground terminal is connect with+5V the power interface and the PGND ground terminal respectively, 1A signal end and the revolving speed input signal
The 1# pin of socket connects, and 1Y signal end interface compared with 1 capture of the microcontroller CPU connects, first filter
The 1# pin and 2# pin of wave capacitor connect with the GND ground terminal of the two-way schmidt trigger reverser and VCC power end respectively
It connects, the 2# foot of the revolving speed input signal socket is connect with the PGND ground terminal, and the revolving speed reshaping signal output is inserted
1# foot, the 2# foot of seat are connect with the 1Y signal end of the two-way schmidt trigger reverser, the PGND ground terminal respectively.
Preferably, the voltage and current ring signal generative circuit includes Voltage to current transducer chip, the second filtered electrical
Appearance, the setting of third filter capacitor, the 4th filter capacitor, the 5th filter capacitor, the first divider resistance, the second divider resistance, electric current
Resistance, speed voltage signal accessory power outlet, speed and current ring signal accessory power outlet, the AVDD of the Voltage to current transducer chip
Positive simulation power pins are connect with+12V isolation voltage the interface of the power circuit, AVSS negative analog power pins and the electricity
- 12V isolation voltage the interface of source circuit connects, the 2# pin of DVCC digital power pin and first divider resistance, described
The 2# pin of second divider resistance connects, CLEAR pin, CLEARSELECT pin, GND pin ,-VSENSE pin with it is described
The connection of isolation voltage ground terminal, REFOUT pin, REFIN pin link together and connect with the 1# pin of the 4th filter capacitor
It connects, VOUT analog output voltage pin ,+VSENSE pin link together and connect with the 1# pin of the 5th filter capacitor
It connects, SDIN serial date transfer pin, SDOUT serial data output pin, SCLK serial clock input pin, the positive side LATCH
It is connect respectively with 4 synchronous serial SPI interfaces of the microcontroller along the sensitive pin that latches, second filter capacitor
Positive to connect with the isolation voltage ground terminal, the AVSS negative analog power pins of cathode and the Voltage to current transducer chip connect
It connects, the anode of the third filter capacitor is just being simulated power pins with the AVDD of the Voltage to current transducer chip and connect, and bears
Pole is connect with the isolation voltage ground terminal, the 1# pin and 2# pin of the 4th filter capacitor respectively with the voltage
The REFIN pin of electric current conversion chip is connected with the isolation voltage ground terminal, the 1# pin of the 5th filter capacitor and
2# pin is connect with the VOUT analog output voltage pin of the Voltage to current transducer chip and CCOMP pin respectively, described
The 1# pin of first divider resistance is connect with+12V isolation voltage the interface, the 1# pin of second divider resistance and institute
The connection of isolation voltage ground terminal is stated, the 1# pin and 2# pin of the current setting resistance connect with the isolation voltage respectively
Ground terminal is connected with the RSET pin of the Voltage to current transducer chip, the 1# pin of the speed voltage signal accessory power outlet and
2# pin connects with the VOUT analog output voltage pin of the Voltage to current transducer chip and the isolation voltage ground terminal respectively
Connect, the 1# pin and 2# pin of the speed and current ring signal accessory power outlet respectively with the Voltage to current transducer chip
IOUT electric current output pin is connected with the isolation voltage ground terminal.
Preferably, the CAN interface circuit includes CAN transceiver, the 6th filter capacitor, impedance matching resistor, CANH
Jointing and CANL jointing, the CAN transceiver pass through the CAN interface and microcontroller of the microcontroller CPU
CPU communication, and communicated by the CANH jointing and the CANL jointing with monitoring outlay, it is described
The VCC power end of CAN transceiver is connect with+5V the power interface, and GND ground terminal is connect with the PGND ground terminal, described
Impedance matching resistor connect between the CANH jointing and the CANL jointing, the 6th filter capacitor connects
Enter between+5V the power interface and the PGND ground terminal.
Preferably, switching mode decompression chip model is MIC4680-5.0BM, the type of the isolated power supply module
Number be HDW5-12D12A1, the power input filter capacitor be electrolytic capacitor, capacitance and pressure voltage are respectively 100
μ F, pressure resistance 50V, the first power output end filter capacitor are electrolytic capacitor, capacitance and pressure voltage be respectively 47 μ F,
16V, the model 1N5819 of the freewheeling diode, the inductance value of the energy storage inductor are 68 μ H, second electricity
Source output terminal filtered electrical and the third power output end filter capacitor are electrolytic capacitor, and the capacitance and pressure voltage of the two are equal
For 47 μ F, 35V.
Preferably, the chip model of the microcontroller CPU is Infineon XC2234L.
Preferably, the model SN74LVC2G14 of the two-way schmidt trigger reverser, first filtered electrical
The capacitance and pressure voltage of appearance are respectively 0.1 μ F, 16V.
Preferably, the model AD5412 of the Voltage to current transducer chip, second filter capacitor and described
Third filter capacitor be electrolytic capacitor, capacitance and pressure voltage are 10 μ F, 50V, the 4th filter capacitor and institute
The capacitance and pressure voltage for the 5th filter capacitor stated are 0.1 μ F, 16V, first divider resistance and described second
The resistance value of divider resistance is respectively 6.98k Ω, 10k Ω, and the resistance value of the current setting resistance is respectively 15k Ω.
Preferably, the model TLE6250GV33 of the CAN transceiver, the resistance of the impedance matching resistor are
120 Ω, the capacitance and pressure voltage of the 6th filter capacitor are respectively 0.1 μ F, 16V.
Compared with prior art, the utility model has the advantage that
(1) cost performance is high: the utility model is developed using flush type meter technology, by the digital arteries and veins of speed probe
Signal is rushed to be converted into the digital pulse signal of shaping, the voltage signal with isolation, the stream ring signal with isolation, be based on CAN bus
The multi-signals type such as serial data signal.User can be according to the type of the speed controling signal of industrial control system in this way
The corresponding output of the utility model is selected, and does not have to additional increase equipment investment.
(2) scope of application is big: this utility model is developed using flush type meter technology, by the number of speed probe
Word pulse signal is converted into the digital pulse signal of shaping, the voltage signal with isolation, the stream ring signal with isolation, is based on CAN
The multi-signals type such as serial data signal of bus, can carry out that module is additional to be expanded for different situation, and user can be with
Further functions expanding upgrading is carried out according to industrial control system actual demand.
Detailed description of the invention
In order to further elucidate the utility model each embodiment the above and other advantages and features, will with reference to attached drawing come
The more specific description of each embodiment of the utility model is presented.It is appreciated that these attached drawings only describe the allusion quotation of the utility model
Type embodiment, therefore be not to be regarded as being restriction on its scope.Also, the relative position of various pieces shown in the accompanying drawings and
Size is exemplary, and is not to be construed as the position uniquely determined between various pieces or size relationship.
Fig. 1 is the circuit diagram of the utility model;
Fig. 2 is the circuit diagram of the power circuit of the utility model;
Fig. 3 is the circuit diagram of the tach signal shaping circuit of the utility model;
Fig. 4 is the circuit diagram of the voltage and current ring signal generative circuit of the utility model;
Fig. 5 is the circuit diagram of the CAN interface circuit of the utility model.
Specific embodiment
The following will be combined with the drawings in the embodiments of the present invention, carries out the technical scheme in the embodiment of the utility model
It clearly and completely describes, it is clear that described embodiment is a part of the embodiment of the utility model, rather than is all implemented
Example.Based on the embodiments of the present invention, those of ordinary skill in the art institute without making creative work
The every other embodiment obtained all should belong to the range of the utility model protection.
Embodiment
The circuit diagram of the utility model is as shown in Figure 1, a kind of speed probe polymorphic type signal output apparatus, the dress
It sets and is connect including power circuit 1, microcontroller CPU, tach signal shaping circuit 2, voltage and current ring signal generative circuit 3, CAN
Mouth circuit 4.
The circuit diagram of power circuit 1 is as shown in Fig. 2, power circuit 1 includes power input socket J1, switching mode decompression chip
U1, isolated power supply module U2, power input filter capacitor C1, the first power output end filter capacitor C2, second source output
Hold filtered electrical C3, third power output end filter capacitor C4, sustained diode 1, energy storage inductor L1 ,+5V power interface P1,
PGND ground terminal P2 ,+12V isolation voltage interface P3, -12V isolation voltage interface P4, isolation voltage ground terminal P5, switching mode drop
Model MIC4680-5.0BM, the IN power input of pressure chip U1 is connect with the V+ signal end of power input socket J1,
GND power ground end is connect with the V- signal end of PGND ground terminal P2 and power input socket J1, the power supply as entire circuit
The SHDN shutdown control terminal on ground, switching mode decompression chip U1 is connect with PGND ground terminal P2, FB feedback end and+5V power interface
P1 connection, SW output end are connect by energy storage inductor L1 with+5V power interface P1, the model HDW5- of isolated power supply module U2
12D12A1, Vin+ positive supply input terminal are connect with the V+ signal end of power input socket J1, Vin- negative supply input terminal with
The P2 connection of PGND ground terminal, Vout+ positive electricity source output terminal are connect with+12V isolation voltage interface P3, Vout- negative electricity source output terminal
It is connect with -12V isolation voltage interface P4, the common end COM is connect with+12V isolation voltage interface P5, power input filter capacitor
C1 is connected in parallel on the output end of power input socket J1, and the anode of sustained diode 1 is connect with PGND ground terminal P2, cathode connection
Between SW output end and energy storage inductor L1, anode and the+5V power interface P1 of the first power output end filter capacitor C2 connects
It connects, cathode is connect with PGND ground terminal P2, and the anode of second source output end filter capacitor C3 is with isolated power supply module U2's
The connection of Vout+ positive electricity source output terminal, cathode are connect with the common end COM of isolated power supply module U2, the filtering of third power output end
The anode of capacitor C4 is connect with the common end COM of isolated power supply module U2, the Vout- negative supply of cathode and isolated power supply module U2
Output end connection ,+5V power interface P1 connect with microcontroller CPU, tach signal shaping circuit 2, CAN interface circuit 4 respectively
It connects, PGND ground terminal P2 is connect simultaneously with the ground terminal of microcontroller CPU, tach signal shaping circuit 2, CAN interface circuit 4 respectively
Ground connection ,+12V isolation voltage interface P3, -12V isolation voltage interface P4 and isolation voltage ground terminal P5 and voltage and current ring are believed
Number generative circuit 3 connects, and provides+the 12V of isolation, -12V power supply and isolation voltage for voltage and current ring signal generative circuit 3
Ground terminal, power input filter capacitor C1 are electrolytic capacitor, and capacitance and pressure voltage are respectively 100 μ F, pressure resistance 50V, the
One power output end filter capacitor C2 is electrolytic capacitor, and capacitance and pressure voltage are respectively 47 μ F, 16V, sustained diode 1
Model 1N5819, the inductance value of energy storage inductor L1 is 68 μ H, second source output end filtered electrical C3 and the output of third power supply
End filter capacitor C4 is electrolytic capacitor, and the capacitance and pressure voltage of the two are 47 μ F, 35V.
The chip model of microcontroller CPU is Infineon XC2234L, and microcontroller CPU is to compare to connect with capture
The chip of mouth, synchronous serial SPI interface, CAN interface, the capture of used microcontroller CPU compare interface for CC20 capture
Comparison signal end, it is the P2.7 pin of microcontroller CPU, and the synchronous serial SPI interface of used microcontroller CPU is
U0C0-TxD signal end, U0C0-RxD signal end, U0C0-CLK signal end, U0C0-SEL0 signal end, they are micro-control respectively
P10.1 pin, P10.0 pin, P10.2 pin, the P10.10 pin of device CPU processed, the CAN of used microcontroller CPU connect
Mouth has the receiving end CAN-RX, CAN-TX transmitting terminal, they are the P2.0 pin of microcontroller CPU, P2.1 pin, microcontroller respectively
The VCC signal end of device CPU and GND signal end are connected with+the 5V of power circuit power interface P1 and PGND ground terminal P2 respectively.
The circuit diagram of tach signal shaping circuit 2 is as shown in figure 3, tach signal shaping circuit 2 is touched including two-way Schmidt
Reverser U3, the first filter capacitor C5, revolving speed input signal socket Z1, revolving speed reshaping signal accessory power outlet Z2 are sent out, two-way is applied close
Model SN74LVC2G14, the VCC power end and the GND ground terminal+5V with power circuit 1 respectively of spy's triggering reverser U3
Power interface P1 is connected with PGND ground terminal P2, and 1A signal end is connect with the 1# pin of revolving speed input signal socket Z1,1Y signal
End captures comparison signal end with the CC20 of microcontroller CPU and connect, the 1# pin and 2# pin of the 4th filter capacitor C5 respectively with
The GND ground terminal of two-way schmidt trigger reverser U3 is connected with VCC power end, 2 feet of revolving speed input signal socket Z1 with
The P2 connection of PGND ground terminal, 1# pin, the 2# pin of revolving speed reshaping signal accessory power outlet Z2 are anti-with two-way schmidt trigger respectively
1Y signal end, the P2 connection of PGND ground terminal to device U3, the capacitance and pressure voltage of the first filter capacitor C5 be respectively 0.1 μ F,
16V。
The circuit diagram of voltage and current ring signal generative circuit 3 is as shown in figure 4, voltage and current ring signal generative circuit 3
Including Voltage to current transducer chip U4, the second filter capacitor C6, third filter capacitor C7, the 4th filter capacitor C8, the 5th filtering
Capacitor C9, the first divider resistance R1, the second divider resistance R2, current setting resistance R3, speed voltage signal accessory power outlet Z3,
The positive analog power of model AD5412, AVDD of speed and current ring signal accessory power outlet Z4, Voltage to current transducer chip U4 draw
Foot is connect with+12V isolation voltage interface the P3 of power circuit 1, and AVSS negative analog power pins are isolated with-the 12V of power circuit 1
Voltage interface P4 connection, DVCC digital power pin draw with the 2# pin of the first divider resistance R1, the 2# of the second divider resistance R2
Foot connection, CLEAR pin, CLEARSELECT pin, GND pin ,-VSENSE pin are connect with isolation voltage ground terminal P5,
REFOUT pin, REFIN pin link together and connect with the 1# pin of the 4th filter capacitor C8, VOUT analog electrical output
Pressure pin ,+VSENSE pin link together and connect with the 1# pin of the 5th filter capacitor C9, and SDIN serial date transfer draws
Foot, SDOUT serial data output pin, SCLK serial clock input pin, LATCH positive edge sensitivity latch pin respectively with it is micro-
The U0C0-TxD signal end of controller CPU, U0C0-RxD signal end, U0C0-CLK signal end, the connection of U0C0-SEL0 signal end,
The anode of second filter capacitor C6 is connect with isolation voltage ground terminal P5, the AVSS negative norm of cathode and Voltage to current transducer chip U4
Quasi- power pins connection, the anode of third filter capacitor C7 and the AVDD of Voltage to current transducer chip U4 are just simulating power pins company
It connects, cathode is connect with the isolation voltage ground terminal P5 of Voltage to current transducer chip U4, the 1# pin and 2# of the 4th filter capacitor C8
Pin is connect with the REFIN pin of Voltage to current transducer chip U4 and isolation voltage ground terminal P5 respectively, the 5th filter capacitor
The 1# pin and 2# pin of C9 respectively with the VOUT analog output voltage pin and CCOMP pin of Voltage to current transducer chip U4
Connection, the 1# pin of the first divider resistance R1 connect with+12V isolation voltage interface P3, the 1# pin of the second divider resistance R2 and
The P5 connection of isolation voltage ground terminal, the 1# pin and 2# pin of current setting resistance R3 respectively with isolation voltage ground terminal P5 and electricity
The RSET pin of current voltage conversion chip U4 connects, the 1# pin and 2# pin of speed voltage signal accessory power outlet Z3 respectively with electricity
The analog output voltage VOUT pin of current voltage conversion chip U4 is connected with isolation voltage ground terminal P5, and speed and current ring signal is defeated
Out the 1# pin of socket Z4 and 2# pin respectively with the electric current output pin IOUT and isolation voltage of Voltage to current transducer chip U4
Ground terminal P5 connection, the second filter capacitor C6 and third filter capacitor C7 are electrolytic capacitor, and capacitance and pressure voltage are 10 μ
F, pressure resistance 50V.4th filter capacitor C8, the capacitance of the 5th filter capacitor C9 and pressure voltage are 0.1 μ F, 16V, the first partial pressure
Resistance R1, the second divider resistance R2 resistance value be respectively 6.98k Ω, 10k Ω, the resistance value of current setting resistance R3 is respectively 15k
Ω。
The circuit diagram of CAN interface circuit 4 is as shown in figure 5, CAN interface circuit 4 includes CAN transceiver U5, the 6th filtered electrical
Hold C10, impedance matching resistor R3, CANH jointing JP1 and CANL jointing JP2, the chip model of CAN transceiver U5 is
TLE6250GV33, TxD transmitting terminal, the receiving end RxD respectively with the CAN-TX transmitting terminal of microcontroller CPU, the receiving end CAN-RX
It is connected, CANH signal end, CANL signal end are connected with CANH jointing JP1, CANL jointing JP2 respectively, VCC signal
End and V33 signal end are connected with+5V power interface the P1 of power circuit 1 again after being connected, GND signal end and INH signal end with it is electric
The PGND ground terminal P2 of source circuit 1 is connected, and the 1# pin and 2# pin of impedance matching resistor R3 is respectively with CAN transceiver U5's
CANH signal end is connected with CANL signal end, and the 1# pin and 2# pin of the 6th filter capacitor C10 is respectively with CAN transceiver U5's
VCC signal end is connected with GND signal end, and the resistance of impedance matching resistor R3 is 120 Ω, the capacitance of the 6th filter capacitor C10
It is respectively 100 μ F, 16V with pressure voltage.
The course of work of the utility model is as follows: (1) by the DC voltage-stabilizing of+12V of power input plug J1 connection outsourcing
The plug of speed probe is connect by power supply with revolving speed reshaping signal accessory power outlet Z2.(2) pass through tach signal shaping circuit 2
After signals of rotational speed sensor shaping, the CC20 to microcontroller CPU is sent to capture comparison signal end, as built in microcontroller CPU
Outsourcing TT&C software measurement obtain the tachometer value of speed probe.(3) microcontroller CPU is by measured speed probe
Tachometer value sent at SPI signal to voltage signal and electric current loop letter by the synchronous serial SPI interface conversion of microcontroller CPU
Number generative circuit obtains the voltage signal with isolation, the electric current ring signal that band is isolated.(4) microcontroller CPU turns measured
The tachometer value of fast sensor obtains CAN bus based serial data signal by the CAN interface circuit of microcontroller CPU.
Above description is only a specific implementation of the present invention, but the protection scope of the utility model is not limited to
In this, anyone skilled in the art within the technical scope disclosed by the utility model, can be readily occurred in various
Equivalent modifications or substitutions, these modifications or substitutions should be covered within the scope of the utility model.Therefore, this is practical
Novel protection scope should be subject to the protection scope in claims.