Pulse signal parameter measuring device
By designing a pulse signal parameter measurement device that includes signal shaping, main control, monitoring reset and communication circuits, the problems of complex structure and high cost of the existing device are solved, and efficient measurement and low-cost implementation of pulse signal parameters are achieved.
Patent Information
- Application Number
- CN202323604382.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2033-12-28
AI Technical Summary
Existing pulse signal parameter measurement devices have complex structures and high costs.
A pulse signal parameter measurement device including a main control circuit, a signal shaping circuit, a communication circuit and a monitoring reset circuit is designed. The pulse signal is shaped through the signal shaping circuit, the main control circuit performs parameter measurement, and the monitoring reset circuit performs status monitoring and control. Reset control, communication circuit sends parameters.
The effectiveness of pulse signal parameter measurement is achieved, the structure is simplified, and the cost is reduced.
Smart Images

Figure CN221860568U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of signal measurement, in particular to a pulse signal parameter measuring device. Background Art
[0002] Pulse signal parameter measurement can measure the pulse width, frequency, duty cycle and other parameters of the pulse signal. It is an important aspect of pulse signal analysis and can be applied to various fields.
[0003] At present, the structures of pulse signal parameter measurement devices are mostly complex and the costs are high. Utility Model Content
[0004] In view of this, the utility model provides a pulse signal parameter measurement device to solve the problems of complex structure and high cost of the existing pulse signal parameter measurement device.
[0005] The utility model provides a pulse signal parameter measuring device, which comprises a main control circuit, a signal shaping circuit, a communication circuit and a monitoring reset circuit;
[0006] The input end of the main control circuit is electrically connected to the output end of the signal shaping circuit, the output end of the main control circuit is electrically connected to the input end of the communication circuit, the output end of the main control circuit is also electrically connected to the input end of the monitoring reset circuit, and the output end of the monitoring reset circuit is electrically connected to the input end of the main control circuit.
[0007] Optionally, the signal shaping circuit includes a connector J1, an inverter U2, a diode D1, a transistor Q1, a resistor R25 and a resistor R26; the connector J1 has 2 pins;
[0008] Pin 1 of the connector J1 is grounded, pin 2 is electrically connected to the base of the transistor Q1 through the resistor R25 and the diode D1 in sequence, the collector of the transistor Q1 is electrically connected to the circuit power supply end through the resistor R26, and the emitter of the transistor Q1 is grounded;
[0009] The A pin of the inverter U2 is connected to the common connection end between the collector of the transistor Q1 and the resistor R26, the NC pin of the inverter U2 is suspended, the GND pin of the inverter U2 is grounded, the power pin of the inverter U2 is electrically connected to the power supply end of the circuit, and the A pin and Y pin of the inverter U2 are both electrically connected to the input end of the main control circuit.
[0010] Optionally, the inverter U2 specifically adopts an inverter of model SGM7SZ14.
[0011] Optionally, the monitoring reset circuit includes a watchdog chip U1, a switch S1, a button S2, a resistor R1, a resistor R2, a resistor R4, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10 and a capacitor C2;
[0012] The WDI pin of the watchdog chip U1 is electrically connected to the output end of the main control circuit through the resistor R2, the GND pin of the watchdog chip U1 is grounded, and the NC pin of the watchdog chip U1 is left floating; the VCC pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end, and the / WDO pin of the watchdog chip U1 is electrically connected to the input end of the main control circuit through the switch S1; one end of the resistor R1 and one end of the capacitor C2 are both connected to the common connection end between the switch S1 and the input end of the main control circuit, one end of the resistor R1 is also grounded through the button S2, the other end of the resistor R1 is electrically connected to the 3.3V power supply end, and the other end of the capacitor C2 is grounded;
[0013] The SET0 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R4, and the SET0 pin of the watchdog chip U1 is also grounded through the resistor R6; the SET1 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R7, and the SET1 pin of the watchdog chip U1 is also grounded through the resistor R8; the SET2 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R9, and the SET2 pin of the watchdog chip U1 is also grounded through the resistor R10.
[0014] Optionally, the watchdog chip U1 specifically adopts a MAX6369KA watchdog chip.
[0015] Optionally, the device further comprises a power supply circuit;
[0016] The output end of the power supply circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit.
[0017] Optionally, the power supply circuit includes a 5V conversion subcircuit, a 3.3V conversion subcircuit, a filtering subcircuit and an analog-to-digital conversion subcircuit;
[0018] The input end of the 5V conversion sub-circuit is electrically connected to an external power supply, the output end of the 5V conversion sub-circuit is electrically connected to the input end of the 3.3V conversion sub-circuit, the output end of the 3.3V conversion sub-circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit, and the 3.3V conversion sub-circuit is also electrically connected to the filtering sub-circuit and the analog-to-digital conversion sub-circuit.
[0019] Optionally, the device further comprises a crystal oscillator circuit;
[0020] The output end of the crystal oscillator circuit is electrically connected to the input end of the main control circuit.
[0021] Optionally, the device further comprises a display circuit;
[0022] The input end of the display circuit is electrically connected to the output end of the main control circuit.
[0023] Optionally, the main control circuit includes a single chip microcomputer of the STM32F103CBT6 model.
[0024] The beneficial effects of the utility model are as follows: the signal shaping circuit accesses the pulse signal and performs signal shaping on the pulse signal; the main control circuit receives the pulse signal after signal shaping, and performs parameter measurement on the pulse signal after signal shaping to obtain the pulse parameter; at the same time, the monitoring reset circuit performs status monitoring and reset operation control on the main control circuit; the communication circuit sends the pulse parameter to the external device; the utility model can effectively realize the parameter measurement of the pulse signal through the device of the above structure, and has a simple structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:
[0026] Figure 1 A structural diagram of a pulse signal parameter measuring device in an embodiment of the utility model is shown;
[0027] Figure 2 The design diagram of the signal shaping circuit in the embodiment of the utility model is shown;
[0028] Figure 3 to Figure 5 The design diagram of the monitoring reset circuit in the embodiment of the utility model is shown;
[0029] Figure 6 A structural diagram of another pulse signal parameter measuring device in an embodiment of the utility model is shown;
[0030] Figure 7 The design diagram of the 5V conversion sub-circuit in the embodiment of the utility model is shown;
[0031] Figure 8 The design diagram of the 3.3V conversion sub-circuit in the embodiment of the utility model is shown;
[0032] Fig. 9 The design diagram of the filter subcircuit in the embodiment of the utility model is shown;
[0033] Fig.10The design diagram of the analog-to-digital conversion subcircuit in the embodiment of the utility model is shown;
[0034] Fig.11 The design diagram of the crystal oscillator circuit in the embodiment of the utility model is shown;
[0035] Fig.12 The design diagram of the display circuit in the embodiment of the utility model is shown. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiment of the utility model clearer, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is a part of the embodiment of the utility model, not all the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the utility model.
[0037] Example
[0038] like Figure 1 As shown, a pulse signal parameter measuring device includes a main control circuit, a signal shaping circuit, a communication circuit and a monitoring reset circuit;
[0039] The input end of the main control circuit is electrically connected to the output end of the signal shaping circuit, the output end of the main control circuit is electrically connected to the input end of the communication circuit, the output end of the main control circuit is also electrically connected to the input end of the monitoring reset circuit, and the output end of the monitoring reset circuit is electrically connected to the input end of the main control circuit.
[0040] In this embodiment, the signal shaping circuit accesses the pulse signal and performs signal shaping on the pulse signal; the main control circuit receives the pulse signal after signal shaping, and performs parameter measurement on the pulse signal after signal shaping to obtain the pulse parameters; at the same time, the monitoring reset circuit performs status monitoring and reset operation control on the main control circuit; the communication circuit sends the pulse parameters to the external device; the utility model can effectively realize the parameter measurement of the pulse signal through the device of the above structure, with simple structure and low cost.
[0041] It should be noted that in this embodiment, only the hardware structure of the pulse signal parameter measurement device is improved to achieve the parameter measurement of the pulse signal, and no improvement of the computer program is involved; the computer program involved, such as the main control circuit measuring the parameters of the pulse signal, can be pre-stored in the memory or storage area of the main control circuit.
[0042] The communication circuit of this embodiment can select a suitable conventional communication chip according to actual conditions, and can set communication circuits under multiple communication protocols so as to send the measured pulse parameters using different communication methods, which is not limited in this embodiment.
[0043] Specifically, Figure 1 As shown, the input end of the main control circuit is also electrically connected to the output end of the communication circuit. The main control circuit receives a measurement command input by the communication circuit and performs parameter measurement on the pulse signal according to the measurement command.
[0044] Preferably, if Figure 2 As shown, the signal shaping circuit includes a connector J1, an inverter U2, a diode D1, a transistor Q1, a resistor R25 and a resistor R26; the connector J1 has 2 pins;
[0045] Pin 1 of the connector J1 is grounded, pin 2 is electrically connected to the base of the transistor Q1 through the resistor R25 and the diode D1 in sequence, the collector of the transistor Q1 is electrically connected to the circuit power supply end through the resistor R26, and the emitter of the transistor Q1 is grounded;
[0046] The A pin of the inverter U2 is connected to the common connection end between the collector of the transistor Q1 and the resistor R26, the NC pin of the inverter U2 is suspended, the GND pin of the inverter U2 is grounded, the power pin of the inverter U2 is electrically connected to the power supply end of the circuit, and the A pin and Y pin of the inverter U2 are both electrically connected to the input end of the main control circuit.
[0047] Through the above-mentioned signal shaping circuit, on the one hand, the input pulse signal can be shaped and filtered to obtain a pulse signal that meets the requirements, which is convenient for subsequent parameter measurement; on the other hand, it is also convenient to provide two pulse signals with opposite phases to the main control circuit. The two pulse signals with opposite phases can both be used for signal parameter measurement and can be used as a backup when one of the pulse signals is abnormal.
[0048] like Figure 2 As shown, the inverter U2 specifically adopts an inverter of model SGM7SZ14.
[0049] The inverter of the above-mentioned type has the advantages of high performance, low power consumption, wide power supply voltage range, good compatibility and wide temperature range, and can be applied to parameter measurement of different pulse signals.
[0050] Preferably, if Figure 3 to Figure 5 As shown, the monitoring reset circuit includes a watchdog chip U1, a switch S1, a button S2, a resistor R1, a resistor R2, a resistor R4, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10 and a capacitor C2;
[0051] The WDI pin of the watchdog chip U1 is electrically connected to the output end of the main control circuit through the resistor R2, the GND pin of the watchdog chip U1 is grounded, and the NC pin of the watchdog chip U1 is left floating; the VCC pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end, and the / WDO pin of the watchdog chip U1 is electrically connected to the input end of the main control circuit through the switch S1; one end of the resistor R1 and one end of the capacitor C2 are both connected to the common connection end between the switch S1 and the input end of the main control circuit, one end of the resistor R1 is also grounded through the button S2, the other end of the resistor R1 is electrically connected to the 3.3V power supply end, and the other end of the capacitor C2 is grounded;
[0052] The SET0 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R4, and the SET0 pin of the watchdog chip U1 is also grounded through the resistor R6; the SET1 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R7, and the SET1 pin of the watchdog chip U1 is also grounded through the resistor R8; the SET2 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R9, and the SET2 pin of the watchdog chip U1 is also grounded through the resistor R10.
[0053] The monitoring reset circuit of the above structure can better monitor the working state of the main control circuit and trigger the reset operation in time when a fault or abnormality occurs, so as to avoid damage or further fault of the entire parameter measurement device.
[0054] Specifically, Figure 3 As shown, the watchdog chip U1 specifically adopts a MAX6369KA watchdog chip.
[0055] Preferably, if Figure 6 As shown, the device also includes a power supply circuit;
[0056] The output end of the power supply circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit.
[0057] The power supply circuit provides voltage to each circuit module in the entire measuring device to ensure that each circuit module can work normally.
[0058] Specifically, the power supply circuit includes a 5V conversion subcircuit, a 3.3V conversion subcircuit, a filtering subcircuit and an analog-to-digital conversion subcircuit;
[0059] The input end of the 5V conversion sub-circuit is electrically connected to an external power supply, the output end of the 5V conversion sub-circuit is electrically connected to the input end of the 3.3V conversion sub-circuit, the output end of the 3.3V conversion sub-circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit, and the 3.3V conversion sub-circuit is also electrically connected to the filtering sub-circuit and the analog-to-digital conversion sub-circuit.
[0060] Through the 5V conversion sub-circuit and the 3.3V conversion sub-circuit, the external power supply voltage can be converted into 5V voltage and 3.3V voltage in turn to provide the working voltage required by each circuit module; the filtering sub-circuit can remove clutter and noise in the power supply signal, suppress electromagnetic interference, and improve anti-interference ability.
[0061] The above-mentioned 5V conversion subcircuit, 3.3V conversion subcircuit, filtering subcircuit and analog-to-digital conversion subcircuit all adopt conventional circuit designs, such as Figure 7 to Figure 10 As shown, the details will not be repeated here.
[0062] Preferably, if Figure 6 As shown, the device also includes a crystal oscillator circuit;
[0063] The output end of the crystal oscillator circuit is electrically connected to the input end of the main control circuit.
[0064] Through the crystal oscillator circuit, a stable clock signal can be provided to the main control circuit so that the main control circuit can perform parameter measurement.
[0065] Preferably, if Figure 6 As shown, the device also includes a display circuit;
[0066] The input end of the display circuit is electrically connected to the output end of the main control circuit.
[0067] Through the display circuit, both the signal parameters measured by the entire measuring device and the measuring status of the entire measuring device can be displayed.
[0068] The above crystal oscillator circuit and display circuit can also adopt conventional designs, such as Fig.11 and Fig.12 As shown, the details will not be repeated here.
[0069] like Figure 2 As shown, the main control circuit includes a single chip microcomputer of the STM32F103CBT6 model.
[0070] The STM32F103CBT6 microcontroller has the advantages of high performance, rich peripherals, high cost performance, low power consumption and powerful computing power, and can be applied to the hyperparameter measurement of different pulse signals in this embodiment.
[0071] Specifically, in Figure 2 In the figure, pins 29 and 32 of the microcontroller STM32F103CBT6 are connected to the signal shaping circuit, pins 30, 31, and 14 to 17 are connected to the communication circuit, pins 7 and 11 are connected to the monitoring reset circuit, pins 5 and 6 are connected to the crystal oscillator circuit, and pin 18 is electrically connected to the display circuit.
[0072] The other electronic components in this embodiment can select appropriate product models or specifications according to actual conditions, and the specific ones are not listed here.
[0073] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A pulse signal parameter measuring device, characterized in that: The device includes a main control circuit, a signal shaping circuit, a communication circuit and a monitoring reset circuit; The input end of the main control circuit is electrically connected to the output end of the signal shaping circuit, the output end of the main control circuit is electrically connected to the input end of the communication circuit, the output end of the main control circuit is also electrically connected to the input end of the monitoring reset circuit, and the output end of the monitoring reset circuit is electrically connected to the input end of the main control circuit.
2. The device according to claim 1, characterized in that The signal shaping circuit includes a connector J1, an inverter U2, a diode D1, a transistor Q1, a resistor R25 and a resistor R26; the connector J1 has two pins; Pin 1 of the connector J1 is grounded, pin 2 is electrically connected to the base of the transistor Q1 through the resistor R25 and the diode D1 in sequence, the collector of the transistor Q1 is electrically connected to the circuit power supply end through the resistor R26, and the emitter of the transistor Q1 is grounded; The A pin of the inverter U2 is connected to the common connection end between the collector of the transistor Q1 and the resistor R26, the NC pin of the inverter U2 is suspended, the GND pin of the inverter U2 is grounded, the power pin of the inverter U2 is electrically connected to the power supply end of the circuit, and the A pin and Y pin of the inverter U2 are both electrically connected to the input end of the main control circuit.
3. The device according to claim 2, characterized in that The inverter U2 specifically adopts an inverter of model SGM7SZ14.
4. The device according to claim 1, characterized in that The monitoring reset circuit includes a watchdog chip U1, a switch S1, a button S2, a resistor R1, a resistor R2, a resistor R4, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10 and a capacitor C2; The WDI pin of the watchdog chip U1 is electrically connected to the output end of the main control circuit through the resistor R2, the GND pin of the watchdog chip U1 is grounded, and the NC pin of the watchdog chip U1 is left floating; the VCC pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end, and the / WDO pin of the watchdog chip U1 is electrically connected to the input end of the main control circuit through the switch S1; one end of the resistor R1 and one end of the capacitor C2 are both connected to the common connection end between the switch S1 and the input end of the main control circuit, one end of the resistor R1 is also grounded through the button S2, the other end of the resistor R1 is electrically connected to the 3.3V power supply end, and the other end of the capacitor C2 is grounded; The SET0 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R4, and the SET0 pin of the watchdog chip U1 is also grounded through the resistor R6; the SET1 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R7, and the SET1 pin of the watchdog chip U1 is also grounded through the resistor R8; the SET2 pin of the watchdog chip U1 is electrically connected to the 3.3V power supply end through the resistor R9, and the SET2 pin of the watchdog chip U1 is also grounded through the resistor R10.
5. The device according to claim 4, characterized in that The watchdog chip U1 specifically adopts a MAX6369KA watchdog chip.
6. The device according to claim 1, characterized in that The device also includes a power supply circuit; The output end of the power supply circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit.
7. The device according to claim 6, characterized in that The power supply circuit includes a 5V conversion subcircuit, a 3.3V conversion subcircuit, a filtering subcircuit and an analog-to-digital conversion subcircuit; The input end of the 5V conversion sub-circuit is electrically connected to an external power supply, the output end of the 5V conversion sub-circuit is electrically connected to the input end of the 3.3V conversion sub-circuit, the output end of the 3.3V conversion sub-circuit is electrically connected to the signal shaping circuit, the communication circuit and the monitoring reset circuit, and the 3.3V conversion sub-circuit is also electrically connected to the filtering sub-circuit and the analog-to-digital conversion sub-circuit.
8. The device according to claim 1, characterized in that The device also includes a crystal oscillator circuit; The output end of the crystal oscillator circuit is electrically connected to the input end of the main control circuit.
9. The device according to claim 1, characterized in that The device also includes a display circuit; The input end of the display circuit is electrically connected to the output end of the main control circuit.
10. The device according to any one of claims 1 to 9, characterized in that The main control circuit includes a single chip microcomputer of the STM32F103CBT6 model.
