Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to convert a 7-bit code into a uniformly quantized 1 1 code in communication principle?
How to convert a 7-bit code into a uniformly quantized 1 1 code in communication principle?
Unequally quantized 7-bit code 1 1001,where110 is an intra-segment code and 001is an intra-segment code.

1 10 corresponds to the seventh paragraph, the starting level is 5 12, and the quantization interval of the seventh paragraph is 32.

00 1 1 corresponds to the third quantization level in the segment.

So11001corresponding: 5 12+3*32=608.

608 corresponds to 1 1 bit binary: 01001100000.

Extended data:

The rising edge of the pulse generated by the pulse watt-hour meter makes the diode of the photoelectric isolator inside the pulse watt-hour meter glow and the diode is turned on. At this time, the watt-hour meter +24V power supply makes the diode of photoelectric isolator U38 glow through the transistor and resistor R45 in the microcomputer system module, and the transistor is saturated and conductive. Point a changes from high level to low level.

After the pulse watt-hour meter outputs, U38 has no current, and point A changes from low level to high level. In this process, point A gets a low-potential pulse, which is shaped by U34(MCl4584) and output reversely.

The pulse waveform at point B is consistent with that of the pulse watt-hour meter. The pulse is connected to the counter U33(MCl4020), and the pulse data is obtained at the output of MCl4020. The CPU controls the gating terminal of U24(74LS244) to open the count value to the data bus. The CPU reads in the count value and records, calculates and stores it.

Baidu encyclopedia-pulse input