CN108549356B - Production testing method of automatic street lamp controller - Google Patents

Production testing method of automatic street lamp controller Download PDF

Info

Publication number
CN108549356B
CN108549356B CN201810237104.2A CN201810237104A CN108549356B CN 108549356 B CN108549356 B CN 108549356B CN 201810237104 A CN201810237104 A CN 201810237104A CN 108549356 B CN108549356 B CN 108549356B
Authority
CN
China
Prior art keywords
street lamp
lamp controller
serial port
tested
test
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.)
Active
Application number
CN201810237104.2A
Other languages
Chinese (zh)
Other versions
CN108549356A (en
Inventor
黄健翔
顾宝华
胡延军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Langjun Electronic Technology Co ltd
Original Assignee
Zhejiang Langjun Electronic Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Langjun Electronic Technology Co ltd filed Critical Zhejiang Langjun Electronic Technology Co ltd
Priority to CN201810237104.2A priority Critical patent/CN108549356B/en
Publication of CN108549356A publication Critical patent/CN108549356A/en
Application granted granted Critical
Publication of CN108549356B publication Critical patent/CN108549356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a production and measurement method of an automatic street lamp controller, which can improve the production and measurement efficiency of the street lamp controller and has high automation degree. The hardware of the product is tested systematically, and the hardware can be automatically completed only by sending a starting instruction and related parameters through a serial port of the upper computer. The operation result is fed back to the upper computer through the serial port and is visually displayed on the screen, the whole calibration and test process does not exceed 4 seconds, four circuit boards (four impositions) can be operated simultaneously, and the efficiency is nearly one second.

Description

Production testing method of automatic street lamp controller
Technical Field
The invention relates to a production and test method of an automatic street lamp controller, in particular to a production and test method of an automatic street lamp controller.
Background
The urban public lighting accounts for 30% of the total lighting power consumption in China, and because urban night electricity consumption is large and the load rate is high, in order to control the cost, a street lamp controller with functions of background real-time monitoring, street lamp power supply on-off management and the like is placed inside a street lamp pole and is connected with an original power supply of a street lamp, and the effects of energy conservation and emission reduction are achieved.
Compare traditional street lamp controller and only have the function of break-make power supply, present street lamp controller is through upgrading transformation, can utilize functions such as photosensitive sensor, remote communication technique, opens and close, street lamp brightness, peripheral light around to and carry out real-time supervision, warning to the trouble (such as excessive pressure, under-voltage, overcurrent etc.) isoparametric of street lamp self.
In order to ensure the product quality of the upgraded street lamp controller, strict detection and control must be performed on the product during production, and because the improved street lamp controller has a plurality of functions, multiple detections and calibrations are performed on different circuit modules, the efficiency is low, and large-area supply cannot be met, therefore, a production detection method with a single function in the prior art needs to be improved.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide a production and measurement method for an automatic street lamp controller, which can improve the production and measurement efficiency of the street lamp controller and has high automation degree.
One of the purposes of the invention is realized by adopting the following technical scheme: a production and test method of an automatic street lamp controller,
step 1: inserting a street lamp controller to be tested into a serial port, connecting an upper computer and starting test software;
step 2: starting clicking, writing the IP and PAN ID into the test software, and issuing a firmware version;
and step 3: after the test software confirms that the firmware version of the tested street lamp controller is correct, the serial port of the tested street lamp controller outputs PASS, and the step 4 is entered;
if the firmware version of the tested street lamp controller is wrong, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 4, step 4: the light source switching board is powered on and defaults to be a standard light source;
the photosensitive tube receives a brightness signal, and the brightness signal is set as a reference parameter by the brightness acquisition module;
after the calibration is successful, outputting PASS by the serial port of the tested street lamp controller, entering the step 5, and if the calibration is failed, outputting FAIL by the serial port of the tested street lamp controller, and stopping the test;
and 5: the light source switching board is switched to low illumination, the self-sensing relay is closed, and the mark position is recorded;
after the record is successful, the serial port of the tested street lamp controller outputs PASS, the step 6 is entered, if the record FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
step 6: a pin of the light source switching board receives a high level, the light source switching board is automatically switched to high illumination, and the self-sensitive relay is opened and records a mark bit;
after successful recording, the serial port of the tested street lamp controller outputs PASS, the step 7 is entered, if the recording FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 7: software detects whether the voltage and the current are in a preset error range;
when the voltage and the current are within the preset error range, the serial port of the tested street lamp controller outputs PASS, the step 8 is carried out, and when the voltage and the current are outside the preset error range, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 8: the software executes the SOS instruction and continuously collects current parameters to judge whether the current change process is 'small → large';
the current change process is 'small → large', the serial port of the tested street lamp controller outputs 'PASS', the step 9 is entered, otherwise, the serial port of the tested street lamp controller outputs 'FAIL', and the test is stopped;
and step 9: and after the Test is finished, the serial port of the tested street lamp controller outputs 'Test PASS', and the serial port of the tested street lamp controller outputs PAN ID, MAC address and Internet of things card number.
Further, in step 4, the sampling frequency of the luminance brightness acquisition module is at least 5 times, and the sampling is completed within 2 seconds.
Further, in step 8, the sampling time of the current parameter is at least 10 times, and the sampling is completed within 2 seconds.
Further, in the step 1 to the step 9, when the serial port of the tested street lamp controller does not output the PASS for 5 seconds, the serial port of the tested street lamp controller automatically outputs the FAIL.
Compared with the prior art, the invention has the beneficial effects that:
1. the production testing method has high automation degree, rich functions, high production testing efficiency and can be completed by one key;
2. the production and test process simultaneously comprises two parts of calibration and test, and is relatively complete;
3. the production and measurement requirements are strict, and the product quality of the product is ensured.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented in accordance with the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more clearly understood, the following preferred embodiments are described in detail with reference to the accompanying drawings.
Drawings
Fig. 1 is a block flow diagram of the present embodiment.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When a component is referred to as being "disposed on" another component, it can be directly on the other component or intervening components may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the circuit module of the tested street lamp controller in this embodiment, the circuit module includes a brightness acquisition circuit module (which uses a photosensitive tube to collect the brightness of the surrounding environment of the street lamp, so as to provide a processor with parameter bases such as automatic light on/off and brightness adjustment), a power parameter acquisition module, a relay on/off circuit module, a 0-10V output circuit module, and the like.
Referring to fig. 1, in a production test method of an automatic street lamp controller, when a certain test in each step starts (some programs are spontaneous, and some receive external command triggers), test contents are output first.
Step 1: inserting a street lamp controller to be tested into a serial port, connecting an upper computer and starting test software;
step 2: when the click is started, the test software writes in IP and PAN ID and issues a firmware version, and when the step is executed, the upper computer software for test should be configured well;
and step 3: after the test software confirms that the firmware version of the tested street lamp controller is correct, the serial port of the tested street lamp controller outputs PASS, the step 4 is entered, before the step is executed, a relay is opened by default, a production test mode is best to default without finding a network, and the production test efficiency is improved;
if the firmware version of the tested street lamp controller is wrong, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 4, step 4: the light source switching board is powered on and defaults to be a standard light source;
the photosensitive tube receives a brightness signal, and the brightness signal is set as a reference parameter by the brightness acquisition module;
after the calibration is successful, outputting PASS by the serial port of the tested street lamp controller, entering the step 5, and if the calibration is failed, outputting FAIL by the serial port of the tested street lamp controller, and stopping the test;
and 5: the light source switching board is switched to low illumination, the self-sensing relay is closed, and the mark position is recorded;
after the record is successful, the serial port of the tested street lamp controller outputs PASS, the step 6 is entered, if the record FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
step 6: a pin of the light source switching board receives a high level, the light source switching board is automatically switched to high illumination, the self-induction relay is opened and records a mark position, and therefore whether the street lamp is lighted or not is judged when the street lamp is used;
after successful recording, the serial port of the tested street lamp controller outputs PASS, the step 7 is entered, if the recording FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 7: software detects whether the voltage and the current are in a preset error range;
when the voltage and the current are within a preset error range, the serial port of the tested street lamp controller outputs PASS, the step 8 is entered, when the voltage and the current are outside the preset error range, the serial port of the tested street lamp controller outputs FAIL, the test is stopped, in the detection of the step, the default voltage of the system is 210V to 230V, and the current is 5mA to 20 mA;
and 8: the software executes the SOS instruction and continuously collects current parameters to judge whether the current change process is 'small → large' (it needs to be explained here that the SOS instruction is a newly added function in the tested street lamp controller, the street lamp can be controlled to enter an SOS lighting mode through a remote management interface, and can be sent at any time to exit and recover to a normal lighting mode, the SOS lighting mode is actually breathing lamp operation in a period of about 2s, and the effects and purposes of alarming and crowd evacuation are achieved);
the current change process is 'small → large', the serial port of the tested street lamp controller outputs 'PASS', the step 9 is entered, otherwise, the serial port of the tested street lamp controller outputs 'FAIL', and the test is stopped;
and step 9: and after the Test is finished, the serial port of the tested street lamp controller outputs 'Test PASS', at the moment, the street lamp controller finishes the Test and passes the Test, and the serial port of the tested street lamp controller outputs the PAN ID, the MAC address and the Internet of things card number.
In the detection steps, when the serial port output FAIL of the tested street lamp controller occurs, the tested street lamp controller is temporarily determined as an unqualified product after the test is stopped, and a detector judges that the product is destroyed, repaired or adopts other processing schemes.
In addition, in order to further improve the efficiency of the production test and strictly control the quality of the product, in step 4, the sampling frequency of the brightness acquisition module is commanded to be at least 5 times, and whether the multi-time sampling data has large-range fluctuation or not is judged, so that whether the sampling is accurate or not is judged, and meanwhile, the sampling is required to be completed within 2 seconds, and the efficiency of the detection step is ensured.
In step 8, the sampling frequency of the current parameter is at least 10 times, and the sampling is completed within 2 seconds, and similarly, whether the sampled data for many times is within a normal working condition range needs to be judged, so that whether the tested street lamp controller is qualified is judged, and meanwhile, the detection is required to be completed within 2 seconds, and the detection efficiency is ensured.
In the steps 1 to 9, when the serial port of the tested street lamp controller does not output the PASS for 5 seconds, the serial port of the tested street lamp controller automatically outputs the FAIL, and in order to improve the quality requirement of the product during production, except for the fault lamp factor of the production software, the tested product which does not output the PASS for 5 seconds is not output, so that the problems that the quality of electric elements is poor, certain links in the production process of PCB boards and the like are not processed in place, the reaction time is too slow, or the detection result cannot be fed back exist, and therefore the products cannot be detected excessively.
The production and measurement method of the street lamp controller is matched with a software system of an upper computer, and the deviation calibration of the photosensitive tube in front of a factory can be carried out on each street lamp controller. And performing systematic test on hardware of the product.
The full-automatic completion can be realized only by sending the starting instruction and the related parameters through the serial port of the upper computer. The operation result is also fed back to the upper computer through the serial port and is visually displayed on the screen.
The whole calibration and test process does not exceed 4 seconds, four circuit boards (four impositions) can be operated simultaneously, and the efficiency is nearly one second.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (4)

1. A production testing method of an automatic street lamp controller is characterized by comprising the following steps:
step 1: inserting a street lamp controller to be tested into a serial port, connecting an upper computer and starting test software;
step 2: starting clicking, writing the IP and PAN ID into the test software, and issuing a firmware version;
and step 3: after the test software confirms that the firmware version of the tested street lamp controller is correct, the serial port of the tested street lamp controller outputs PASS, and the step 4 is entered;
if the firmware version of the tested street lamp controller is wrong, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 4, step 4: the light source switching board is powered on and defaults to be a standard light source;
the photosensitive tube receives a brightness signal, and the brightness signal is set as a reference parameter by the brightness acquisition module;
after the calibration is successful, outputting PASS by the serial port of the tested street lamp controller, entering the step 5, and if the calibration is failed, outputting FAIL by the serial port of the tested street lamp controller, and stopping the test;
and 5: the light source switching board is switched to low illumination, the self-sensing relay is closed, and the mark position is recorded;
after the record is successful, the serial port of the tested street lamp controller outputs PASS, the step 6 is entered, if the record FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
step 6: a pin of the light source switching board receives a high level, the light source switching board is automatically switched to high illumination, and the self-sensitive relay is opened and records a mark bit;
after successful recording, the serial port of the tested street lamp controller outputs PASS, the step 7 is entered, if the recording FAILs, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 7: software detects whether the voltage and the current are in a preset error range;
when the voltage and the current are within the preset error range, the serial port of the tested street lamp controller outputs PASS, the step 8 is carried out, and when the voltage and the current are outside the preset error range, the serial port of the tested street lamp controller outputs FAIL, and the test is stopped;
and 8: the software executes the SOS instruction and continuously collects current parameters to judge whether the current change process is 'small → large';
the current change process is 'small → large', the serial port of the tested street lamp controller outputs 'PASS', the step 9 is entered, otherwise, the serial port of the tested street lamp controller outputs 'FAIL', and the test is stopped;
and step 9: and after the Test is finished, the serial port of the tested street lamp controller outputs 'Test PASS', and the serial port of the tested street lamp controller outputs PAN ID, MAC address and Internet of things card number.
2. The production testing method of the automatic street lamp controller according to claim 1, characterized in that: in the step 4, the sampling frequency of the luminance brightness acquisition module is at least 5 times, and the sampling is completed within 2 seconds.
3. The production testing method of the automatic street lamp controller according to claim 1, characterized in that: in the step 8, the sampling times of the current parameters are at least 10 times, and the sampling is completed within 2 seconds.
4. The production testing method of the automatic street lamp controller according to claim 1, characterized in that: in the steps 1 to 9, when the serial port of the tested street lamp controller does not output the PASS for 5 seconds, the serial port of the tested street lamp controller automatically outputs the FAIL.
CN201810237104.2A 2018-03-21 2018-03-21 Production testing method of automatic street lamp controller Active CN108549356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810237104.2A CN108549356B (en) 2018-03-21 2018-03-21 Production testing method of automatic street lamp controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810237104.2A CN108549356B (en) 2018-03-21 2018-03-21 Production testing method of automatic street lamp controller

Publications (2)

Publication Number Publication Date
CN108549356A CN108549356A (en) 2018-09-18
CN108549356B true CN108549356B (en) 2021-03-05

Family

ID=63516947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810237104.2A Active CN108549356B (en) 2018-03-21 2018-03-21 Production testing method of automatic street lamp controller

Country Status (1)

Country Link
CN (1) CN108549356B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447291A (en) * 2018-11-22 2019-03-08 奥士康科技股份有限公司 A kind of method of detection device multimachine network line shared data
CN110320897A (en) * 2019-08-15 2019-10-11 厦门城光联链科技有限公司 A kind of solar street lamp controller production test tooling and test method
CN112486146A (en) * 2020-12-07 2021-03-12 合安科技技术有限公司 Quality detection method for street lamp controller and corresponding detection terminal
CN117193258B (en) * 2023-10-10 2024-05-07 朗戈智能***(上海)有限公司 Automatic detection method, equipment and computer readable medium for light-operated controller

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272652A (en) * 2007-03-19 2008-09-24 上海市闵行中学 Road lamp inspection device and method
CN201812206U (en) * 2010-08-13 2011-04-27 广东省东莞市质量监督检测中心 Streetlamp testing device
CN103929844A (en) * 2013-01-14 2014-07-16 海洋王(东莞)照明科技有限公司 Automatic control device for lamp cyclic test
CN204188370U (en) * 2014-11-10 2015-03-04 浙江中博光电科技有限公司 A kind of illuminance of lamp on-line measuring device
CN104515925A (en) * 2013-09-30 2015-04-15 海洋王(东莞)照明科技有限公司 Cyclic lamp on-off test device
CN104918370A (en) * 2014-06-11 2015-09-16 创导(上海)智能技术有限公司 Intelligent illumination and information interactive system
CN205229432U (en) * 2015-10-20 2016-05-11 广州市光机电技术研究院 Road lighting lamps and lanterns on --spot test system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130082606A1 (en) * 2011-10-04 2013-04-04 Yehiel Viner Device and method for automatic calibration of illumination system and energy saving

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272652A (en) * 2007-03-19 2008-09-24 上海市闵行中学 Road lamp inspection device and method
CN201812206U (en) * 2010-08-13 2011-04-27 广东省东莞市质量监督检测中心 Streetlamp testing device
CN103929844A (en) * 2013-01-14 2014-07-16 海洋王(东莞)照明科技有限公司 Automatic control device for lamp cyclic test
CN104515925A (en) * 2013-09-30 2015-04-15 海洋王(东莞)照明科技有限公司 Cyclic lamp on-off test device
CN104918370A (en) * 2014-06-11 2015-09-16 创导(上海)智能技术有限公司 Intelligent illumination and information interactive system
CN204188370U (en) * 2014-11-10 2015-03-04 浙江中博光电科技有限公司 A kind of illuminance of lamp on-line measuring device
CN205229432U (en) * 2015-10-20 2016-05-11 广州市光机电技术研究院 Road lighting lamps and lanterns on --spot test system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"LED路灯及光源控制器的检测结果分析";陈慧挺 等;《中国照明电器》;20170228(第2期);29-33 *
"LED路灯路面照度自动检测***设计";余中泼 等;《中国测试》;20160930;第42卷(第9期);88-91 *

Also Published As

Publication number Publication date
CN108549356A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN108549356B (en) Production testing method of automatic street lamp controller
US8299721B2 (en) Systems and methods for rules based, automated lighting control
CN108076660B (en) PCBA function test device and method
CN103995197B (en) A kind of aging testing apparatus of electronic product
CN104007340A (en) Electronic product aging test system and aging test method
CN104823523A (en) Distributed lighting control
CN103149495A (en) Comprehensive test instrument for testing multi-path conducting wire\connector
CN111060839A (en) Universal LED power supply intelligent detection method and system
CN214409206U (en) Chip testing system
CN103645977B (en) Electronic product automatic debugging system and adjustment method
CN109856580A (en) Power monitoring instrumentation produces test macro and method in batches
JP4847104B2 (en) Optical module test method
CN115047281B (en) Intelligent detection system of power grid secondary equipment
WO2017117875A1 (en) Light source state detection system and method
CN113167823A (en) Sequential measurement of status of LED lighting devices and other equipment connected to power lines and display of status and its accurate GPS location
CN115047311A (en) Card full life cycle management method, system, computer product and storage medium
CN104780675A (en) LED lighting device and LED lighting device with electricity consumption calculating function
CN104349559A (en) Intelligent light fault remote detection system and detection method thereof
CN113726543B (en) Operation and maintenance service processing method, device, system, server and storage medium
CN104198915B (en) A kind of video frequency processing chip ADV212 electrical property screening plant and method
CN204515098U (en) A kind of automatic aging system of power module
CN106372687A (en) Distribution network automatic detection method and system
CN105607012A (en) System and method for monitoring power supply performance of nuclear power station inverter power source card
CN111508163A (en) Intelligent cabinet and monitoring mainboard thereof
CN102201201B (en) A kind of LED display of intelligence

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
GR01 Patent grant
GR01 Patent grant