Chapter 41 There is one more problem
On a single-chip microcomputer comprehensive test bench, Zhou Xing found a semi-finished product design drawing. Pen "Fun" Pavilion www.biquge.info
According to the requirements of this line of thought, Zhou Xing tried to complete it.
"The second pin should be set in this position to avoid interference. ”
"No, there's a problem with this circuit, it's going to be short-circuited! There's another capacitor here, well, perfect, it's working. ”
"The circuit of this control module should go like this, ha, the embedding is successful!"
“……。 ”
Unconsciously, Zhou Xing devoted himself to the design of the circuit diagram, forgetting the passage of time and ignoring everything around him.
Time passed bit by bit, Zhou Xing stood in front of the experimental table, wrote and drew on the design drawings, and gradually improved the design of the product design drawings.
"Well, there seems to be a problem here?" Zhou Xing frowned, looking at the design drawings that were about to be completed, he found something wrong, but he couldn't find the problem.
"Ahem, there's a problem with the crossover module, and that circuit needs to be changed. A voice suddenly reminded behind Zhou Xing:
"Yes, that's right, it's the problem here, this circuit needs to be connected. Zhou Xing was overjoyed, and after such a reminder, he immediately found the problem:
"Uncle Liu, you're here!" Zhou Xing changed the circuit diagram, turned around and greeted:
"Well, I've been standing for half an hour! I've watched you finish drawing it!" Liu Qiang looked at Zhou Xing with a complicated expression, nodded and said:
Zhou Xing glanced at the electronic wall clock, and before he knew it, almost an hour had passed.
Zhou Xing suddenly looked at Liu Qiang, and said embarrassedly: "Uncle Liu, my hands are itchy for a while, and I moved your design drawing! ”
"It's okay, you're doing a good job, your foundation is good, your thinking is thorough, and the drawings are well designed, otherwise I would have interrupted you. Liu Qiang waved his hand and interrupted Zhou Xing's words:
"However, perhaps because of experience, there are still some shortcomings in this design. Zhou Xing was just about to open his mouth to express his gratitude, but Liu Qiang suddenly continued:
"Uncle Liu, what's the problem?" Zhou Xing widened his eyes and asked puzzledly:
Liu Qiang smiled slightly, picked up the pen and ticked a circle in each of the two places in the design drawing.
Liu Qiang pointed to a small circle of circuit diagram and explained to Zhou Xing: "The design of this chip power supply module circuit is unreasonable, which will cause an increase in energy consumption and affect the overall performance!"
Hearing this, Zhou Xing's face changed slightly, his eyes were fixed on the position Liu Qiang was pointing to, his brain was spinning, and he thought wildly.
"Uncle Liu, is it because the power supply circuit uses discrete component circuits?" Zhou Xing raised his eyes and looked at Liu Qiang and asked:
The child is teachable, how smart!
Liu Qiang looked at Zhou Xing with satisfaction and sighed in his heart.
"That's right, there are a lot of precautions when designing circuits: when designing circuits, the number of components should be minimized, integrated circuit design should be used as much as possible, heat dissipation should be paid attention to for high-power devices, and isolation should be added to internal and external shared signal sources,......。 Liu Qiang answered Zhou Xing in detail:
"Well, I see, what's the problem with that other place! I don't think there's any problem!" Zhou Xing took a deep breath and asked a little unconvinced:
Zhou Xing in the two places thought about it seriously, the problem of the first circle can be said in the past, and the second circle of the place is unreasonable, obviously there is no problem.
Liu Qiang smiled slightly and explained to Zhou Xing: "If this circuit is designed in this way, the overall cost will be increased! Xiaoxing, we are a factory, if the cost of a circuit board design is so many cents more, then in conversion, our profit will be less than 100,000 yuan!"
Hearing this, Zhou Xing was slightly stunned, he didn't expect this to be the reason.
"Okay, Uncle Liu, I have some questions for you!" Zhou Xing nodded understandingly, and changed the topic without delaying for a moment:
"Okay, you ask!" Liu Qiang smiled and nodded:
"Before, I used the 89S51 chip to do experiments on the development board, the program was written normally, but the work was not normal, phenomenon: P1.0 port did an inversion experiment, and the LED was not normal. Why is that?" Zhou Xing asked puzzledly:
"There is a problem with the timer setting, is the timer interrupt flag cleared?" Liu Qiang explained the reason:
Zhou Xing's eyes lit up, and he immediately figured out the reason, and continued to ask: "Uncle Liu, I use IO to simulate I2C to store data, and it is not convenient to read out the data from word storage, but if I store it a second time, the data stored for the first time will be wrong, and I have not been able to find the reason." ”
"There's a bug in the program you wrote, I'll take a look at the program. Liu Qiang frowned, handed the pen to Zhou Xingdao:
"Okay!" Zhou Xing took the pen, brushed it a few times, and quickly wrote down a piece of program code on the paper.
"The program is right, did you connect the wrong port during your experiment?" Liu Qiang stared at the program written by Zhou Xing, thought for a long time, and asked incomprehensibly:
Hearing this, Zhou Xing was slightly stunned and shook his head.
"I'll experiment next time, Uncle Liu, there's another question.... Zhou Xing skipped this question and continued, asking:
"Well, you can say it!" Liu Qiang nodded helplessly:
"The problem is this, I experiment.... ”
Looking at Zhou Xing's eyes full of intellectual curiosity, Liu Qiang couldn't refuse, and answered Zhou Xing's questions again and again.
The two asked and answered, and in a blink of an eye, more than an hour passed.
With a "rumble", the closed glass door of the laboratory suddenly opened by itself, and Liu Qiang ran out of the laboratory in a state of exhaustion.
Liu Qiang trotted all the way to Zhou Wenhai's office, picked up the water cup on the desk and poured it into his mouth, his throat agitated,
"Brother Qiang, what's wrong with you? Zhou Wenhai, who was correcting the documents, couldn't help but be stunned, he had drunk this water!
"Wow! I'm almost dying of thirst!" Liu Qiang drank all the water in the cup and cried out contentedly:
"What can I do? It's not your precious son yet, you can quickly bring him back!" Liu Qiang glared at Zhou Wenhai angrily and said angrily:
"Xiao Xing, what's wrong with Xiao Xing? He's in trouble again?" Zhou Wenhai was taken aback and asked urgently:
Why do you want to use the word "again"! Xiao Xing seems to have not been in trouble for a long time! Zhou Wenhai suddenly thought with some nostalgia.
"Xiaoxing didn't get into trouble, but... Liu Qiang looked embarrassed, a little embarrassed.
"It's good if you don't get into trouble, but what?" Zhou Wenhai breathed a sigh of relief and asked curiously:
In the more than an hour in the laboratory just now, Zhou Xing finished asking a question, another question, and asked a steady stream of questions, in order to answer his questions, he didn't even have time to catch his breath, he wanted to die!
If Zhou Xing asked questions related to the development of single-chip microcomputer, Liu Qiang could at least barely cope with it, then later, that kid actually asked questions in other electronic fields, such as: electronic communications, automation, information engineering, electrical control,... , wait, many electronic fields, this is also too bullying, there is such.