CN215956413U - TAX case communication testing arrangement - Google Patents

TAX case communication testing arrangement Download PDF

Info

Publication number
CN215956413U
CN215956413U CN202122330553.1U CN202122330553U CN215956413U CN 215956413 U CN215956413 U CN 215956413U CN 202122330553 U CN202122330553 U CN 202122330553U CN 215956413 U CN215956413 U CN 215956413U
Authority
CN
China
Prior art keywords
circuit
voltage
module
single chip
chip microcomputer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202122330553.1U
Other languages
Chinese (zh)
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.)
Guoneng Shuohuang Railway Development Co Ltd
Original Assignee
Guoneng Shuohuang Railway Development 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 Guoneng Shuohuang Railway Development Co Ltd filed Critical Guoneng Shuohuang Railway Development Co Ltd
Priority to CN202122330553.1U priority Critical patent/CN215956413U/en
Application granted granted Critical
Publication of CN215956413U publication Critical patent/CN215956413U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The application relates to a TAX case communication testing arrangement. The device includes: the data checking module comprises a single chip microcomputer which is used for connecting the TAX box; the single chip microcomputer is used for acquiring a serial communication frame of the TAX box and verifying the serial communication frame according to a verification byte of the serial communication frame to obtain a verification result; the singlechip is also used for analyzing the serial communication frame to obtain an analysis result; the display module is connected with the single chip microcomputer and used for displaying the checking result and the analysis result; the power supply module is used for supplying power to the singlechip and the display module; the power management module is respectively connected with the single chip microcomputer, the display module and the power module and used for boosting the output voltage of the power module and transmitting the boosted voltage to the single chip microcomputer and the display module; the power management module is also used for connecting an external power supply, reducing the voltage of the external power supply and charging the power module. Adopt the TAX case communication testing arrangement of this application can reduce test cost.

Description

TAX case communication testing arrangement
Technical Field
The application relates to the technical field of communication testing, in particular to a TAX box communication testing device.
Background
The TAX box (locomotive safety information comprehensive monitoring device) is an important component of the LKJ (train operation monitoring and recording device), and the TAX box is communicated with the LKJ in an RS-485 serial communication mode to acquire data information of the LKJ. Meanwhile, the interior of the TAX box transmits data information acquired from the LKJ to each functional unit in the TAX box through RS-485 serial communication.
After the TAX box has communication problems, the difficulty in finding faults is high, and the time for locating the fault reasons is long. In order to monitor whether the TAX box breaks down, the prior art forms a set of test system through LKJ monitoring host computer and display equipment, judges whether the communication of TAX box breaks down through observing TAX box pilot lamp. However, building a test environment in this way occupies a lot of resources and is costly.
SUMMERY OF THE UTILITY MODEL
Based on this, it is necessary to provide a device for testing the communication status of the TAX box.
A TAX box communication test device, comprising:
the data checking module comprises a single chip microcomputer which is used for connecting the TAX box; the single chip microcomputer is used for acquiring a serial communication frame of the TAX box and verifying the serial communication frame according to a verification byte of the serial communication frame to obtain a verification result; the singlechip is also used for analyzing the serial communication frame to obtain an analysis result;
the display module is connected with the single chip microcomputer and used for displaying the checking result and the analysis result;
the power supply module is used for supplying power to the singlechip and the display module;
the power management module is respectively connected with the single chip microcomputer, the display module and the power module and used for boosting the output voltage of the power module and transmitting the boosted voltage to the single chip microcomputer and the display module; the power management module is also used for connecting an external power supply, reducing the voltage of the external power supply and charging the power module.
In one embodiment, the power management module comprises a first filter circuit, a voltage conversion circuit and a second filter circuit;
the first filter circuit is respectively connected with the power supply module and the voltage conversion circuit, the voltage conversion circuit is respectively connected with the power supply module and the second filter circuit, and the second filter circuit is respectively connected with the single chip microcomputer and the display module;
the first filter circuit is used for filtering noise of the output voltage of the power supply module to obtain a first filter voltage; the voltage conversion circuit is used for boosting the first filtering voltage to obtain boosted voltage; the second filter circuit is used for filtering noise of the boosted voltage to obtain a second filter voltage and outputting the second filter voltage to the single chip microcomputer and the display module.
In one embodiment, the power management module further comprises a USB circuit and a third filter circuit;
the third filter circuit is respectively connected with the USB circuit and the voltage conversion circuit, the voltage conversion circuit is also connected with the USB circuit, and the USB circuit is used for connecting an external power supply;
the third filter circuit is used for filtering noise of the output voltage of the external power supply to obtain a third filter voltage; the voltage conversion circuit is also used for carrying out voltage reduction treatment on the third filtering voltage to obtain a reduced voltage; the first filter circuit is also used for filtering noise of the voltage after voltage reduction to obtain a fourth filter voltage; and the power supply module is charged by the fourth filtering voltage.
In one embodiment, the power management module further comprises a switch circuit and a charging and discharging indication circuit;
the voltage conversion circuit is respectively connected with the switch circuit and the charge and discharge indicating circuit;
the switching circuit is used for controlling the voltage conversion circuit to carry out boosting treatment according to the on-off state of the circuit so as to discharge the power supply module; the charging and discharging indicating circuit is used for driving the corresponding indicating device to work according to the voltage boosting and reducing state of the power management module so as to indicate the charging and discharging state of the power module.
In one embodiment, the data verification module further comprises a data receiving circuit;
the data receiving circuit is respectively connected with the single chip microcomputer and the power management module and is used for connecting an RS-485 interface of the TAX box;
the data receiving circuit is used for converting the differential communication frame of the TAX box into a serial communication frame.
In one embodiment, the data receiving circuit comprises a data conversion circuit and an overvoltage suppression circuit;
the output interface of the receiver of the data conversion circuit is connected with the single chip microcomputer, and the power supply interface of the data conversion circuit is connected with the power supply management module; a first differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with an RS-485 interface of the TAX box; a second differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with an RS-485 interface of the TAX box;
the data conversion circuit is used for converting the differential communication frame into a serial communication frame and transmitting the serial communication frame to the singlechip through the output interface of the receiver; the overvoltage suppression circuit is used for suppressing overvoltage when receiving the differential communication frame.
In one embodiment, the overvoltage suppression circuit comprises a first bidirectional diode, a second bidirectional diode and a suppression resistor;
the first end of the first bidirectional diode is respectively connected with the first differential interface and the second end of the suppression resistor and is used for being connected with the RS-485 interface of the TAX box; the second end of the first bidirectional diode is used for grounding;
the first end of the second bidirectional diode is respectively connected with the second differential interface and the first end of the suppression resistor and is used for being connected with the RS-485 interface of the TAX box; the second end of the second bidirectional diode is used for grounding;
the first end of the suppression resistor is connected with the second differential interface, and the second end of the suppression resistor is connected with the first differential interface.
In one embodiment, the apparatus further comprises a fourth filtering circuit;
the fourth filter circuit is respectively connected with the power management module and the single chip microcomputer;
and the fourth filter circuit is used for filtering the boosted voltage input to the singlechip.
In one embodiment, the fourth filter circuit comprises a first capacitor and a second capacitor;
the first end of the first capacitor is respectively connected with the power management module and the singlechip, and the second end of the first capacitor is grounded; the first end of the second capacitor is respectively connected with the power management module and the single chip microcomputer, and the second end of the second capacitor is used for grounding.
In one embodiment, the single chip further includes:
and the debugging interface is used for connecting debugging equipment so that the debugging equipment debugs the singlechip through the debugging interface.
Above-mentioned TAX case communication testing arrangement, the singlechip and the TAX case of data check-up module are connected, and the singlechip realizes acquireing, check-up and resolving of communication frame to can independently accomplish the communication test of TAX case through the singlechip, need not occupy too much space and too much testing device, reduced the communication test cost of TAX case. The device does not need the cooperation of other work types and departments, can independently accomplish the communication test to the TAX case, has improved efficiency of software testing. And the single chip microcomputer sends the checking result and the analysis result to the display module for displaying, so that whether the internal communication of the TAX box is in fault or not can be visually judged based on the checking result, and whether the communication between the TAX box and the LKJ is in fault or not can be visually judged based on the analysis result.
Meanwhile, the testing device is provided with a power supply module, and the power supply management module can perform boosting treatment on the output voltage of the power supply module to supply power to each module of the testing device. Therefore, when the testing device is used for carrying out communication testing on the TAX box, the testing device does not depend on external power supply for power supply, has stronger mobility, can test the TAX box on a locomotive which does not meet certain conditions, can be used portably, and is not influenced by testing environment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a TAX box communication test apparatus;
FIG. 2 is a diagram illustrating an exemplary power management module;
FIG. 3 is a second exemplary embodiment of a power management module;
FIG. 4 is a third exemplary schematic diagram of a power management module of an embodiment;
FIG. 5 is a circuit diagram of a power management module according to an embodiment;
FIG. 6 is a second schematic structural diagram of an embodiment of a TAX box communication testing apparatus;
FIG. 7 is a circuit diagram of a data receiving circuit according to an embodiment;
fig. 8 is a circuit diagram of the single chip microcomputer and peripheral circuits thereof in an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. The first resistance and the second resistance are both resistances, but they are not the same resistance.
It will be understood that spatial relationship terms, such as "above," "below," and the like, may be used herein to describe one element or feature's relationship to another element or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
In one embodiment, as shown in FIG. 1, a TAX box communication testing apparatus 10 is provided, taking application of the apparatus to a TAX box as an example. The TAX box can be TAX2, TAX03, TAX07 and other types of TAX boxes.
Specifically, the TAX box communication test apparatus 10 includes:
the data checking module 100, the data checking module 100 includes a single chip microcomputer 110, the single chip microcomputer 110 is used for connecting the TAX box; the single chip microcomputer 110 is configured to obtain a serial communication frame of the TAX box, and check the serial communication frame according to a check byte of the serial communication frame to obtain a check result; the single chip microcomputer is also used for analyzing the serial communication frame to obtain an analysis result.
And the display module 200 is connected with the single chip microcomputer 110 and used for displaying the verification result and the analysis result.
And the power supply module 300 is used for supplying power to the singlechip 110 and the display module 200.
The power management module 400 is respectively connected to the single chip microcomputer 110, the display module 200 and the power module 300, and is configured to boost the output voltage of the power module 300 and transmit the boosted voltage to the single chip microcomputer 110 and the display module 200; the power management module 400 is further configured to connect to an external power source, and step down a voltage of the external power source to charge the power module 300.
The serial communication frame may include time, color light, speed, kilometer post, train number and/or driver number; the serial communication frame is provided with a check byte, the single chip microcomputer can check the data through the check byte, and an obtained check result can indicate whether the internal communication data of the TAX box is normal or not, namely whether the internal communication of the TAX box is in failure or not. It can be understood that the analysis result is data such as time, color lamp, speed, kilometer post, train number and/or driver number, and the analysis result can indicate whether the communication between the TAX box and the LKJ fails.
Specifically, the output voltage of the power module 300 is boosted by the power management module 400 to obtain the rated working voltages of the single chip microcomputer 110 and the display module 200, and the working voltage drives the single chip microcomputer 110 to obtain the serial communication frame of the TAX box. When a frame of serial communication frame is obtained, the single chip microcomputer 110 firstly checks whether the obtained serial communication frame is correct or not according to the check byte; if the error is found, the single chip microcomputer 110 directly transmits the verification result to the display module 200, and the display module 200 displays the verification result, so that the internal communication of the TAX box can be visually judged to be in fault; if the communication frame is correct, the single chip microcomputer 110 obtains the next frame of communication frame and checks the communication frame until the serial communication frame of the TAX box is correct, the single chip microcomputer 110 analyzes each serial communication frame and transmits a checking result and an analysis result to the display module 200, the display module 200 displays the checking result and the analysis result, and whether the communication between the TAX box and the LKJ fails or not can be visually judged by comparing the analysis result with the data of the LKJ.
In this embodiment, in the above communication testing apparatus 10 for a TAX box, the single chip microcomputer 110 of the data verification module 100 is connected to the TAX box, and the single chip microcomputer 110 implements acquisition, verification and analysis of a serial communication frame, so that the communication test for the TAX box can be independently completed through the single chip microcomputer 110 without occupying too much space and too many testing devices, thereby improving the testing efficiency and reducing the communication testing cost for the TAX box. And the single chip microcomputer 110 sends the checking result and the analysis result to the display module 200 for displaying, so that whether the internal communication of the TAX box is in fault or not can be visually judged based on the checking result, and whether the communication between the TAX box and the LKJ is in fault or not can be visually judged based on the analysis result.
Meanwhile, the testing device is provided with the power module 300, and the power management module 400 can perform boosting processing on the output voltage of the power module 300 to supply power to each module of the testing device. Therefore, when the testing device is used for carrying out communication testing on the TAX box, the testing device does not depend on external power supply for power supply, has stronger mobility, can test the TAX box on a locomotive which does not meet certain conditions, can be used portably, and is not influenced by testing environment.
In one embodiment, as shown in FIG. 2, power management module 400 includes a first filter circuit 410, a voltage conversion circuit 420, and a second filter circuit 430.
The first filter circuit 410 is respectively connected with the power module 300 and the voltage conversion circuit 420, the voltage conversion circuit 420 is respectively connected with the power module 300 and the second filter circuit 430, and the second filter circuit 430 is respectively connected with the single chip microcomputer 110 and the display module 200;
the first filter circuit 410 is configured to filter noise of the output voltage of the power module 300 to obtain a first filter voltage; the voltage conversion circuit 420 is configured to boost the first filtered voltage to obtain a boosted voltage; the second filter circuit 430 is configured to filter noise of the boosted voltage to obtain a second filtered voltage, and output the second filtered voltage to the single chip microcomputer 110 and the display module 200.
Specifically, the first filter circuit 410 is connected to the power module 300 and the voltage conversion circuit 420, the voltage conversion circuit 420 is connected to the power module 300, the power module 300 outputs a voltage, the output voltage of the power module 300 is filtered by the first filter circuit 410 to obtain a first filtered voltage, and the first filtered voltage is transmitted to the voltage conversion circuit 420 and is boosted to obtain a boosted voltage. The boost output end of the voltage conversion circuit 420 is further connected to a second filter circuit 430, the boosted voltage is filtered by the second filter circuit 430 to obtain a second filter voltage, and the second filter voltage supplies power to the single chip microcomputer 110 and the display module 200.
In this embodiment, the output voltage of the power module 300 is processed by filtering and boosting, and the power management module 400 can provide stable rated working voltage for the single chip 110 and the display module 200, so that the device has stronger working stability.
In one embodiment, as shown in fig. 3, the power management module 400 further includes a USB circuit 440 and a third filter circuit 450; the third filter circuit 450 is respectively connected to the USB circuit 440 and the voltage conversion circuit 420, the voltage conversion circuit 420 is further connected to the USB circuit 440, and the USB circuit 440 is used for connecting an external power supply;
the third filter circuit 450 is configured to filter noise of the output voltage of the external power supply to obtain a third filter voltage; the voltage conversion circuit 420 is further configured to perform voltage reduction processing on the third filtered voltage to obtain a reduced voltage; the first filter circuit 410 is further configured to filter noise of the voltage after voltage reduction to obtain a fourth filtered voltage; the power module 300 is charged by the fourth filtered voltage.
Specifically, the third filter circuit 450 is respectively connected to the USB circuit 440 and the voltage conversion circuit 420, and the USB circuit 440 is connected to the voltage conversion circuit 420; the first filter circuit 410 is connected to the power module 300 and the voltage conversion circuit 420, respectively, and the voltage conversion circuit 420 is connected to the power module 300. The USB circuit 440 is used for connecting an external power supply, the output voltage of the external power supply is filtered by the third filter circuit 450 to remove noise, so as to obtain a third filter voltage, the third filter voltage is input to the voltage conversion circuit 420 to charge the voltage reduction input terminal, the voltage reduction processing by the voltage conversion circuit 420 is performed to obtain a voltage after voltage reduction, the voltage after voltage reduction is filtered by the first filter circuit 410 to remove noise, so as to obtain a fourth filter voltage, and the power module 300 is charged by the fourth filter voltage.
In this embodiment, the power management module 400 of the apparatus may also perform charging management for the power module 300, and use an external power source to charge the power module 300, so that the power module 300 can be used continuously without disassembling or replacing the power module 300, and the apparatus is more portable.
In one embodiment, as shown in fig. 4, the power management module 400 further includes a switch circuit 460 and a charge and discharge indication circuit 470; the voltage conversion circuit 420 is connected to the switch circuit 460 and the charge/discharge indication circuit 470, respectively.
The switch circuit 460 is used for controlling the voltage conversion circuit 420 to perform boosting processing according to the on-off state of the circuit so as to discharge the power module 300; the charge and discharge indication circuit 470 is configured to drive a corresponding indicator to operate according to the buck-boost status of the power management module 400, so as to indicate the charge and discharge status of the power module 300.
Specifically, the switch circuit 460 is used to control the voltage boost of the voltage conversion circuit 420 to the power module 300, and further, the switch circuit 460 is used to control the on/off state of the circuit to control the working state of the whole device. The charge/discharge indication circuit 470 can visually indicate the power management module 400 is in the charging state and/or the discharging state, and can further indicate the power of the power module 300.
In this embodiment, the switch circuit 460 controls the voltage boosting process of the voltage conversion module, so that the power module 300 supplies power to the single chip microcomputer 110 and the display module 200 when the device of the present application is used to test the TAX box, thereby avoiding electric quantity waste when the test is not performed. Meanwhile, the charge and discharge indication circuit 470 indicates the charge and discharge state of the power management module 400, and can visually determine whether the power management module 400 and the power module 300 are working normally. Further, the charge and discharge indication circuit 470 can indicate the electric quantity of the power module 300, so as to avoid power failure during the process of using the device of the present application.
In a specific example, as shown in fig. 5, the USB circuit includes a USB chip CZ1, the voltage conversion circuit 420 includes a buck-boost management chip U1, the third filter circuit includes a capacitor C4 and a capacitor C7, the charge and discharge indication circuit 470 includes two LED lamps and a resistor R4, the charge and discharge indication circuit 470 includes a resistor R3 and a switch KEY1, the first filter circuit includes a resistor R2, a capacitor C5 and a capacitor C6, and the second filter circuit includes a capacitor C1, a capacitor C2, a capacitor C3, a capacitor C10 and a resistor J1.
The resistor R1 and the capacitor C7 are connected in series, the second end of the resistor R1 is connected with the first end of the capacitor C7, the first end of the resistor R1 is respectively connected with the first end of the capacitor C4 and a voltage interface VBUS of a USB chip CZ1, the second end of the capacitor C4 and the second end of the capacitor C7 are both used for grounding, and the first end of the capacitor C4 is respectively connected with the first end of the resistor R1 and an input interface VIN of the buck-boost management chip U1; the voltage interface VBUS of the USB chip CZ1 is connected to the input interface VIN of the buck-boost management chip U1.
A first end of the capacitor C5 is respectively connected with a first end of the resistor R2 and a boost input pin BAT of the boost-buck management chip U1, a first end of the capacitor C6 is respectively connected with a second end of the resistor R2 and the power module 300, and a second end of the capacitor C5 and a second end of the capacitor C6 are both used for grounding; a first end of the resistor R2 is connected with a boost input pin BAT of the boost-buck management chip U1, and a second end of the resistor R2 is connected with the power module 300; the switch pin SW of the buck-boost management chip U1 is connected to the power module 300 through an inductor L1.
When the USB chip CZ1 is connected to an external power source, the output voltage of the external power source is transmitted from VBUS to VIN, and then the step-down processing is performed by the step-down/step-up management chip U1 to obtain a step-down voltage, which is input to the power management module 400 through the step-up input pin BAT and the switch pin SW.
The first ends of a capacitor C1, a capacitor C2 and a capacitor C3 of the second filter circuit are respectively connected with a boost output pin VOUT of a boost-buck management chip U1 and a first end of a resistor J1, and the second end of a resistor J1 is respectively connected with the single chip microcomputer 110 and the display module 200; the second ends of the capacitor C1, the capacitor C2 and the capacitor C3 are all used for grounding, and the first end of the capacitor C10 is connected with the single chip microcomputer 110 and the display module 200 respectively; the first end of a resistor R3 of the switch circuit is connected with a KEY input pin KEY of the buck-boost management chip U1, the second end of the resistor R3 is connected with the first end of a switch KEY1, and the second end of the switch KEY1 is used for grounding.
When the switch KEY1 is closed, the switch pin SW is driven, the output voltage of the power module 300 is filtered by the first filter circuit and then input to the boost input pin BAT of the boost-buck management chip U1, the boost-buck management chip U1 performs boost processing on the output voltage of the power module 300, the boosted voltage is output through the boost output pin VOUT, and the boosted voltage is filtered by the second filter circuit and then input to the single chip microcomputer 110 and the display module 200.
Meanwhile, the second end of the LED lamp LED0 is connected with the first end of the LED lamp LED1 in series, the first end of the LED lamp LED0 is connected with the LED driving pin LED1 of the buck-boost management chip U1, the second end of the LED lamp LED1 is connected with the first end of a resistor R4, and the second end of the resistor R4 is used for grounding; the other two LED driving pins LED2 and LED3 of the buck-boost management chip U1 are both connected with the power supply module 300; the buck-boost management chip U1 is grounded through the ground pin GND.
One of the LED0 and the LED1 flickers in the charging process, and is always on after being fully charged; the other discharge process is normally bright and flickers in a low-power state.
The USB chip CZ1 of this concrete example adopts the general Micro USB chip with the cell-phone, and is more convenient and practical, and the buck-boost management chip U1 adopts the IP5305 chip, and switch KEY1 adopts the SW-PB switch.
It can be understood that the USB chip CZ1, the buck-boost management chip U1, and/or the switch KEY1 may also be implemented by other devices, as long as the USB chip CZ1 can complete the function of connecting an external power source to charge the power module, as long as the buck-boost management chip U1 can complete the buck-boost function, and as long as the switch KEY1 can complete the switch function.
In one embodiment, as shown in FIG. 6, data verification module 100 further includes data conversion circuitry 120;
the data conversion circuit 120 is respectively connected with the single chip microcomputer 110 and the power management module 400, and is used for connecting with an RS-485 interface of the TAX box;
the data conversion circuit 120 is configured to convert the differential communication frame of the TAX box into a serial communication frame.
Specifically, a signal output by an RS-485 interface of the TAX box is a differential communication frame, the power module 300 supplies power to the data conversion circuit 120, the data conversion circuit 120 is driven to receive the differential communication frame of the TAX box, the data conversion circuit 120 converts the differential communication frame into a serial communication frame and transmits the serial communication frame to the single chip microcomputer 110, and the single chip microcomputer 110 performs verification and analysis on the serial communication frame.
The data conversion circuit 120 receives the differential communication frame and converts the differential communication frame into the serial communication frame, so that the working efficiency of the device can be improved.
In one embodiment, the data receiving circuit 120 includes a data conversion circuit and an overvoltage suppression circuit;
the receiver output interface of the data conversion circuit is connected with the single chip microcomputer 110, and the power supply interface of the data conversion circuit is connected with the power management module 400; a first differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with an RS-485 interface of the TAX box; a second differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with an RS-485 interface of the TAX box;
the data conversion circuit is used for converting the differential communication frame into a serial communication frame and transmitting the serial communication frame to the singlechip 110 through the output interface of the receiver; the overvoltage suppression circuit is used for suppressing overvoltage when receiving the differential communication frame.
In a specific example, as shown in fig. 7, the data conversion circuit includes an RS-485 receiving chip U3 and its peripheral circuits; a first differential interface of the RS-485 receiving chip U3 is correspondingly connected with an interface A of the RS-485 interface, and a second differential interface is correspondingly connected with an interface B of the RS-485 interface.
The overvoltage suppression circuit can suppress overvoltage of external interference and protect the circuit, so that the device can be protected, and the use safety is improved.
In one embodiment, the overvoltage suppression circuit includes a first bidirectional diode, a second bidirectional diode, and a suppression resistor;
the first end of the first bidirectional diode is respectively connected with the first differential interface and the second end of the suppression resistor and is used for being connected with the RS-485 interface of the TAX box; the second end of the first diode is used for grounding;
the first end of the second bidirectional diode is respectively connected with the second differential interface and the first end of the suppression resistor and is used for being connected with the RS-485 interface of the TAX box; the second end of the second bidirectional diode is used for grounding;
the first end of the suppression resistor is connected with the second differential interface, and the second end of the suppression resistor is connected with the first differential interface.
In a specific example, as shown in fig. 7 and 8, the first bidirectional diode and the second bidirectional diode are a bidirectional transient suppression diode D2 and a bidirectional transient suppression diode D1, respectively, and the suppression resistor is a resistor R5; the first end of the bidirectional transient suppression diode D2 is respectively connected with the second end of the resistor R5 and the differential interface A of the RS-485 receiving chip U3 and is used for being connected with the RS-485 interface X2:1 of the TAX box; the first end of the bidirectional transient suppression diode D1 is respectively connected with the first end of the resistor R5 and the differential interface B of the RS-485 receiving chip U3 and is used for being connected with an RS-485 interface X2:2 of the TAX box; the second terminal of the bidirectional transient suppression diode D1 and the second terminal of the bidirectional transient suppression diode D2 are both used for grounding; the COM interface (namely 3 interfaces of P2) of the RS-485 receiving chip U3 is used for connecting RS-485 interfaces X2: 3; the first end of the resistor R5 is connected with the differential interface B of the RS-485 receiving chip U3, and the second end of the resistor R5 is connected with the differential interface A of the RS-485 receiving chip U3; the RS-485 receiving chip U3 is respectively connected with P0.0 and P0.1 of the single chip microcomputer 110 through a receiver output pin RO and a driver input pin DI, a receiver enabling pin RE and a driver enabling pin of the RS-485 receiving chip U3 are grounded through a series resistor R6, and the RS-485 receiving chip U3 is grounded through a grounding pin GND.
When the power module 300 starts to supply power to the single chip microcomputer 110 and the RS-485 receiving chip U3, the RS-485 receiving chip U3 receives the differential communication frame of the TAX box, converts the differential communication frame into a serial communication frame, transmits the serial communication frame to the single chip microcomputer 110 through the receiver output pin, and the single chip microcomputer 110 checks and analyzes the serial communication frame.
The RS-485 receiving chip U3 in this specific example adopts an ADM483EAR chip, and the transient suppression diode D1 and the transient suppression diode D2 both adopt SMBJ6.0CA, and it can be understood that the RS-485 receiving chip U3, the transient suppression diode D1, and/or the transient suppression diode D2 may also be realized by other devices, as long as the RS-485 receiving chip U3 can achieve the function of receiving and converting the RS-485 differential communication frame, as long as the transient suppression diode can achieve the function of suppressing the overvoltage.
In one embodiment, the apparatus further comprises a fourth filtering circuit;
the fourth filter circuit is connected to the power management module 400 and the single chip 110, respectively.
Specifically, the fourth filter circuit may be any circuit capable of filtering a voltage, and is configured to filter the boosted voltage input to the single chip microcomputer 110.
In one embodiment, the fourth filter circuit includes a first capacitor and a second capacitor;
the first end of the first capacitor is respectively connected with the power management module 400 and the single chip microcomputer 110, and the second end of the first capacitor is grounded; the first end of the second capacitor is connected to the power management module 400 and the single chip 110, and the second end is connected to ground.
In a specific example, as shown in fig. 8, a first end of a first capacitor C8 of the fourth filter circuit is respectively connected to a first end of a second capacitor C9 and a power pin VCC of the single chip microcomputer 110, a first end of a second capacitor C9 is respectively connected to a first end of a first capacitor C8 and the power management module 400, and the power management module 400 is connected to the single chip microcomputer 110; the second terminal of the first capacitor C8 and the second terminal of the second capacitor C9 are both used for grounding.
In one embodiment, the single chip microcomputer 110 further includes:
and the debugging interface is used for connecting debugging equipment so that the debugging equipment debugs the singlechip 110 through the debugging interface.
In a specific example, as shown in fig. 5, 7 and 8, the single chip microcomputer 110 is a single chip microcomputer of STC15W4K60S4_ LQFP32 model, and serves as a processor for verifying and analyzing serial communication frames; the P3 is a pin connected with the display module 200, the P3 is connected with the P1.0 and P1.1 pins of the STC15W4K60S4_ LQFP32, and the display module 200 is a liquid crystal display screen; the P4 is a debugging interface and is connected with pins P3.0 and P3.1 of STC15W4K60S4_ LQFP 32; p2 is a pin connected with the TAX box; p1 is a pin connected to the power module 300, and the power module 300 is a lithium battery.
It can be understood that the single chip microcomputer 110, the display module 200 and/or the power module 300 may be other devices, the single chip microcomputer 110 may achieve the functions of receiving, verifying and analyzing the serial communication frame and outputting the verification result and the analysis result, as long as the display module 200 can achieve the functions of displaying the verification result and the analysis result, and as long as the power module 300 can achieve the functions of completing charging and discharging.
In addition, although in the above embodiments and specific examples, the filter circuit mainly including the capacitor is used, alternatively, a filter circuit including a combination of an inductor and a capacitor may be used, and other filter circuits capable of achieving a filtering function may be used.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the utility model. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A TAX box communication testing arrangement, its characterized in that includes:
the data checking module comprises a single chip microcomputer, and the single chip microcomputer is used for connecting the TAX box; the single chip microcomputer is used for acquiring a serial communication frame of the TAX box and verifying the serial communication frame according to a verification byte of the serial communication frame to obtain a verification result; the single chip microcomputer is also used for analyzing the serial communication frame to obtain an analysis result;
the display module is connected with the single chip microcomputer and used for displaying the verification result and the analysis result;
the power supply module is used for supplying power to the single chip microcomputer and the display module;
the power management module is respectively connected with the single chip microcomputer, the display module and the power module and used for boosting the output voltage of the power module and transmitting the boosted voltage to the single chip microcomputer and the display module; the power supply management module is also used for connecting an external power supply, reducing the voltage of the external power supply and charging the power supply module.
2. The TAX box communication testing device of claim 1, wherein the power management module comprises a first filter circuit, a voltage conversion circuit and a second filter circuit;
the first filter circuit is respectively connected with the power supply module and the voltage conversion circuit, the voltage conversion circuit is respectively connected with the power supply module and the second filter circuit, and the second filter circuit is respectively connected with the singlechip and the display module;
the first filter circuit is used for filtering noise of the output voltage of the power supply module to obtain a first filter voltage; the voltage conversion circuit is used for boosting the first filtering voltage to obtain boosted voltage; the second filter circuit is used for filtering noise of the boosted voltage to obtain a second filter voltage, and outputting the second filter voltage to the single chip microcomputer and the display module.
3. The TAX box communication testing device of claim 2, wherein the power management module further comprises a USB circuit and a third filter circuit;
the third filter circuit is respectively connected with the USB circuit and the voltage conversion circuit, the voltage conversion circuit is also connected with the USB circuit, and the USB circuit is used for connecting an external power supply;
the third filter circuit is used for filtering noise of the output voltage of the external power supply to obtain a third filter voltage; the voltage conversion circuit is further used for carrying out voltage reduction processing on the third filtering voltage to obtain a reduced voltage; the first filter circuit is further used for filtering noise of the voltage subjected to voltage reduction to obtain a fourth filter voltage; and the power supply module is charged by the fourth filtering voltage.
4. The TAX box communication testing device of claim 3, wherein the power management module further comprises a switching circuit and a charge and discharge indication circuit;
the voltage conversion circuit is respectively connected with the switch circuit and the charge and discharge indicating circuit;
the switch circuit is used for controlling the voltage conversion circuit to carry out boosting treatment according to the on-off state of the circuit so as to discharge the power supply module; the charging and discharging indicating circuit is used for driving the corresponding indicating device to work according to the voltage boosting and reducing state of the power management module so as to indicate the charging and discharging state of the power module.
5. The TAX box communication testing device of claim 1, wherein the data verification module further comprises a data receiving circuit;
the data receiving circuit is respectively connected with the single chip microcomputer and the power management module and is used for being connected with an RS-485 interface of the TAX box;
the data receiving circuit is used for converting the differential communication frame of the TAX box into the serial communication frame.
6. The TAX box communication testing device of claim 5, wherein the data receiving circuit comprises a data conversion circuit and an overvoltage suppression circuit;
the receiver output interface of the data conversion circuit is connected with the single chip microcomputer, and the power supply interface of the data conversion circuit is connected with the power supply management module; a first differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with an RS-485 interface of the TAX box; the second differential interface of the data conversion circuit is connected with the overvoltage suppression circuit and is used for being connected with the RS-485 interface of the TAX box;
the data conversion circuit is used for converting the differential communication frame into the serial communication frame and transmitting the serial communication frame to the single chip microcomputer through the receiver output interface; the overvoltage suppression circuit is used for suppressing overvoltage when the differential communication frame is received.
7. The TAX box communication test device of claim 6, wherein the overvoltage suppression circuit comprises a first bidirectional diode, a second bidirectional diode, and a suppression resistor;
the first end of the first bidirectional diode is respectively connected with the first differential interface and the second end of the suppression resistor and is used for being connected with an RS-485 interface of the TAX box; the second end of the first bidirectional diode is used for grounding;
the first end of the second bidirectional diode is respectively connected with the second differential interface and the first end of the suppression resistor and is used for being connected with an RS-485 interface of the TAX box; the second end of the second bidirectional diode is used for grounding;
and the first end of the suppression resistor is connected with the second differential interface, and the second end of the suppression resistor is connected with the first differential interface.
8. The TAX box communication testing device of claim 1, further comprising a fourth filter circuit;
the fourth filter circuit is respectively connected with the power management module and the single chip microcomputer;
and the fourth filter circuit is used for filtering the boosted voltage input to the singlechip.
9. The TAX box communication testing device of claim 8, wherein the fourth filter circuit comprises a first capacitor and a second capacitor;
the first end of the first capacitor is respectively connected with the power management module and the single chip microcomputer, and the second end of the first capacitor is grounded; and the first end of the second capacitor is respectively connected with the power management module and the singlechip, and the second end of the second capacitor is used for grounding.
10. The TAX box communication testing device of claim 1, wherein the single chip microcomputer further comprises:
and the debugging interface is used for connecting debugging equipment so that the debugging equipment debugs the singlechip through the debugging interface.
CN202122330553.1U 2021-09-26 2021-09-26 TAX case communication testing arrangement Active CN215956413U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122330553.1U CN215956413U (en) 2021-09-26 2021-09-26 TAX case communication testing arrangement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122330553.1U CN215956413U (en) 2021-09-26 2021-09-26 TAX case communication testing arrangement

Publications (1)

Publication Number Publication Date
CN215956413U true CN215956413U (en) 2022-03-04

Family

ID=80428057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122330553.1U Active CN215956413U (en) 2021-09-26 2021-09-26 TAX case communication testing arrangement

Country Status (1)

Country Link
CN (1) CN215956413U (en)

Similar Documents

Publication Publication Date Title
CN102437623B (en) Adapter, terminal device, USB (universal serial bus) connection device and charging base station
CN110636664B (en) Indicator lamp driving circuit with diagnosis function
CN104678311A (en) Detection device for power voltage state of electric automobile
CN104133149A (en) Wire harness detection device for voltage acquisition wire
CN204595104U (en) The pick-up unit of the rear high-voltage residual-electricity of electricity under electric automobile
CN204630594U (en) A kind of data-adjustable harvester
TWI412758B (en) A system and adapter utilizing a power supply and a display device to test circuits of different types of main boards
CN215956413U (en) TAX case communication testing arrangement
CN101894057A (en) Main board diagnostic card
CN219223762U (en) Portable optical fiber gyro testing device
CN204595074U (en) The high pressure of electric automobile powers on display device
CN201084792Y (en) A car-borne accumulator ground maintenance device
CN102073021A (en) Power supply testing device
CN104270295A (en) Can bus data recording device
CN218547284U (en) Monitoring device for testing system working state
CN204807649U (en) Tester
CN217135180U (en) Processing circuit based on voltage input condition and electronic product
CN104655959A (en) Device for detecting high-voltage residual electricity of discharged electric car
CN204515091U (en) The pick-up unit of the power electric pressure condition of electric automobile
CN109885437A (en) Baseboard management controller BMC, terminal and power-up state diagnotic module, method
CN105242519B (en) Big Dipper wrist-watch board detection means
CN219284634U (en) Portable debugging detector for auxiliary observation device of vehicle
CN209992650U (en) Battery wire harness detection circuit
CN216486039U (en) MVB network data monitoring device
CN212966160U (en) Automobile diagnosis analysis data transmission device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant