Summary of the invention
In view of this, the utility model embodiment provides a kind of steering engine current detection circuit and system, it is intended to solve to pass
Pcb board area, the problem that applicable current detection range is small and versatility is low are wasted present in the current detection technology of system.
The first aspect of the utility model embodiment provides a kind of steering engine current detection circuit, comprising:
For providing the first DC power supplier of DC signal;
The control module of current detection range is controlled to adjust for output regulation signal;
It is connect with first DC power supplier, the half-bridge module triggered for current sample and overcurrent protection;
It is connect with the control module and the half-bridge module, the pressure in conducting internal resistance for acquiring the half-bridge module
Signal is dropped, and chooses the first digital regulation resistance of first resistor value according to the adjustment signal;
It is connect with the control module and the half-bridge module, the pressure in conducting internal resistance for acquiring the half-bridge module
Signal is dropped, and chooses the second digital regulation resistance of second resistance value according to the adjustment signal;And
It is connect with first digital regulation resistance and second digital regulation resistance, is configured as receiving the pressure drop letter
Number, and after adjusting according to the first resistor value and the second resistance value amplifier gain of itself, by the pressure drop signal into
Row enhanced processing and the amplifier module exported.
Optionally, the half-bridge module includes:
First switch tube and second switch;
The input terminal of the first switch tube connects the DC power supplier, the output end connection of the first switch tube
The input terminal of the second switch;The output end of the second switch is grounded.
Optionally, the first digital current potential chip is respectively adopted in first digital regulation resistance and second digital regulation resistance
It is realized with the second digital current potential chip;
The resistance value of the first digital current potential chip and the second digital current potential chip include 5K Ω, 10K Ω,
50K Ω and 100K Ω.
Optionally, the control module is single-chip microcontroller;
The first controlled pin and second that the single-chip microcontroller passes through IC bus and the first digital current potential chip
Controlled pin connection, by the first controlled pin and second of IC bus and the second digital current potential chip by keyholed back plate
Foot connection.
Optionally, the amplifier module includes operational amplifier,
The normal phase input end of the operational amplifier connects the first output pin and the of the described first digital current potential chip
Two output pins, the inverting input terminal of the operational amplifier connect the described second digital current potential chip the first output pin and
Second output pin.
Optionally, above-mentioned steering engine current detection circuit further includes the first decoupling capacitance and the second decoupling capacitance;
The first end of first decoupling capacitance connects the power pin of the described first digital current potential chip, the second termination
Ground;The first end of second decoupling capacitance connects the power pin of the described second digital current potential chip, second end ground connection.
Optionally, above-mentioned steering engine current detection circuit further includes the second DC power supplier;
Second DC power supplier be configured as to first digital regulation resistance, second digital regulation resistance with
And the amplifier module for power supply.
The second aspect of the utility model embodiment provides a kind of steering engine current detecting system, including above-mentioned steering engine electricity
Current detection circuit further includes motor, and the stator winding of the motor connects the half-bridge module.
A kind of above-mentioned steering engine current detection circuit and system pass through control module and control to adjust the first digital regulation resistance
The second resistance value of first resistor value and the second digital regulation resistance, to adjust the gain of amplifier module, thus having no need to change
In the case where the hardware of circuit, achieve the effect that the versatility widened current detection range, improve circuit.In addition, directlying adopt
The conducting internal resistance of half-bridge module is sampling resistor, it is not necessary that additionally concatenation power resistor is reached with carrying out current sample in circuit
The effect saved pcb board area, reduce cost, solve waste pcb board area present in traditional current detection technology,
The problem that applicable current detection range is small and versatility is low.
Specific embodiment
In order to make the purpose of the utility model, technical solutions and advantages more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention will be further described in detail.It should be appreciated that specific embodiment described herein is only used to explain
The utility model is not used to limit the utility model.
Referring to Fig. 1, the modular structure schematic diagram of the steering engine current detection circuit provided for an embodiment of the present invention,
For ease of description, only the parts related to this embodiment are shown, and details are as follows:
A kind of steering engine current detection circuit, including the first DC power supplier 10, control module 20, half-bridge module 30,
One digital regulation resistance 40, the second digital regulation resistance 50 and amplifier module 60.
First DC power supplier 10 is for providing DC signal.
Control module 20 is for output regulation signal to control to adjust current detection range.
Half-bridge module 30 is connect with the first DC power supplier 10, is triggered for current sample and overcurrent protection.
First digital regulation resistance 40 is connect with control module 20 and half-bridge module 30, for acquiring the conducting of half-bridge module 30
Pressure drop signal in internal resistance, and first resistor value is chosen according to adjustment signal.
Second digital regulation resistance 50 is connect with control module 20 and half-bridge module 30, for acquiring the conducting of half-bridge module 30
Pressure drop signal in internal resistance, and second resistance value is chosen according to adjustment signal.
Amplifier module 60 is connect with the first digital regulation resistance 40 and the second digital regulation resistance 50, for receiving pressure drop letter
Number, and after adjusting according to first resistor value and second resistance value the amplifier gain of itself, pressure drop signal is amplified into processing simultaneously
Output.
Wherein, the first DC power supplier 10 is that half-bridge module 30 provides DC signal.Control module 30 uses monolithic
Machine is realized;In an alternative embodiment, by iic bus, (Inter-IntegratedCircuit integrates electricity to control module 30
Road bus) it is connect with the first digital regulation resistance 40 and the second digital regulation resistance 50, pass through serial data line (Fig. 1 in iic bus
Indicated using MCU_SDA) to 50 output regulation signal of the first digital regulation resistance 40 and the second digital regulation resistance, pass through iic bus
In serial time clock line (Fig. 1 using MCU_SCL indicate) control to adjust the output of signal.
The conducting internal resistance of half-bridge module 30 is the internal resistance that half-bridge module internal element is generated in conducting, with half-bridge module 30
Conducting internal resistance as sampling resistor carry out current sample, without additionally concatenating power resistor, to carry out current sample, save
Pcb board area, reduces costs.
A kind of above-mentioned steering engine current detection circuit controls to adjust the first of the first digital regulation resistance 40 by control module
The second resistance value of resistance value and the second digital regulation resistance 50, to adjust the gain of amplifier module, thus having no need to change electricity
In the case where the hardware on road, achieve the effect that the versatility widened current detection range, improve circuit.In addition, directlying adopt half
The conducting internal resistance of bridge module is that sampling resistor is reached without concatenating power resistor additionally in half-bridge module to carry out current sample
To the effect saved pcb board area, reduce cost, solves waste pcb board face present in traditional current detection technology
Product, the problem that applicable current detection range is small and versatility is low.
Referring to Fig. 2, being the Example Principles figure of steering engine current detection circuit shown in FIG. 1.For ease of description, it only shows
Part related to the present embodiment, details are as follows:
In an alternative embodiment, half-bridge module 30 includes first switch tube Q5 and second switch Q6.First switch tube
The input terminal of Q5 connects DC power supplier, the input terminal of the output end connection second switch Q6 of first switch tube Q5;It is described
The output end of second switch Q6 is grounded.The controlled end of first switch tube Q5 and second switch Q6 access driving signal, first
The working condition of switching tube Q5 and second switch Q6 are driven the control of signal, when there is driving signal to input controlled end, the
One switching tube Q5 and second switch Q6 ON operation.
The conducting internal resistance for current sample that the utility model half-bridge module 30 provides is provided by second switch Q6, when
When second switch Q6 ON operation, the internal resistance generated is that internal resistance is connected.
In a particular application, first switch tube Q5 and second switch Q6 is all made of NMOS tube and realizes, the grid of NMOS tube,
Drain electrode and source electrode respectively correspond first switch tube Q5 controlled end, input terminal and output end and second switch Q6 it is controlled
End, input terminal and output end.In an alternative embodiment, first switch tube Q5 and second switch Q6 can also use PMOS tube
It realizes, the grid of PMOS tube, source electrode and drain electrode respectively correspond controlled end, input terminal and the output end and the of first switch tube Q5
Controlled end, input terminal and the output end of two switching tube Q6.
Above-mentioned first switch tube Q5 and second switch Q6 forms one and half bridge networks, and technical solutions of the utility model mention
The quantity of the steering engine current detection circuit of confession, half bridge network of half-bridge module 30 can be more than or equal to 1.
Referring to Fig. 3, the Example Principles figure of the steering engine current detection circuit provided for another embodiment of the utility model.For
Convenient for explanation, only the parts related to this embodiment are shown, details are as follows:
Half-bridge module 30 includes: first switch tube Q5, second switch Q6, third switching tube Q7, the 4th switching tube Q8,
Five switching tube Q9, the 6th switching tube Q10.One and half bridge networks are formed by first switch tube Q5 and second switch Q6, third is opened
It closes pipe Q7 and the 4th switching tube Q8 and forms second half bridge network, the 5th switching tube Q9 and the 6th switching tube Q10 composition third
Half bridge network.
Wherein, first switch tube Q5, third switching tube Q7 and the 5th switching tube Q9 and 10 phase of the first DC power supplier
Connection is triggered for current sample and overcurrent protection.
Second switch Q6, the 4th switching tube Q8 and the 6th switching tube Q10 are switched with first switch tube Q5, third respectively
Pipe Q7 and the 5th switching tube Q9 are connected, and trigger for current sample and overcurrent protection.
In an embodiment of the utility model, the first DC power supplier 10 exports DC signal to first switch tube
What Q5, second switch Q6, third switching tube Q7, the 4th switching tube Q8, the 5th switching tube Q9 and the 6th switching tube Q10 were formed
In half-bridge module 30, half-bridge module 30 is made to generate three-phase alternating current, i.e. the U phase that first switch tube Q5 and second switch Q6 are generated
The V phase alternating current and the 5th switching tube Q9 and the 6th switching tube that alternating current, third switching tube Q7 and the 4th switching tube Q8 are generated
The W phase alternating current that Q10 is generated.
Specifically, the first digital regulation resistance 40 is connect with control module, and with second switch Q6, the 4th switching tube Q8 with
And the 6th at least any one connection in switching tube Q10, be configured as acquisition second switch Q6, the 4th switching tube Q8 and
Pressure drop signal in the conducting internal resistance of at least any one in 6th switching tube Q10, and the first electricity is chosen according to adjustment signal
Resistance value.
Second digital regulation resistance 50 is connect with control module 20, and with second switch Q6, the 4th switching tube Q8 and
At least any one connection in six switching tube Q10, is configured as acquisition second switch Q6, the 4th switching tube Q8 and the 6th
Pressure drop signal in the conducting internal resistance of at least any one in switching tube Q10, and second resistance value is chosen according to adjustment signal.
The input terminal of first switch tube Q5, third switching tube Q7 and the 5th switching tube Q9 connect the first DC power supplier
10, output end is separately connected the input terminal of second switch Q6, the 4th switching tube Q8 and the 6th switching tube Q10, second switch
The output end of pipe Q6, the 4th switching tube Q8 and the 6th switching tube Q10 are grounded.The first number of input terminal connection of second switch Q6
The pressure drop of word potentiometer 40 samples pin, and the pressure drop that output end connects the second digital regulation resistance 50 samples pin, the first number electricity
Position device 40 and the second digital regulation resistance 50 sample pin by the pressure drop of itself respectively and receive pressure drop signal.
Above-mentioned steering engine current detection circuit controls to adjust the first electricity of the first digital regulation resistance 40 by control module 20
The second resistance value of resistance value and the second digital regulation resistance 50, to adjust the gain of amplifier module 60, thus having no need to change electricity
In the case where the hardware on road, achieve the effect that the versatility widened current detection range, improve circuit.
In addition, directlying adopt any one of second switch Q6, the 4th switching tube Q8 and the 6th switching tube Q10 or more
The conducting internal resistance of item is sampling resistor, without additional at second switch Q6, the 4th switching tube Q8 and the 6th switching tube Q10
It concatenates power resistor and carries out current sample, achieved the effect that save pcb board area, reduced cost.
Fig. 3 illustrates only the steering engine current detection circuit of the utility model to the pressure in the conducting internal resistance of second switch Q6
The acquisition of signal drops, therefore what amplifier module 60 exported is that is detected is the current value of U phase alternating current.In a particular application,
Steering engine current detection circuit provided by the embodiment of the utility model may be implemented with second switch Q6, the 4th switching tube Q8 and
Any one or more conducting internal resistance in 6th switching tube Q10 is sampling resistor, to the U phase of three-phase alternating current, V phase and
Any one or more in the current value of W phase alternating current is detected, i.e., carries out low side current detecting to three-phase alternating current.This
Outside, steering engine current detection circuit provided by the embodiment of the utility model also may be implemented with first switch tube Q5, third switching tube
Any one or more conducting internal resistance in Q7 and the 5th switching tube Q9 is sampling resistor, to the U phase of three-phase alternating current, V
Mutually and any one of current value of W phase alternating current or it is multinomial detected, i.e., high side current inspection is carried out to three-phase alternating current
It surveys.
As an embodiment of the present invention, first switch tube Q5, second switch Q6, third switching tube Q7, the 4th are opened
It closes pipe Q8, the 5th switching tube Q9 and the 6th switching tube Q10 and is all made of NMOS tube realization.
Wherein, first switch tube Q5, second switch Q6, third switching tube Q7, the 4th switching tube Q8, the 5th switching tube Q9
And the 6th switching tube Q10 input terminal be NMOS tube drain electrode, output end be NMOS tube source electrode.First switch tube Q5,
Two switching tube Q6, third switching tube Q7, the 4th switching tube Q8, the 5th switching tube Q9 and the 6th switching tube Q10 there are also controlled end,
For the grid of NMOS tube, grid receive the pwm signal of single-chip microcontroller output to as driving signal, drive first switch tube Q5,
Second switch Q6, third switching tube Q7, the 4th switching tube Q8, the 5th switching tube Q9 and the 6th switching tube Q10 work.
Fig. 2 or Fig. 3 is please referred to, the first number electricity is respectively adopted in the first digital regulation resistance 40 and the second digital regulation resistance 50
The position number current potential chip U3 of chip U2 and second is realized;The resistance of the digital current potential chip U3 of first number current potential chip U2 and second
Value includes 5K Ω, 10K Ω, 50K Ω and 100K Ω.In a preferred embodiment, the first digital regulation resistance 40 and the second number
Word potentiometer 50 is all made of the digital current potential chip of model MCP4632.
As an embodiment of the present invention, control module 20 is single-chip microcontroller, and single-chip microcontroller passes through IC bus and the
The controlled pin (Fig. 2 and Fig. 3 are indicated using SCL pin) of the first of one digital current potential chip U2 and the second controlled pin (Fig. 2 and figure
3 are indicated using SDA pin) connection, pass through first controlled pin (Fig. 2 of IC bus and the second digital current potential chip U3
Indicated with Fig. 3 using SCL pin) and the second controlled pin (Fig. 2 and Fig. 3 are indicated using SDA pin) connection.
Single-chip microcontroller passes through IC bus output regulation signal to the first controlled pin of the first digital current potential chip U2
With the first controlled pin and the second controlled pin of the second controlled pin and the second digital current potential chip U3 so that the first number
The number current potential chip U3 of word current potential chip U2 and second chooses the first resistor value or second resistance value of itself according to adjustment signal,
To achieve the purpose that adjust the gain of control amplifier module, final effect is can to select and configure according to actual needs conjunction
Suitable current detection range, it is versatile without changing the hardware configuration of circuit.
As an embodiment of the present invention, amplifier module includes operational amplifier, the positive input of operational amplifier U1
The first output pin (Fig. 2 and Fig. 3 are indicated using P0W pin) and the second output pin of the digital current potential chip U2 of end connection first
(Fig. 2 is indicated using P1W pin), the first output of the digital current potential chip U3 of inverting input terminal connection second of operational amplifier U1
Pin (Fig. 2 and Fig. 3 are indicated using P0W pin) and the second output pin (Fig. 2 and Fig. 3 are indicated using P1W pin).
As an embodiment of the present invention, above-mentioned steering engine current detection circuit further includes the first decoupling capacitance C1 and
Two decoupling capacitance C2.Power pin (Fig. 2 and Fig. 3 of the digital current potential chip U2 of first end connection first of first decoupling capacitance C1
Indicated using VDD pin), second end ground connection;The electricity of the digital current potential chip U3 of first end connection second of second decoupling capacitance C2
Source capsule foot (Fig. 2 and Fig. 3 are indicated using VDD pin), second end ground connection.First decoupling capacitance C1 and the second decoupling capacitance C2 conduct
Capacitor is protected, the high-frequency interferencing signal in the power supply signal for inputting the first digit chip U2 and the second digit chip U3 can be filtered
It removes, the stable power supply signal of supply chip protects chip.
As an embodiment of the present invention, above-mentioned steering engine current detection circuit further includes the second DC power supplier,
It is configured as powering to the first digital regulation resistance 40, the second digital regulation resistance 50 and amplifier module 60.Second DC power supply mould
Block includes that the DC power supply (Fig. 2 and Fig. 3 are indicated using VCC1V_65 and VCC_3V3) for having preset voltage value is realized, presets electricity
The range of pressure value is 1.65V~3.3V.
Referring to Fig. 4, the Example Principles figure of the steering engine current detection circuit provided for another embodiment of the utility model.Under
Face illustrates under the premise of not concatenating power resistor by taking second switch Q6 as an example, how to realize in the conducting by switching tube
Hinder the sampling and detection to realize electric current.
The normal phase input end of operational amplifier, gain are accessed after the input terminal concatenation gain resistor R326 of second switch Q6
The first termination 1.65V DC power supply of resistance R328, second end are connected to the normal phase input end and gain resistor of operational amplifier
Between R326;The normal phase input end that operational amplifier is accessed after the output end concatenation gain resistor R327 of second switch Q6, increases
The output end of the first termination operational amplifier of beneficial resistance R329, second end are connected to normal phase input end and the increasing of operational amplifier
Between beneficial resistance R327.Wherein, gain resistor R326 is equal with the resistance value of gain resistor R327, gain resistor R328 and gain electricity
The resistance value for hindering R329 is equal.The conducting internal resistance of second switch Q6 is Ron, and the U phase alternating current of three-phase alternating current flows into motor 70
Electric current be Iu, then by operational amplifier output the corresponding voltage value of the current value detected are as follows: VI_u=1.65V+
(R328/R326)*Iu*Ron.Wherein, the ratio of R328/R326 is the gain of operational amplifier, in practical applications, can root
According to the difference of the conducting internal resistance Ron of second switch Q6, suitable gain resistor is selected.
Steering engine current detection circuit provided by the above embodiment, by directlying adopt second switch Q6, the 4th switching tube
Any one of Q8 and the 6th switching tube Q10 or multinomial conducting internal resistance are that sampling resistor carries out current detecting, without the
Power resistor is additionally concatenated under two switching tube Q6, the 4th switching tube Q8 and the 6th switching tube Q10 and carries out current sample, is reached
The effect saved pcb board area, reduce cost.
Fig. 4 illustrates only the steering engine current detection circuit of the utility model to the pressure in the conducting internal resistance of second switch Q6
The acquisition of signal drops, thus amplifier module 60 export be U phase alternating current in three-phase alternating current current value.In concrete application
In, steering engine current detection circuit provided by the embodiment of the utility model may be implemented with second switch Q6, the 4th switching tube Q8
And the 6th any one or more conducting internal resistance in switching tube Q10 is sampling resistor, U phase, V phase to three-phase alternating current
And any one or more in the current value of W phase alternating current is detected, i.e., carries out low side electric current to three-phase alternating current and examine
It surveys.In addition, steering engine current detection circuit provided by the embodiment of the utility model also may be implemented to open with first switch tube Q5, third
Any one or more conducting internal resistance closed in pipe Q7 and the 5th switching tube Q9 is sampling resistor, to the U of three-phase alternating current
Any one of current value of phase, V phase and W phase alternating current or it is multinomial detected, i.e., to three-phase alternating current carry out flash electricity
Stream detection.With first switch tube Q5, third switching tube Q7, the 4th switching tube Q8 the 5th switching tube Q9 and the 6th switching tube Q10
In any one or more conducting internal resistance be that sampling resistor carries out current detecting, and with the conducting internal resistance of second switch Q6
Similar for sampling resistor progress current detecting, details are not described herein.
The utility model embodiment second aspect provides a kind of steering engine current detecting system, including above-mentioned steering engine electric current
Detection circuit, further includes motor 70, and the stator winding of motor 70 connects half-bridge module 30.Half-bridge module 30 exports AC power supply
The work of machine 70 uses.
Specifically, Fig. 2 or Fig. 3 is please referred to, the stator winding of motor 70 is connected to first switch tube Q5 and second switch
Between Q6;Or it is connected between first switch tube Q5 and second switch Q6 respectively, third switching tube Q7 and the 4th switching tube Q8
Between and the 5th switching tube Q9 and the 6th switching tube Q10 between.
Above-mentioned steering engine current detection circuit and system control to adjust the of the first digital regulation resistance 40 by control module
The second resistance value of one resistance value and the second digital regulation resistance, to adjust the gain of amplifier module, thus having no need to change electricity
In the case where the hardware on road, achieve the effect that the versatility widened current detection range, improve circuit.In addition, directlying adopt half
The conducting internal resistance of bridge module internal element is sampling resistor, carries out current sample without additionally concatenating power resistor in circuit,
Achieve the effect that save pcb board area, reduced cost.
The above is only the preferred embodiments of the present utility model only, is not intended to limit the utility model, all practical at this
Made any modifications, equivalent replacements, and improvements etc., should be included in the guarantor of the utility model within novel spirit and principle
Within the scope of shield.