CN213399259U - STM 32-based PWM output system - Google Patents

STM 32-based PWM output system Download PDF

Info

Publication number
CN213399259U
CN213399259U CN202022605479.5U CN202022605479U CN213399259U CN 213399259 U CN213399259 U CN 213399259U CN 202022605479 U CN202022605479 U CN 202022605479U CN 213399259 U CN213399259 U CN 213399259U
Authority
CN
China
Prior art keywords
chip
output system
level conversion
voltage
pwm output
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
CN202022605479.5U
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.)
Xian Lingkong Electronic Technology Co Ltd
Original Assignee
Xian Lingkong Electronic Technology 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 Xian Lingkong Electronic Technology Co Ltd filed Critical Xian Lingkong Electronic Technology Co Ltd
Priority to CN202022605479.5U priority Critical patent/CN213399259U/en
Application granted granted Critical
Publication of CN213399259U publication Critical patent/CN213399259U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

The utility model discloses a PWM output system based on STM32, including STM32 singlechip, including data serial ports, power source, timer, debugging interface in the STM32 singlechip, power source connects gradually steady voltage chip a, steady voltage chip b, and steady voltage chip b connects voltage input unit, and steady voltage chip a, steady voltage chip b connect the level conversion chip respectively, and the timer connects the level conversion chip, and the level conversion chip connects DB62 interface, and data serial ports connects DB9 interface; the frequency and the duty ratio of the PWM can be controlled through the serial port, and the frequency and the duty ratio can be changed simultaneously during operation, so that the output capacity of the PWM is improved.

Description

STM 32-based PWM output system
Technical Field
The utility model belongs to the technical field of the microcontroller structure, concretely relates to PWM output system based on STM 32.
Background
Pwm (pulse Width modulation) is a very effective technique for controlling an analog circuit by using an analog output of a microprocessor, and is widely used in many fields such as measurement, temperature control, power control and conversion.
The PWM output signals controlled by the existing microcontroller structure mostly have the defects of low output frequency, few output channels and unchangeable frequency.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a PWM output system based on STM32 can improve PWM's output capacity.
The utility model discloses the technical scheme who adopts is, a PWM output system based on STM32, including STM32 singlechip, including data serial ports in the STM32 singlechip, power source, timer, debugging interface, power source connects gradually voltage stabilizing chip an, voltage stabilizing chip b, and voltage stabilizing chip b connects the voltage input unit, and voltage stabilizing chip an, voltage stabilizing chip b connect the level conversion chip respectively, and the level conversion chip is connected to the timer, and DB62 interface, data serial ports connection DB9 interface are connected to the level conversion chip.
The utility model discloses a characteristics still lie in:
the model of the voltage stabilization chip a is LM1117 IMP-3.3.
And the model of the voltage stabilizing chip b is TPS5430 DDAR.
The debugging interface is connected with a debugger.
The model of the level conversion chip is TXS0108 ERGYR.
The input voltage of the voltage input unit is 12V.
The utility model has the advantages that:
the utility model relates to a PWM output system based on STM32 can control PWM's frequency and duty cycle through the serial ports, can change frequency and duty cycle simultaneously during the operation, improves PWM's output capacity.
Drawings
Fig. 1 is a schematic structural diagram of a PWM output system based on STM32 according to the present invention;
fig. 2 is the utility model discloses a PWM output system working principle diagram based on STM 32.
In the figure, 1, an STM32 single chip microcomputer, 2, a voltage stabilizing chip a, 3, a voltage stabilizing chip b, 4, a level conversion chip, 5, a DB62 interface, 6, a DB9 interface and 7, a debugger.
Detailed Description
The present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The utility model relates to a PWM output system based on STM32, as shown in FIG. 1, including STM32 singlechip 1, including data serial ports in the STM32 singlechip 1, power source, the timer, the debugging interface, power source connects gradually voltage stabilization chip a2, voltage stabilization chip b3, voltage stabilization chip b3 connects the voltage input unit, voltage stabilization chip a2, voltage stabilization chip b3 connects level conversion chip 4 respectively, level conversion chip 4 is connected to the timer, DB62 interface 5 is connected to level conversion chip 4, data serial ports connection DB9 interface 6.
The voltage stabilizing chip a2 is LM1117 IMP-3.3.
The voltage stabilization chip b3 is model TPS5430 DDAR.
The debug interface is connected to a debugger 7.
The model of the level conversion chip 4 is TXS0108 ERGYR.
The input voltage of the voltage input unit is 12V.
The utility model relates to a role of each part among the PWM output system based on STM32 does:
STM32 singlechip 1 has adopted the 32 bit microcontroller of high performance (STM32F427VIT6) to realize serial data and has become the function of 32 way PWM wave forms, and this chip has serial port controller, timer, is used for realizing the receipt of serial data and the production of PWM wave form respectively.
The voltage regulation chip b3 adopts the voltage regulation chip TPS5430DDAR to convert the input 12.0V into 5.0V, and the 5.0V is used for supplying power to the level conversion chip 4 and simultaneously supplying the voltage to the voltage regulation chip a 2.
The voltage stabilizing chip a2 adopts a voltage stabilizing chip LM1117IMP-3.3 to convert 5.0v of voltage into 3.3v of voltage for supplying power to the level conversion chip 4 and the STM32 singlechip 1.
The level conversion chip 4 adopts TXS0108ERGYR to realize level conversion and is used for converting 3.3v voltage into 5.0v, and the chip adopts 3.3v and 5.0v for power supply.
The DB62 interface 5 is used for connecting with a controlled device and sending the generated PWM waveform to the controlled device.
The DB9 interface 6 is used to interface with a control device and receive serial data frames generated by the control device.
The utility model relates to a PWM output system's theory of operation based on STM32 does:
as shown in fig. 2, after the system is powered on, the system receives a serial data frame sent by the control device through the DB9 interface 6, where the content of the data frame includes frequency and duty ratio information of the 32-way PWM waveform; after receiving the data, the system analyzes the data frame to obtain 32 frequency and duty ratio data; the timer is configured according to the obtained data to generate 32 paths of PWM pulses (the 32 paths of PWM pulses are 3.3v), the 32 paths of PWM pulses are converted into 5v through the level conversion chip 4, and the 32 paths of PWM pulses are sent to the controlled device through the DB62 interface 5.
Through the mode, the utility model relates to a PWM output system based on STM32 has multichannel PWM output ability, can reach 32 way at most, and every way level is 5.0 v; the high-frequency PWM output can be carried out, and the PWM frequency and the duty ratio generated by the system can be changed at any time through a serial port during operation.

Claims (6)

1. The utility model provides a PWM output system based on STM32, a serial communication port, its characterized in that, includes STM32 singlechip (1), including data serial ports, power source, timer, debugging interface in STM32 singlechip (1), power source connects gradually voltage stabilization chip a (2), voltage stabilization chip b (3) connect the voltage input unit, level conversion chip (4) are connected respectively in voltage stabilization chip a (2), voltage stabilization chip b (3), level conversion chip (4) are connected to the timer, DB62 interface (5) is connected in level conversion chip (4), data serial ports connection DB9 interface (6).
2. The STM 32-based PWM output system according to claim 1, wherein the voltage regulation chip a (2) is LM1117 IMP-3.3.
3. The STM 32-based PWM output system according to claim 1, wherein the voltage regulation chip b (3) is TPS5430 DDAR.
4. The STM 32-based PWM output system according to claim 1, wherein the debug interface is connected with a debugger (7).
5. The STM 32-based PWM output system according to claim 1, wherein the model of the level conversion chip (4) is TXS0108 ERGYR.
6. An STM 32-based PWM output system according to claim 1, wherein the voltage input unit input voltage is 12V.
CN202022605479.5U 2020-11-11 2020-11-11 STM 32-based PWM output system Active CN213399259U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022605479.5U CN213399259U (en) 2020-11-11 2020-11-11 STM 32-based PWM output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022605479.5U CN213399259U (en) 2020-11-11 2020-11-11 STM 32-based PWM output system

Publications (1)

Publication Number Publication Date
CN213399259U true CN213399259U (en) 2021-06-08

Family

ID=76195182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022605479.5U Active CN213399259U (en) 2020-11-11 2020-11-11 STM 32-based PWM output system

Country Status (1)

Country Link
CN (1) CN213399259U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113447616A (en) * 2021-06-22 2021-09-28 成都归谷环境科技有限责任公司 PWM output value calculation method of CO2 sensor
CN114050810A (en) * 2022-01-13 2022-02-15 武汉通力路达科技有限公司 PWM waveform generation method, device, embedded equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113447616A (en) * 2021-06-22 2021-09-28 成都归谷环境科技有限责任公司 PWM output value calculation method of CO2 sensor
CN113447616B (en) * 2021-06-22 2022-09-02 成都归谷环境科技有限责任公司 PWM output value calculation method of CO2 sensor
CN114050810A (en) * 2022-01-13 2022-02-15 武汉通力路达科技有限公司 PWM waveform generation method, device, embedded equipment and storage medium

Similar Documents

Publication Publication Date Title
CN213399259U (en) STM 32-based PWM output system
CN108696197B (en) A kind of double direct current generator forward direction series control system and methods
CN101433993A (en) Control method of IGBT inversion submerged arc welding machine
CN103658933A (en) All-digital variable polarity multifunctional square-wave pulse welding source
CN105007668B (en) LED light adjusting systems
CN203104294U (en) Modularized highly efficient DC/DC converter
CN210201735U (en) High-power switching power supply control circuit
CN202732303U (en) Simulation frequency conversion system of small-size membrane pump
CN203988125U (en) Elastogram excitation apparatus ultrasonic transmit circuit
CN203761252U (en) High-power high-frequency power supply driving device
CN105577014A (en) Double-MCU based numerical control inverter power supply and control method
CN213876366U (en) STM 32-based PWM pulse width acquisition device
CN203588539U (en) Teaching experiment facility for sinusoidal pulse width modulation (SPWM) single-phase inverter
CN207304417U (en) A kind of brshless DC motor current loop control system
CN202421928U (en) Control circuit and control device of backlight power supply
CN207117274U (en) A kind of high-frequency impulse saves charge and discharge power supply
CN206099742U (en) The liquid crystal molecules drive arrangement and system
CN218276469U (en) Buck circuit control system based on FPGA
CN218998097U (en) Dual protocol conversion circuit
CN216649539U (en) 485 power supply circuit based on AC-DC
CN203827212U (en) A 400Hz photovoltaic inverter
CN207706493U (en) A kind of LED control circuit
CN221263631U (en) Constant voltage constant power output circuit and PCB
CN214281038U (en) Control circuit for alternating power transmission and data transmission of towed sensor array
CN218549749U (en) Wide voltage range input integrated multi-shaft servo driving system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant