PWM signal debugger
By designing a PWM signal debugger that includes a main control chip, charging module, boost module, current measurement module, and display module, the problem of low efficiency in traditional debugging methods is solved, and comprehensive monitoring and precise control of PWM signals are achieved, thereby improving the reliability of the circuit and the ability to troubleshoot faults.
Patent Information
- Application Number
- CN202423072333.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2034-12-12
AI Technical Summary
Traditional PWM signal debugging methods rely on simple measurement tools, resulting in a cumbersome and inefficient debugging process. It is difficult to accurately grasp the signal characteristics and parameter relationships, which affects circuit optimization and troubleshooting.
Design a PWM signal debugger, including a main control chip, a charging module, a boost module, a current measurement module, and a display module. The debugger displays the current value and signal data in real time, detects and displays the external power supply and load current values through the current measurement module, and displays the PWM signal debugging data of the main control chip.
It enables comprehensive monitoring and precise control of PWM signals, improves the reliability of debugging circuits and the efficiency of fault diagnosis, and promotes circuit optimization.
Smart Images

Figure CN223652152U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to PWM signal debugging technical field, concretely relates to a kind of PWM signal debuggers. BACKGROUND
[0002] In modern electronic technology field, the application of PWM (Pulse Width Modulation, pulse width modulation) signal is increasingly widespread, from motor control to power management, from lighting system to communication equipment, etc., cannot do without the accurate control and debugging of PWM signal.
[0003] Traditional debugging method usually relies on simple measuring tool, such as multimeter, can only obtain limited parameter information, which makes the debugging process tedious and inefficient, difficult to accurately grasp the characteristics of PWM signal, cannot comprehensively understand the mutual relationship and influence between different parameters, brings great difficulty to the optimization and troubleshooting of PWM signal debugging circuit. UTILITY MODEL CONTENTS
[0004] The utility model provides a kind of PWM signal debugger to solve the above technical problem, can display the current value of external power input current, the current value of current provided to load and the PWM signal debugging data of main control chip in real time, it is convenient for user to monitor, accurately control and reliably protect PWM signal, it is favorable to the optimization and troubleshooting of PWM signal debugging circuit.
[0005] The technical scheme adopted by the utility model is as follows:
[0006] A kind of PWM signal debugger, comprising: main control chip, charging module, boost module, flow measurement module and display module, the main control chip is used to generate PWM signal, and output to load;The first output end of the charging module is connected with the main control chip, and the charging module is used to step-down external power supply and provide the main control chip;The input end of the boost module is connected with the second output end of the charging module, and the boost module is used to step-up external power supply input from the charging module and output to the load;The first input end of the flow measurement module is connected with the output end of the boost module, and the second input end of the flow measurement module is connected with the input end of the charging module, and the flow measurement module is used to detect the current value of current that the boost module outputs to the load and the current value of external power supply input to the charging module respectively;The display module is used to display the current value detected by the flow measurement module and the PWM signal debugging data of the main control chip.
[0007] In addition, the PWM signal debugger according to the utility model can also have the following additional technical features:
[0008] According to one embodiment of the present invention, the charging module includes: a charging management chip, a first coil and a first resistor. The power input pin of the charging management chip is connected to the external power supply, the first power output pin of the charging management chip is connected to the first output terminal of the charging module, the second power output pin of the charging management chip is connected to the second output terminal of the charging module, and the first coil and the first resistor are connected in series between the first power output pin of the charging management chip and the first output terminal of the charging module.
[0009] According to one embodiment of the present invention, a Type-C charging port is provided between the power input pin of the charging management chip and the external power supply.
[0010] According to one embodiment of the present invention, the current measurement module includes: a first shunt resistor, a first current measurement chip, a second shunt resistor, and a second current measurement chip. The first shunt resistor is disposed at a first input terminal of the current measurement module. Two detection terminals of the first current measurement chip are respectively connected to both sides of the first shunt resistor, and the signal output terminal of the first current measurement chip is connected to the display module for outputting the current value detected by the first current measurement chip as the current output from the boost module to the load. The second shunt resistor is disposed at a second input terminal of the current measurement module. Two detection terminals of the second current measurement chip are respectively connected to both sides of the second shunt resistor, and the signal output terminal of the second current measurement chip is connected to the display module for outputting the current value detected by the second current measurement chip as the current input to the external power supply of the charging module.
[0011] According to one embodiment of the present invention, a filter resistor is connected between the signal output terminal of the first current measurement chip and the display module, and the filter resistor and the filter capacitor are connected in parallel and then grounded.
[0012] According to one embodiment of the present invention, a clamping diode is connected between the signal output terminal of the first current measurement chip and the display module.
[0013] According to one embodiment of the present invention, the end of the first shunt resistor away from the output terminal of the boost module is connected to the MOS transistor, and the output terminal of the MOS transistor is connected to the load.
[0014] According to one embodiment of the present invention, one end of the MOS transistor is connected to the drain of the switching transistor, the source of the switching transistor is connected to ground, and the gate of the switching transistor is connected to the main control chip for receiving control signals from the main control chip.
[0015] The beneficial effects of this utility model are:
[0016] This utility model's PWM signal debugger, by setting up a display module and a current measurement module for detecting the current value output by the boost module to the load and the current value input by the external power supply to the charging module, can display the current value of the external power supply input current, the current value supplied to the load, and the PWM signal debugging data of the main control chip in real time. This facilitates comprehensive monitoring, precise control, and reliable protection of the PWM signal by the user, and is beneficial for the optimization of the PWM signal debugging circuit and fault diagnosis. Attached Figure Description
[0017] Figure 1 This is a block diagram of the PWM signal debugger according to an embodiment of the present invention;
[0018] Figure 2 This is a circuit diagram of a charging module according to an embodiment of the present invention;
[0019] Figure 3 This is a circuit diagram of a boost module according to an embodiment of the present invention;
[0020] Figure 4 This is a circuit diagram of a current measurement module according to an embodiment of the present invention. Detailed Implementation
[0021] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0022] like Figure 1As shown, the PWM signal debugger of the embodiment of the utility model, include: main control chip 10, charging module 20, boost module 30, measure flow module 40 and display module 50, main control chip 10 is used to generate PWM signal, and is exported to load;Charging module 20's first output end is connected with main control chip 10, and charging module 20 is used to carry out step-down to external power supply and provide main control chip 10;Boost module 30's input end is connected with charging module 20's second output end, and boost module 30 is used to carry out step-up to the external power supply input from charging module 20 and export to load;Measure flow module 40's first input end is connected with boost module 30's output end, and measure flow module 40's second input end is connected with charging module 20's input end, and measure flow module 40 is used to detect the current value of boost module 30 export to load and the current value of external power supply input charging module 20 respectively;Display module 50 is used to show the current value of measure flow module 40 detection and the PWM signal debugging data of main control chip 10.Wherein, the PWM signal debugging data can include the waveform, frequency, duty ratio of PWM signal and the like parameter, and the embodiment is not limited.
[0023] The PWM signal debugger of the embodiment, by setting display module 50 and measure flow module 40 for detecting the current value of boost module 30 output to load and the current value of external power supply input charging module 20, can display the current value of external power supply input current, the current value of current provided to load and the PWM signal debugging data of main control chip 10 in real time, facilitate user's comprehensive monitoring, accurate control and reliable protection to PWM signal, and be favorable to the optimization and troubleshooting of PWM signal debugging circuit.
[0024] As Figure 2 As shown, in an embodiment of the utility model, charging module 20 includes: charging management chip U1, first coil L1 and first resistance R1, the power input pin VIN of charging management chip U1 is connected with external power supply DVUSB_TOBAT, the first power output pin LX of charging management chip U1 is connected with the first output end 21 of charging module 20, the second power output pin BAT of charging management chip U1 is connected with the second output end 22 of charging module 20, first coil L1 and first resistance R1 are connected in series between the first power output pin LX of charging management chip U1 and the first output end 21 of charging module 20, so that external power supply can be provided to main control chip 10 after step-down through charging management chip U1, first coil L1 and first resistance R1.
[0025] In one specific embodiment of the utility model, the charging management chip U1 can select TP5100, because TP5100 is built-in input overcurrent, under voltage protection, chip over temperature protection, short circuit protection, battery temperature monitoring, can provide effective protection for PWM signal debugger.
[0026] In one embodiment of the utility model, the power input pin LX of the charging management chip U1 and the external power supply are provided with type-c charging port, so that the PWM signal debugger has great improvement in charging portability.
[0027] In one specific embodiment of the utility model, the boost module 30 can adopt boost chip U2, such as FP66277 etc., and the external power supply input by the charging module 20 is boosted (such as Figure 3 The embodiment is not limited.
[0028] As shown in Figure 4 In one embodiment of the utility model, the current measurement module 40 includes: first shunt resistance R2, first current measurement chip U3, second shunt resistance R3 and second current measurement chip U4, wherein the first shunt resistance R2 is arranged at the first input end 41 of the current measurement module 40;The two detection ends (IN-, IN+) of the first current measurement chip U3 are connected on the two sides of the first shunt resistance R2 respectively, the signal output end OUT of the first current measurement chip U3 is connected with the display module 50, for outputing the current value of the load output by the boost module 30 detected by the first current measurement chip U3;The second shunt resistance R3 is arranged at the second input end 42 of the current measurement module 40;The two detection ends (IN-, IN+) of the second current measurement chip U4 are connected on the two sides of the second shunt resistance R3 respectively, the signal output end OUT of the second current measurement chip U4 is connected with the display module 50, for outputing the current value of the external power supply input by the charging module 20 detected by the second current measurement chip U4;The model of the first current measurement chip U3 can be INA199A1, and the model of the second current measurement chip U4 can also be INA199A1, in some other embodiments of the utility model, other model current measurement chips can also be selected according to actual requirements, and the embodiment is not limited.
[0029] In one embodiment of the utility model, the signal output end OUT of first flow measurement chip U3 is connected with display module 50, and filter resistance R4 is connected between them, filter resistance R4 is connected with filter capacitance C1 in parallel and then grounded, thereby playing a filtering role, inhibiting high-frequency interference signals in the circuit and protecting the circuit from interference. Similarly, the signal output end OUT of second flow measurement chip U4 can also be provided with similar filter resistance R5 and filter capacitance C2, and the embodiment is not limited thereto.
[0030] In one embodiment of the utility model, the signal output end OUT of first flow measurement chip U3 is connected with display module 50, and clamp diode U5 is connected between them, which can protect the input and output ports and prevent the circuit from being damaged due to excessive voltage interference. Similarly, the signal output end OUT of second flow measurement chip U4 can also be provided with a clamp diode, which can also be a different diode in the same clamp diode U5 as the first flow measurement chip U3. The model of clamp diode U5 can be BAV998, or other models can be selected according to actual needs, and the embodiment is not limited thereto.
[0031] In one embodiment of the utility model, one end of first shunt resistance R2, which is away from the output end of boost module 30, is connected with MOS tube Q1, and the output end of MOS tube Q1 is connected with a load, so that the power supply of the load can be controlled by controlling the conduction and cutoff of MOS tube Q1, thereby improving the reliability of the system.
[0032] In one embodiment of the utility model, one end of MOS tube Q1 is connected with the drain of switch tube Q2, the source of switch tube Q2 is connected with ground wire, and the gate of switch tube Q2 is connected with main control chip 10 for receiving the control signal POWER_SWITCH of main control chip 10. The switch tube Q2 is arranged between MOS tube Q1 and main control chip 10, which can act as a buffer to isolate the load and the control signal output by main control chip 10, thereby avoiding mutual influence.
[0033] In the description of the utility model, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features limited by "first" and "second" can explicitly or implicitly include one or more of the features. The meaning of "multiple" is two or more, unless otherwise specifically limited.
[0034] In the utility model, unless another definite provision and limitation, the term " install ", " link ", " connect ", " fixed " and so on term should do broad sense understanding, for example, can be fixed connection, also can be detachable connection, or be integrated;Can be mechanical connection, also can be electrical connection;Can be direct connection, also can pass through intermediate medium indirectly connect, can be two element inside's intercommunication or two element's interaction relationship.For ordinary skilled person in the art, can understand the specific meaning of above-mentioned term in the utility model according to specific circumstances.
[0035] In the utility model, unless another definite provision and limitation, first feature is " on " or " under " second feature can be that first and second features directly contact, or first and second features indirectly contact by intermediate medium.Moreover, first feature " above ", " over " and " on " second feature can be that first feature is directly above or obliquely above second feature, or just indicates that the horizontal height of first feature is higher than that of second feature.First feature " below ", " under " and " under " second feature can be that first feature is directly below or obliquely below second feature, or just indicates that the horizontal height of first feature is less than that of second feature.
[0036] In the description of the specification, the description of the terms " one embodiment ", " some embodiments ", " example ", " specific example " or " some examples " means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model.In the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example.Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.In addition, the skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of different embodiments or examples without contradiction.
[0037] Although the embodiments of the utility model have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the utility model, and the skilled in the art can change, modify, replace and modify the above-mentioned embodiments within the scope of the utility model.
Claims
1. A PWM signal debugger, characterized by, The application relates to a PWM signal display device, which comprises the following parts: a main control chip, which is used for generating a PWM signal and outputting the signal to a load; a charging module, a first output end of which is connected with the main control chip, and the charging module is used for reducing the voltage of an external power supply and providing the reduced voltage to the main control chip; a voltage boosting module, an input end of which is connected with a second output end of the charging module, and the voltage boosting module is used for boosting the voltage of the external power supply input from the charging module and outputting the boosted voltage to the load; a current measuring module, a first input end of which is connected with an output end of the voltage boosting module, and a second input end of the current measuring module is connected with an input end of the charging module, and the current measuring module is used for detecting the current value of the current output by the voltage boosting module to the load and the current value of the external power supply input to the charging module; a display module, which is used for displaying the current values detected by the current measuring module and the PWM signal debugging data of the main control chip.
2. The PWM signal debugger of claim 1, wherein, The charging module comprises a charging management chip, a first coil and a first resistor, a power supply input pin of the charging management chip is connected with the external power supply, a first power supply output pin of the charging management chip is connected with the first output end of the charging module, a second power supply output pin of the charging management chip is connected with the second output end of the charging module, and the first coil and the first resistor are connected in series between the first power supply output pin of the charging management chip and the first output end of the charging module.
3. The PWM signal debugger of claim 2, wherein, A type-c charging port is arranged between the power supply input pin of the charging management chip and the external power supply.
4. The PWM signal debugger of claim 1, wherein, The current measuring module comprises a first shunt resistor, a first current measuring chip, a second shunt resistor and a second current measuring chip, the first shunt resistor is arranged at the first input end of the current measuring module, two detection ends of the first current measuring chip are connected at two sides of the first shunt resistor respectively, a signal output end of the first current measuring chip is connected with the display module, and the signal output end is used for outputting the current value of the current output by the voltage boosting module to the load and detected by the first current measuring chip; the second shunt resistor is arranged at the second input end of the current measuring module, two detection ends of the second current measuring chip are connected at two sides of the second shunt resistor respectively, and a signal output end of the second current measuring chip is connected with the display module, and the signal output end is used for outputting the current value of the external power supply input to the charging module and detected by the second current measuring chip.
5. The PWM signal debugger of claim 4, wherein, A filter resistor is connected between the signal output end of the first current measuring chip and the display module, and the filter resistor is connected in parallel with a filter capacitor and grounded.
6. The PWM signal debugger of claim 4, wherein, A clamping diode is connected between the signal output end of the first current measuring chip and the display module.
7. The PWM signal debugger of claim 4, wherein, One end of the first shunt resistor, which is away from the output end of the voltage boosting module, is connected with a MOS transistor, and an output end of the MOS transistor is connected with the load.
8. The PWM signal debugger of claim 7, wherein, One end of the MOS transistor is connected with a drain electrode of a switch tube, a source electrode of the switch tube is connected with a ground wire, and a gate electrode of the switch tube is connected with the main control chip and used for receiving a control signal of the main control chip.