Who can teach me how to learn MCU, what to learn first, how to get started?

 

  1. If you just watch the videos on the Internet and the supporting teaching materials, it can be said that you will never learn. I have a set of free textbooks for beginners that are not boring (I will post the messages in the comment area in order). I will take a look at it in my spare time. If you can insist on reading it, we will talk about the following.
  2. Why does the learning of single-chip microcomputer require us to do practical operations? Just look at the training materials, maybe you can understand something when you read it, but after a few days, you will forget it completely.

3) Learning single-chip technology, hands-on ability is very important.

Be sure to build a suitable test site for yourself, combined with the specific practical objects, it is easy to understand the circuit configuration principle of the single-chip microcomputer, and understand the programming principle of the single-chip microcomputer.

Suggestion: give yourself a topic of home intelligence, use the single-chip microcomputer as the main control unit, and build a satisfactory intelligent effect for your home. Learning through practice is more useful than reading online videos a hundred times.

 

Tell me about my own learning about microcontrollers.

I read about single-chip microcomputers in school and did experiments, but these were like passing clouds, and after the final exam, I almost forgot about it.

After entering the workplace, due to the needs of technological innovation, it is necessary to support the microcontroller control device. So I purchased a single-chip microcomputer, and made the single-chip microcomputer and the front and rear channel circuit boards, as well as the peripheral circuits. With the matching program, the single-chip microcomputer has been thoroughly understood from the principle to the practical operation. So happy to see the system I designed working perfectly!

How good the conditions are now! We can buy single-chip computer learning machine learning online, and we can do whatever we want. Compared with our time, the abundance of materials now is completely incomparable. However, it is this abundance of materials that limits our hands-on ability. The subject should have a full understanding of this.

In addition, I solved a small problem incidentally at that time: since the upper computer of the single-chip control device is a PLC, the PLC only accepts floating-point data, so I still do industrial control data conversion and floating-point arithmetic in the single-chip system. The performance of the microcontroller at that time was weak, so it took me 2 days to realize it.

The experience is: the single-chip technology is the same as the PLC technology, and the practicality is very strong. Only practice can make us fully understand.

 

Finally a question for you:

What is the essential difference between the single-chip microcomputer system designed on campus and the single-chip microcomputer system designed according to the actual industrial control environment?

From the comment area, some say reliability, some say power consumption, cost and stability, and some say software redundancy. So what is the answer?

We all know that PLC, its essence is actually a single-chip system. The stability and reliability of PLC are extremely high, and generally no problems will occur when used in industrial environments.

Why PLC can have such high stability and reliability? This is related to many of its design and performance.

 

In industrial environments, electromagnetic interference is very strong. Ordinary single-chip systems (boards) work in this environment and are scrapped almost immediately. I have done a test and used a commercially available single-board computer (not a single-chip computer, but a full-featured circuit board composed of CPU+PIO+CTC and other modules) directly in the distribution box for control, and when the contactor opens When it is broken, the high voltage generated by the slight arc will break down the power supply of the single-board computer, and then it will catch fire.

Later, we made the circuit board by ourselves, and made many improvements in the power supply part. The input part is also isolated by optocoupler, and the stability of the system has been improved a lot. But one day, something went wrong. After consulting an expert, I learned that this is called EMC electromagnetic harassment.

EMC electromagnetic harassment consists of two parts, one is the ability of the machine to resist external electromagnetic shocks, and the other is the electromagnetic harassment generated by the machine to the outside world. The single-board computer we started to use had problems because it could not resist external electromagnetic disturbances.

After knowing the reason, we specially purchased the EMC tester and operation platform. Any electronic circuit developed by us must be tested by EMC before it is put into operation, and it is allowed to be used on the equipment site after passing the test.

This is only the hardware part. As for the software, I carefully studied the PLC assembly language and found that the reason why it adopts the non-looping line-by-line statement is actually to improve reliability.

After understanding this truth, our final control center, of course, uses commercially available PLC products. Of course, we also screened the PLC. We use the EMC test bench to send out a strong group pulse to the PLC, the level is industrial grade four, and the ordinary PLC is also damaged. Only a few PLC products can resist the impact of this EMC group pulse.

It can be seen that the EMC test is the most important application condition for electronic circuits.

The electronic products designed on the campus are not even stained with EMC, how can they be applied in the industrial environment?

 

This is the answer.

Guess you like

Origin blog.csdn.net/danpianji777/article/details/122970876