|
5118 views|14 replies
DevilMayCry
Currently offline
|
The OP
Published on 2017-3-31 16:54
Only look at the author
This post is from TI Technology Forum
Latest reply
There is another simpler way to achieve the original poster's requirements, which is lower in cost and has better edge characteristics at low cost: Use the two IOs of the MCU to drive a 74HC238 (38-wire data distributor/decoder), or use 74HC239 (dual 24-wire data distributor/decoder). The data distributor is added to prevent the subsequent circuit from losing control and short circuiting due to power-on transients and software runaway. Here, Y1 and Y2 are specially selected as outputs, and Y0 is not used to prevent accidental loss of control. When Y1 and Y2 are valid, the two IOs of the MCU must be in the opposite logical state, which is highly reliable. Then connect an electronic switch composed of an NPN and a PNP transistor after Y1 and Y2. The inputs of these two switches are connected to 30V and 15V voltages respectively, and the outputs are connected in parallel and connected to a resistor to the ground. In this way, when the control IO of the MCU is at 10 or 01, one of the electronic switches is turned on and the output is 30V or 15V respectively. When the control IO of the MCU is at 00 or 11, both electronic switches are turned off and the output is biased to 0V by the resistor.
Details
Published on 2017-3-31 22:11
| |
|
|
||
|
2
Published on 2017-3-31 18:16
Only look at the author
This post is from TI Technology Forum
| ||
|
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
|
|
3
Published on 2017-3-31 18:16
Only look at the author
This post is from TI Technology Forum
Comments
Adding a DC bias conversion circuit can be based on 15V. It is not difficult for the microcontroller to output a signal with a 10us period. As Chunyang said, the difficulty lies in the conversion circuit to ensure that the 0-30V conversion can ensure that the edge is straight. It is not easy. I am not good at device selection.
Details
Published on 2017-3-31 21:31
Adding a DC bias conversion circuit can be based on 15V. It is not difficult for the microcontroller to output a signal with a 10us period. As Chunyang said, the difficulty lies in the conversion circuit to ensure that the 0-30V conversion can ensure that the edge is straight. It is not easy. I am not good at device selection.
Details
Published on 2017-3-31 20:20
| ||
|
|
||
|
|
|
4
Published on 2017-3-31 20:20
Only look at the author
This post is from TI Technology Forum
Comments
What you said about "adding a DC bias conversion circuit" is not necessary. It has been explained before: the microcontroller output has only two levels. Your curve has three. In addition, the microcontroller outputs digital signals, not analog signals, so there is no need to "amplify" them. The circuit you want is nothing more than a high-level output of the microcontroller.
Details
Published on 2017-3-31 21:32
What you said about "adding a DC bias conversion circuit" is not necessary. It has been explained before: the microcontroller output has only two levels. Your curve has three. In addition, the microcontroller outputs digital signals, not analog signals, so there is no need to "amplify" them. The circuit you want is nothing more than a high-level output of the microcontroller.
Details
Published on 2017-3-31 20:40
| ||
|
|
||
|
|
|
xujian2000
Currently offline
|
|
|
|
|
|
|
|
xujian2000
Currently offline
|
|
|
|
|
|
|
|
xujian2000
Currently offline
|
|
|
|
|
|
|
|
xujian2000
Currently offline
|
|
|
|
|
|
|
|
xujian2000
Currently offline
|
|
|
|
|
|
|
|
10
Published on 2017-3-31 20:40
Only look at the author
This post is from TI Technology Forum
| ||
|
|
||
|
|
|
littleshrimp
Currently offline
|
|
|
|
|
|
|
|
12
Published on 2017-3-31 21:31
Only look at the author
This post is from TI Technology Forum
| ||
|
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
|
|
13
Published on 2017-3-31 21:32
Only look at the author
This post is from TI Technology Forum
| ||
|
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
|
|
14
Published on 2017-3-31 22:11
Only look at the author
This post is from TI Technology Forum
| ||
|
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
|
|
DevilMayCry
Currently offline
|
|
|
|
|
|
|
Visited sections |
论坛威望大于30000或网友提名:坛子里公认的技术导师
EEWorld Datasheet Technical Support
EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building,
Block B, 18 Zhongguancun Street, Haidian District,
Beijing 100190, China
Tel:(010)82350740
Postcode:100190
京公网安备 11010802033920号

