CN108924014A - A kind of electric system 4G wireless module test device and test method - Google Patents
A kind of electric system 4G wireless module test device and test method Download PDFInfo
- Publication number
- CN108924014A CN108924014A CN201811059226.3A CN201811059226A CN108924014A CN 108924014 A CN108924014 A CN 108924014A CN 201811059226 A CN201811059226 A CN 201811059226A CN 108924014 A CN108924014 A CN 108924014A
- Authority
- CN
- China
- Prior art keywords
- module
- wireless module
- test
- measured
- wireless
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to a kind of electric system 4G wireless module test devices, including nucleus module, control module, state indicator module, communication module, power module, test equipment interface, the nucleus module is made of 51 single-chip microcontrollers, and interior burning has enabled instruction program, test instruction repertorie, test result to send instruction repertorie;The control module is made of 51 single-chip microcontrollers, and interior burning controls information command program;The communication module is made of STM32 single-chip microcontroller, realizes its two-way communication between nucleus module with specific protocol.The present invention also provides a kind of test methods using above-mentioned electric system 4G wireless module test device.The quick and precisely test of disposable, multi-quantity 4G wireless module function can be achieved in the present invention, improves testing efficiency and testing reliability;2) present invention realizes simple that easy to operate, economic cost is low.
Description
Technical field
The present invention relates to power industry Distribution Automation Technology fields, and in particular to a kind of electric system 4G wireless module survey
Trial assembly is set and test method, the test of the telecommunication 4G wireless module suitable for meeting the quasi- end product of state's network mark.
Background technique
With the successive generation of some high performance chips and calculation method, so that power distribution automation product has operation, deposits
The intelligent features such as storage, judgement and control, measurement accuracy, reliability and in terms of have apparent progress
And improvement, the function of distribution transforming automated production be also continuously available extension and it is perfect.
In recent years, power distribution automation product forms different terminal requirements, wherein realize distribution transformer monitoring, electrical energy measurement,
The terminal of many integrations such as concentrator becomes a kind of development trend.And 4G wireless module be end product and main website remote information into
The important transmission mode of row wireless transmission, is based on this, and State Grid Corporation of China has formulated company standard for 4G wireless module, to mould
Block has carried out normalized by definition, specifies the basic demands such as 4G wireless module interface, becomes state's net electric system 4G wireless module
The universal standard.With the extensive use of distribution power automation terminal product, meet State Grid Corporation of China 4G wireless module standard
End product model is increasing, for end product manufacturer, how quickly to test the wireless mould of each model end product 4G
Whether the function of block is normal, becomes urgent problem to be solved.
Currently, domestic, there has been no the test devices and test that are suitable for State Grid Corporation of China's electric system 4G wireless module
Method, to solve this problem, it is necessary to develop a kind of suitable for the logical of State Grid Corporation of China's electric system 4G wireless module
With test device, a kind of test method of 4G wireless module is provided, to improve production efficiency, meets power distribution automation development to end
Hold the demand of class product.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of electric system 4G wireless module test device and test sides
Method improves testing efficiency and testing reliability, it can be achieved that disposable, multi-quantity 4G wireless module function quick and precisely test.
The technical solution adopted in the present invention is as follows:
A kind of electric system 4G wireless module test device, which is characterized in that including:Nucleus module, control module, state
Indicating module, communication module, power module, test equipment interface, the nucleus module are made of 51 single-chip microcontrollers, and interior burning has
Enabled instruction program, test instruction repertorie, test result send instruction repertorie;The control module is made of 51 single-chip microcontrollers,
Interior burning controls information command program;The communication module is made of STM32 single-chip microcontroller, realizes itself and core with specific protocol
Two-way communication between module;
The STM32 single-chip microcontroller of the communication module is by backplane circuit board with the 51 of serial communication mode and nucleus module
Monolithic mechatronics, the 51 chip microcontroller physical connections for passing through backplane circuit board and control module simultaneously, the control mould
51 single-chip processor i/o mouths of block and 51 single-chip processor i/o mouths of nucleus module realize physical connection, the shape by backplane circuit board
State indicating module passes through 51 chip microcontroller physical connections of backplane circuit board and nucleus module;
51 single-chip microcontrollers of the nucleus module are real with serial communication mode and test equipment interface by backplane circuit board
Existing physical connection;
The power module passes through backplane circuit board 51 monolithics with 51 single-chip microcontrollers of nucleus module, control module respectively
The STM32 chip microcontroller electrical connection of machine, communication module.
Nucleus module, control module, state indicator module realize the test to 4G wireless module to be measured;Power module carries out
220V AC conversion is ± 5V direct current by power of alterating and direct current conversion, is that 4G wireless module test device and 4G to be measured are wireless
Module for power supply;Communication interface of the communication module between 4G wireless module test device and outer computer, by serial port with
Computer carries out two-way communication.
Preferably, the specific protocol refers to be serial ports two-way communication between nucleus module and communication module, and communication is matched
Baud rate 57600bit/s, 8 data bit, 1 stop position, no parity check position are set, transmission time sequence is first to pass low level, rear to pass a high position;
Communication module supports three-wire system to communicate, communication configuration baud rate 57600bit/s, 8 data bit, 1 stop position, no parity check position,
Transmission time sequence is first to pass low level, rear to pass a high position.This mode can make data transmission more efficient, stable.
Preferably, the state indicator module is made of red LED lamp, green LED lamp, yellow LED lamp.Red LED
Lamp is bright to be represented 4G wireless module to be measured and not to pass through test, and green LED lamp is bright to be represented 4G wireless module to be measured and pass through test, yellow
The bright nucleus module for representing the test device of LED light is in a dormant state (i.e. non-working condition).Indicator light mode can be more
Intuitively reflect test result.
Preferably, the power module is by the protection module, rectification module, filter that are sequentially connected electrically by backplane circuit board
Wave module three parts are constituted.The protection module is made of Anti-surging device, and rectification module is made of transformer, thyristor,
Filter module is made of capacitor, inductance.The 220V alternating current of input passes through protection module first and carries out anti-electromagnetic interference, improves electricity
Source module anti-electromagnetic interference capability promotes power supply stability and reliability;Then, 220V alternating current is realized extremely by rectification module
The conversion of ± 5V direct current;Finally, external disturbance is filtered out by filter module, the power quality of ± 5V after improving conversion.
A kind of test method using above-mentioned electric system 4G wireless module test device, includes the following steps:
Step 1, completion 4G wireless module to be tested, test device, the physical connection of outer computer, specific steps are such as
Under:
In the card slot that will confirm that effective SIM card insertion 4G wireless module, and confirm the type of SIM card, it will be to be tested
4G wireless module is inserted on the test equipment interface of test device, completes the company of test device and 4G wireless module to be tested
It connects;Using serial port transform USB module complete test device and outer computer connection, by power module be test device and to
Survey the power supply of 4G wireless module;
Step 2, carry out test device in nucleus module software configuration, comprise the concrete steps that:Electricity to 4G wireless module
After source indicator light indicates normal power supply, the configuration of nucleus module parameter is completed according to the type of SIM card, by outer computer
And the modification of test program, test program is burned onto corresponding nucleus module;
Whether step 3 is normally carried out test to the function of 4G wireless module;
Step 4 handles analysis to the test result of 4G wireless module to be measured.
Preferably, whether test is normally carried out to the function of 4G wireless module described in step 3, specifically includes following step
Suddenly:
3.1, the PowerKey pin 1s of 4G wireless module to be measured is dragged down, while drawing high Reset pin, completes the wireless mould of 4G
The normal starting of block;
3.2, after 4G wireless module normally starts, waits 15s, serial ports is available;
3.3, to 4G wireless module to be measured send AT instruction, test whether return information, if, show test device and 4G
Wireless module serial ports has been carried out communication, turns in next step, goes to step 3.3 repeating transmission if not, after waiting 500ms;
If the movement for going to step 3.3 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.4, after serial communication success, AT+CPIN is sent to 4G wireless module to be measured?Instruction, whether test SIM card
It is ready, if returning to READY information, showing that SIM card is ready for finishing, turn in next step, otherwise, after waiting 500ms go to step
3.4 retransmitting;
If the movement for going to step 3.4 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.5, SIM card is ready, sends AT+CSQ instruction to 4G wireless module to be measured, whether test signal strength reaches
Otherwise, after waiting 500ms mark goes to step 3.5 weights if returning to READY information, showing that signal strength test finishes, turns in next step
Hair;
If the movement for going to step 3.5 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.6, signal strength test finishes, and sends AT+CGREG to 4G wireless module to be measured?Whether instruction, test network are attached
On, if return+CGREG:0,1 or+CGREG:0,5 show network adhered to, 4G wireless module initialize successfully, turn under
Otherwise, after waiting 500ms one step goes to step 3.6 repeating transmission;
If the movement for going to step 3.6 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.7, after the initialization of 4G wireless module finishes, AT $ MYSYSINFO instruction is sent to 4G wireless module to be measured, into
Network operation standard is inquired before the trade, according to the network operation standard of return, determines the APN of 4G wireless module, if returning correct
Network operation standard, turn in next step, if do not return correct network operation standard, wait 500ms after go to step 3.7 repeating transmission;
If the movement for going to step 3.7 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.8, AT $ MYTYPE is sent to 4G wireless module to be measured?Instruction, inquires the type of 4G wireless module to be measured, tests
4G wireless module operating mode, operational network type and additional function, if returning to correct module type, turning in next step, if not
3.8 repeating transmission are gone to step after returning to correct module type, waiting 500ms;
If the movement for going to step 3.8 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.9, it is completed, according to preceding test result twice, sends AT $ MYNETCON instruction to 4G wireless module to be measured,
The network connection initiation parameter APN of setup module, if receiving feedback information, turning in next step, if not receiving feedback information, waiting
3.9 repeating transmission are gone to step after 500ms;
If the movement for going to step 3.9 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4, show that 4G wireless module does not pass through test;
3.10, network parameter setting initialization finishes, and sends ATD*99# instruction to 4G wireless module to be measured, tests to be measured
Whether 4G wireless module returns to " CONNECT " instruction, if, then prove 4G wireless module successful connection to be measured, the module
Be it is effectively usable, if not, wait 500ms after go to step 3.10 repeating transmission;
If the movement for going to step 3.10 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement be repeated 5 times after it is still unsuccessful, return failure signal, survey
It tries to terminate and go to step 4, shows that 4G wireless module does not pass through test.
Preferably, test program described in step 2 includes:The starting of 4G wireless module, the initialization of 4G wireless module, 4G is wireless
Module network communication test three parts.
Preferably, it is to the method for the processing analysis of 4G wireless module test result to be measured described in step 4:
On the one hand it can be checked by the corresponding status indicator lamp of each 4G wireless module to be measured, if indicator light is shown in green
Length is bright, then represents 4G wireless module and be completed, function is normal, and otherwise there are problems for the 4G wireless module;On the other hand, every group
4G wireless module test result to be measured can be sent to communication module and carry out data processing, and the data after summarizing are sent to calculating
Machine, the test result of the every 4G wireless module of computer background real-time display simultaneously save test result into database.
Beneficial effects of the present invention:
1) the quick and precisely test of disposable, multi-quantity 4G wireless module function can be achieved in the present invention, improves test
Efficiency and testing reliability;
2) present invention realizes simple that easy to operate, economic cost is low.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of 4G wireless module test device;
Fig. 2 is the logical flow chart of 4G wireless module test method.
Specific embodiment
To keep above-mentioned purpose of the invention, feature more obvious and easy to understand, the present invention is illustrated with reference to the accompanying drawing
Embodiment.As shown in Figure 1, be the structural schematic diagram of electric system 4G wireless module test device, including:Nucleus module,
Control module, state indicator module, communication module, power module, test equipment interface.
The nucleus module is used for the pin low and high level timing control of 4G wireless module, realizes normal starting and multiple
Bit function, while carrying out the transmission of test instruction and receiving the analysis processing of 4G wireless module return information.Nucleus module it is hard
Part is made of 51 single-chip microcontrollers, and interior burning, which has, writes the enabled instruction program finished, test instruction repertorie, test result transmission instruction
Program, wherein enabled instruction program for 4G wireless module to be measured initialization and soft start, test instruction repertorie be used for
4G wireless module to be measured sends AT instruction and receives 4G wireless module return information to be measured and carry out return information correctness
Judgement, test result send instruction repertorie and are used to the test result of 4G wireless module to be measured being sent to communication module.On the one hand,
51 microcontroller serial ports of the nucleus module and the physical connection of 4G wireless module serial ports are realized by backplane circuit board, are started
The transmission of instruction and test instruction, for starting and resetting 4G wireless module to be measured;On the other hand being realized by back plane circuitry should
51 microcontroller serial ports of module and the physical connection of communication module are serial ports two-way communication between test module and communication module,
The two communication is realized with specific protocol (i.e. this specification customized various frame formats described below), by each test result
It is sent to communication module.51 single-chip microcontrollers of nucleus module are real with serial communication mode and test equipment interface by backplane circuit board
Existing physical connection;In the present embodiment, 51 microcontroller serial ports of nucleus module are using four mouthfuls of phoenix terminals of standard as test equipment
Interface is connected to 4G wireless module to be tested.
Operating mode of the control module for the nucleus module controls, and controls the test mode of the nucleus module
(working condition or dormant state), and status information is issued into communication module.The hardware of control module is made of 51 single-chip microcontrollers, interior
Burning controls information command program, realizes from communication module and obtains control information, control information is sent to the function such as nucleus module
Energy.On the one hand 51 microcontroller serial ports Yu communication module of the control module realize physical connection by backplane circuit board, by logical
It interrogates module and obtains control instruction information;On the other hand by backplane circuit board realize the control module 51 single-chip processor i/o mouths and
51 single-chip processor i/o mouth physical connections of nucleus module send work by parsing the control instruction information obtained from communication module
Mode control instruction controls the test mode of the nucleus module.
The state indicator module is used for the shape that works the display of 4G wireless module test result and test device itself
The display of state.The hardware of state indicator module is made of red LED lamp, green LED lamp, yellow LED lamp, and state indicator module is logical
The physical connection for crossing backplane circuit board realization and 51 single-chip processor i/o mouths of nucleus module, passes through 51 single-chip processor i/o mouth low and high levels
Output control the light on and off of LED light, for the display and test device working condition itself to 4G wireless module test result
Display.
The hardware of the power module is by the protection module, rectification module, filter that are sequentially connected electrically by backplane circuit board
Wave module three parts are constituted.Wherein, protection module is made of the anti-electromagnetic interference device such as Anti-surging device, and rectification module is by transformation
The devices such as device, thyristor are constituted, and filter module is made of devices such as capacitor, inductance.Power module is converted to 220V alternating current
It is wireless for the power port of 4G wireless module test device and 4G to be measured by backplane circuit board after the ± 5V direct current of high quality
The power port of module uses.
The power module by 51 single-chip microcontrollers of backplane circuit board and nucleus module, control module 51 single-chip microcontrollers,
And state indicator module is electrically connected, after ± 5V direct current electricity output, using backplane circuit board as above functions module for power supply.
The hardware of the communication module is made of STM32 single-chip microcontroller, realizes the two communication, communication module with specific protocol
On the one hand it is realized by computer to the configuration of test module inner parameter and the burning of program, on the other hand by test module
Test data result carries out summarizing conversion, is converted into and meets the data format of communication protocol between test device and computer, returns
Computer is returned, computer background realizes real-time record and the automatic display of test result of test data.
The communication module STM32 single-chip microcontroller is single with the 51 of serial communication mode and nucleus module by backplane circuit board
Piece mechatronics;Meanwhile STM32 single-chip microcontroller is connect by serial port transform USB module (a kind of general module) and the communication of computer
Mouth electrical connection.
The communication module STM32 single-chip microcontroller is electrically connected by backplane circuit board with power module realization, by power supply mould
± 5V the direct current of block output is the power supply of STM32 single-chip microcontroller.
In the present embodiment, all physical connections are connected by backboard, and backboard is circuit board.Electric power of the invention
System 4G wireless module test device is expandable type, can configure according to actual needs the nucleus module of different number and state refers to
Show that module, maximum can support the test of 30 road 4G wireless modules simultaneously, 1 tunnel of every increase needs to increase the 51 of a nucleus module
Single-chip microcontroller and a state indicator module.If it is multichannel 4G wireless module test device, due to being related to more nucleus modules
51 single-chip microcontrollers, so needed between each single-chip microcontroller by backplane circuit board realize be connected with each other, a nucleus module therein
51 single-chip microcontrollers be electrically connected respectively with communication module STM32 single-chip microcontroller and with 51 chip microcontrollers of control module, with guarantee
51 single-chip microcontrollers and communication module STM32 single-chip microcontroller of each nucleus module, the physical connection with 51 single-chip microcontrollers of control module.
It is serial ports two-way communication, communication configuration baud rate 57600bit/s, 8 data between test module and communication module
Position, 1 stop position, no parity check position, transmission time sequence is first to pass low level, rear to pass a high position.Frame format is as follows:
Frame format illustrates:
1. start-of-frame:A frame information is identified to start;
2. data field DATA:1 byte, various combination meaning is as shown in the table, and low three data of D0~D2 are anticipated without representative
Justice, for communication module when carrying out data processing, three data low to D0~D2 are without parsing:
3. check code CS:To the sum of the mould 256 of all bytes before check code since start-of-frame, disregards and be more than
256 overflow value;
4. end mark:Identify the end of a frame information.
Communication module support three-wire system communication, communication configuration baud rate 57600bit/s, 8 data bit, 1 stop position,
No parity check position, transmission time sequence is first to pass low level, rear to pass a high position.Frame format is as follows:
Frame format illustrates:
1. start-of-frame:A frame information is identified to start;
2. valid data length L:For the quantity of 4G wireless module to be measured in testing every time, by nucleus module according to control mould
Bulk state calculates determination automatically;
3. data field DATA:Be 4G wireless module test result information comprising 4 bytes, wherein binary one represent to
Survey 4G wireless module function is normal, and " 0 " represents 4G wireless module existing defects to be measured, and data effective length is by " valid data
Length L " is determined;
4. check code CS:To the sum of the mould 256 of all bytes before check code since start-of-frame, disregards and be more than
256 overflow value;
5. end mark:Identify the end of a frame information.
As shown in Fig. 2, being the logic for carrying out functional test to 4G wireless module using above-mentioned 4G wireless module test device
Flow chart, test method generally include the physical connection of test macro, the functional test of 4G wireless module to be measured, test result
Data Analysis Services three parts.Specifically include following steps:
Step 1, completion 4G wireless module to be tested, test device, the physical connection of outer computer, specific steps are such as
Under:
In the card slot that will confirm that effective SIM card insertion 4G wireless module, and confirm the type of SIM card, it will be to be tested
4G wireless module is inserted on the test equipment interface of test device, completes the company of test device and 4G wireless module to be tested
It connects;Using serial port transform USB module complete test device and outer computer connection, by power module be test device and to
Survey the power supply of 4G wireless module.
Step 2, carry out test device in nucleus module software configuration, comprise the concrete steps that:Electricity to 4G wireless module
After source indicator light indicates normal power supply, the configuration of nucleus module parameter is completed according to the type of SIM card, by outer computer
And the modification of test program, test program is burned onto corresponding nucleus module;Test program include 4G wireless module starting,
Three parts are tested in the initialization of 4G wireless module, 4G wireless module network communication.
Whether step 3 is normally carried out test to the function of 4G wireless module, specifically includes following steps:
3.1, the PowerKey pin 1s of 4G wireless module to be measured is dragged down, while drawing high Reset pin, completes the wireless mould of 4G
The normal starting of block;
3.2, after 4G wireless module normally starts, waits 15s, serial ports is available;
3.3, to 4G wireless module to be measured send AT instruction, test whether return information, if, show test device and 4G
Wireless module serial ports has been carried out communication, turns in next step, goes to step 3.3 repeating transmission if not, after waiting 500ms;
If the movement for going to step 3.3 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.4, after serial communication success, AT+CPIN is sent to 4G wireless module to be measured?Instruction, whether test SIM card
It is ready, if returning to READY information, showing that SIM card is ready for finishing, turn in next step, otherwise, after waiting 500ms go to step
3.4 retransmitting;
If the movement for going to step 3.4 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.5, SIM card is ready, sends AT+CSQ instruction to 4G wireless module to be measured, whether test signal strength reaches
Otherwise, after waiting 500ms mark goes to step 3.5 weights if returning to READY information, showing that signal strength test finishes, turns in next step
Hair;
If the movement for going to step 3.5 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.6, signal strength test finishes, and sends AT+CGREG to 4G wireless module to be measured?Whether instruction, test network are attached
On, if return+CGREG:0,1 or+CGREG:0,5 show network adhered to, 4G wireless module initialize successfully, turn under
Otherwise, after waiting 500ms one step goes to step 3.6 repeating transmission;
If the movement for going to step 3.6 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.7, after the initialization of 4G wireless module finishes, AT $ MYSYSINFO instruction is sent to 4G wireless module to be measured, into
Network operation standard is inquired before the trade, according to the network operation standard of return, determines the APN of 4G wireless module, if returning correct
Network operation standard, turn in next step, if do not return correct network operation standard, wait 500ms after go to step 3.7 repeating transmission;
If the movement for going to step 3.7 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.8, AT $ MYTYPE is sent to 4G wireless module to be measured?Instruction, inquires the type of 4G wireless module to be measured, tests
4G wireless module operating mode, operational network type and additional function, if returning to correct module type, turning in next step, if not
3.8 repeating transmission are gone to step after returning to correct module type, waiting 500ms;
If the movement for going to step 3.8 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.9, it is completed, according to preceding test result twice, sends AT $ MYNETCON instruction to 4G wireless module to be measured,
The network connection initiation parameter APN of setup module, if receiving feedback information, turning in next step, if not receiving feedback information, waiting
3.9 repeating transmission are gone to step after 500ms;
If the movement for going to step 3.9 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return and unsuccessfully believe
Number, test terminate and go to step 4;
3.10, network parameter setting initialization finishes, and sends ATD*99# instruction to 4G wireless module to be measured, tests to be measured
Whether 4G wireless module returns to " CONNECT " instruction, if, then prove 4G wireless module successful connection to be measured, the module
Be it is effectively usable, if not, wait 500ms after go to step 3.10 repeating transmission;
If the movement for going to step 3.10 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin
It drags down 1s, go to step 3.2;
If Reset pin drag down 1s, go to step 3.2 movement be repeated 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4.
Step 4 analyzes the processing of 4G wireless module test result to be measured:4G wireless module tests feedback result, a side
Face can be checked by the status indicator lamp of each 4G wireless module, if the shown in green length of indicator light is bright, represent the wireless mould of 4G
Block is completed, and function is normal, and otherwise there are problems for the 4G wireless module;On the other hand, every group of 4G wireless module test result
Communication module can be sent to and carry out data processing, the data after summarizing are sent to computer, computer background real-time display is every
The test result of one 4G wireless module simultaneously saves test result into database.
Claims (9)
1. a kind of electric system 4G wireless module test device, which is characterized in that including:Nucleus module, control module, state refer to
Show that module, communication module, power module, test equipment interface, the nucleus module are made of 51 single-chip microcontrollers, interior burning is opened
Dynamic instruction repertorie, test instruction repertorie, test result send instruction repertorie;The control module is made of 51 single-chip microcontrollers, interior
Burning controls information command program;The communication module is made of STM32 single-chip microcontroller, realizes itself and core mould with specific protocol
Two-way communication between block;
The STM32 single-chip microcontroller of the communication module is by backplane circuit board with 51 monolithics of serial communication mode and nucleus module
Mechatronics, the 51 chip microcontroller physical connections for passing through backplane circuit board and control module simultaneously, the control module
51 single-chip processor i/o mouths of 51 single-chip processor i/o mouths and nucleus module realize that physical connection, the state refer to by backplane circuit board
Show that module passes through 51 chip microcontroller physical connections of backplane circuit board and nucleus module;
51 single-chip microcontrollers of the nucleus module realize object by backplane circuit board with serial communication mode and test equipment interface
Reason connection;
The power module by backplane circuit board respectively with 51 single-chip microcontrollers of nucleus module, control module 51 single-chip microcontrollers,
The STM32 chip microcontroller of communication module is electrically connected.
2. a kind of electric system 4G wireless module test device according to claim 1, which is characterized in that described is specific
Agreement refers between nucleus module and communication module for serial ports two-way communication, communication configuration baud rate 57600bit/s, 8 data
Position, 1 stop position, no parity check position, transmission time sequence is first to pass low level, rear to pass a high position;Communication module supports three-wire system communication, communication
Baud rate 57600bit/s, 8 data bit, 1 stop position, no parity check position are configured, transmission time sequence is first to pass low level, rear to pass height
Position.
3. a kind of electric system 4G wireless module test device according to claim 2, which is characterized in that the state
Indicating module is made of red LED lamp, green LED lamp, yellow LED lamp.
4. a kind of electric system 4G wireless module test device according to claim 2, which is characterized in that the power supply
Module is made of the protection module, rectification module, filter module three parts being sequentially connected electrically by backplane circuit board.
5. a kind of electric system 4G wireless module test device according to claim 4, which is characterized in that the protection
Module is made of Anti-surging device, and rectification module is made of transformer, thyristor, and filter module is made of capacitor, inductance.
6. a kind of test method using the described in any item electric system 4G wireless module test devices of claim 1-5,
It is characterized in that, includes the following steps:
Step 1, completion 4G wireless module to be tested, test device, the physical connection of outer computer, specific step is as follows:
In the card slot that will confirm that effective SIM card insertion 4G wireless module, and confirm the type of SIM card, by 4G to be tested without
Wire module is inserted on the test equipment interface of test device, completes the connection of test device and 4G wireless module to be tested;Benefit
The connection that test device and outer computer are completed with serial port transform USB module is test device and 4G to be measured by power module
Wireless module power supply;
Step 2, carry out test device in nucleus module software configuration, comprise the concrete steps that:Power supply to 4G wireless module refers to
After showing lamp instruction normal power supply, the configuration and survey of nucleus module parameter are completed according to the type of SIM card, by outer computer
The modification for trying program, test program is burned onto corresponding nucleus module;
Whether step 3 is normally carried out test to the function of 4G wireless module;
Step 4 handles analysis to the test result of 4G wireless module to be measured.
7. a kind of test method of electric system 4G wireless module test device according to claim 6, which is characterized in that
Whether test is normally carried out to the function of 4G wireless module described in step 3, specifically includes following steps:
3.1, the PowerKey pin 1s of 4G wireless module to be measured is dragged down, while drawing high Reset pin, completes 4G wireless module
Normal starting;
3.2, after 4G wireless module normally starts, waits 15s, serial ports is available;
3.3, to 4G wireless module to be measured send AT instruction, test whether return information, if, show that test device and 4G are wireless
Module serial ports has been carried out communication, turns in next step, goes to step 3.3 repeating transmission if not, after waiting 500ms;
If the movement for going to step 3.3 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.4, after serial communication success, AT+CPIN is sent to 4G wireless module to be measured?Whether instruction, test SIM card are ready for
It is ready, if returning to READY information, showing that SIM card is ready for finishing, turn in next step, otherwise, after waiting 500ms go to step 3.4 weights
Hair;
If the movement for going to step 3.4 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.5, SIM card is ready, sends AT+CSQ instruction to 4G wireless module to be measured, and whether test signal strength is up to standard, if
It returns to READY information, show that signal strength test finishes, turns in next step, otherwise, after waiting 500ms go to step 3.5 repeating transmission;
If the movement for going to step 3.5 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.6, signal strength test finishes, and sends AT+CGREG to 4G wireless module to be measured?Whether instruction, test network adhere to
On, if return+CGREG:0,1 or+CGREG:0,5 show network adhered to, 4G wireless module initialize successfully, turn it is next
Otherwise, after waiting 500ms step goes to step 3.6 repeating transmission;
If the movement for going to step 3.6 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.7, after the initialization of 4G wireless module finishes, AT $ MYSYSINFO instruction is sent to 4G wireless module to be measured, is worked as
Preceding network operation standard inquiry, according to the network operation standard of return, determines the APN of 4G wireless module, if returning to correct net
Network runs standard, turns in next step, if going to step 3.7 repeating transmission after not returning to correct network operation standard, waiting 500ms;
If the movement for going to step 3.7 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.8, AT $ MYTYPE is sent to 4G wireless module to be measured?Instruction, inquires the type of 4G wireless module to be measured, test 4G without
Wire module operating mode, operational network type and additional function, if returning to correct module type, turning in next step, if not returning
Correct module type goes to step 3.8 repeating transmission after waiting 500ms;
If the movement for going to step 3.8 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.9, it is completed, according to preceding test result twice, sends AT $ MYNETCON instruction, setting to 4G wireless module to be measured
The network connection initiation parameter APN of module, if receiving feedback information, turning in next step, if not receiving feedback information, waiting
3.9 repeating transmission are gone to step after 500ms;
If the movement for going to step 3.9 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement repeat 5 times after it is still unsuccessful, return failure signal, survey
Examination terminates and goes to step 4;
3.10, network parameter setting initialization finishes, to 4G wireless module to be measured send ATD*99# instruction, test 4G to be measured without
Whether wire module returns to " CONNECT " instruction, if, then prove that 4G wireless module successful connection to be measured, the module are that have
Imitate it is available, if not, wait 500ms after go to step 3.10 repeating transmission;
If the movement for going to step 3.10 repeating transmission after waiting 500ms repeats 50 times still without correct feedback, Reset pin is dragged down
1s, 3.2 are gone to step;
If Reset pin drag down 1s, go to step 3.2 movement be repeated 5 times after it is still unsuccessful, return failure signal, test knot
Beam simultaneously goes to step 4.
8. a kind of test method of electric system 4G wireless module test device according to claim 7, which is characterized in that
Test program described in step 2 includes:The starting of 4G wireless module, the initialization of 4G wireless module, 4G wireless module network communication are surveyed
Try three parts.
9. a kind of test method of electric system 4G wireless module test device according to claim 8, which is characterized in that
It is to the method for the processing analysis of 4G wireless module test result to be measured described in step 4:
On the one hand it can be checked by the corresponding status indicator lamp of each 4G wireless module to be measured, if the shown in green length of indicator light
It is bright, then it represents 4G wireless module and is completed, function is normal, and otherwise there are problems for the 4G wireless module;On the other hand, it waits for for every group
Communication module progress data processing can be sent to by surveying 4G wireless module test result, and the data after summarizing are sent to computer,
The test result of the every 4G wireless module of computer background real-time display simultaneously saves test result into database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811059226.3A CN108924014B (en) | 2018-09-11 | 2018-09-11 | Test method of 4G wireless module test device of power system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811059226.3A CN108924014B (en) | 2018-09-11 | 2018-09-11 | Test method of 4G wireless module test device of power system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108924014A true CN108924014A (en) | 2018-11-30 |
CN108924014B CN108924014B (en) | 2023-09-26 |
Family
ID=64407908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811059226.3A Active CN108924014B (en) | 2018-09-11 | 2018-09-11 | Test method of 4G wireless module test device of power system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924014B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109709844A (en) * | 2018-12-13 | 2019-05-03 | 广州市森锐科技股份有限公司 | A kind of measurement statistical method based on narrowband cellular network |
CN112398547A (en) * | 2020-10-28 | 2021-02-23 | 深圳市天视通技术有限公司 | Network module testing method, system and readable storage medium |
CN112565012A (en) * | 2020-12-01 | 2021-03-26 | 重庆芯讯通无线科技有限公司 | Automatic test method, system, medium and equipment for module first network finding time |
CN113740631A (en) * | 2020-05-29 | 2021-12-03 | 比亚迪股份有限公司 | Interlock test system and method |
CN114082678A (en) * | 2021-10-12 | 2022-02-25 | 惠阳帝宇工业有限公司 | Emergency lamp testing method and emergency lamp |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179608A (en) * | 2013-03-22 | 2013-06-26 | 福建联迪商用设备有限公司 | Two-generation/third-generation (2/3G) wireless module diagnosis test method and device |
CN106056876A (en) * | 2016-06-06 | 2016-10-26 | 暨南大学 | Enterprise energy management information acquisition system and method |
CN106160888A (en) * | 2016-06-30 | 2016-11-23 | 上海庆科信息技术有限公司 | A kind of test system and method for wireless communication module |
CN106502236A (en) * | 2016-10-27 | 2017-03-15 | 武汉奥泽电子有限公司 | BCM multimachines automatization test system and method |
CN106950489A (en) * | 2017-04-06 | 2017-07-14 | 芯海科技(深圳)股份有限公司 | A kind of electric power detection and fail-ure criterion system and method |
CN208924262U (en) * | 2018-09-11 | 2019-05-31 | 山东电工电气集团新能科技有限公司 | A kind of electric system 4G wireless module test device |
-
2018
- 2018-09-11 CN CN201811059226.3A patent/CN108924014B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179608A (en) * | 2013-03-22 | 2013-06-26 | 福建联迪商用设备有限公司 | Two-generation/third-generation (2/3G) wireless module diagnosis test method and device |
CN106056876A (en) * | 2016-06-06 | 2016-10-26 | 暨南大学 | Enterprise energy management information acquisition system and method |
CN106160888A (en) * | 2016-06-30 | 2016-11-23 | 上海庆科信息技术有限公司 | A kind of test system and method for wireless communication module |
CN106502236A (en) * | 2016-10-27 | 2017-03-15 | 武汉奥泽电子有限公司 | BCM multimachines automatization test system and method |
CN106950489A (en) * | 2017-04-06 | 2017-07-14 | 芯海科技(深圳)股份有限公司 | A kind of electric power detection and fail-ure criterion system and method |
CN208924262U (en) * | 2018-09-11 | 2019-05-31 | 山东电工电气集团新能科技有限公司 | A kind of electric system 4G wireless module test device |
Non-Patent Citations (1)
Title |
---|
小坏WZ: "华为LTE 模块AT 命令拨号上网流程", pages 1 - 2, Retrieved from the Internet <URL:https://blog.csdn.net/qq_32384313/article/details/77725544> * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109709844A (en) * | 2018-12-13 | 2019-05-03 | 广州市森锐科技股份有限公司 | A kind of measurement statistical method based on narrowband cellular network |
CN113740631A (en) * | 2020-05-29 | 2021-12-03 | 比亚迪股份有限公司 | Interlock test system and method |
CN113740631B (en) * | 2020-05-29 | 2023-03-28 | 比亚迪股份有限公司 | Interlock test system and method |
CN112398547A (en) * | 2020-10-28 | 2021-02-23 | 深圳市天视通技术有限公司 | Network module testing method, system and readable storage medium |
CN112565012A (en) * | 2020-12-01 | 2021-03-26 | 重庆芯讯通无线科技有限公司 | Automatic test method, system, medium and equipment for module first network finding time |
CN114082678A (en) * | 2021-10-12 | 2022-02-25 | 惠阳帝宇工业有限公司 | Emergency lamp testing method and emergency lamp |
Also Published As
Publication number | Publication date |
---|---|
CN108924014B (en) | 2023-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924014A (en) | A kind of electric system 4G wireless module test device and test method | |
CN107272663B (en) | A kind of quick checking device of 1553B bus type servo-system test equipment | |
CN202794497U (en) | On-site comprehensive detection equipment for electric energy information acquisition terminal | |
WO2020083066A1 (en) | Manipulator simulation test system and test method based on fpga chip | |
CN105335316A (en) | Motor assembling line serial port server based on cloud computation | |
CN102798834A (en) | Wiring judgement control machine for wiring simulation system for verification on power transformer | |
CN101975937B (en) | Smart card simulator device and using method thereof | |
CN108154675A (en) | Electric Power Data Collector and acquisition system | |
CN105356910A (en) | Test system for low-voltage power line carrier module | |
CN202150868U (en) | Multi-protocol data acquisition gateway | |
CN208077394U (en) | A kind of the communication test plate and communication test system of concentrator communication module | |
CN103344858A (en) | Method and device for testing meter reading port of intelligent electric meter | |
CN208924262U (en) | A kind of electric system 4G wireless module test device | |
CN109802861A (en) | A kind of method of quick-downloading optical module firmware | |
CN106384497A (en) | Portable electric operation and maintenance carrier meter reading adapter | |
CN209070360U (en) | A kind of manipulator simulating test device based on fpga chip | |
CN206741692U (en) | The energy data extraction element of electric energy meter | |
CN202600127U (en) | Wiring judgment controlling machine for power transformer test wiring simulation system | |
CN203984446U (en) | The interchangeability testing apparatus of a kind of power information acquisition terminal local communication unit | |
CN206181024U (en) | System for debug smart electric meter carrier wave module | |
CN103245931A (en) | Electric energy meter metering pulse analog system and output method for electricity consumption information acquisition equipment | |
CN212008793U (en) | Anti harmonic PT of intelligence synthesizes protector's integration test platform | |
CN106571851A (en) | Method and system for debugging intelligent ammeter carrier wave module | |
CN205210586U (en) | System for read HART instrument parameter through USB interface | |
CN207835500U (en) | A kind of detecting system monitoring communication module based on cloud |
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 |