The utility model content
For solving the problem that exists in the prior art; The utility model provides a kind of board units, and said board units is provided with power consumption module, power supply and sampling resistor, and said power consumption module comprises processor; Said sampling resistor is connected between said power supply and the said power consumption module
Said processor comprises the sample rate current value I that measures said sampling resistor
RMeasuring unit, and,
The detecting unit that is connected with said measuring unit is according to sample rate current value I
RDraw the correlated sampling current value, through judging the correlated sampling current value I
RWhether with the size of preset standard threshold values, it is unusual to detect said board units.
The board units that the utility model provides through the sampling resistor of between power consumption module and power supply, connecting, is measured the sample rate current value I of sampling resistor by processor
RDraw the correlated sampling current value, through judging the correlated sampling current value I
RWhether with the size of preset standard threshold values, it is unusual to detect said board units, and this scheme need not external checkout equipment just can the testing circuit fault; Can detect the OBU current state in real time, realize the fault detection capability of board units from semi-manufacture detection, finished product detection, transaction to distribution or the like a series of processes, not only implementation cost is low; Testing mechanism is simple, and consistance is strong, and testing result is precisely effective; Eliminated the possibility of flase drop, omission; Prolonged the serviceable life of board units, avoided getting into behind the board units false wake-up deadlock state or software and run the phenomenon that flies and take place, made the later stage reduce greatly the maintenance cost of board units.For large-scale mass production has the board units of quality testing mechanism reliably is provided, has also reduced the repair rate of product simultaneously.
Simultaneously, the board units that the utility model provides can form the different detection standard to the board units of different power consumption and performance through test, for the board units user provides detailed fault error message prompting mechanism; The combined function recovery mechanism; Not only make things convenient for the user, simplified the maintenance flow of board units after sale, also promoted the quality of product simultaneously; Further enlarged the market of board units, advanced the development of board units to intelligent direction.
Embodiment
Describe the preferred embodiment of the utility model in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, the sample disposal route of machine-processed detection failure of the board units applied current of present embodiment comprises:
S110, the sampling resistor of connecting between power supply and the power consumption module;
S120 is through the sample rate current value I of measuring unit measurement sampling resistor
R
S130, through detecting unit according to sample rate current value I
RDraw the correlated sampling current value, and judge correlated sampling current value and preset standard threshold values I
BSize, whether the inspection vehicle carrier unit unusual.
Referring to Fig. 2 a; The current detecting system that is applicable to board units 200 of present embodiment comprises power consumption module 210, sampling resistor 220 and power supply 230; Power consumption module 210 comprises processor (MCU) 211; Sampling resistor 220 is connected between power supply 230 and the power consumption module 210, and wherein, MCU211 also comprises the sample rate current value I that measures sampling resistor 220
RMeasuring unit 212, and according to sample rate current value I
RDraw the correlated sampling current value, through judging the size of correlated sampling current value and preset standard threshold values, the detecting unit 213 whether inspection vehicle carrier unit 200 is unusual.
The correlated sampling current value can be instruction validity current value in the present embodiment, and wherein, MCU211 also comprises timing unit 214, and timing unit 214 is used for the t1 moment before programmed instruction is carried out beginning, and the first sample rate current value I is measured in indication measurement unit 212
Rt1, and at programmed instruction execution end back t2 constantly, the second sample rate current value I is measured in indication measurement unit 212
Rt2And,
Detecting unit 213 calculates instruction validity current value, i.e. sample rate current value difference Δ I
R=I
Rt2-I
Rt1Referring to Fig. 2 b, in the present embodiment, the programmed instruction object of detection is " opening 13.56M Card Reader radio frequency ", preset standard threshold values I
BBe the standard value that tests out in the research and development design phase, the permissible error value is 5mA, and then the method for sampling of the programmed instruction instruction validity current value of " opening 13.56M Card Reader radio frequency " comprises:
S210, in the t1 moment before " opening 13.56M Card Reader radio frequency " programmed instruction is carried out beginning, the first sample rate current value I is measured in timing unit indication measurement unit
Rt1
S220, in the t2 moment after " opening 13.56M Card Reader radio frequency " programmed instruction is carried out end, the second sample rate current value I is measured in timing unit indication measurement unit
Rt2
S230, detecting unit calculate instruction validity current value, i.e. sample rate current value difference Δ I
R=I
Rt2-I
Rt1
S240, detecting unit decision instruction validity sample rate current value and preset standard threshold values I
BThe size detection board units whether unusual;
If (I
B+ 5)≤Δ I≤I
B, then instruction is carried out normally, and board units is not done any operation, if not in the error range that allows, execution in step S250 then;
S250 carries out the alarm prompting or changes exception handling over to, carries out power-off restoration.
Wherein, the resistance of sampling resistor 220 can be 1 ohm, then sample rate current value I
RBe converted into sample voltage value V
R1, and power consumption module 210 comprises at least one module in card reading module, radio-frequency module, acoustic control module or the Liquid Crystal Module.
Embodiment 2
Referring to Fig. 1, the sample processing mode of machine-processed detection failure of the board units applied current of present embodiment comprises:
S110, the sampling resistor of connecting between said power supply and the power consumption module;
S120 is through the sample rate current value I of measuring unit measurement sampling resistor
R
S130, through detecting unit according to sample rate current value I
RDraw the correlated sampling current value, and judge correlated sampling current value and preset standard threshold values I
BSize, whether the inspection vehicle carrier unit unusual.
Referring to Fig. 3; The current detecting system that is applicable to board units 300 of present embodiment comprises power consumption module 310, sampling resistor 320 and power supply 330; Power consumption module 310 comprises processor (MCU) 311; Sampling resistor 320 is connected between power supply 330 and the power consumption module 310, and wherein MCU311 also comprises the sample rate current value I that measures sampling resistor 320
RMeasuring unit 312, and according to sample rate current value I
RDraw the correlated sampling current value, through judging the size of correlated sampling current value and preset standard threshold values, the detecting unit 313 whether inspection vehicle carrier unit 300 is unusual.
The correlated sampling current value can be average transaction current value in the present embodiment; Wherein, MCU311 comprises timing unit 314; Timing unit 314 is used for said board units, and t1 picks up counting being waken up constantly, and the t that extremely said board units is accomplished transaction is in the period, and k=t is put in indication measurement unit 312 in the interval time of appointment
1+ t/n measures some sample rate current value I of said
sampling resistor 320
RtkAnd detecting unit 313 calculates average transaction current value, i.e. average sample current value
Wherein, on average the conclude the business method of sampling of current value comprises:
Be t/n (n>0) interval time that MCU is provided with appointment;
Put k=t in the interval time of appointment
1+ t/n measures the sample rate current value I of said sampling resistor 320
RtkPerhaps sample voltage value V
Rtk
Calculate average transaction current value through said MCU; When the resistance that comprises average sample current value
or
sampling resistor 220 is 1 ohm; Then sample rate current value IR is converted into sample voltage value VR1, and the current value of then on average concluding the business is average sample magnitude of voltage
and power consumption module 210 comprises at least one module in card reading module, radio-frequency module, acoustic control module or the Liquid Crystal Module.
Embodiment 3
Referring to Fig. 1, the board units applied current of present embodiment sample machine-processed detection failure processing mode comprise:
S110, the sampling resistor of connecting between power supply and the power consumption module;
S120 is through the sample rate current value I of measuring unit measurement sampling resistor
R
S230, through detecting unit according to sample rate current value I
RDraw the correlated sampling current value, and judge correlated sampling current value and preset standard threshold values I
BSize, whether the inspection vehicle carrier unit unusual.
Referring to Fig. 4; The current detecting system that is applicable to board units 400 of present embodiment comprises power consumption module 410, sampling resistor 420 and power supply 430; Power consumption module 410 comprises processor (MCU) 411; Sampling resistor 420 is connected between power supply 430 and the power consumption module 410, and wherein, MCU411 also comprises the sample rate current value I that measures sampling resistor 420
RMeasuring unit 412, and according to sample rate current value I
RDraw the correlated sampling current value, through judging the size of correlated sampling current value and preset standard threshold values, the detecting unit 413 whether inspection vehicle carrier unit 400 is unusual.
The power consumption module 410 of present embodiment also comprises the switch control unit 414 that is connected with measuring unit; Be used for opening respectively or close the power switch of each module of said power consumption module; And under the different on off states of each module, control the current sampling data that said measuring unit 412 is measured corresponding sampling resistor 420.
The correlated sampling current value can be the static current of lcd sampled value in the present embodiment; The method of sampling comprises: through switch control unit 414; Open or close the power switch of each module in the said power consumption module 410 respectively; Under the different on off states of each module, measure the current sampling data of corresponding sampling resistor 420 through measuring unit.
In the present embodiment; The reading card module is carried out current power dissipation and is detected; Opening or open separately the current power dissipation that designs when closing card reading module again after the card reading module separately is 35mA~40mA; If the sample rate current value not in this scope, is then stored detection record and got into the reparation pattern, repair this circuit.
Wherein, the resistance of sampling resistor 420 can be 1 ohm, then sample rate current value I
RBe converted into sample voltage value VR1.
Wherein, power consumption module 210 has comprised at least one module in card reading module, radio-frequency module, acoustic control module or the Liquid Crystal Module.
The embodiment of the utility model is not only limited to above-mentioned preferred embodiment, through the sampling resistor of between power consumption module and power supply, connecting, is measured the sample rate current value I of sampling resistor by processor
RDraw the correlated sampling current value, through judging the correlated sampling current value I
RSize with the preset standard threshold values; Whether detect said board units unusual; This scheme need not external checkout equipment just can the testing circuit fault; Can detect the OBU current state in real time, realize the fault detection capability of board units from semi-manufacture detection, finished product detection, transaction to distribution or the like a series of processes.
The cost that said board units is not only implemented is low; Testing mechanism is simple, and consistance is strong, and testing result is precisely effective; Eliminated the possibility of flase drop, omission; Prolonged the serviceable life of board units, avoided getting into behind the board units false wake-up deadlock state or software and run the phenomenon that flies and take place, made the later stage reduce greatly the maintenance cost of board units.For large-scale mass production has the board units of quality testing mechanism reliably is provided, has also reduced the repair rate of product simultaneously.
Simultaneously, the board units that the utility model provides can form the different detection standard to the board units of different power consumption and performance through test, for the board units user provides detailed fault error message prompting mechanism; The combined function recovery mechanism; Not only make things convenient for the user, simplified the maintenance flow of board units after sale, also promoted the quality of product simultaneously; Further enlarged the market of board units, advanced the development of board units to intelligent direction.