CN113092998A - Method and system for testing cost control switch - Google Patents

Method and system for testing cost control switch Download PDF

Info

Publication number
CN113092998A
CN113092998A CN202110332763.6A CN202110332763A CN113092998A CN 113092998 A CN113092998 A CN 113092998A CN 202110332763 A CN202110332763 A CN 202110332763A CN 113092998 A CN113092998 A CN 113092998A
Authority
CN
China
Prior art keywords
state
tested
control switch
charge control
control system
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.)
Granted
Application number
CN202110332763.6A
Other languages
Chinese (zh)
Other versions
CN113092998B (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.)
Measurement Center of Guangdong Power Grid Co Ltd
Metrology Center of Guangdong Power Grid Co Ltd
Original Assignee
Measurement Center of Guangdong Power Grid 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 Measurement Center of Guangdong Power Grid Co Ltd filed Critical Measurement Center of Guangdong Power Grid Co Ltd
Priority to CN202110332763.6A priority Critical patent/CN113092998B/en
Publication of CN113092998A publication Critical patent/CN113092998A/en
Application granted granted Critical
Publication of CN113092998B publication Critical patent/CN113092998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a method and a system for testing a cost control switch, wherein a program-controlled constant voltage source and an electric energy meter are integrated into a testing system, so that the functions of bidirectional acquisition and bidirectional comparison of test data in the testing process are realized, namely a PLC control system acquires the test data in the electric energy meter, a voltage acquisition module acquires the test data of a tested product, the two acquired data are compared by the PLC control system, and the result is judged to be a good product. Compared with the traditional one-way data acquisition and comparison method, the detection method has the advantages of more accurate measurement result and higher product quality. And the compatibility of products with 4 specifications from various manufacturers is realized through the innovative design of an actuating mechanism and a testing device in the mechanical device.

Description

Method and system for testing cost control switch
Technical Field
The invention relates to the technical field of automatic detection of matching of a charge control switch product and an electric energy meter in an intelligent power grid, in particular to a method and a system for testing a charge control switch.
Background
The prepayment circuit breaker is large in wire inlet and outlet hole and poor in sealing performance, particularly in some wet and rainy areas in the south, a user can cause misoperation tripping or even continuous repeated tripping and closing phenomena due to rainwater entering the prepayment circuit breaker, namely the charge control switch, in the using process, so that power failure or continuous power failure and recovery are caused, normal power utilization of the user is influenced, even indoor electric appliances of the user are damaged, and the user complains more and certain economic loss is caused.
In order to solve the problems of good quality of the charge control switch and the matching of the charge control switch and electric energy meters of different manufacturers, the conventional technology is to take the charge control switch to the site manually and directly match the charge control switch with the electric energy meters, but the manual matching has low accuracy, low efficiency, poor compatibility and high cost.
Disclosure of Invention
The invention provides a method and a system for testing a cost control switch, wherein a program control constant voltage source and an electric energy meter are integrated into a testing system, and the functions of bidirectional acquisition and bidirectional comparison of test data in the testing process are realized. The PLC control system collects detection data in the electric energy meter, the voltage collection module collects test data of a detected product, the two collected data are compared through the PLC control system, and the good product is judged if the two collected data are consistent. Compared with the traditional one-way data acquisition and comparison method, the detection method has the advantages of more accurate measurement result and higher product quality. And the compatibility of products with 4 specifications from various manufacturers is realized through the innovative design of an actuating mechanism and a testing device in the mechanical device.
One embodiment of the present invention provides a method for testing a cost control switch, including:
s10, after confirming that the charge control switch to be tested is correctly placed at the station to be tested, setting the parameter signal as an initial value, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times;
s20, judging that the state of the charge control switch to be tested is an opening state, setting a phase line signal of the charge control switch to be tested to be a preset voltage value, inquiring that the PLC control system powers on the charge control switch to be tested after powering off when a voltage acquisition module of the electric energy meter and the PLC control system does not receive a closing state signal sent by the charge control switch to be tested, and sending a closing state instruction to the electric energy meter by the PLC control system after delaying to a first preset time; wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state; the switching-on state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in a connected state;
s30, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes the first state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the first state and the second state are both in an opening state within the first preset time and are delayed to a second preset time, the PLC control system sends a closing state instruction to the electric energy meter;
s40, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a third state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time;
s50, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a fifth state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
Further, the step S50 is followed by:
s60, after the times of finishing the testing of the charge control switch to be tested meet the preset times, ending the testing of the charge control switch to be tested; and returning to the step S20 when the number of times of completing the test of the charge control switch to be tested is judged not to meet the preset number of times.
Further, the S30 further includes: judging that the testing of the charge control switch to be tested is finished when the first state and/or the second state are/is a closing state within the first preset time;
the S40 further includes: judging whether the third state and/or the fourth state is a switching-off state within the second preset time, and ending the test of the charge control switch to be tested;
the S50 further includes: and when the fifth state and/or the sixth state are/is judged to be a closing state within the third preset time, ending the test of the charge control switch to be tested.
Further, the S30 further includes: when the first preset time is exceeded and the first state and the second state are both in the opening state, ending the test of the charge control switch to be tested;
the S40 further includes: when the second preset time is exceeded and the third state and the fourth state are both in a closing state, ending the test of the charge control switch to be tested;
the S50 further includes: and when the third preset time is judged to be exceeded, and the fifth state and the sixth state are both in the opening state, ending the test of the charge control switch to be tested.
Further, the first preset time is 7 seconds, the second preset time is 8 seconds, and the third preset time is 2 seconds.
An embodiment of the present invention provides a testing system for a cost control switch, including:
the initialization module is used for setting a parameter signal as an initial value after confirming that the charge control switch to be tested is correctly placed at a station to be tested, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times;
the system comprises an initialization test unit module, a phase line signal and a voltage acquisition module, wherein the initialization test unit module is used for judging that the state of the charge control switch to be tested is an opening state, setting the phase line signal of the charge control switch to be tested to be a preset voltage value, inquiring that the power meter and the voltage acquisition module of a PLC control system do not receive a closing state signal sent by the charge control switch to be tested, powering up the charge control switch by the PLC control system after the power meter is powered off, and sending a closing state instruction to the power meter by the PLC control system after the time is delayed to a first preset time; wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state; the switching-on state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in a connected state;
the first test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the first state of the charge control switch to be tested by the PLC control system according to the state data of the electric energy meter; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the first state and the second state are both in an opening state within the first preset time and are delayed to a second preset time, the PLC control system sends a closing state instruction to the electric energy meter;
the second test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the third state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time;
the third test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the fifth state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
Further, the testing system for the fee control switch further comprises: and the test frequency judging module is used for judging that the frequency of testing the charge control switch to be tested meets the preset frequency and then finishing the test of the charge control switch to be tested.
Further, the first test unit module is further configured to determine that the testing of the to-be-tested cost control switch is finished when the first state and/or the second state is a closing state within the first preset time;
the second testing unit module is further configured to determine that the testing of the to-be-tested cost control switch is finished when the third state and/or the fourth state is a switching-off state within the second preset time;
the third testing unit module is further configured to end the testing of the to-be-tested cost control switch when the fifth state and/or the sixth state is a closing state within the third preset time.
Further, the first test unit module is further configured to end the test of the to-be-tested cost control switch when it is judged that the first preset time is exceeded and the first state and the second state are both the open state;
the second testing unit module is further configured to end the testing of the to-be-tested cost control switch when the second preset time is exceeded and the third state and the fourth state are both a closing state;
and the third test unit module is further configured to end the test of the to-be-tested cost control switch when the third preset time is exceeded and the fifth state and the sixth state are both the open-brake state.
Further, the first preset time is 7 seconds, the second preset time is 8 seconds, and the third preset time is 2 seconds.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
(1) the test platform is universal for detecting charge control switches of 4 specifications of various manufacturers;
(2) the terminal electric energy meter is integrated into the test system, the state of the charge control switch is judged by bidirectionally acquiring test data and bidirectionally comparing the test result, and the test result is more accurate.
(3) The main stream ammeter 645 communication protocol in the field of electric appliances is used, so that the communication between electric appliances is more consistent, and the communication process is more stable.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for testing a cost-controlled switch according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for testing a cost-controlled switch according to another embodiment of the present invention;
fig. 3 is a flowchart of a method for testing a cost-controlled switch according to another embodiment of the present invention;
FIG. 4 is a diagram of an apparatus for testing a cost controlled switch according to an embodiment of the present invention;
FIG. 5 is a diagram of an apparatus for testing a cost controlled switch according to another embodiment of the present invention;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.
It is to be understood that 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 in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
A first aspect.
Referring to fig. 1-2, an embodiment of the invention provides a method for testing a cost-controlled switch, including:
s10, after confirming that the charge control switch to be tested is correctly placed at the station to be tested, setting the parameter signal as an initial value, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times.
S20, judging that the state of the charge control switch to be tested is an opening state, setting a phase line signal of the charge control switch to be tested to be a preset voltage value, inquiring that the power meter and a voltage acquisition module of a PLC control system do not receive a closing state signal sent by the charge control switch to be tested, powering on the charge control switch by the PLC control system after the power meter is powered off, and sending a closing state instruction to the power meter by the PLC control system after the power meter is delayed to a first preset time. Wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state, and the closing state is as follows: and the wire inlet end and the wire outlet end of the charge control switch to be tested are both in a connected state.
S30, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes the first state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the first state and the second state are both in the switching-off state within the first preset time and the second preset time is delayed, the PLC control system sends a switching-on state instruction to the electric energy meter.
In a specific embodiment, the step S30 further includes:
and when the first state and/or the second state are/is judged to be the closing state within the first preset time, the testing of the charge control switch to be tested is finished.
And when the first preset time is judged to be exceeded, and the first state and the second state are both in the switching-off state, ending the test of the charge control switch to be tested.
S40, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a third state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time.
In a specific embodiment, the step S40 further includes:
and when the third state and/or the fourth state are/is judged to be the switching-off state within the second preset time, the testing of the charge control switch to be tested is finished.
And when the second preset time is judged to be exceeded, and the third state and the fourth state are both in a closing state, ending the test of the charge control switch to be tested.
S50, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a fifth state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
In a specific embodiment, the step S50 further includes:
and when the fifth state and/or the sixth state are/is judged to be a closing state within the third preset time, ending the test of the charge control switch to be tested.
And when the third preset time is judged to be exceeded, and the fifth state and the sixth state are both in the opening state, ending the test of the charge control switch to be tested.
In a specific embodiment, the method further comprises:
s60, after the times of finishing the testing of the charge control switch to be tested meet the preset times, ending the testing of the charge control switch to be tested; and returning to the step S20 when the number of times of completing the test of the charge control switch to be tested is judged not to meet the preset number of times.
The embodiment of the invention has the beneficial effects that:
(1) the test platform is universal for detecting charge control switches of 4 specifications of various manufacturers;
(2) the terminal electric energy meter is integrated into the test system, the state of the charge control switch is judged by bidirectionally acquiring test data and bidirectionally comparing the test result, and the test result is more accurate.
(3) The main stream ammeter 645 communication protocol in the field of electric appliances is used, so that the communication between electric appliances is more consistent, and the communication process is more stable.
In one embodiment, referring to fig. 3, the present invention provides a comprehensive simulation test platform and a test method for a cost control switch. The test platform comprises a master control system, an HMI (human machine interface), a PLC (programmable logic controller) control system, a mechanical device, an alarm device, a monitoring system and the like.
The master control system comprises a master control server, a display, a printer and a communication acquisition module. The main control server is used for collecting, processing, interacting and storing data, and the printer is used for printing a report. The communication acquisition module receives the MES system test task and then communicates with the PLC, sends the test parameters of the specific test task to the PLC control system, and interacts with the PLC control system in real time according to the program setting. And after the test is finished, the main control system feeds the test result back to the MES system. The HMI is used for inputting parameters and displaying result information. The PLC control system realizes the functions of controlling the mechanical device, communicating with the electric energy meter, controlling the opening and closing of the electric energy meter, collecting product data in the testing process, communicating with the master control system and the like. The mechanical device comprises an actuating mechanism and a testing device, and the actuating mechanism and the testing device are connected with the PLC control system. The actuating mechanism comprises a robot and a clamping jaw, and the automatic feeding and discharging function of the product is realized. The testing device comprises a testing clamp, a program-controlled voltage source and an electric energy meter, wherein the testing clamp realizes clamping of a product and reliable connection of an electrode and a product wire holder, and the program-controlled voltage source provides stable voltage which can be set randomly for the electric energy meter to use. The electric energy meter is connected with the charge control switch through an electric element and controls the on-off of the charge control switch according to the communication requirement. The executing mechanism and the testing device are innovatively designed, and can be compatible with 4 specifications of products of various manufacturers. The alarm device is used for outputting prompt information of system faults and test results. The monitoring device is used for monitoring the states of the equipment and the tested product in real time and giving an alarm when the equipment and the tested product are abnormal.
The specific simulation test process is as follows:
s0: and starting.
S1: and products flow into the equipment in the conveyor line tray, and the equipment PLC control system triggers the RFID reader-writer to read the bar code information of the products according to the sensor signal and transmits the information to the master control system.
S2: and the master control system interacts with the MES according to the received bar code information, inquires the bar code test task and sends corresponding test parameters to the PLC master control system according to the test task.
S3: and the PLC master control system judges whether the product needs to be detected at the station or not according to the received test parameters, and jumps to S4 if the product needs to be detected, and jumps to S12 if the product does not need to be detected.
S4: the robot takes the products from the conveyor line tray and fixes the products to the corresponding test fixture stations, and the control signal lines and the feedback signal lines are correctly connected according to requirements.
S5: and setting correct parameters according to experimental requirements, namely voltage parameters, power supply time of phase line signals and control signals, test times of each test and the like.
S6: and starting a test, starting a voltage source, enabling each phase voltage to reach a set value, and starting to output alternating current to supply power to the electric energy meter.
S7: the product is in a brake-off state (the inlet end and the outlet end of the fee control switch are in a disconnected state), phase line signals (voltage signals of the inlet end and the outlet end of the fee control switch) are set voltage values, and the electric energy meter and the voltage acquisition module of the PLC do not receive a brake-on signal sent by the fee control switch (the brake-on state: the inlet end and the outlet end of the fee control switch are in a connected state).
S8: the product is in a brake-off state, the PLC is powered on after the power of the product is cut off, 7s time delay timing is started, and the PLC sends a brake-on instruction to the electric energy meter. The PLC communication module collects state data in the electric energy meter according to a 645 protocol of the electric energy meter and analyzes the opening and closing state of a product according to the collected data. Meanwhile, the voltage acquisition module acquires state data in a tested product and sends the state data to the PLC control system input module, and the PLC judges and analyzes the opening and closing state of the product according to the input data. If the two results are consistent and the switching-off state is within 7S, the process goes to S9, and if not, the process goes to S13.
And S9, after delaying for 8S, the PLC sends a closing instruction to the electric energy meter, the product can be normally closed, the PLC communication module collects state data in the electric energy meter according to a 645 protocol of the electric energy meter, and the opening and closing state of the product is analyzed according to the collected data. Meanwhile, the voltage acquisition module acquires state data in a tested product and sends the state data to the PLC control system input module, and the PLC judges and analyzes the opening and closing state of the product according to the input data. If the two results are consistent and the two results are in the closing state, the process goes to S10, and if the two results are not consistent, the process goes to S13.
S10: when the product is in a closing state, the PLC sends a switching-off instruction to the electric energy meter,
s11: and starting 2s time delay timing, acquiring state data in the electric energy meter by the PLC communication module according to a 645 protocol of the electric energy meter, and analyzing the opening and closing state of a product according to the acquired data. Meanwhile, the voltage acquisition module acquires state data in a tested product and sends the state data to the PLC control system input module, and the PLC judges and analyzes the opening and closing state of the product according to the input data. If the two results are consistent and the opening state information is received within 2S, the process goes to S12, and if the two results are inconsistent or the delay time exceeds 2S, the process goes to S13.
S12: adding 1 to the completion times, jumping to S13 if the set times is reached, and jumping back to S7 if the set times is not reached.
S13: and uploading the product test result to the main control system, taking out the product and placing the product into a conveyor line tray.
S14: and the product flow is transferred to the next testing procedure.
S15: and (6) ending.
In another embodiment, the invention provides a comprehensive simulation test platform and a test method for a cost control switch, which integrate communication technology, a program-controlled constant-voltage source, data acquisition technology and automatic control technology.
The purpose of the invention is realized by the following technical scheme:
a comprehensive simulation test platform of a charge control switch comprises a master control system, an HMI human-computer interface, a PLC control system, a mechanical device, an alarm device, a monitoring system and the like.
The master control system comprises a master control server, a display, a printer and a communication acquisition module;
the main control server is used for acquiring, processing, interacting and storing data;
the printer is used for printing the test report;
the communication acquisition module receives the MES system test task and then communicates with the PLC, sends the test parameters of the specific test task to the PLC control system, and interacts with the PLC control system in real time according to the program setting. And after the test is finished, the main control system feeds the test result back to the MES system.
The HMI human-machine interface is used for inputting parameters and displaying result information.
The PLC control system realizes the functions of controlling the mechanical device, communicating with the electric energy meter, controlling the opening and closing of the electric energy meter, collecting product data in the testing process, communicating with the master control system and the like.
The mechanical device comprises an execution mechanism and a testing device, and the execution mechanism and the testing device are connected with the PLC control system. The actuating mechanism comprises a robot and a clamping jaw, and the automatic feeding and discharging of the work product is realized. The testing device comprises a testing clamp, a program-controlled voltage source and an electric energy meter, wherein the testing clamp clamps a product and reliably connects an electrode with a product wiring seat, and the program-controlled voltage source provides stable voltage which can be set randomly for the electric energy meter to use. The electric energy meter is connected with the charge control switch through an electric element and controls the on-off of the charge control switch according to the communication requirement. The executing mechanism and the testing device are innovatively designed and can be compatible with 4 specifications of products of various manufacturers.
And the alarm device is used for outputting prompt information of system faults and test results.
The monitoring device is used for monitoring the states of the equipment and the tested product in real time and giving an alarm when the equipment and the tested product are abnormal.
The charge control switch control and feedback signals in the detection process meet the following requirements:
closing signals: the control and feedback signal adopts a half-wave mode, the average value of the output voltage of the signal port in the working voltage range of the charge control switch is not lower than 70V, and when a 100K resistor is connected in series between the signal wire and the N wire, the output current is not lower than 0.3 mA. The control and feedback signal adopts an AC220V level mode, the effective value of the output voltage of the signal port in the working voltage range of the charge control switch is not lower than 150V, and when a 100K resistor is connected in series between the signal wire and the N wire, the output current is not lower than 0.7 mA.
A brake-off signal: in the working voltage range of the charge control switch, a 100K resistor is connected between the signal line and the N line in series, the effective value of the voltage at two ends of the resistor is not higher than 5V, the positive peak voltage is not higher than 10V, and the output current is not more than 0.025 mA.
Due to the adoption of the technical scheme, the invention has the following advantages:
the invention innovatively designs a cost control switch comprehensive simulation test platform and a test method, firstly integrates a program control constant voltage source and an electric energy meter into a test system, and realizes the functions of bidirectional acquisition and bidirectional comparison of test data in the test process. The PLC control system collects detection data in the electric energy meter, the voltage collection module collects test data of a detected product, the two collected data are compared through the PLC control system, and the good product is judged if the two collected data are consistent. Compared with the traditional one-way data acquisition and comparison method, the detection method has the advantages of more accurate measurement result and higher product quality. And the compatibility of products with 4 specifications from various manufacturers is realized through the innovative design of an actuating mechanism and a testing device in the mechanical device.
A second aspect.
Referring to fig. 4-5, an embodiment of the invention provides a testing system for a cost-controlled switch, including:
the initialization module 10 is used for setting a parameter signal as an initial value after confirming that the charge control switch to be tested is correctly placed at a station to be tested, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times.
The initialization test unit module 20 is configured to determine that the state of the charge control switch to be tested is an open state, set a phase line signal of the charge control switch to be tested to a preset voltage value, query the power meter and power on when a voltage acquisition module of the PLC control system does not receive a close state signal sent by the charge control switch to be tested, power off and power on are performed on the charge control switch to be tested by the PLC control system, and after the time delay reaches a first preset time, the PLC control system sends a close state instruction to the power meter; wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state; the switching-on state is as follows: and the wire inlet end and the wire outlet end of the charge control switch to be tested are both in a connected state.
The first test unit module 30 is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the first state of the charge control switch to be tested by the PLC control system according to the state data of the electric energy meter; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the first state and the second state are both in the switching-off state within the first preset time and the second preset time is delayed, the PLC control system sends a switching-on state instruction to the electric energy meter.
In a specific embodiment, the first testing unit module 30 is further configured to determine that the testing of the to-be-tested cost control switch is ended when the first state and/or the second state is a closing state within the first preset time.
The first test unit module 30 is further configured to end the test of the to-be-tested cost control switch when the first preset time is exceeded and the first state and the second state are both the open state.
The second test unit module 40 is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the third state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time.
In a specific embodiment, the second testing unit module 40 is further configured to determine that the testing of the to-be-tested cost control switch is ended when the third state and/or the fourth state is the open state within the second preset time.
And the second testing unit module is further used for judging whether the second preset time is exceeded, and ending the test of the to-be-tested charge control switch when the third state and the fourth state are both in a closing state.
The third test unit module 50 is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the fifth state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
In a specific embodiment, the third testing unit module 50 is further configured to end the testing of the to-be-tested cost control switch when the fifth state and/or the sixth state is a closing state within the third preset time.
The third testing unit module 50 is further configured to end the testing of the to-be-tested cost control switch when it is determined that the third preset time is exceeded and the fifth state and the sixth state are both the open state.
In a specific embodiment, the method further comprises:
and the test frequency judging module 60 is configured to judge that the frequency of completing the test of the cost control switch to be tested satisfies a preset frequency, and then finish the test of the cost control switch to be tested.
In a third aspect.
The present invention provides an electronic device, including:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to invoke the operation instruction, and the executable instruction enables the processor to execute an operation corresponding to the testing method of the fee control switch shown in the first aspect of the application.
In an alternative embodiment, an electronic device is provided, as shown in fig. 6, the electronic device 5000 shown in fig. 6 includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are coupled, such as via a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that the transceiver 5004 is not limited to one in practical application, and the structure of the electronic device 5000 is not limited to the embodiment of the present application.
The processor 5001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 5001 may also be a combination of processors implementing computing functionality, e.g., a combination comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 5002 can include a path that conveys information between the aforementioned components. The bus 5002 may be a PCI bus or EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 5003 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 5003 is used for storing application program codes for executing the present solution, and the execution is controlled by the processor 5001. The processor 5001 is configured to execute application program code stored in the memory 5003 to implement the teachings of any of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
A fourth aspect.
The present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a method for testing a cost-controlled switch as set forth in the first aspect of the present application.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments.

Claims (10)

1. A method for testing a cost-controlled switch, comprising:
s10, after confirming that the charge control switch to be tested is correctly placed at the station to be tested, setting the parameter signal as an initial value, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times;
s20, judging that the state of the charge control switch to be tested is an opening state, setting a phase line signal of the charge control switch to be tested to be a preset voltage value, inquiring that the PLC control system powers on the charge control switch to be tested after powering off when a voltage acquisition module of the electric energy meter and the PLC control system does not receive a closing state signal sent by the charge control switch to be tested, and sending a closing state instruction to the electric energy meter by the PLC control system after delaying to a first preset time; wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state; the switching-on state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in a connected state;
s30, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes the first state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the first state and the second state are both in an opening state within the first preset time and are delayed to a second preset time, the PLC control system sends a closing state instruction to the electric energy meter;
s40, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a third state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time;
s50, the PLC control system collects state data of the electric energy meter according to an electric energy meter state collection protocol, and the PLC control system analyzes a fifth state of the charge control switch to be tested according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
2. The method for testing a fee controlled switch as recited in claim 1, further comprising, after S50:
s60, after the times of finishing the testing of the charge control switch to be tested meet the preset times, ending the testing of the charge control switch to be tested; and returning to the step S20 when the number of times of completing the test of the charge control switch to be tested is judged not to meet the preset number of times.
3. The method for testing a fee control switch as recited in claim 1,
the S30 further includes: judging that the testing of the charge control switch to be tested is finished when the first state and/or the second state are/is a closing state within the first preset time;
the S40 further includes: judging whether the third state and/or the fourth state is a switching-off state within the second preset time, and ending the test of the charge control switch to be tested;
the S50 further includes: and when the fifth state and/or the sixth state are/is judged to be a closing state within the third preset time, ending the test of the charge control switch to be tested.
4. The method for testing a fee control switch as recited in claim 1,
the S30 further includes: when the first preset time is exceeded and the first state and the second state are both in the opening state, ending the test of the charge control switch to be tested;
the S40 further includes: when the second preset time is exceeded and the third state and the fourth state are both in a closing state, ending the test of the charge control switch to be tested;
the S50 further includes: and when the third preset time is judged to be exceeded, and the fifth state and the sixth state are both in the opening state, ending the test of the charge control switch to be tested.
5. The method as claimed in claim 1, wherein the first predetermined time is 7 seconds, the second predetermined time is 8 seconds, and the third predetermined time is 2 seconds.
6. A test system for a cost controlled switch, comprising:
the initialization module is used for setting a parameter signal as an initial value after confirming that the charge control switch to be tested is correctly placed at a station to be tested, and connecting the charge control switch to be tested with the electric energy meter and the PLC control system; wherein the parameter signal comprises: voltage parameters, phase line signals, power-on time and test times;
the system comprises an initialization test unit module, a phase line signal and a voltage acquisition module, wherein the initialization test unit module is used for judging that the state of the charge control switch to be tested is an opening state, setting the phase line signal of the charge control switch to be tested to be a preset voltage value, inquiring that the power meter and the voltage acquisition module of a PLC control system do not receive a closing state signal sent by the charge control switch to be tested, powering up the charge control switch by the PLC control system after the power meter is powered off, and sending a closing state instruction to the power meter by the PLC control system after the time is delayed to a first preset time; wherein, the switching-off state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in an off state; the switching-on state is as follows: the incoming line end and the outgoing line end of the charge control switch to be tested are both in a connected state;
the first test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the first state of the charge control switch to be tested by the PLC control system according to the state data of the electric energy meter; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the second state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the first state and the second state are both in an opening state within the first preset time and are delayed to a second preset time, the PLC control system sends a closing state instruction to the electric energy meter;
the second test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the third state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the fourth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; when the third state and the fourth state are both in a closing state within the second preset time, the PLC control system sends a switching-off state instruction to the electric energy meter and delays the switching-off state instruction to a third preset time;
the third test unit module is used for acquiring the state data of the electric energy meter by the PLC control system according to an electric energy meter state acquisition protocol, and analyzing the fifth state of the charge control switch to be tested by the PLC control system according to the electric energy meter state data; the voltage acquisition module of the PLC control system acquires the state data of the charge control switch to be tested, and the PLC control system analyzes the sixth state of the charge control switch to be tested according to the state data of the charge control switch to be tested; and when the fifth state and the sixth state are both in the opening state within the third preset time, completing the testing of the charge control switch to be tested, and recording the number of times of completing the testing of the charge control switch to be tested to be increased once.
7. The system for testing a fee controlled switch as recited in claim 6, further comprising:
and the test frequency judging module is used for judging that the frequency of testing the charge control switch to be tested meets the preset frequency and then finishing the test of the charge control switch to be tested.
8. The testing system of claim 6,
the first test unit module is further configured to determine that the testing of the to-be-tested cost control switch is finished when the first state and/or the second state is a closing state within the first preset time;
the second testing unit module is further configured to determine that the testing of the to-be-tested cost control switch is finished when the third state and/or the fourth state is a switching-off state within the second preset time;
the third testing unit module is further configured to end the testing of the to-be-tested cost control switch when the fifth state and/or the sixth state is a closing state within the third preset time.
9. The testing system of claim 6,
the first test unit module is further configured to end the test of the to-be-tested cost control switch when the first preset time is exceeded and the first state and the second state are both the open state;
the second testing unit module is further configured to end the testing of the to-be-tested cost control switch when the second preset time is exceeded and the third state and the fourth state are both a closing state;
and the third test unit module is further configured to end the test of the to-be-tested cost control switch when the third preset time is exceeded and the fifth state and the sixth state are both the open-brake state.
10. The system as claimed in claim 6, wherein the first predetermined time is 7 seconds, the second predetermined time is 8 seconds, and the third predetermined time is 2 seconds.
CN202110332763.6A 2021-03-29 2021-03-29 Method and system for testing cost control switch Active CN113092998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110332763.6A CN113092998B (en) 2021-03-29 2021-03-29 Method and system for testing cost control switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110332763.6A CN113092998B (en) 2021-03-29 2021-03-29 Method and system for testing cost control switch

Publications (2)

Publication Number Publication Date
CN113092998A true CN113092998A (en) 2021-07-09
CN113092998B CN113092998B (en) 2022-03-04

Family

ID=76670284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110332763.6A Active CN113092998B (en) 2021-03-29 2021-03-29 Method and system for testing cost control switch

Country Status (1)

Country Link
CN (1) CN113092998B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589218A (en) * 2021-08-06 2021-11-02 广西电网有限责任公司贵港供电局 Action tester of external circuit breaker of cost control electric energy meter

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006049008A (en) * 2004-08-02 2006-02-16 Kansai Electric Power Co Inc:The Breaker measuring device and breaker measuring system provided with it
CN102508155A (en) * 2011-11-08 2012-06-20 郑州万特电气有限公司 Test circuit for internally installed load switch of intelligent electric energy meter
CN106383308A (en) * 2016-10-31 2017-02-08 中国电力科学研究院 Charge control circuit breaker automatic breaking/closing test device
CN206848433U (en) * 2017-05-11 2018-01-05 广西云涌科技有限公司 One kind takes the control external breaker function batch detecting device of electric energy meter
CN207164215U (en) * 2017-09-26 2018-03-30 广东电网有限责任公司电力科学研究院 A kind of breaker test power supply and system
CN207380206U (en) * 2017-09-07 2018-05-18 广东电网有限责任公司电力科学研究院 It is a kind of to take the control external System for Circuit Breaker device for detecting performance of electric energy meter
CN207832967U (en) * 2017-12-22 2018-09-07 海南电网有限责任公司 It is a kind of portable to take control breaker performance test case
CN209927983U (en) * 2019-03-28 2020-01-10 广西云涌科技有限公司 Portable program-controlled cost-control circuit breaker test box
US20200309856A1 (en) * 2019-03-25 2020-10-01 Sagemcom Energy & Telecom Sas Electricity meter including a circuit for detecting an open or closed state of a circuit breaker
CN111913101A (en) * 2019-05-10 2020-11-10 河南许继仪表有限公司 Function test system of external circuit breaker for cost control electric energy meter
US20200386842A1 (en) * 2019-06-10 2020-12-10 Zhejiang Huadian Equipment Testing Institute Co. , Ltd. System and method for integrated test on primary-secondary pole-mounted breaker

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006049008A (en) * 2004-08-02 2006-02-16 Kansai Electric Power Co Inc:The Breaker measuring device and breaker measuring system provided with it
CN102508155A (en) * 2011-11-08 2012-06-20 郑州万特电气有限公司 Test circuit for internally installed load switch of intelligent electric energy meter
CN106383308A (en) * 2016-10-31 2017-02-08 中国电力科学研究院 Charge control circuit breaker automatic breaking/closing test device
CN206848433U (en) * 2017-05-11 2018-01-05 广西云涌科技有限公司 One kind takes the control external breaker function batch detecting device of electric energy meter
CN207380206U (en) * 2017-09-07 2018-05-18 广东电网有限责任公司电力科学研究院 It is a kind of to take the control external System for Circuit Breaker device for detecting performance of electric energy meter
CN207164215U (en) * 2017-09-26 2018-03-30 广东电网有限责任公司电力科学研究院 A kind of breaker test power supply and system
CN207832967U (en) * 2017-12-22 2018-09-07 海南电网有限责任公司 It is a kind of portable to take control breaker performance test case
US20200309856A1 (en) * 2019-03-25 2020-10-01 Sagemcom Energy & Telecom Sas Electricity meter including a circuit for detecting an open or closed state of a circuit breaker
CN209927983U (en) * 2019-03-28 2020-01-10 广西云涌科技有限公司 Portable program-controlled cost-control circuit breaker test box
CN111913101A (en) * 2019-05-10 2020-11-10 河南许继仪表有限公司 Function test system of external circuit breaker for cost control electric energy meter
US20200386842A1 (en) * 2019-06-10 2020-12-10 Zhejiang Huadian Equipment Testing Institute Co. , Ltd. System and method for integrated test on primary-secondary pole-mounted breaker

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589218A (en) * 2021-08-06 2021-11-02 广西电网有限责任公司贵港供电局 Action tester of external circuit breaker of cost control electric energy meter

Also Published As

Publication number Publication date
CN113092998B (en) 2022-03-04

Similar Documents

Publication Publication Date Title
CN106771972B (en) Automatic testing device, system and method for POS machine mainboard
CN108646105B (en) BMS alternating current charging process simulation test equipment
CN206618845U (en) Power supply module for communication test system
CN113092998B (en) Method and system for testing cost control switch
CN112255562B (en) System and method for testing performance of direct-current power supply board card
CN112083242A (en) On-site calibrating device and method for alternating current charging pile
CN217541952U (en) Vehicle instrument test system
CN215867583U (en) Controller fault diagnosis test system
CN103529829A (en) Test system for electric vehicle controller
CN211148838U (en) Air conditioner internal unit testing device
CN107682227B (en) Ammeter detection configuration method
CN116860535A (en) Automatic testing device, system and method
CN112162232A (en) Remote verification device and method for alternating-current charging pile
CN115712072A (en) MOS tube phase line short circuit automatic test method, device and equipment
CN104678349A (en) Interface detection device for electric energy meter and system of interface detection device
CN113608065A (en) Multi-direct-current system ring network fault monitoring device and method
CN111351994B (en) System for realizing automatic test for wireless charging device and corresponding method
CN203552056U (en) Electric vehicle controller test system
CN112098826A (en) System, equipment and method for batch detection of quality of residual current circuit breakers
CN203117389U (en) Plastic case circuit breaker intelligent detection control system
CN113109755B (en) Detection device for metering field operation terminal
CN220252133U (en) Integrated testing device
CN111308236A (en) Testing system, device and method for power distribution terminal
CN111176921A (en) Method for auxiliary testing of mainboard and mainboard
CN2893720Y (en) Phase angle monitoring instrument

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