Square wave frequency and duty ratio detection display device

By integrating the square wave frequency and duty cycle detection and display equipment of the GD32A503VD microcontroller and OLED display, the shortcomings of existing equipment in terms of accuracy, real-time and portability are solved, miniaturization, low-cost and high-precision measurement are achieved, and the operation process is simplified.

CN222866779UActive Publication Date: 2025-05-13TIANJIN SENPUJIE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421213029.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2025-05-13
Estimated Expiration
2034-05-30

AI Technical Summary

Technical Problem

Existing frequency and duty cycle detection equipment has shortcomings in accuracy, real-time and portability, and is large in size and high in cost, and the measurement accuracy and stability are susceptible to the environment.

Method used

A square wave frequency and duty cycle detection and display device is designed. By integrating the GD32A503VD microcontroller and a 0.96-inch OLED display screen, the detection and display functions are integrated. The built-in ADC module and timer module are used for high-precision measurements, and powered through the TYPE-C interface.

Benefits of technology

It realizes the miniaturization and low cost of the equipment, improves measurement accuracy and stability, and quickly and accurately obtains the frequency and duty cycle information of the PWM signal through simple button operation, which facilitates equipment debugging and troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222866779U_ABST
    Figure CN222866779U_ABST
Patent Text Reader

Abstract

The utility model discloses a square wave frequency and duty ratio detection display device, comprising a circuit board on which a detection module and a display module are integrated. The detection module adopts a GD32A503VD microcontroller, and the display module adopts an OLED (Organic Light Emitting Diode) display screen; the OLED display screen is electrically connected with the GD32A503VD microcontroller in an I2C (Inter-Integrated Circuit) communication connection mode; a power supply interface is arranged on the circuit board in an integrated mode, and the power supply interface is electrically connected with the OLED display screen and the GD32A503VD microcontroller. According to the utility model, the GD32A503VD microcontroller is used as a core processing unit to realize miniaturization and low cost of equipment, and the built-in ADC module and timer module are used to realize high-precision measurement; a calculation result is transmitted to a 0.96-inch OLED display screen through an I2C interface to be displayed, so that visual operation is realized; the GD32A503VD microcontroller is triggered to start to collect PWM signals through simple key operation, and convenient operation is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of frequency and duty cycle detection equipment, in particular to a square wave frequency and duty cycle detection and display equipment. Background Art

[0002] Frequency and duty cycle are two important parameters of PWM signals, which are of great significance for performance debugging and troubleshooting of equipment. At present, there are some frequency and duty cycle detection devices on the market, but they still need to be improved in terms of accuracy, real-time and portability.

[0003] Traditional frequency and duty cycle detection equipment usually uses independent measurement circuits and display modules, which are not only bulky and costly, but also have problems such as measurement accuracy and stability being easily affected by the environment. Utility Model Content

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a square wave frequency and duty cycle detection and display device.

[0005] The utility model provides a square wave frequency and duty cycle detection and display device, comprising a circuit board, on which a square wave acquisition interface, a detection module and a display module are integrated; the detection module adopts a GD32A503VD microcontroller, and the display module adopts an OLED display screen; the square wave acquisition interface is electrically connected to the GD32A503VD microcontroller; the OLED display screen and the GD32A503VD microcontroller are connected via I 2 C communication connection mode is used for electrical connection; a power supply interface is integrated on the circuit board, and the power supply interface is electrically connected to the OLED display screen and the GD32A503VD microcontroller respectively.

[0006] Preferably, a confirmation button and a clear button are also integrated on the circuit board, and the confirmation button and the clear button are electrically connected to the GD32A503VD microcontroller respectively.

[0007] Preferably, the size of the OLED display screen is set to 0.96 inches.

[0008] Preferably, the GD32A503VD microcontroller has a built-in ADC module and a timer module.

[0009] Preferably, the power supply interface adopts a TYPE-C interface.

[0010] Compared with the prior art, the beneficial effects of the utility model are:

[0011] The square wave frequency and duty cycle detection and display device of the utility model adopts the GD32A503VD microcontroller and the 0.96-inch OLED display screen, integrates the detection function and the display function into one, realizes the miniaturization and low cost of the device; realizes high-precision measurement through the built-in ADC module and timer module of the GD32A503VD microcontroller, improves the measurement accuracy and stability; through simple key operation, the frequency and duty cycle information of the PWM signal can be quickly and accurately obtained, which provides convenience for equipment debugging and troubleshooting.

[0012] It should be understood that the contents described in the summary of the utility model are not intended to limit the key or important features of the embodiments of the utility model, nor are they intended to limit the scope of the utility model.

[0013] Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0015] Figure 1 A structural block diagram of a square wave frequency and duty cycle detection and display device provided by an embodiment of the utility model;

[0016] Figure 2 This is the schematic diagram of the main control circuit of the GD32A503VD microcontroller;

[0017] Figure 3 This is the filter circuit schematic diagram;

[0018] Figure 4 This is the schematic diagram of the reset circuit;

[0019] Figure 5 This is the schematic diagram of the crystal oscillator circuit;

[0020] Figure 6 Download circuit schematics for the program;

[0021] Figure 7 This is the circuit schematic diagram of the OLED display;

[0022] Figure 8 This is the schematic diagram of the power supply circuit;

[0023] Fig. 9 This is the schematic diagram of the key circuit;

[0024] Fig.10 This is the schematic diagram of the PWM input interface and detection circuit. DETAILED DESCRIPTION

[0025] The utility model is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant utility model, rather than to limit the utility model. It is also necessary to explain that, for the convenience of description, only the parts related to the utility model are shown in the accompanying drawings.

[0026] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] Please refer to Figure 1-10 The embodiment of the utility model provides a square wave frequency and duty cycle detection and display device, including a circuit board, on which a square wave acquisition interface, a detection module and a display module are integrated; the display module and the detection module are integrated on a circuit board to achieve miniaturization and low cost of the device;

[0028] The detection module uses a GD32A503VD microcontroller, and the display module uses an OLED display screen; the detection module is used as a control unit, and the control circuit involved includes a GD32A503VD microcontroller main control circuit, a filter circuit, a reset circuit, a crystal oscillator circuit, and a program download circuit integrated on a circuit board, see Figure 2-6 The schematic diagrams of the circuits shown.

[0029] The square wave acquisition interface is electrically connected to the GD32A503VD microcontroller. The circuits involved in the square wave acquisition interface on the circuit board are the PWM input interface and the detection circuit. Fig.10 Since the GD32A503VD microcontroller main control chip can only collect voltages below 3.3V, too high a voltage will burn the chip. Therefore, the PWM waveform is input from H3, divided by the PWM input interface and detection circuit, and then the waveform is transmitted to the GD32A503VD microcontroller.

[0030] The OLED display and the GD32A503VD microcontroller are connected via I 2 C communication connection mode for electrical connection. For the circuit schematic diagram of OLED display, see Figure 7 shown.

[0031] The GD32A503VD microcontroller has a built-in ADC module and a timer module. The built-in ADC module is used to collect the voltage value of the PWM signal, and the high level and cycle time of the PWM signal are synchronously measured through the timer module. After calculating the frequency and duty cycle of the PWM signal, the result is transmitted through I 2 C interface is transmitted to the 0.96-inch OLED display for display.

[0032] The circuit board is integrated with a power supply interface, which adopts a TYPE-C interface. The power supply interface is electrically connected to the OLED display and the GD32A503VD microcontroller to supply power to them respectively; the power supply interface, i.e., the power supply circuit schematic diagram, can be found in Figure 8 As shown, since the GD32A503VD microcontroller can only collect voltages below 3.3V, too high a voltage will burn the chip, so the power supply circuit converts the 5V voltage into 3V and connects it to the control circuit.

[0033] In a preferred embodiment, a confirmation button and a clear button are also integrated on the circuit board. Fig. 9 As shown in the schematic diagram of the button circuit, the confirmation button and the clear button are electrically connected to the GD32A503VD microcontroller respectively; by pressing the button of the device, the user can trigger the GD32A503VD microcontroller to start collecting PWM signals.

[0034] In a preferred embodiment, the size of the OLED display screen is set to 0.96 inches.

[0035] Among them, the GD32A503VD microcontroller collects the voltage value of the PWM signal through its built-in ADC module, measures the high level and cycle time of the PWM signal through the built-in timer module, and then calculates the frequency and duty cycle of the PWM signal according to the measurement results. 2 C interface is transmitted to the 0.96-inch OLED display screen for display; during this period, the user triggers the GD32A503VD microcontroller to start collecting PWM signals by pressing the confirm button of the device, and presses the clear button to clear the last detection result of the GD32A503VD microcontroller on the OLED display screen.

[0036] The utility model of the present application adopts the GD32A503VD microcontroller as the core processing unit to realize the miniaturization and low cost of the device; utilizes the built-in ADC module and timer module of the GD32A503VD microcontroller to realize high-precision measurement; and transmits the calculation result through I 2 C interface to display on a 0.96-inch OLED display screen for intuitive operation; through simple key operations, the GD32A503VD microcontroller is triggered to start collecting PWM signals, realizing convenient operation.

[0037] In the description of this specification, the terms "connection", "installation", "fixation" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0038] In the description of this specification, the description of the terms "one embodiment", "some embodiments", etc. 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 present application. In this specification, the schematic representation 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.

[0039] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A square wave frequency and duty cycle detection and display device, characterized in that: The invention comprises a circuit board, wherein a square wave acquisition interface, a detection module and a display module are integrated on the circuit board; the detection module adopts a GD32A503VD microcontroller, and the display module adopts an OLED display screen; the square wave acquisition interface is electrically connected to the GD32A503VD microcontroller; the OLED display screen and the GD32A503VD microcontroller are connected via an I 2 C communication connection mode is used for electrical connection; a power supply interface is integrated on the circuit board, and the power supply interface is electrically connected to the OLED display screen and the GD32A503VD microcontroller respectively.

2. The square wave frequency and duty cycle detection and display device according to claim 1, characterized in that: The circuit board is also integrated with a confirmation button and a clear button, and the confirmation button and the clear button are electrically connected to the GD32A503VD microcontroller respectively.

3. The square wave frequency and duty cycle detection and display device according to claim 1, characterized in that: The size of the OLED display screen is set to 0.96 inches.

4. The square wave frequency and duty cycle detection and display device according to claim 1, characterized in that: The GD32A503VD microcontroller has a built-in ADC module and a timer module.

5. The square wave frequency and duty cycle detection and display device according to claim 1, characterized in that: The power supply interface adopts a TYPE-C interface.