Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I pointed out that the transistors that you removed from Hero999's offering were too important to leave out.
mneary said:Connecting PA0 and PA1 (8mA) to the motor (1A) shouldn't be done.
mneary said:And, early in the thread, if you are avoiding protection diodes, 0.1 uf across the motors to limit the inductive kickback and noise.
When PA1 is high and PA0 is low no transistors will turn on because the collectors will be higher than the bases.
The top transistors are configured as emitter followers which will loose 0.7V plus the saturation voltage. .
Do you understand that the problem with your phantom ground idea is that won't work with more than one h-bridge in the circuit?
Do you understand that if both the inputs are 0 on a neighbouring h-bridge the other h-bridge won't be protected from both inputs being high because the lows on its neighbour will provide a ground?
Because the Power Ground and Control Groud are only connected by a single point only, means there cannot be a current flow between them.
The H-B control circuit should also include isolation of these currents from oneanother. Series-resistors between the uC output and H-B is an extra level of protection to protect the uC if the H-B failed, say it tried to send a current to the uC.
A fundemantal law of electricity is current passes through the path of least resistance. The art of design is programming this current flow.
Think about currents more, and less about voltages.
how can I get help ?
how can I get help ?
Do you now understand how the Schottky diode works in my circuit?
Then there's the issue of the extra voltage loss caused by the Schottky which wouldn't solve the problem of other ports grounding neighbouring h-bridges.
Yes you're right, the Schottky diodes will solve the problem of neighbouring h-bridges grounding it.I went over the schematic very carefully and I'm fairly sure that the schottky diodes would have solved the problem of other ports grounding neighbouring H-Bridges, that was the reason for using a Schottky to connect each H-Bridge to the battery ground. But as you have shown, it can be done in a simpler way so that works for me.
Yes, you're right.I'm not quite sure - is it simply that when Tr4 is activated, it draws away enough of the current from the CW terminal through Tr4 and to ground, that the current through Tr3's base isn't enough to activate it?
Don't get me wrong, your original design idea would work, just not very well.If that's all it is, then I shall slap my forehead in disgust that all of my careful and unfortunately inefficient designs could have been avoided by something that simple all this time...
I tried to explain it to you on several occasions, obviously a verbal description wasn't good enough and needed illustrating.Of course, if someone had explained this at the start the schematic war could have been avoided
I get it now, because of the phantom ground, the MCU voltage is partly in series with the motor's power supply.marcbarker said:In any case, the top transistor isn't strictly an emitter follower in the usual way because it's 'bootstrapped' in a sense. This is because the base drive voltage (up to 3.3 V) is higher than its collector voltage (2.4 V). This means that the loss is not ~0.9 V, but a lot lower. The simulations I did confirm this.
I did warn you about that.
https://www.electro-tech-online.com/threads/basic-problem-with-transistors.95681/#post775467
Even if you don't spend the full £30 and have to pay £5 for delivery, it still might work out cheaper to buy all the components from Rapid than from Maplin.
Have you checked out RS Components and Farnell? Cheaper than Maplin a bit more expensive than Rapid but do free delivery.