CN110007249A - A kind of LED light driving power test method, apparatus and system - Google Patents
A kind of LED light driving power test method, apparatus and system Download PDFInfo
- Publication number
- CN110007249A CN110007249A CN201910208024.9A CN201910208024A CN110007249A CN 110007249 A CN110007249 A CN 110007249A CN 201910208024 A CN201910208024 A CN 201910208024A CN 110007249 A CN110007249 A CN 110007249A
- Authority
- CN
- China
- Prior art keywords
- led drive
- drive power
- current signal
- signal
- data acquisition
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Led Devices (AREA)
Abstract
The invention discloses a kind of LED drive power test methods, apparatus and system, including data acquisition unit, power dissipating unit, control unit, data acquisition unit connects LED drive power to be measured, power dissipating unit controls the size of current that data acquisition unit obtains according to the feedback signal of data acquisition unit, control unit includes parameter setting module and fuzzy controller, parameter setting module is for setting testing standard, fuzzy controller is for judging whether collected current signal is equal with the testing standard of setting, if unequal, it then calculates adjustment amount and is sent to data acquisition unit, adjustment amount is sent to power dissipating unit by data acquisition unit, power dissipating unit adjusts the size of current of data acquisition unit acquisition according to adjustment amount and is allowed to equal with testing standard value.The present invention can export electric current to test macro and be finely adjusted, and solve the problems, such as that output electric current caused by outside electromagnetic interference influence is unstable, improve the accuracy of test result.
Description
Technical field
The invention belongs to LED drive power testing fields, and in particular to a kind of LED light driving power test method, device
And system.
Background technique
In recent years, LED illumination product is widely used in various occasions, and the quality of its driving power directly restricts LED
Luminescent quality and lighting system overall performance.To improve test accuracy, reducing simultaneously convenient for LED drive power quality testing
Testing cost generally uses LED test macro, rather than matched LED light source.LED is simulated using testing system device
Nonlinear load characteristic, to achieve the purpose that test its driving power.
Test macro currently used for LED drive power test generally uses A/D to sample and converts voltage and current signals
At digital signal input microprocessor, set target value is converted into analog quantity through D/A to control bearing power pipe output phase and answer electricity
Signal, to simulate the I-V characteristic of LED drive power.Due to outside electromagnetic interference, the defeated of LED drive power test macro is caused
Electric current and established standards value have error out, to cause the accuracy of LED drive power test macro not high.
Summary of the invention
The present invention is that solution is above-mentioned in the prior art due to outside electromagnetic interference, causes LED drive power test macro
Output electric current and established standards value have error, so that the problem for causing the accuracy of LED drive power test macro not high, provides
A kind of LED light driving power test method is finely adjusted, to mention by exporting electric current to LED drive power test macro
The control precision of high LED drive power test macro reduces measurement error.
To achieve the goals above, technical scheme is as follows:
A kind of LED drive power test method, comprising:
S1: setting testing standard value;
S2: obtaining test information, and the test information includes current signal, if collected current signal is not equal to setting
Testing standard when, then calculate adjustment amount and adjust collected current signal;
S3: collected current signal is adjusted using fuzzy control method, collected current signal is made to be equal to setting
Testing standard.
Further, the fuzzy control method in the step S3 includes:
Two dimensional control structure is chosen, determines that the input quantity and output quantity of fuzzy control, the input quantity of the fuzzy control are matched
It is set to the error e of input current and the change rate ec of error e, the output quantity of the fuzzy control is configured to the variation of current signal
Amount E (t) is time point corresponding input current error amount, KpFor ratio system
Number, KiFor integral coefficient, K is adjustedpAnd KiTo adjust output quantity;
Be arranged the fuzzy control input quantity and output quantity Linguistic Value fuzzy subset be NB, NM, NS, ZO, PS, PM,
PB }, the domain that the input quantity is arranged is [- 6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6], and the output quantity is arranged
Fuzzy domain is [- 1,1], then adds input quantity and output quantity subordinating degree function;
The subordinating degree function of input quantity and output quantity selects trigonometric function, and the horizontal axis of trigonometric function is the opinion of the input quantity
Domain, the longitudinal axis are (0,1), select the subordinating degree function after the triangular function to directly generate, each on the domain
Value has in the subordinating degree function corresponding is subordinate to angle value;
Fuzzy control rule is formulated, when test error is big, enhances Kp, reduce Ki, and when test error is smaller, reduce Kp,
Enhance Ki;
The output quantity that two input quantities are obtained through fuzzy control rule reasoning is fuzzy quantity, to the fuzzy quantity of the output quantity
Ambiguity solution is carried out, maximum value center method is chosen as ambiguity solution method, output fuzzy quantity is converted to specific on fuzzy domain
It is worth, while becomes the accurate amount of output quantity multiplied by corresponding scale factor, the accurate amount of the output quantity is initial plus PI parameter
Value is input to PI controller as new PI parameter, to complete the adjustment of primary current signal.
Further, in the step S2, the test information further includes voltage signal, first believes collected voltage
It number is compared with the voltage signal of setting, when collected voltage signal is equal to the voltage signal of setting, then will collect
Current signal be compared with the current signal of setting.
The present invention is that solution is above-mentioned in the prior art due to outside electromagnetic interference, causes LED drive power test macro
Output electric current and established standards value have error, so that the problem for causing the accuracy of LED drive power test macro not high, provides
A kind of LED light driving power test device is finely adjusted, to mention by exporting electric current to LED drive power test macro
The control precision of high LED drive power test macro reduces measurement error.
A kind of LED drive power test device provided by the invention, comprising:
Input module, for setting testing standard;
Acquisition module for collecting test information and is transferred to comparison module;
Collected test information is compared by comparison module with the testing standard of setting, and the test information includes
Current signal calculates adjustment amount by calculating adjustment module if collected current signal is not equal to the testing standard set;
Adjustment module is calculated, if collected current signal is not equal to the current signal set, calculates adjustment module meter
It calculates adjustment amount and sends adjustment instruction, collected current signal is made to be equal to the testing standard of setting.
Further, the calculating adjustment module carries out calculating adjustment amount using method according to claim 2.
The present invention is that solution is above-mentioned in the prior art due to outside electromagnetic interference, causes LED drive power test macro
Output electric current and established standards value have error, so that the problem for causing the accuracy of LED drive power test macro not high, provides
A kind of LED light driving power test macro is finely adjusted, to mention by exporting electric current to LED drive power test macro
The control precision of high LED drive power test macro reduces measurement error.
A kind of LED drive power test macro provided by the invention, comprising:
LED drive power to be measured;
Data acquisition unit, the data acquisition unit connect LED drive power to be measured, for acquiring LED driving to be measured
The current signal of power supply is simultaneously sent to control unit;
Power dissipating unit, the power dissipating unit is separately connected LED drive power to be measured and data acquisition is single
Member, the power dissipating unit are big according to the electric current that the feedback signal of the data acquisition unit controls data acquisition unit acquisition
It is small;
Control unit, described control unit include parameter setting module and fuzzy controller, and the parameter setting module is used
In setting testing standard, the fuzzy controller for judge collected current signal whether the testing standard phase with setting
Deng if unequal, calculating adjustment amount and be sent to data acquisition unit, adjustment amount is sent to by the data acquisition unit
The power dissipating unit, the power dissipating unit adjust the size of current of data acquisition unit acquisition according to adjustment amount and make
It is equal with testing standard value.
Further, described control unit further include:
Data disaply moudle, for show the operating voltage, operating current of the LED drive power measured, conducting voltage and
Intrinsic resistance.
Further, the data acquisition unit includes:
Voltage signal acquisition module, for acquiring the voltage signal of LED drive power to be measured;
Current signal collection module, for acquiring the current signal of LED drive power to be measured;
Data collecting card, the data collecting card are separately connected described control unit and the power dissipating unit, by institute
It states collected voltage and current signal and is transferred to control unit, and the control signal of reception control unit is transferred to the power
Consumable unit.
Further, the data acquisition unit further includes signal conditioning module, for by the collected voltage and
Data collecting card is transferred to after current signal adjustment.
Further, the power dissipating unit includes:
Switch element, the linear zone of the switch element is as variable resistance, by controlling the switching elements conductive amount
Internal resistance is set to change to control size of current;
Driving circuit, the driving circuit are separately connected data collecting card and the switch element, adopt for receiving data
The control signal of truck transmission simultaneously controls the switch element.
Compared with prior art, the beneficial effects of the present invention are:
1, a kind of LED light driving power test method disclosed by the invention will test system by using fuzzy control method
It is dry by external electromagnetic to solve LED drive power test macro in the prior art in range of set value for output signal of uniting control
The problem that the influence disturbed easily causes test result accuracy not high, so that the test for improving LED drive power test macro is quasi-
Exactness;
2, a kind of LED light driving power test macro disclosed by the invention is adopted by using power dissipating unit connection signal
Collect unit, the field-effect tube in power dissipating unit controls current acquisition module according to the feedback signal of data acquisition unit and obtains
Size of current;
3, a kind of LED light driving power test macro disclosed by the invention is arranged selection using software and saves this ginseng
Number, so that test next time calls directly, to reduce the workload of tester;
4, a kind of LED light driving power test macro disclosed by the invention, collect by comparing voltage signal whether be
Established standards value is then alarmed if not established standards value, and solve that test result in the prior art do not warn asks
Topic, to have the function that tester is reminded to pay attention to.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of LED drive power test method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of LED drive power test macro provided in an embodiment of the present invention;
Fig. 3 is a kind of overall circuit figure of LED drive power test macro provided in an embodiment of the present invention;
Fig. 4 is the circuit diagram of voltage acquisition module provided in an embodiment of the present invention;
Fig. 5 is the circuit diagram of current acquisition module provided in an embodiment of the present invention;
Fig. 6 is the circuit diagram of power dissipating unit provided in an embodiment of the present invention;
Fig. 7 is a kind of LED drive power test macro data collecting card interface connection figure provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
As the embodiment of the present invention, the stream of a kind of LED drive power test method of the embodiment of the present invention as shown in figure 1
Cheng Tu, this method is suitable for LED drive power test macro, to be measured by setting on computer LabVIEW platform front panel
LED drive power testing standard value (current value, voltage value and resistance coefficient), the signal that voltage and current acquisition module is acquired
It is compared with established standards value, collected current signal is judged whether within the scope of established standards value, when collected electricity
Signal is flowed not in setting setting range, then exports fine tuning entire signal, specifically, the method is as follows:
S1: setting testing standard value;
S2: obtaining test information, and test information includes current signal, if collected current signal is not equal to the survey of setting
Test-object is punctual, then calculates adjustment amount and adjust collected current signal;
S3: collected current signal is adjusted using fuzzy control method, collected current signal is made to be equal to setting
Testing standard.
Further, the present invention calculates adjustment amount using fuzzy control method come fine-adjusting current signal, makes collected electricity
It flows signal and is equal to setting testing standard value, improve the accuracy of test macro, specifically, use LabVIEW fuzzy control tool
The fuzzy controller that packet Fuzzy Logic is built calculates adjustment amount, which includes:
Two dimensional control structure is chosen, determines that the input quantity and output quantity of fuzzy control, the input quantity of fuzzy control are configured to
The error e of input current and the change rate ec of error e, the output quantity of fuzzy control are configured to the variation of collected circuit signal
Amount E (t) is time point corresponding input current error amount, KpFor ratio system
Number, KiFor integral coefficient, K is adjustedpAnd KiTo adjust output electric current;Specifically, the error e of above-mentioned input current is currently to examine
The current value measured subtracts each other with set both current values, i.e. error e=ISetting-ISampling;The change rate ec of above-mentioned error is to miss
Poor derivation value;
The fuzzy subset of input quantity and output quantity Linguistic Value that fuzzy control is arranged is { NB, NM, NS, ZO, PS, PM, PB },
Be arranged input quantity domain be [- 6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6], be arranged output quantity fuzzy domain be [-
1,1], input quantity and output quantity subordinating degree function are then added;
The subordinating degree function of input quantity and output quantity selects trigonometric function, and the horizontal axis of trigonometric function is domain, the longitudinal axis be (0,
1), select subordinating degree function after triangular function that can directly generate, each value on domain has in subordinating degree function
It is corresponding to be subordinate to angle value;
Fuzzy control rule is formulated, when test error is big, enhances Kp, reduce Ki, and when test error is smaller, reduce Kp,
Enhance Ki;
The output quantity that two input quantities are obtained through fuzzy control rule reasoning is fuzzy quantity, is carried out to the fuzzy quantity of output quantity
Ambiguity solution chooses maximum value center method as ambiguity solution method, output fuzzy quantity is converted to the particular value on fuzzy domain, together
When become the accurate amount of output quantity multiplied by corresponding scale factor, the accurate amount of output quantity is plus PI initial parameter value as newly
PI parameter is input to PI controller, to complete the adjustment of primary current signal.
Specifically, the aforementioned proportion factor is total gain of fuzzy controller, is fuzzy controller ambiguity solution module parameter.
(adjustment process: initial value 1 can be set, system dynamic response process is too long with regard to the scaling up factor, and system oscillation obviously just subtracts
Few scale factor.) the aforementioned proportion factor be Kpf, which is
Kpf=Δ KpMaximum value/domain maximum value.
Specifically, above-mentioned PI parameter refers to proportionality coefficient and integral coefficient in fuzzy control.
Further, in above-mentioned step S2, test information further includes voltage signal, first by collected voltage signal
It is compared with the voltage signal of setting, when collected voltage signal is equal to the voltage signal of setting, then will be collected
Current signal is compared with the current signal of setting;When voltage signal of the collected voltage signal not equal to setting, meter
Calculation machine LabVIEW platform front panel alarm lamp lights, prevent because test macro output voltage it is excessive caused by LED drive power
Damage influences the test result of LED drive power because test macro output voltage is too small.
As the embodiment of the present invention, the present invention provides a kind of LED drive power test devices, applied to above-mentioned LED
Driving power test method, the device include:
Input module, for setting testing standard;
Acquisition module for collecting test information and is transferred to comparison module;
Collected test information is compared by comparison module with the testing standard of setting, and test information includes electric current
Signal calculates adjustment amount by calculating adjustment module if collected current signal is not equal to the testing standard set;
Adjustment module is calculated, if collected current signal is not equal to the current signal set, calculates adjustment module meter
It calculates adjustment amount and sends adjustment instruction, collected current signal is made to be equal to the testing standard of setting.
Further, it calculates adjustment module and calculating adjustment amount is carried out using above-mentioned fuzzy control method.
As the embodiment of the present invention, the present invention provides a kind of LED drive power test macros, applied to above-mentioned LED
Driving power test method, as shown in Fig. 2, the system includes data acquisition unit, power dissipating unit and control unit,
In, data acquisition unit connects LED drive power to be measured, for acquiring the information of LED drive power to be measured, power dissipating unit
It is separately connected LED drive power to be measured and data acquisition unit, power dissipating unit is according to the feedback signal of data acquisition unit
The size of current that data acquisition unit obtains is controlled, control unit includes parameter setting module and fuzzy controller, parameter setting
For module for setting testing standard, setting testing standard value is respectively quiescent potential, operating point electric current and working ressitance system
Number, fuzzy controller is for judging whether collected current signal is equal with the testing standard of setting, if unequal, counts
It calculates adjustment amount and is sent to data acquisition unit, adjustment amount is sent to power dissipating unit, power consumption by data acquisition unit
Unit adjusts the size of current of data acquisition unit acquisition according to adjustment amount and is allowed to equal with testing standard value.
Further, control unit further includes data disaply moudle, for showing the work electricity of the LED drive power measured
Pressure, operating current, conducting voltage and intrinsic resistance.
As a specific embodiment of the invention, as shown in Fig. 2, data acquisition unit include voltage signal acquisition module,
Current signal collection module and data collecting card, voltage signal acquisition module connects LED drive power to be measured, to be measured for acquiring
The voltage signal of LED drive power, current signal collection module connect LED drive power to be measured, for acquiring LED driving to be measured
The current signal of power supply, data collecting card connects control unit and power dissipating unit, by collected voltage and current signal
It is transferred to control unit, and the control signal of reception control unit is transferred to power dissipating unit.
Specifically, a specific embodiment as voltage acquisition module in the embodiment of the present invention, as shown by B in fig. 3, B
Enlarged drawing for voltage acquisition module, B refers to Fig. 4, and voltage acquisition module includes operational amplifier U1, resistance RaWith resistance Rb, electricity
Hinder RaWith resistance RbOne end after series connection connects field-effect tube Q1Drain electrode, resistance RaWith resistance RbOther end ground connection after series connection,
Resistance RaWith resistance RbForm bleeder circuit, resistance RbVoltage as operational amplifier U1Input signal, operational amplifier U1
Form voltage follower, operational amplifier U1Output end connection data collecting card AI0 foot, test macro output voltage warp
Output meets the voltage of data collecting card voltage acquisition range after voltage acquisition module processing, and through voltage acquisition module, treated
VoltageUOutputFor the output voltage (the as output voltage of test macro) of LED drive power.
Preferably, can configure at least one adjustable resistance in the bleeder circuit of the voltage acquisition module, so that the voltage is adopted
Collection module is suitable for improving the output voltage of a variety of different test macros.Voltage acquisition module output end connects data collecting card
AI0 mouthfuls, voltage acquisition module will be defeated after collected LED drive power output voltage to be measured after conditioning (ratio enlargement or diminution)
Meet the signal of data collecting card analog quantity range out, it is single through control after the voltage transmission to control unit after corresponding conditioning
Member is compared with setting voltage again after zooming in or out.
Specifically, a specific embodiment as current acquisition module in the embodiment of the present invention, as shown in C in Fig. 3, C
Enlarged drawing for current acquisition module, C refers to Fig. 5, and current acquisition module includes resistance R4, operational amplifier U5, resistance Rb1, electricity
Hinder Rb2, resistance Rb3With resistance Rb4, resistance R4One end connects field-effect tube Q1Source level, resistance R4The other end connect LED to be measured
The cathode of driving power, as field-effect tube Q1When conducting, resistance R4Both end voltage is equal to the output voltage of test macro, resistance R4
Electric current be test macro output electric current, i.e. the output electric current of test macroResistance R simultaneously4Both ends difference
Connect operational amplifier U5Non-inverting input terminal and reverse input end, operational amplifier U5, resistance Rb1, resistance Rb2, resistance Rb3With
Resistance Rb4Form subtracter, operational amplifier U5Output end connection data collecting card AI1 foot, collected electric current is transmitted
To data collecting card, after being computed, the collected electric current ISampling=IOutput。
Specifically, a specific embodiment as data collecting card in the embodiment of the present invention, such as Fig. 7, data collecting card
It can according to need the different analog quantity ranges of selection, data collecting card of the present invention uses USB-3102A, the mould of data collecting card
Analog quantity range is positive and negative 10V, and data collecting card connects control unit by USB interface, and simultaneous data-collecting card connection voltage is adopted
Collect module, current acquisition module and driving circuit.Specifically, the control signal of control unit is exported through USB port adopts to data
Truck controls AO1 port transmission of the signal through data collecting card to driving circuit, and the output voltage of data collecting card is configured as
Input voltage Vref, which exports after driving circuit improves meets the voltage that LED drive power to be measured works.
Preferably, signal acquisition unit further includes signal conditioning module, it is used for collected voltage and current signal
Data collecting card is transferred to after adjustment;Signal conditioning module can be respectively configured in data collecting card input and output end, by other moulds
The signal condition of block output is the signal acquired for data collecting card, while being by the signal condition of data collecting card output can
For the signal that subsequent module works normally, voltage acquisition module of the invention, current acquisition module and driving circuit have signal
The effect or configuration signal conditioning module work of conditioning, the input of data collecting card and output signal are adjusted.
As the embodiment of the present invention, power dissipating unit includes switch element and driving circuit, wherein the line of switch element
Property area as variable resistance, so that internal resistance is changed by control switch element conductive amount to control output size of current, driving
Circuit connection data capture card and switch element, the control signal and control switch element that capture card transmits for receiving data.
Specifically, a specific embodiment as power dissipating unit in the embodiment of the present invention, as shown in the A in Fig. 3,
A is power dissipating unit, and the enlarged drawing of A refers to Fig. 6, and power dissipating unit is by driving circuit and field-effect tube Q1Composition, wherein
Driving circuit includes operational amplifier U2, operational amplifier U3, operational amplifier U4, resistance R2, resistance R3, resistance R5With resistance R6
Composition.
Specifically, resistance R2With resistance R3And operational amplifier U2Constitute reverse phase proportion operational amplifier, operational amplifier U2
Inverting input terminal through resistance R2Connect data collecting card, operational amplifier U2Non-inverting input terminal ground connection, operational amplifier U2's
Output end is through resistance R5Connect operational amplifier U4Inverting input terminal, resistance R6And operational amplifier U4Constitute reverse phase ratio fortune
Calculate amplifier, resistance R6Both ends be separately connected operational amplifier U4Inverting input terminal and output end, operational amplifier U4It is same
Phase input end grounding, therefore, operational amplifier U2With operational amplifier U4Constitute multiplier, operational amplifier U4Output end connection
Operational amplifier U3Non-inverting input terminal, operational amplifier U3Constitute voltage follower, operational amplifier U3Output end connect field
Effect pipe Q1Grid, input voltage VrefThrough operational amplifier U2, operational amplifier U3With operational amplifier U4After export to field
Effect pipe Q1Grid, field-effect tube Q1Source electrode connect LED drive power to be measured as the output end of test macro, then field is imitated
It should pipe Q1The voltage of grid
When driving circuit output voltage is greater than or equal to the operating voltage of LED drive power to be measured, field-effect tube Q1It leads
Logical, test macro output voltage is equal to field-effect tube Q1Grid voltage, i.e.,When driving circuit exports electricity
When pressure is less than the operating voltage of LED drive power to be measured, field-effect tube Q1Cut-off, test macro output voltage are 0.
To make driving circuit preferably work, present invention driver circuit is provided with capacitor C1, capacitor C2, capacitor C3And electricity
Hold C4, capacitor C1Both ends be separately connected operational amplifier U2Inverting input terminal and output end, capacitor C2Both ends be separately connected
Operational amplifier U4Inverting input terminal and output end, capacitor C3Both ends be separately connected negative supply VEE and ground, capacitor C4Two
End is separately connected positive supply VCC and ground, and positive supply VCC and negative supply VEE are respectively operational amplifier U2, operational amplifier U3With
Operational amplifier U4Power supply.
Preferably, in driving circuit and resistance that operational amplifier is used cooperatively can configure 1 at least as adjustable electric
Resistance, so that test macro is suitable for testing the LED drive power of different parameters.
Working principle of the present invention is as follows:
The value of voltage needed for setting test, electric current and LED resistance coefficient on computer LabVIEW platform front panel,
Then control unit exports control signal to data collecting card by USB interface, and data collecting card connects driving circuit, control letter
It exports number after driving circuit to the grid of field-effect tube Q1, the drain electrode of field-effect tube Q1 connects LED drive power to be measured, voltage
Acquisition module connects the drain electrode of field-effect tube Q1, and the output voltage of voltage acquisition module collecting test system is transferred to data acquisition
Output voltage is transferred to control unit by card, data collecting card, and control unit is by the voltage of collected voltage signal and setting
Signal is compared, if collected voltage signal is consistent with the voltage signal of setting, continues more collected electric current letter
It is number whether consistent with the current signal of setting, if current signal unanimously if continue to acquire signal and be compared, if current signal is not
Consistent then control unit calculates adjustment amount by fuzzy controller and is finely adjusted to the current signal of acquisition, if collected voltage
Signal and the voltage signal of setting are inconsistent, then control unit front panel alarm lamp lights, and then reset on front panel
Voltage signal is then tested.
To sum up, a kind of LED drive power test method disclosed by the invention, apparatus and system, which can be realized, drives LED
Power detecting system output electric current is finely adjusted, so that LED drive power is surveyed caused by solving because of outside electromagnetic interference influence
The bad problem of the stability of test system, improves the accuracy of the test result of LED drive power.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or
Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of LED drive power test method characterized by comprising
S1: setting testing standard value;
S2: obtaining test information, and the test information includes current signal, if collected current signal is not equal to the survey of setting
Test-object is punctual, then calculates adjustment amount and adjust collected current signal;
S3: collected current signal is adjusted using fuzzy control method, collected current signal is made to be equal to the test of setting
Standard.
2. a kind of LED drive power test method according to claim 1, which is characterized in that the mould in the step S3
Fuzzy control method includes:
Two dimensional control structure is chosen, determines that the input quantity and output quantity of fuzzy control, the input quantity of the fuzzy control are configured to
The error e of input current and the change rate ec of error e, the output quantity of the fuzzy control are configured to the variable quantity of current signal E (t) is time point corresponding input current error amount, KpFor ratio system
Number, KiFor integral coefficient, K is adjustedpAnd KiTo adjust output quantity;
The fuzzy subset of input quantity and output quantity Linguistic Value that the fuzzy control is arranged is { NB, NM, NS, ZO, PS, PM, PB },
The domain that the input quantity is arranged is [- 6, -5, -4, -3, -2, -1,0,1,2,3,4,5,6], and the fuzzy of the output quantity is arranged
Domain is [- 1,1], then adds input quantity and output quantity subordinating degree function;
The subordinating degree function of input quantity and output quantity selects trigonometric function, and the horizontal axis of trigonometric function is the domain of the input quantity,
The longitudinal axis is (0,1), and the subordinating degree function after the triangular function is selected to directly generate, each value on the domain exists
Have in the subordinating degree function and corresponding is subordinate to angle value;
Fuzzy control rule is formulated, when test error is big, enhances Kp, reduce Ki, and when test error is smaller, reduce Kp, enhancing
Ki;
The output quantity that two input quantities are obtained through fuzzy control rule reasoning is fuzzy quantity, is carried out to the fuzzy quantity of the output quantity
Ambiguity solution chooses maximum value center method as ambiguity solution method, output fuzzy quantity is converted to the particular value on fuzzy domain, together
When become the accurate amount of output quantity multiplied by corresponding scale factor, the accurate amount of the output quantity adds the conduct of PI initial parameter value
New PI parameter is input to PI controller, to complete the adjustment of primary current signal.
3. a kind of LED drive power test method according to claim 1, it is characterised in that: described in the step S2
Testing information further includes voltage signal, is first compared collected voltage signal with the voltage signal of setting, works as acquisition
When the voltage signal arrived is equal to the voltage signal of setting, then the current signal of collected current signal and setting is compared
Compared with.
4. a kind of LED drive power test device characterized by comprising
Input module, for setting testing standard;
Acquisition module for collecting test information and is transferred to comparison module;
Collected test information is compared by comparison module with the testing standard of setting, and the test information includes electric current
Signal calculates adjustment amount by calculating adjustment module if collected current signal is not equal to the testing standard set;
Adjustment module is calculated, if collected current signal is not equal to the current signal set, calculating adjustment module, which calculates, to be adjusted
Whole amount simultaneously sends adjustment instruction, and collected current signal is made to be equal to the testing standard of setting.
5. LED drive power test device according to claim 4, it is characterised in that: the calculating adjustment module uses
Method according to claim 2 carries out calculating adjustment amount.
6. a kind of LED drive power test macro characterized by comprising
LED drive power to be measured;
Data acquisition unit, the data acquisition unit connects LED drive power to be measured, for acquiring LED drive power to be measured
Current signal and be sent to control unit;
Power dissipating unit, the power dissipating unit are separately connected LED drive power to be measured and the data acquisition unit, institute
It states power dissipating unit and the size of current that data acquisition unit obtains is controlled according to the feedback signal of the data acquisition unit;
Control unit, described control unit include parameter setting module and fuzzy controller, and the parameter setting module is for setting
Determine testing standard, the fuzzy controller is for judging whether collected current signal is equal with the testing standard of setting, such as
Fruit is unequal, then calculates adjustment amount and be sent to data acquisition unit, and adjustment amount is sent to described by the data acquisition unit
Power dissipating unit, the power dissipating unit according to adjustment amount adjust data acquisition unit obtain size of current and be allowed to
Testing standard value is equal.
7. a kind of LED drive power test macro according to claim 6, which is characterized in that described control unit is also wrapped
It includes:
Data disaply moudle, for showing the operating voltage, operating current of the LED drive power measured, conducting voltage and intrinsic
Resistance.
8. a kind of LED drive power test macro according to claim 6, which is characterized in that the data acquisition unit
Include:
Voltage signal acquisition module, for acquiring the voltage signal of LED drive power to be measured;
Current signal collection module, for acquiring the current signal of LED drive power to be measured;
Data collecting card, the data collecting card are separately connected described control unit and the power dissipating unit, adopt described
The voltage and current signal collected is transferred to control unit, and the control signal of reception control unit is transferred to the power consumption
Unit.
9. a kind of LED drive power test macro according to claim 6, which is characterized in that the data acquisition unit
It further include signal conditioning module, for data collecting card will to be transferred to after the collected voltage and current signal adjustment.
10. a kind of LED drive power test macro according to claim 6, which is characterized in that the power dissipating unit
Include:
Switch element, the linear zone of the switch element are made interior as variable resistance by the control switching elements conductive amount
Resistance changes to control size of current;
Driving circuit, the driving circuit are separately connected data collecting card and the switch element, for receiving data capture card
The control signal of transmission simultaneously controls the switch element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910208024.9A CN110007249A (en) | 2019-03-19 | 2019-03-19 | A kind of LED light driving power test method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910208024.9A CN110007249A (en) | 2019-03-19 | 2019-03-19 | A kind of LED light driving power test method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110007249A true CN110007249A (en) | 2019-07-12 |
Family
ID=67167374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910208024.9A Pending CN110007249A (en) | 2019-03-19 | 2019-03-19 | A kind of LED light driving power test method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007249A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114034924A (en) * | 2021-09-29 | 2022-02-11 | 重庆康佳光电技术研究院有限公司 | Control signal power measurement apparatus, system, method and readable storage medium |
CN116471722A (en) * | 2023-04-11 | 2023-07-21 | 浙江雨林电子科技有限公司 | Intelligent detection and adjustment method and system for running state of LED driving power supply |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102858074A (en) * | 2012-09-28 | 2013-01-02 | 芯河半导体(上海)有限公司 | Control system and method of LED (Light Emitting Diode) driving voltage mode |
CN202837425U (en) * | 2012-08-23 | 2013-03-27 | 安徽理工大学 | Low-power consumption direct-current electronic load |
CN103309233A (en) * | 2013-05-13 | 2013-09-18 | 陕西国防工业职业技术学院 | Designing method of fuzzy PID (Proportion-Integration-Differential) controller |
CN203368867U (en) * | 2013-08-02 | 2013-12-25 | 江南大学 | Novel intelligent high-precision LED driving power supply |
CN203595796U (en) * | 2013-11-11 | 2014-05-14 | 深圳Tcl新技术有限公司 | LED driving fault recording apparatus |
CN203840581U (en) * | 2014-05-16 | 2014-09-17 | 重庆瑞升康博电气有限公司 | LED lamp driving power supply having redundancy function |
CN105163426A (en) * | 2015-08-18 | 2015-12-16 | 上海源明照明科技有限公司 | Programming setting circuit used for setting output parameters of LED driving power supply |
CN105898952A (en) * | 2014-12-19 | 2016-08-24 | 毛昭祺 | Maximum output current setting circuit of LED driving power supply |
CN106604441A (en) * | 2015-10-16 | 2017-04-26 | 得能创科有限公司 | LED driving power supply flow measurement circuit and method |
CN207123611U (en) * | 2017-08-24 | 2018-03-20 | 公安部天津消防研究所 | Fire-fighting equipment power supply monitoring system comprehensive automation detecting system |
CN208140901U (en) * | 2018-05-21 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of server power supply real time monitoring apparatus |
-
2019
- 2019-03-19 CN CN201910208024.9A patent/CN110007249A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202837425U (en) * | 2012-08-23 | 2013-03-27 | 安徽理工大学 | Low-power consumption direct-current electronic load |
CN102858074A (en) * | 2012-09-28 | 2013-01-02 | 芯河半导体(上海)有限公司 | Control system and method of LED (Light Emitting Diode) driving voltage mode |
CN103309233A (en) * | 2013-05-13 | 2013-09-18 | 陕西国防工业职业技术学院 | Designing method of fuzzy PID (Proportion-Integration-Differential) controller |
CN203368867U (en) * | 2013-08-02 | 2013-12-25 | 江南大学 | Novel intelligent high-precision LED driving power supply |
CN203595796U (en) * | 2013-11-11 | 2014-05-14 | 深圳Tcl新技术有限公司 | LED driving fault recording apparatus |
CN203840581U (en) * | 2014-05-16 | 2014-09-17 | 重庆瑞升康博电气有限公司 | LED lamp driving power supply having redundancy function |
CN105898952A (en) * | 2014-12-19 | 2016-08-24 | 毛昭祺 | Maximum output current setting circuit of LED driving power supply |
CN105163426A (en) * | 2015-08-18 | 2015-12-16 | 上海源明照明科技有限公司 | Programming setting circuit used for setting output parameters of LED driving power supply |
CN106604441A (en) * | 2015-10-16 | 2017-04-26 | 得能创科有限公司 | LED driving power supply flow measurement circuit and method |
CN207123611U (en) * | 2017-08-24 | 2018-03-20 | 公安部天津消防研究所 | Fire-fighting equipment power supply monitoring system comprehensive automation detecting system |
CN208140901U (en) * | 2018-05-21 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of server power supply real time monitoring apparatus |
Non-Patent Citations (2)
Title |
---|
唐幸儿等: "基于一种LED 电源测试系统的设计", 《工程建设与设计》 * |
崔嵬等: "《智能控制技术研究》", 30 June 2017 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114034924A (en) * | 2021-09-29 | 2022-02-11 | 重庆康佳光电技术研究院有限公司 | Control signal power measurement apparatus, system, method and readable storage medium |
CN114034924B (en) * | 2021-09-29 | 2023-11-03 | 重庆康佳光电科技有限公司 | Control signal power measurement apparatus, system, method, and readable storage medium |
CN116471722A (en) * | 2023-04-11 | 2023-07-21 | 浙江雨林电子科技有限公司 | Intelligent detection and adjustment method and system for running state of LED driving power supply |
CN116471722B (en) * | 2023-04-11 | 2023-09-01 | 浙江雨林电子科技有限公司 | Intelligent detection and adjustment method and system for running state of LED driving power supply |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102088424B (en) | Signal detection device | |
CN102520339B (en) | Working method of contact type circuit board testing system | |
CN103412168B (en) | A kind of high-precision current sampling circuit of intelligent electric meter | |
CN110007249A (en) | A kind of LED light driving power test method, apparatus and system | |
CN203630198U (en) | Battery voltage detection circuit | |
CN103728037A (en) | Junction temperature monitoring circuit system for high-power LED reliability test | |
CN102495354B (en) | Testing method for circuit board testing system | |
CN102110421A (en) | Gray-scale adjustment method and device | |
CN101349716A (en) | Micro-capacitance reference measuring circuit | |
CN104697659A (en) | Temperature measuring device and method using NTC thermistor | |
CN206922759U (en) | A kind of optical power monitoring circuit | |
CN102478435A (en) | Thermal resistor temperature conversion method and device for signal simulation | |
CN108733126A (en) | Based on the polynomial photovoltaic array maximum power tracking methods of Bezier | |
CN203688743U (en) | OLED device optical and electrical property testing system | |
CN116952923B (en) | Machine learning-based micro-plastic on-site high-precision monitoring method and system | |
CN2702317Y (en) | Resistance instrument scaling method calibration circuit | |
CN205103310U (en) | Electric energy metering subsystem adopting zigbee wireless sensor network | |
CN106526520A (en) | Test system for light source fluctuation interference for optical current transformer | |
CN103412194B (en) | Capacitance measuring and calculating circuit | |
CN203672826U (en) | pH value detection device | |
CN215813405U (en) | Constant-frequency humidity measuring system | |
CN105988038A (en) | Device and method for measuring voltage drop of chip | |
CN106160021B (en) | Method is determined based on the parallel operation system optimal point of efficiency and equal flow standard difference weighted sum matrix | |
CN104897964A (en) | Circuit and method for measuring resistance of variable resistor | |
CN204008908U (en) | Semiconductor laser detection device, system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190712 |