Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a portable solar power generation assembly testing device which can detect power without disassembling a product to be detected and is convenient to operate.
The technical scheme adopted by the invention is as follows: a solar power generation assembly testing device is characterized by comprising a light-emitting lamp panel, a detection calculation and display device and a detection interface, wherein the detection calculation and display device is firstly connected with a DC charging port of a product to be tested through the detection interface, and the detection calculation and display device charges an energy storage device of the product to be tested through the detection interface and the DC charging port; the detection calculation and display device starts the light-emitting lamp panel according to an external command, the solar assembly of the product to be detected absorbs illumination from the light-emitting lamp panel and starts power generation, the energy storage device is charged by the power generation current of the solar assembly preferentially, and the detection calculation and display device obtains the change value of the charging current output by the DC charging port through the detection interface and calculates the power generation power of the solar power generation assembly of the product to be detected according to the change value.
In the technical scheme, the solar module testing device further comprises a testing and calculating device, wherein a load is arranged in the testing and calculating device, and the load is electrically connected with an output port of the solar module of the product to be tested through a detection port; the test calculation device starts the light-emitting lamp panel according to an external command, a solar assembly of a product to be tested absorbs illumination from the light-emitting lamp panel and starts power generation, power generation current of the solar assembly supplies power to a load, the test calculation device obtains output current and voltage of an output port of the power generation assembly through the detection port and calculates power generation power of the solar power generation assembly of the product to be tested according to the output current and voltage; the input end of the switching circuit is respectively and electrically connected with the control ends of the detection calculation and display device and the test calculation device, the output end of the switching circuit is electrically connected with the input end of the light-emitting lamp panel, and the switching circuit selectively outputs a control command from the detection calculation and display device or the test calculation device to the light-emitting lamp panel according to an external command.
In the technical scheme, the light-emitting lamp panel comprises a light-emitting lamp bead group and an external control module; the external control module receives a control command from the detection calculation and display device and sends a driving signal to the light-emitting lamp bead group according to the control command so as to light the light-emitting lamp bead group; the light-emitting lamp bead group emits light with uniform intensity in an irradiation range to simulate vertical irradiation of the sun.
In the above technical solution, the detecting, calculating and displaying device includes a power supply module; the power supply module comprises an internal power supply module and an external power supply module; the internal power supply module is used for supplying power to the detection calculation and display device and the light-emitting lamp bead group; and the external power supply module is used for charging the energy storage device of the product to be detected through the detection interface.
In the technical scheme, the detection, calculation and display device comprises an MCU module, a data acquisition module and an input/output control module; the data acquisition module is used for detecting output electrical property data of the external power supply module and charging current of the energy storage device of the product to be detected and feeding the data back to the MCU module, and the MCU module calculates output voltage in real time through a PID algorithm according to the data and sends a control command to the input and output control module; and the input and output control module adjusts the output voltage of the external power supply module according to the control command.
In the technical scheme, the detection, calculation and display device comprises a display module, the MCU module is used for displaying the acquired charging current of the energy storage device of the product to be detected and the generated power of the solar power generation assembly obtained after calculation through the display module, and the display module comprises an L ED display lamp and a L CD liquid crystal display screen.
In the technical scheme, after the detection interface is electrically connected with the DC charging port of the product to be detected, the detection calculation and display device is electrically connected with the energy storage device of the product to be detected; the external power supply module charges an energy storage device of a product to be detected, and the data acquisition module automatically acquires initial electrical property data of the product to be detected and charging current of the energy storage device at the moment through the detection interface and feeds the data back to the MCU module for recording and storing; the MCU module lights the light-emitting lamp bead group according to an external command; the data acquisition module acquires charging current output by the DC charging port when the solar module charges the energy storage device; the MCU module calculates the power value of the solar power generation assembly according to the charging current collected twice and outputs the power value to the display module for displaying.
In the technical scheme, after the detection interface is electrically connected with the DC charging port of the product to be detected, the external power supply module outputs a voltage value which continuously changes from small to large to the energy storage device through the DC charging port, and the output voltage value is larger than the voltage value of the energy storage device and smaller than the power generation voltage value of the solar module; the data acquisition module acquires the current value output by the DC charging port in real time and feeds the current value back to the MCU module for storage and recording; the voltage is scanned and sampled for multiple times in a circulating way, software calculates the inner circulating sampling process in the voltage, namely the voltage is gradually increased from the lowest to the highest and then gradually decreased from the highest to the lowest, and the maximum current value is sampled in the process of one-time scanning; and (3) carrying out cyclic scanning for multiple times, repeating the process for 3-7 times, and averaging the samples to eliminate single sampling errors. When the maximum current value of the energy storage device is just reached, the data acquisition module feeds back the voltage value of the energy storage device to the MCU module, and the MCU displays the maximum current value of the energy storage device through the display module.
In the technical scheme, the MCU module lights the light-emitting plate lamp bead after receiving an external control command; the solar module outputs charging voltage to the energy storage device; the charging voltage is continuously changed from small to large, and the change range is from a voltage value corresponding to the maximum current value of the energy storage device to the maximum open-circuit voltage value of the solar module.
In the above technical solution, the method for calculating the power of the solar module includes the following steps:
s1, firstly, an external power supply module charges an energy storage device until the charging current of the energy storage device reaches the maximum value, the maximum current value Imax is recorded, an external key is used for controlling to issue a command to an MCU module, the MCU module lights a light-emitting lamp panel, the MCU module calculates and stores a power generation power value P (Vdc) under different voltages in real time, the power generation power value P is (Imax-Idc), a plurality of arrays (P, Vdc, △ i) are stored in each scanning, wherein P is the real-time power of a solar module, Vdc is the real-time charging voltage of the energy storage device, Imax is the maximum charging current of the energy storage device, Idc is the charging current of a DC port detected in real time, and △ i is the change value of the charging current output by the DC port (△ i is (Imax-Idc);
s2, taking a numerical value (P, Vdc, △ i) when the P value is maximum;
s3, repeating the step S1.S2 for a plurality of times, and taking the average value of a plurality of groups (P, Vdc, △ i);
s4, calculating the power Pstar (K) Vstar △ i (K) △ i of the solar module, wherein K and M are constants, K is the ratio of the sunlight to the power generation efficiency of the lamp panel light irradiation module, the test instrument can be adjusted through key input, M is an empirical value, and the difference between the Vstar and the voltage of the DC output port is about 0.5V (diode drop) + line voltage loss through a large number of comparison test analyses.
In the technical scheme, a first diode is electrically connected between the output end of the solar power generation assembly and the input end of the energy storage device, wherein the anode of the first diode is electrically connected with the output end of the solar power generation assembly, and the cathode of the first diode is electrically connected with the input end of the energy storage device; and a second diode is electrically connected between the output end of the DC and the input end of the energy storage device, wherein the anode of the second diode is electrically connected with the output end of the DC charging port, and the cathode of the second diode is electrically connected with the input end of the energy storage device.
In the above technical solution, the test calculation apparatus includes a power supply circuit; the power supply circuit is used for supplying power for the testing and calculating device and the light-emitting lamp bead group.
In the technical scheme, the test calculation device comprises an MCU chip, a data acquisition circuit and an input/output circuit; the load is arranged in the data acquisition circuit; the data acquisition circuit is used for detecting the output electrical property data of the external power supply circuit and the output current and voltage of the solar module and feeding the data back to the MCU circuit; the input and output circuit is an expansion interface of all control systems and is reserved for the new addition of subsequent function improvement.
In the technical scheme, the MCU circuit displays the acquired output current and voltage of the output port of the solar module of the product to be detected and the calculated generated power of the solar power generation module through the display module.
The invention provides a power testing method and a terminal based on differential current, aiming at solving the problems of difficult maintenance, complex detection power and circuit structure and the like of an outdoor solar power generation assembly. The power detection is simple and efficient, meanwhile, the terminal can detect whether the peripheral circuit structure of the solar module is abnormal or not, the terminal has multiple functions, the fault reason can be judged through one-time test, and the purpose of efficient maintenance is achieved. Meanwhile, the terminal is small in size, light in weight and portable. The existing method for detecting the power of the solar module is generally off-line detection, the power generation module needs to be disassembled and brought back to a factory for detection and judgment, and the detection cost is high for the solar panel installed at high outdoor position. The invention can detect the power without any disassembly of the solar product, is simple and efficient, and greatly saves the detection and maintenance cost. The invention also supports a real-time power test method: the traditional current and voltage test scheme is that the output current of the solar module is directly measured through a test calculation device to calculate the power generation power of the solar module, so that different requirements are met.
Detailed Description
The invention will be further described in detail with reference to the following drawings and specific examples, which are not intended to limit the invention, but are for clear understanding.
As shown in fig. 1, the invention provides a solar power generation assembly testing device, which is characterized by comprising a light-emitting lamp panel module, a detection calculation and display device and a detection interface, wherein the detection calculation and display device is firstly connected with a DC charging port of a product to be tested through the detection interface, and the detection calculation and display device charges an energy storage device of the product to be tested through the detection interface and the DC charging port; the detection calculation and display device starts the light-emitting lamp panel according to an external command, the solar assembly of the product to be detected absorbs illumination from the light-emitting lamp panel and starts power generation, the energy storage device is charged by the power generation current of the solar assembly preferentially, and the detection calculation and display device obtains the change value of the charging current output by the DC charging port through the detection interface and calculates the power generation power of the solar power generation assembly of the product to be detected according to the change value.
As shown in fig. 2, the light-emitting lamp panel includes a light-emitting lamp bead group and an external control module; the external control module receives a control command from the detection calculation and display device and sends a driving signal to the light-emitting lamp bead group according to the control command so as to light the light-emitting lamp bead group; the light-emitting lamp bead group emits light with uniform intensity in an irradiation range to simulate vertical irradiation of the sun.
In the above technical solution, the detecting, calculating and displaying device includes a power supply module; the power supply module comprises an internal power supply module and an external power supply module; the internal power supply module is used for supplying power to the detection calculation and display device and the light-emitting lamp bead group; and the external power supply module is used for charging the energy storage device of the product to be detected through the detection interface.
In the technical scheme, the detection, calculation and display device comprises an MCU module, a data acquisition module and an input/output control module; the data acquisition module is used for detecting output electrical property data of the external power supply module and charging current of the energy storage device of the product to be detected and feeding the data back to the MCU module, and the MCU module calculates output voltage in real time through a PID algorithm according to the data and sends a control command to the input and output control module; and the input and output control module adjusts the output voltage of the external power supply module according to the control command.
In the technical scheme, the detection, calculation and display device comprises a display module, the MCU module is used for displaying the acquired charging current of the energy storage device of the product to be detected and the generated power of the solar power generation assembly obtained after calculation through the display module, and the display module comprises an L ED display lamp and a L CD liquid crystal display screen.
The operation flow of the invention is shown in figures 3 and 4:
1, starting a testing device, and charging an energy storage device through a DC charging port by a self-contained DC power supply in the device. In the device, the charging voltage Vdc is automatically adjusted through software, so that the charging current just reaches the maximum (full-load charging), and the current value Idc1 at the moment is recorded as Imax;
2, external input control, starting a simulated solar luminous lamp panel (hereinafter referred to as lamp panel for short), wherein the lamp panel Is luminous, a solar component of a test product absorbs illumination to start power generation to form a voltage Vsolar, and starts power generation, and the power generation current Is at the moment;
3 > Vdc > Vbat according to design Vsolar > Vdc, so the solar generated current preferentially charges the energy storage device.
Imax Is unchanged, and Idc Is 1-Is at the moment;
4, acquiring the Idc change value of the detection interface through software, and then measuring and calculating the generated power of the current solar power generation assembly
P ═ K ═ Idc1-Idc2 ═ Vsolar (K is the ratio of the efficiency of power generation of the sunlight to the light-irradiated components of the lamp panel)
Generally, in a solar power generation product, the solar power generation voltage Vsolar is larger than the voltage Vbat (generally, a voltage difference of 1-3V) of the energy storage device, otherwise, the solar module cannot charge the energy storage device.
Vdc > Vbat: the device is used for ensuring that the testing device can directly charge the energy storage device;
vdc < Vsolar is to ensure that the solar module is powered preferentially when the lamp panel is illuminated. Vdc is not a fixed value, but varies between Vsolar and Vbat, automatically adjusted by the inside of the tester.
The main work flow of the solar energy tester is described in two stages:
stage one, the device is turned on, the DC port and the detection device are connected to the lamp before the lamp is turned on (about 0.5 second), as shown in fig. 5, the detection interface collects the charging condition of the product to be detected and detects the internal circuit condition of the product to be detected, and if the detection result is that the product to be detected is fully charged or a fault such as an open circuit short circuit exists, the subsequent steps are not executed. And if the product to be detected is in a normal state, executing the subsequent steps. After the energy storage device is electrically connected with a DC charging port of a product to be detected, the detection interface firstly outputs a voltage value which continuously changes from small to large to the energy storage device through the DC charging port by the external power supply module, and the output voltage value is larger than the voltage value of the energy storage device and smaller than the power generation voltage value of the solar module; the data acquisition module acquires the current value output by the DC charging port in real time and feeds the current value back to the MCU module for storage and recording; the voltage is circularly scanned for multiple times, the output voltage gradually rises from the minimum to the maximum and then falls from the maximum to the minimum, and the voltage is scanned for one time. When the maximum current value of the energy storage device is just reached, the data acquisition module feeds back the voltage value of the energy storage device to the MCU module, and the MCU displays the maximum current value of the energy storage device through the display module
Stage two, the lamp is turned on until the test result is output (about 7 seconds), as shown in fig. 6, the method comprises the following steps:
s1, the MCU module lights a light-emitting lamp panel after receiving a light-up signal input by a key and controls the external power supply module to output a voltage value continuously changing from Vdc1 to Vsolar to the energy storage device through the DC charging port, the data acquisition module feeds back the charging current of the energy storage module to the MCU module in real time, the MCU module calculates and stores P-Vdc (Imax-Idc) in real time, steps by 0.05mv and stores 50 arrays (P, Vdc and △ i) in each scanning, wherein P is the real-time power of the solar module, Vdc is the real-time charging voltage of the energy storage device, Imax is the maximum charging current of the energy storage device, Idc is the real-time detected charging current of the DC port, △ i is the change value of the charging current output by the DC port, namely the difference value of the first-stage Imax and the second-stage real-time current Idc2, which is equal to Isolar
S2, taking a value (P, Vdc, △ i) with the maximum value of the P value;
s3, repeating the step S1.S2 for a plurality of times, and taking the average value of a plurality of groups (P, Vdc, △ i);
s4, calculating the power Pstar (K) Vstar △ i (K) △ i of the solar module, wherein K and M are constants, K is the ratio of the sunlight to the power generation efficiency of the lamp panel light irradiation module, the test instrument can be adjusted through key input, M is an empirical value, and the difference between the Vstar and the voltage of the DC output port is about 0.5V (diode drop) + line voltage loss through a large number of comparison test analyses.
In the first stage and the second stage, the curve of Idc changing with Vdc is shown in FIG. 7, wherein Vb _ min and Vb _ max are the maximum and minimum voltage values of the energy storage battery and are designed values; vsolar is the maximum open circuit voltage value of the solar module and is a design value; vb is the actual voltage value of the energy storage battery and is a range value; vdc1 and Vdc2 are intermediate values of voltage in the test process, and are test values; imax is a designed maximum charging current and is a designed value; idc1 is the maximum current value for the stage one test (approximately equal to Imax), which is the test value; idc2 is the minimum current value for the phase two test, which is the test value.
The input port of the energy storage device is designed as shown in fig. 8, the solar module and the battery loop are isolated by a first diode D1, and the battery is prevented from reversely discharging the solar module when no light exists; the DC charging port is isolated from the battery loop by a second diode D2, so that the small reverse charging of external voltage is prevented, and the over-discharge of the battery caused by external short circuit is prevented.
In the practical application process, the size and the shape of the luminous lamp panel module in the shape of the bicycle basket can be changed to adapt to tests of different types of solar power generation products, such as tests of solar street lamps and solar traffic model lamps. Meanwhile, the light-emitting lamp panel is used as a light power generation driving source and can be replaced by other power generation driving sources including wind, heat and vibration driving sources to detect power generation power of different driving source types. As shown in fig. 9. Meanwhile, the solar power generation assembly in the invention can be replaced by a power consumption assembly, the power generation driving source can be replaced by a power consumption driving source, and the energy storage device can be replaced by a discharge device for detecting the power consumption of the power consumption assembly, as shown in fig. 10 and 11.
The power test of the power consumption assembly adds an example application:
the wireless charging module is tested, the wireless power transceiver module is used as a power consumption assembly, and the change of the current of the DC port can be tested in real time by testing the wireless charging module under the charging state and the non-charging state, and the effective charging power of the current wireless module can be tested in real time by using the principle of differential current without any disassembly and modification of the circuit of the existing product.
The solar module can be disassembled in a traditional detection mode, and an operator can convert the traditional detection mode into a traditional working mode through the switching circuit, as shown in fig. 12. The solar energy testing device comprises a testing and calculating device, wherein a load is arranged in the testing and calculating device and is electrically connected with an output port of a solar assembly of a product to be tested through a detection port; the test calculation device starts the light-emitting lamp panel according to an external command, a solar assembly of a product to be tested absorbs illumination from the light-emitting lamp panel and starts power generation, power generation current of the solar assembly supplies power to a load, the test calculation device obtains output current and voltage of an output port of the power generation assembly through the detection port and calculates power generation power of the solar power generation assembly of the product to be tested according to the output current and voltage; the input end of the switching circuit is respectively and electrically connected with the control ends of the detection calculation and display device and the test calculation device, the output end of the switching circuit is electrically connected with the input end of the light-emitting lamp panel, and the switching circuit selectively outputs a control command from the detection calculation and display device or the test calculation device to the light-emitting lamp panel according to an external command.
As shown in fig. 13, the test computing device includes a power supply circuit; the power supply circuit is used for supplying power for the testing and calculating device and the light-emitting lamp bead group.
In the technical scheme, the test calculation device comprises an MCU chip and a data acquisition circuit; the load is arranged in the data acquisition circuit; the data acquisition circuit is used for detecting the output electrical property data of the external power supply circuit and the output current and voltage of the solar module and feeding the data back to the MCU chip.
In the technical scheme, the MCU chip displays the acquired output current and voltage of the output port of the solar module of the product to be detected and the calculated generated power of the solar power generation module through the display module.
The invention adopts a traditional mode, and specifically comprises the following steps:
s1, a 2PIN lead-out port of the solar component is connected to an input port of a traditional mode of the detection equipment, and the output end of the MCU chip is electrically connected with the light-emitting lamp panel through a switching circuit.
S2, the MCU chip receives a light-up signal input by the key and controls the light-emitting lamp panel to light up;
s3, the solar module absorbs the illuminating light to generate output voltage and output voltage to supply power to a load;
s4, a data acquisition module samples the voltage and current of a load, calculates in real time and obtains the maximum value of real-time power;
s5, in the process of lighting the lamp once, sampling the maximum value of the real-time power for many times and calculating the average value of the maximum value;
and S6, feeding the obtained average value back to the display module by the MCU chip for display.
Details not described in this specification are within the skill of the art that are well known to those skilled in the art.